티스토리 뷰
-Apache-
#wget http://mirror.apache-kr.org/httpd/httpd-2.2.9.tar.gz
#tar fxvz httpd-2.2.9.tar.gz
#cd httpd-2.2.9
#yum install gcc*
( 설치 : gcc , openssl , openssl-devel , zlib-devel )
#./configure --prefix=/usr/local/apache --enable-mods-shared=all --with-mpm=worker --enable-ssl --with-ssl --enable-so
#make && make install
#echo "/usr/local/apache/bin/apachectl start" >> /etc/rc.local
컴퓨터 시작시 자동실행
-MYSQL-
#wget http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.51b.tar.gz/from/http://mysql.byungsoo.net/
#tar fxvz mysql-5.0.51b.tar.gz
#cd mysql-5.0.51b
#yum install
( 설치 : gcc-c++ libstdc++-devel 과 libtermcap-devel )
#./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --with-charset=utf8 --with-mysql-user=mysql --sysconfdir=/etc --enable-thread-safe-client
#make && make install
#/usr/local/mysql/bin/mysql_install_db --force
디비 실행
#cat >> /etc/ld.so.conf
입력 /usr/local/mysql/lib
ctrl+d 저장
#ldconfig
#cp /usr/local/mysql/share/mysql/my-medium.cnf /etc/my.cnf
mysql 설정파일인 my-medium.cnf 파일을 /etc/my.cnf
#groupadd mysql
#useradd -M -c MySQL_Server -d /usr/local/mysql -g mysql -s /bin/nologin mysql
계정 생산
#chown root.mysql -R /usr/local/mysql
#chown mysql.mysql -R /usr/local/mysql/data
echo "/usr/local/mysql/bin/mysqld_safe &" >> /etc/rc.local
-Php-
#wget http://kr2.php.net/get/php-5.2.6.tar.gz/from/this/mirror
#tar fxvz php-5.2.6.tar.gz
#cd php-5.2.6
#yum install libxml2-devel
#./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --with-config-file-path=/usr/local/apache/conf --with-exec-dir=/usr/local/apache/bin --with-gd=shared --with-openssl--with-gd --enable-gd-native-ttf --with-zlib --with-jpeg-dir=/usr/lib
다음과 같은 에러가뜬다.
에러 : configure: error: xml2-config not found. Please check your libxml2 installation.
답 : #yum install libxml2-devel 아니면 #yum install libxml2
에러 : configure: error: libjpeg.(a|so) not found.
#yum install libpng-devel
#yum install libjpeg-devel
#mkae && make install
#cp php.ini-recommended /usr/local/apache/conf/php.ini
#vi /usr/local/apache/conf/httpd.conf
추가 되었는지 확인 (없으면 자신이 직접 추가) (저는 자동 추가되어있더군요.)
LoadMbdule php5_module modules/libphp5.so
361 라인 정도 밑에 추가
361 AddType application/x-httpd-php .php .html .htm
AddType application/x-httpd-php-source .phps
#vi /usr/local/apache/conf/mime.types
693 application/x-httpd-php php ph inc
694 application/x-httpd-php-source phps
#vi /usr/local/apache/conf/php.ini
default_socket_timeout = 600
post_max_size = 20M
memory_limit = 20M
upload_max_filesize = 20M
-Zend Optimizer-
ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
#wget http://blog.konata.kr/attachment/ik080000000000.gz
#tar fxvz ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
#cd ZendOptimizer-3.3.3-linux-glibc23-i386
#./install.sh
다음과 같은 질문이나오지않는이상 무조건 "YES" 나 "OK"
Enter the location of your php.ini file
입력 : /usr/local/apache/conf/
- Total
- Today
- Yesterday
- rhel5
- pc정보
- PC최적화
- 키보드 단축키
- Cisco
- 리눅스
- Unix
- network
- 아파치 보안
- XP설치
- 컴퓨터 관리
- Solaris
- switch
- 컴퓨터 소음
- Storage
- dell 서버
- 보안
- 넷백업
- hp-ux
- 윈도우즈 2000
- Router
- 솔라리스
- RHEL4
- Oracle
- dell omsa
- netbackup
- 오라클
- Linux
- 컴퓨터 다운
- unix 보안
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |