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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 1030 | 18년 전 | 1793 | ||
| 1029 | 18년 전 | 2228 | ||
| 1028 | 18년 전 | 2635 | ||
| 1027 | 18년 전 | 1801 | ||
| 1026 | 18년 전 | 1538 | ||
| 1025 | 18년 전 | 1545 | ||
| 1024 | 18년 전 | 1470 | ||
| 1023 | 18년 전 | 3231 | ||
| 1022 | 18년 전 | 2920 | ||
| 1021 | 18년 전 | 1681 | ||
| 1020 | 18년 전 | 3422 | ||
| 1019 | 18년 전 | 1846 | ||
| 1018 | 18년 전 | 1498 | ||
| 1017 | 18년 전 | 1965 | ||
| 1016 | 18년 전 | 2103 | ||
| 1015 | 18년 전 | 1642 | ||
| 1014 | 18년 전 | 2352 | ||
| 1013 | 18년 전 | 2009 | ||
| 1012 | 18년 전 | 1632 | ||
| 1011 | 18년 전 | 1788 | ||
| 1010 | 18년 전 | 2047 | ||
| 1009 | 18년 전 | 1809 | ||
| 1008 | 18년 전 | 1625 | ||
| 1007 | 18년 전 | 1671 | ||
| 1006 | 18년 전 | 3140 | ||
| 1005 | 18년 전 | 2007 | ||
| 1004 | 18년 전 | 1876 | ||
| 1003 | 18년 전 | 4372 | ||
| 1002 | 18년 전 | 4999 | ||
| 1001 | 18년 전 | 3168 | ||
| 1000 | 18년 전 | 2917 | ||
| 999 | 19년 전 | 3506 | ||
| 998 | 19년 전 | 2055 | ||
| 997 | 19년 전 | 2418 | ||
| 996 | 19년 전 | 2707 | ||
| 995 | 19년 전 | 2765 | ||
| 994 | 19년 전 | 2354 | ||
| 993 | 19년 전 | 1624 | ||
| 992 | 19년 전 | 3386 | ||
| 991 | 19년 전 | 1998 | ||
| 990 | 19년 전 | 2393 | ||
| 989 | 19년 전 | 2464 | ||
| 988 | 19년 전 | 2893 | ||
| 987 | 19년 전 | 5227 | ||
| 986 |
|
19년 전 | 2500 | |
| 985 |
|
19년 전 | 3351 | |
| 984 | 19년 전 | 4280 | ||
| 983 |
느낌좋은날
|
19년 전 | 2512 | |
| 982 | 19년 전 | 2476 | ||
| 981 | 19년 전 | 4044 | ||
| 980 | 19년 전 | 2753 | ||
| 979 |
Sinpre
|
19년 전 | 3004 | |
| 978 | 19년 전 | 2214 | ||
| 977 | 19년 전 | 2225 | ||
| 976 | 19년 전 | 1996 | ||
| 975 | 19년 전 | 3277 | ||
| 974 | 19년 전 | 2113 | ||
| 973 |
|
19년 전 | 2798 | |
| 972 |
|
19년 전 | 1750 | |
| 971 | 19년 전 | 5324 | ||
| 970 | 19년 전 | 3581 | ||
| 969 | 19년 전 | 4330 | ||
| 968 | 19년 전 | 3074 | ||
| 967 | 19년 전 | 2532 | ||
| 966 | 19년 전 | 3932 | ||
| 965 | 19년 전 | 2665 | ||
| 964 | 19년 전 | 3002 | ||
| 963 | 19년 전 | 2973 | ||
| 962 | 19년 전 | 4191 | ||
| 961 | 19년 전 | 3133 | ||
| 960 | 19년 전 | 3031 | ||
| 959 | 19년 전 | 3687 | ||
| 958 | 19년 전 | 2981 | ||
| 957 | 19년 전 | 2195 | ||
| 956 | 19년 전 | 2227 | ||
| 955 | 19년 전 | 2184 | ||
| 954 | 19년 전 | 2776 | ||
| 953 | 19년 전 | 2484 | ||
| 952 | 19년 전 | 3355 | ||
| 951 | 19년 전 | 3215 | ||
| 950 | 19년 전 | 1829 | ||
| 949 | 19년 전 | 2742 | ||
| 948 | 19년 전 | 7830 | ||
| 947 |
|
19년 전 | 2505 | |
| 946 |
DeepnBlue
|
19년 전 | 3118 | |
| 945 |
pearly
|
19년 전 | 2892 | |
| 944 | 19년 전 | 3032 | ||
| 943 |
|
19년 전 | 2239 | |
| 942 | 19년 전 | 2456 | ||
| 941 |
|
19년 전 | 4080 | |
| 940 | 19년 전 | 2235 | ||
| 939 |
|
19년 전 | 4222 | |
| 938 |
|
19년 전 | 2387 | |
| 937 | 19년 전 | 2087 | ||
| 936 |
|
19년 전 | 2333 | |
| 935 | 19년 전 | 1881 | ||
| 934 |
|
19년 전 | 2413 | |
| 933 | 19년 전 | 2207 | ||
| 932 |
|
19년 전 | 3078 | |
| 931 | 19년 전 | 1867 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기