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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 730 |
|
19년 전 | 2724 | |
| 729 |
그레이스웹
|
19년 전 | 3516 | |
| 728 |
|
19년 전 | 2691 | |
| 727 |
|
19년 전 | 2530 | |
| 726 |
|
19년 전 | 2345 | |
| 725 |
|
19년 전 | 2250 | |
| 724 |
|
19년 전 | 2135 | |
| 723 |
|
19년 전 | 4257 | |
| 722 |
|
19년 전 | 2674 | |
| 721 |
|
19년 전 | 2166 | |
| 720 |
|
19년 전 | 2263 | |
| 719 |
|
19년 전 | 2852 | |
| 718 |
|
19년 전 | 1963 | |
| 717 |
|
19년 전 | 3197 | |
| 716 |
|
19년 전 | 2754 | |
| 715 |
|
19년 전 | 2272 | |
| 714 |
|
19년 전 | 1823 | |
| 713 |
|
19년 전 | 2241 | |
| 712 |
|
19년 전 | 2013 | |
| 711 |
|
19년 전 | 1908 | |
| 710 |
|
19년 전 | 2471 | |
| 709 |
|
19년 전 | 2334 | |
| 708 |
|
19년 전 | 3894 | |
| 707 |
|
19년 전 | 3742 | |
| 706 |
|
19년 전 | 2239 | |
| 705 |
|
19년 전 | 3306 | |
| 704 |
|
19년 전 | 1973 | |
| 703 |
|
19년 전 | 2385 | |
| 702 |
|
19년 전 | 2280 | |
| 701 |
홀로남은자
|
19년 전 | 2348 | |
| 700 |
홀로남은자
|
19년 전 | 2182 | |
| 699 | 19년 전 | 2817 | ||
| 698 |
|
19년 전 | 2841 | |
| 697 |
|
19년 전 | 3174 | |
| 696 |
|
19년 전 | 3046 | |
| 695 |
|
19년 전 | 2709 | |
| 694 |
|
19년 전 | 2944 | |
| 693 |
|
19년 전 | 3191 | |
| 692 |
|
19년 전 | 2880 | |
| 691 |
|
19년 전 | 2629 | |
| 690 | 19년 전 | 2929 | ||
| 689 | 19년 전 | 4515 | ||
| 688 | 19년 전 | 2440 | ||
| 687 | 19년 전 | 2452 | ||
| 686 | 19년 전 | 3479 | ||
| 685 | 19년 전 | 3169 | ||
| 684 | 19년 전 | 2826 | ||
| 683 | 19년 전 | 2060 | ||
| 682 | 19년 전 | 1776 | ||
| 681 | 19년 전 | 2876 | ||
| 680 | 19년 전 | 1723 | ||
| 679 | 19년 전 | 2312 | ||
| 678 | 19년 전 | 3962 | ||
| 677 | 19년 전 | 3739 | ||
| 676 | 19년 전 | 3469 | ||
| 675 | 19년 전 | 3410 | ||
| 674 |
|
19년 전 | 1567 | |
| 673 |
|
19년 전 | 1939 | |
| 672 |
|
19년 전 | 1864 | |
| 671 | 19년 전 | 2526 | ||
| 670 | 19년 전 | 4631 | ||
| 669 |
|
19년 전 | 2766 | |
| 668 |
|
19년 전 | 1926 | |
| 667 |
|
19년 전 | 1937 | |
| 666 |
|
19년 전 | 1839 | |
| 665 |
|
19년 전 | 2576 | |
| 664 |
|
19년 전 | 8178 | |
| 663 |
|
19년 전 | 2732 | |
| 662 |
|
19년 전 | 2790 | |
| 661 |
|
19년 전 | 3045 | |
| 660 |
|
19년 전 | 2213 | |
| 659 |
|
19년 전 | 2225 | |
| 658 |
|
19년 전 | 2172 | |
| 657 |
|
19년 전 | 2084 | |
| 656 |
|
19년 전 | 2270 | |
| 655 |
|
19년 전 | 2534 | |
| 654 |
|
19년 전 | 3080 | |
| 653 | 19년 전 | 2332 | ||
| 652 | 19년 전 | 1917 | ||
| 651 |
|
19년 전 | 2843 | |
| 650 | 19년 전 | 5010 | ||
| 649 | 19년 전 | 3505 | ||
| 648 | 19년 전 | 3461 | ||
| 647 | 19년 전 | 2975 | ||
| 646 | 19년 전 | 2403 | ||
| 645 | 19년 전 | 1499 | ||
| 644 | 19년 전 | 3140 | ||
| 643 | 19년 전 | 2022 | ||
| 642 |
|
19년 전 | 5390 | |
| 641 | 19년 전 | 2436 | ||
| 640 | 19년 전 | 3435 | ||
| 639 | 19년 전 | 2864 | ||
| 638 | 19년 전 | 1766 | ||
| 637 | 19년 전 | 3880 | ||
| 636 | 19년 전 | 2427 | ||
| 635 | 19년 전 | 2318 | ||
| 634 |
|
19년 전 | 3025 | |
| 633 |
|
19년 전 | 3303 | |
| 632 | 19년 전 | 2505 | ||
| 631 | 19년 전 | 2267 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기