19. apache server 설치
** apache_1.3.27.tar.gz 과 aix.patch.txt 를 업로드 후 설치
작업의 편의성을 위해 mv aix.patch.txt aix.patch 로 이름 변경을 먼저한다.
tar xvfz apache_1.3.27.tar.gz &&
cp aix.patch apache_1.3.27 &&
cd apache_1.3.27 &&
patch -p0 < aix.patch &&
SSL_BASE=/usr/local \
EAPI_MM=/usr/local/mm \
./configure \
--prefix=/usr/local/apache \
--enable-shared=max \
--enable-rule=SHARED_CORE \
--enable-module=so &&
make &&
make install &&
vi /usr/local/apache/conf/httpd.conf
** cp 는 복사하는 명령으로,
위 명령줄은 aix.patch 는 아파치 소스디렉토리로 복사하라는 명령
patch -p0 < aix.patch
patch -p1 < aix.patch
p0 은 소스디렉토리에서 직접 패치
p1 은 소스디렉토리 밖에서 패치할 때
php 나 jsp 등과 동적으로 연결하기 위해서 shared_core 를 사용한다.
** 아래는 vi /usr/local/apache/conf/httpd.conf 를 수정하는 내용부분이다.
사용할 항목이 주석처리되어 있으면 주석을 없애준다.
ServerAdmin 을 수정 예) webmaster@hspia.net
ServerName 을 수정 예) www.hspia.net
적용후 저장하고 나온 후 아래 명령을 실행한다.
cp /usr/local/apache/bin/apachectl /etc/rc.d/init.d/httpd &&
cd /etc/rc.d/rc3.d &&
ln -s ../init.d/httpd S20httpd &&
ln -s ../init.d/httpd K20httpd &&
chown -R nobody:nobody /usr/local/apache/htdocs &&
/etc/rc.d/init.d/httpd start &&
ps -aux
** 아파치 데몬 스타트 명령 부분 /etc/rc.d/init.d/httpd start
현재 시스템에서 프로세스 확인 부분 ps -aux
위 적용이 끝나면 웹에서 확인을 한다.
옵션>> 오라클 8i 설치 시 아래 부분을 적용한다.
tar xfz i386-glibc-2.1-linux.tar.gz
glibc-2.1 지원을 위한 소스 압축해제(압축해제시 / 디렉토리에서 수행할 것)
압축이 /usr/include/i386-glibc-2.1-linux로 풀린다.
cd /usr/bin &&
mkdir saved &&
mv gcc cc ld saved &&
ln -sf /usr/i386-glibc-2.1-linux/bin/i386-glibc21-linux-gcc gcc &&
ln -sf gcc cc &&
ln -sf /usr/i386-glibc-2.1-linux/bin/i386-glibc21-linux-ld ld &&
cd /usr/lib &&
mkdir saved &&
mv libc.so libdl.so libm.so libpthread.so saved &&
mv libc.a libdl.a libm.a libpthread.a saved
아래는 오라클 설치 완료 후 원래 상태로 복원하는 부분이다.
--RESTORE--
cd /usr/bin &&
rm -f gcc cc ld &&
cd /usr/bin/saved &&
mv * .. &&
cd .. &&
rm -rf saved &&
cd /usr/lib/saved &&
mv * .. &&
cd .. &&
rm -rf saved<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:32:05 Linux에서 이동 됨]</div>
** apache_1.3.27.tar.gz 과 aix.patch.txt 를 업로드 후 설치
작업의 편의성을 위해 mv aix.patch.txt aix.patch 로 이름 변경을 먼저한다.
tar xvfz apache_1.3.27.tar.gz &&
cp aix.patch apache_1.3.27 &&
cd apache_1.3.27 &&
patch -p0 < aix.patch &&
SSL_BASE=/usr/local \
EAPI_MM=/usr/local/mm \
./configure \
--prefix=/usr/local/apache \
--enable-shared=max \
--enable-rule=SHARED_CORE \
--enable-module=so &&
make &&
make install &&
vi /usr/local/apache/conf/httpd.conf
** cp 는 복사하는 명령으로,
위 명령줄은 aix.patch 는 아파치 소스디렉토리로 복사하라는 명령
patch -p0 < aix.patch
patch -p1 < aix.patch
p0 은 소스디렉토리에서 직접 패치
p1 은 소스디렉토리 밖에서 패치할 때
php 나 jsp 등과 동적으로 연결하기 위해서 shared_core 를 사용한다.
** 아래는 vi /usr/local/apache/conf/httpd.conf 를 수정하는 내용부분이다.
사용할 항목이 주석처리되어 있으면 주석을 없애준다.
ServerAdmin 을 수정 예) webmaster@hspia.net
ServerName 을 수정 예) www.hspia.net
적용후 저장하고 나온 후 아래 명령을 실행한다.
cp /usr/local/apache/bin/apachectl /etc/rc.d/init.d/httpd &&
cd /etc/rc.d/rc3.d &&
ln -s ../init.d/httpd S20httpd &&
ln -s ../init.d/httpd K20httpd &&
chown -R nobody:nobody /usr/local/apache/htdocs &&
/etc/rc.d/init.d/httpd start &&
ps -aux
** 아파치 데몬 스타트 명령 부분 /etc/rc.d/init.d/httpd start
현재 시스템에서 프로세스 확인 부분 ps -aux
위 적용이 끝나면 웹에서 확인을 한다.
옵션>> 오라클 8i 설치 시 아래 부분을 적용한다.
tar xfz i386-glibc-2.1-linux.tar.gz
glibc-2.1 지원을 위한 소스 압축해제(압축해제시 / 디렉토리에서 수행할 것)
압축이 /usr/include/i386-glibc-2.1-linux로 풀린다.
cd /usr/bin &&
mkdir saved &&
mv gcc cc ld saved &&
ln -sf /usr/i386-glibc-2.1-linux/bin/i386-glibc21-linux-gcc gcc &&
ln -sf gcc cc &&
ln -sf /usr/i386-glibc-2.1-linux/bin/i386-glibc21-linux-ld ld &&
cd /usr/lib &&
mkdir saved &&
mv libc.so libdl.so libm.so libpthread.so saved &&
mv libc.a libdl.a libm.a libpthread.a saved
아래는 오라클 설치 완료 후 원래 상태로 복원하는 부분이다.
--RESTORE--
cd /usr/bin &&
rm -f gcc cc ld &&
cd /usr/bin/saved &&
mv * .. &&
cd .. &&
rm -rf saved &&
cd /usr/lib/saved &&
mv * .. &&
cd .. &&
rm -rf saved<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:32:05 Linux에서 이동 됨]</div>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 130 | 20년 전 | 4016 | ||
| 129 | 20년 전 | 2954 | ||
| 128 | 20년 전 | 3693 | ||
| 127 | 20년 전 | 3533 | ||
| 126 | 20년 전 | 3786 | ||
| 125 | 20년 전 | 8606 | ||
| 124 | 20년 전 | 2610 | ||
| 123 | 20년 전 | 3762 | ||
| 122 | 20년 전 | 3219 | ||
| 121 | 20년 전 | 2621 | ||
| 120 | 20년 전 | 2685 | ||
| 119 | 20년 전 | 2595 | ||
| 118 | 20년 전 | 2871 | ||
| 117 |
|
20년 전 | 3071 | |
| 116 | 20년 전 | 5334 | ||
| 115 | 20년 전 | 3937 | ||
| 114 | 20년 전 | 4986 | ||
| 113 | 20년 전 | 6228 | ||
| 112 | 21년 전 | 7334 | ||
| 111 | 21년 전 | 18447 | ||
| 110 | 21년 전 | 6887 | ||
| 109 | 21년 전 | 2896 | ||
| 108 | 21년 전 | 4152 | ||
| 107 |
prosper
|
21년 전 | 2512 | |
| 106 |
prosper
|
21년 전 | 4332 | |
| 105 |
아우겐나이스
|
21년 전 | 2930 | |
| 104 | 21년 전 | 2276 | ||
| 103 | 21년 전 | 2487 | ||
| 102 | 21년 전 | 2275 | ||
| 101 | 21년 전 | 2591 | ||
| 100 | 21년 전 | 1765 | ||
| 99 | 21년 전 | 1583 | ||
| 98 | 21년 전 | 1631 | ||
| 97 | 21년 전 | 2147 | ||
| 96 | 21년 전 | 1895 | ||
| 95 | 21년 전 | 2393 | ||
| 94 | 21년 전 | 3580 | ||
| 93 | 21년 전 | 1575 | ||
| 92 | 21년 전 | 1770 | ||
| 91 | 21년 전 | 3193 | ||
| 90 | 21년 전 | 2351 | ||
| 89 | 21년 전 | 3188 | ||
| 88 | 21년 전 | 2878 | ||
| 87 | 21년 전 | 3306 | ||
| 86 | 21년 전 | 5154 | ||
| 85 | 21년 전 | 2538 | ||
| 84 | 21년 전 | 4838 | ||
| 83 | 21년 전 | 2517 | ||
| 82 | 21년 전 | 3130 | ||
| 81 | 21년 전 | 7646 | ||
| 80 | 21년 전 | 3843 | ||
| 79 | 21년 전 | 3223 | ||
| 78 | 21년 전 | 4707 | ||
| 77 | 21년 전 | 2916 | ||
| 76 | 21년 전 | 6231 | ||
| 75 | 21년 전 | 4482 | ||
| 74 | 21년 전 | 5799 | ||
| 73 | 21년 전 | 3637 | ||
| 72 | 21년 전 | 5981 | ||
| 71 | 21년 전 | 3132 | ||
| 70 | 21년 전 | 2860 | ||
| 69 | 21년 전 | 2651 | ||
| 68 | 21년 전 | 2459 | ||
| 67 | 21년 전 | 2666 | ||
| 66 | 21년 전 | 2686 | ||
| 65 | 21년 전 | 3796 | ||
| 64 | 21년 전 | 2840 | ||
| 63 | 21년 전 | 2468 | ||
| 62 | 21년 전 | 2278 | ||
| 61 | 21년 전 | 3099 | ||
| 60 | 21년 전 | 3146 | ||
| 59 | 21년 전 | 2530 | ||
| 58 | 21년 전 | 2603 | ||
| 57 | 21년 전 | 2985 | ||
| 56 | 21년 전 | 2347 | ||
| 55 | 21년 전 | 2776 | ||
| 54 | 21년 전 | 2145 | ||
| 53 | 21년 전 | 2373 | ||
| 52 | 21년 전 | 2715 | ||
| 51 |
prosper
|
21년 전 | 2368 | |
| 50 |
prosper
|
21년 전 | 2184 | |
| 49 | 21년 전 | 2198 | ||
| 48 | 21년 전 | 2357 | ||
| 47 | 21년 전 | 1951 | ||
| 46 | 21년 전 | 1938 | ||
| 45 | 21년 전 | 2146 | ||
| 44 | 21년 전 | 2375 | ||
| 43 | 21년 전 | 4590 | ||
| 42 |
prosper
|
21년 전 | 2725 | |
| 41 |
prosper
|
21년 전 | 2127 | |
| 40 | 21년 전 | 2189 | ||
| 39 | 21년 전 | 2160 | ||
| 38 | 21년 전 | 2435 | ||
| 37 | 21년 전 | 2579 | ||
| 36 | 21년 전 | 1790 | ||
| 35 | 21년 전 | 4090 | ||
| 34 | 21년 전 | 3864 | ||
| 33 | 21년 전 | 3001 | ||
| 32 |
prosper
|
21년 전 | 2916 | |
| 31 | 21년 전 | 5303 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기