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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 930 | 19년 전 | 3539 | ||
| 929 |
|
19년 전 | 2693 | |
| 928 |
|
19년 전 | 3446 | |
| 927 |
|
19년 전 | 3442 | |
| 926 |
|
19년 전 | 3145 | |
| 925 | 19년 전 | 5429 | ||
| 924 |
|
19년 전 | 2166 | |
| 923 |
|
19년 전 | 2212 | |
| 922 |
|
19년 전 | 2304 | |
| 921 |
|
19년 전 | 3392 | |
| 920 | 19년 전 | 3701 | ||
| 919 |
|
19년 전 | 3739 | |
| 918 |
|
19년 전 | 2345 | |
| 917 |
|
19년 전 | 2386 | |
| 916 |
|
19년 전 | 2684 | |
| 915 | 19년 전 | 3033 | ||
| 914 | 19년 전 | 2457 | ||
| 913 | 19년 전 | 2623 | ||
| 912 | 19년 전 | 2448 | ||
| 911 | 19년 전 | 2203 | ||
| 910 | 19년 전 | 3232 | ||
| 909 | 19년 전 | 3289 | ||
| 908 | 19년 전 | 3025 | ||
| 907 |
|
19년 전 | 4865 | |
| 906 |
|
19년 전 | 2694 | |
| 905 |
|
19년 전 | 3306 | |
| 904 |
|
19년 전 | 3132 | |
| 903 |
|
19년 전 | 1979 | |
| 902 |
|
19년 전 | 3118 | |
| 901 |
|
19년 전 | 1865 | |
| 900 |
|
19년 전 | 2325 | |
| 899 |
|
19년 전 | 2396 | |
| 898 |
|
19년 전 | 3978 | |
| 897 |
|
19년 전 | 3167 | |
| 896 |
|
19년 전 | 3088 | |
| 895 |
|
19년 전 | 2532 | |
| 894 |
|
19년 전 | 2000 | |
| 893 |
|
19년 전 | 1637 | |
| 892 |
|
19년 전 | 2401 | |
| 891 |
|
19년 전 | 2326 | |
| 890 |
|
19년 전 | 1812 | |
| 889 |
|
19년 전 | 1809 | |
| 888 |
|
19년 전 | 2599 | |
| 887 |
|
19년 전 | 2576 | |
| 886 |
|
19년 전 | 1871 | |
| 885 |
|
19년 전 | 2104 | |
| 884 |
|
19년 전 | 3291 | |
| 883 |
|
19년 전 | 1949 | |
| 882 |
|
19년 전 | 2488 | |
| 881 |
|
19년 전 | 2567 | |
| 880 |
|
19년 전 | 2656 | |
| 879 |
|
19년 전 | 2934 | |
| 878 |
|
19년 전 | 2556 | |
| 877 |
|
19년 전 | 2979 | |
| 876 |
|
19년 전 | 2761 | |
| 875 |
|
19년 전 | 3517 | |
| 874 | 19년 전 | 1867 | ||
| 873 | 19년 전 | 2726 | ||
| 872 |
|
19년 전 | 2365 | |
| 871 |
|
19년 전 | 2013 | |
| 870 |
|
19년 전 | 2421 | |
| 869 |
|
19년 전 | 1867 | |
| 868 |
|
19년 전 | 5436 | |
| 867 |
|
19년 전 | 2253 | |
| 866 |
|
19년 전 | 4239 | |
| 865 |
|
19년 전 | 2289 | |
| 864 | 19년 전 | 1839 | ||
| 863 | 19년 전 | 2587 | ||
| 862 | 19년 전 | 2325 | ||
| 861 | 19년 전 | 2523 | ||
| 860 | 19년 전 | 2156 | ||
| 859 | 19년 전 | 3916 | ||
| 858 | 19년 전 | 3414 | ||
| 857 | 19년 전 | 2195 | ||
| 856 |
Power
|
19년 전 | 2104 | |
| 855 | 19년 전 | 1970 | ||
| 854 | 19년 전 | 1997 | ||
| 853 |
pearly
|
19년 전 | 4373 | |
| 852 |
pearly
|
19년 전 | 3351 | |
| 851 | 19년 전 | 2773 | ||
| 850 |
pearly
|
19년 전 | 3344 | |
| 849 |
pearly
|
19년 전 | 3000 | |
| 848 |
pearly
|
19년 전 | 2839 | |
| 847 | 19년 전 | 2344 | ||
| 846 |
|
19년 전 | 2157 | |
| 845 |
pearly
|
19년 전 | 2482 | |
| 844 | 19년 전 | 3094 | ||
| 843 | 19년 전 | 2122 | ||
| 842 |
pearly
|
19년 전 | 3117 | |
| 841 |
pearly
|
19년 전 | 3240 | |
| 840 | 19년 전 | 2912 | ||
| 839 |
|
19년 전 | 1931 | |
| 838 |
|
19년 전 | 1696 | |
| 837 |
|
19년 전 | 2313 | |
| 836 |
|
19년 전 | 2251 | |
| 835 |
|
19년 전 | 1622 | |
| 834 |
|
19년 전 | 1657 | |
| 833 |
|
19년 전 | 1560 | |
| 832 |
|
19년 전 | 2064 | |
| 831 |
|
19년 전 | 1614 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기