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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7930 | 9년 전 | 475 | ||
| 7929 | 9년 전 | 408 | ||
| 7928 | 9년 전 | 486 | ||
| 7927 | 9년 전 | 388 | ||
| 7926 | 9년 전 | 695 | ||
| 7925 | 9년 전 | 421 | ||
| 7924 | 9년 전 | 402 | ||
| 7923 | 9년 전 | 390 | ||
| 7922 | 9년 전 | 419 | ||
| 7921 | 9년 전 | 435 | ||
| 7920 | 9년 전 | 345 | ||
| 7919 | 9년 전 | 356 | ||
| 7918 | 9년 전 | 509 | ||
| 7917 | 9년 전 | 363 | ||
| 7916 | 9년 전 | 451 | ||
| 7915 | 9년 전 | 465 | ||
| 7914 | 9년 전 | 476 | ||
| 7913 | 9년 전 | 651 | ||
| 7912 | 9년 전 | 485 | ||
| 7911 | 9년 전 | 407 | ||
| 7910 | 9년 전 | 458 | ||
| 7909 | 9년 전 | 573 | ||
| 7908 | 9년 전 | 512 | ||
| 7907 | 9년 전 | 445 | ||
| 7906 | 9년 전 | 464 | ||
| 7905 | 9년 전 | 434 | ||
| 7904 | 9년 전 | 420 | ||
| 7903 | 9년 전 | 431 | ||
| 7902 | 9년 전 | 606 | ||
| 7901 |
|
9년 전 | 771 | |
| 7900 | 9년 전 | 666 | ||
| 7899 | 9년 전 | 449 | ||
| 7898 | 9년 전 | 447 | ||
| 7897 | 9년 전 | 406 | ||
| 7896 | 9년 전 | 420 | ||
| 7895 | 9년 전 | 539 | ||
| 7894 | 9년 전 | 446 | ||
| 7893 | 9년 전 | 425 | ||
| 7892 | 9년 전 | 460 | ||
| 7891 | 9년 전 | 816 | ||
| 7890 | 9년 전 | 1237 | ||
| 7889 | 9년 전 | 772 | ||
| 7888 |
limsy1987
|
9년 전 | 581 | |
| 7887 | 9년 전 | 635 | ||
| 7886 | 9년 전 | 520 | ||
| 7885 | 9년 전 | 491 | ||
| 7884 | 9년 전 | 485 | ||
| 7883 | 9년 전 | 491 | ||
| 7882 | 9년 전 | 549 | ||
| 7881 | 9년 전 | 525 | ||
| 7880 | 9년 전 | 636 | ||
| 7879 | 9년 전 | 526 | ||
| 7878 | 9년 전 | 1300 | ||
| 7877 | 9년 전 | 822 | ||
| 7876 | 9년 전 | 567 | ||
| 7875 | 9년 전 | 638 | ||
| 7874 |
|
9년 전 | 834 | |
| 7873 | 9년 전 | 560 | ||
| 7872 | 9년 전 | 729 | ||
| 7871 | 9년 전 | 544 | ||
| 7870 | 9년 전 | 665 | ||
| 7869 | 9년 전 | 480 | ||
| 7868 | 9년 전 | 522 | ||
| 7867 | 10년 전 | 529 | ||
| 7866 | 10년 전 | 584 | ||
| 7865 | 10년 전 | 530 | ||
| 7864 | 10년 전 | 583 | ||
| 7863 | 10년 전 | 576 | ||
| 7862 | 10년 전 | 545 | ||
| 7861 | 10년 전 | 712 | ||
| 7860 | 10년 전 | 690 | ||
| 7859 | 10년 전 | 460 | ||
| 7858 | 10년 전 | 775 | ||
| 7857 | 10년 전 | 1159 | ||
| 7856 | 10년 전 | 584 | ||
| 7855 | 10년 전 | 824 | ||
| 7854 | 10년 전 | 757 | ||
| 7853 | 10년 전 | 659 | ||
| 7852 | 10년 전 | 582 | ||
| 7851 | 10년 전 | 586 | ||
| 7850 | 10년 전 | 655 | ||
| 7849 | 10년 전 | 421 | ||
| 7848 | 10년 전 | 489 | ||
| 7847 | 10년 전 | 731 | ||
| 7846 | 10년 전 | 514 | ||
| 7845 | 10년 전 | 492 | ||
| 7844 | 10년 전 | 454 | ||
| 7843 | 10년 전 | 491 | ||
| 7842 | 10년 전 | 473 | ||
| 7841 | 10년 전 | 443 | ||
| 7840 | 10년 전 | 461 | ||
| 7839 | 10년 전 | 514 | ||
| 7838 | 10년 전 | 573 | ||
| 7837 | 10년 전 | 400 | ||
| 7836 | 10년 전 | 451 | ||
| 7835 | 10년 전 | 532 | ||
| 7834 |
|
10년 전 | 1230 | |
| 7833 | 10년 전 | 497 | ||
| 7832 | 10년 전 | 473 | ||
| 7831 | 10년 전 | 638 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기