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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 330 |
prosper
|
20년 전 | 2239 | |
| 329 |
prosper
|
20년 전 | 1846 | |
| 328 |
prosper
|
20년 전 | 1659 | |
| 327 | 20년 전 | 3738 | ||
| 326 | 20년 전 | 4816 | ||
| 325 |
hwatta
|
20년 전 | 2431 | |
| 324 |
|
20년 전 | 3115 | |
| 323 | 20년 전 | 5822 | ||
| 322 |
hwatta
|
20년 전 | 2809 | |
| 321 |
hwatta
|
20년 전 | 2286 | |
| 320 |
yesmoa
|
20년 전 | 4545 | |
| 319 | 20년 전 | 2638 | ||
| 318 | 20년 전 | 2219 | ||
| 317 |
kyodon
|
20년 전 | 2747 | |
| 316 | 20년 전 | 2547 | ||
| 315 |
|
20년 전 | 2862 | |
| 314 |
|
20년 전 | 3305 | |
| 313 |
|
20년 전 | 2619 | |
| 312 |
yesmoa
|
20년 전 | 4694 | |
| 311 | 20년 전 | 3222 | ||
| 310 |
홀로남은자
|
20년 전 | 4527 | |
| 309 | 20년 전 | 2983 | ||
| 308 | 20년 전 | 4105 | ||
| 307 | 20년 전 | 4339 | ||
| 306 | 20년 전 | 7008 | ||
| 305 | 20년 전 | 3840 | ||
| 304 | 20년 전 | 2735 | ||
| 303 |
크리스탈처럼
|
20년 전 | 4374 | |
| 302 | 20년 전 | 2184 | ||
| 301 |
|
20년 전 | 4304 | |
| 300 | 20년 전 | 3763 | ||
| 299 | 20년 전 | 2559 | ||
| 298 | 20년 전 | 4791 | ||
| 297 |
|
20년 전 | 2502 | |
| 296 | 20년 전 | 4489 | ||
| 295 | 20년 전 | 3547 | ||
| 294 | 20년 전 | 3565 | ||
| 293 | 20년 전 | 3802 | ||
| 292 | 20년 전 | 3180 | ||
| 291 |
yesmoa
|
20년 전 | 5896 | |
| 290 | 20년 전 | 2918 | ||
| 289 | 20년 전 | 5824 | ||
| 288 |
|
20년 전 | 2344 | |
| 287 |
|
20년 전 | 1753 | |
| 286 |
|
20년 전 | 2123 | |
| 285 |
|
20년 전 | 3508 | |
| 284 |
|
20년 전 | 2015 | |
| 283 |
|
20년 전 | 4380 | |
| 282 | 20년 전 | 3358 | ||
| 281 |
|
20년 전 | 2184 | |
| 280 |
|
20년 전 | 7782 | |
| 279 | 20년 전 | 5521 | ||
| 278 | 20년 전 | 2966 | ||
| 277 |
|
20년 전 | 5548 | |
| 276 | 20년 전 | 2339 | ||
| 275 | 20년 전 | 2569 | ||
| 274 | 20년 전 | 2335 | ||
| 273 | 20년 전 | 2184 | ||
| 272 | 20년 전 | 2108 | ||
| 271 | 20년 전 | 2575 | ||
| 270 | 20년 전 | 2554 | ||
| 269 | 20년 전 | 2439 | ||
| 268 | 20년 전 | 2648 | ||
| 267 | 20년 전 | 2343 | ||
| 266 | 20년 전 | 2547 | ||
| 265 | 20년 전 | 3481 | ||
| 264 |
|
20년 전 | 5335 | |
| 263 |
|
20년 전 | 3693 | |
| 262 | 20년 전 | 3146 | ||
| 261 |
허저비
|
20년 전 | 5905 | |
| 260 |
|
20년 전 | 5692 | |
| 259 | 20년 전 | 4114 | ||
| 258 | 20년 전 | 2364 | ||
| 257 | 20년 전 | 3162 | ||
| 256 | 20년 전 | 1879 | ||
| 255 | 20년 전 | 1545 | ||
| 254 | 20년 전 | 3119 | ||
| 253 | 20년 전 | 3531 | ||
| 252 | 20년 전 | 5081 | ||
| 251 | 20년 전 | 5788 | ||
| 250 | 20년 전 | 3652 | ||
| 249 | 20년 전 | 4990 | ||
| 248 | 20년 전 | 3270 | ||
| 247 | 20년 전 | 3611 | ||
| 246 |
|
20년 전 | 7920 | |
| 245 |
|
20년 전 | 5884 | |
| 244 | 20년 전 | 4464 | ||
| 243 |
|
20년 전 | 4015 | |
| 242 | 20년 전 | 2745 | ||
| 241 | 20년 전 | 2687 | ||
| 240 | 20년 전 | 2320 | ||
| 239 | 20년 전 | 1616 | ||
| 238 |
아우겐나이스
|
20년 전 | 2234 | |
| 237 |
email
|
20년 전 | 3653 | |
| 236 | 20년 전 | 4117 | ||
| 235 | 20년 전 | 10440 | ||
| 234 | 20년 전 | 5037 | ||
| 233 | 20년 전 | 3351 | ||
| 232 | 20년 전 | 3168 | ||
| 231 | 20년 전 | 3803 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기