RedHat(레드햇) 7.3 에서 APM 빠른 설치
--------------------
MySQL 4.1.16
--------------------
./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --with-charset=euckr
make ; make install
/usr/local/mysql/bin/mysql_install_db
cp /usr/local/mysql/share/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/lib/mysql" >> /etc/ld.so.conf
ldconfig
echo "/usr/local/mysql/bin/mysqld_safe &" >> /etc/rc.local
--------------------
Apache 1.3.26
--------------------
./configure --prefix=/usr/local/apache --enable-module=so
make ; make install
vi /usr/local/apache/conf/httpd.conf
수정
DirectoryIndex index.html index.htm index.php
vi /usr/local/apache/conf/mime.types
두줄 추가 (확장자는 탭키로 띄운다)
application/x-httpd-php php ph inc
application/x-httpd-php-source phps
echo "/usr/local/apache/lib" >> /etc/ld.so.conf
echo "/usr/local/apache/modules" >> /etc/ld.so.conf
ldconfig
echo "/usr/local/apache/bin/apachectl start" >> /etc/rc.local
--------------------
PHP 4.1.2
--------------------
./configure --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache/conf --with-mysql=/usr/local/mysql
make; make install
cp php.ini-dist /usr/local/lib/php/php.ini<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:32:05 Linux에서 이동 됨]</div>
MySQL 4.1.16
--------------------
./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --with-charset=euckr
make ; make install
/usr/local/mysql/bin/mysql_install_db
cp /usr/local/mysql/share/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/lib/mysql" >> /etc/ld.so.conf
ldconfig
echo "/usr/local/mysql/bin/mysqld_safe &" >> /etc/rc.local
--------------------
Apache 1.3.26
--------------------
./configure --prefix=/usr/local/apache --enable-module=so
make ; make install
vi /usr/local/apache/conf/httpd.conf
수정
DirectoryIndex index.html index.htm index.php
vi /usr/local/apache/conf/mime.types
두줄 추가 (확장자는 탭키로 띄운다)
application/x-httpd-php php ph inc
application/x-httpd-php-source phps
echo "/usr/local/apache/lib" >> /etc/ld.so.conf
echo "/usr/local/apache/modules" >> /etc/ld.so.conf
ldconfig
echo "/usr/local/apache/bin/apachectl start" >> /etc/rc.local
--------------------
PHP 4.1.2
--------------------
./configure --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache/conf --with-mysql=/usr/local/mysql
make; make install
cp php.ini-dist /usr/local/lib/php/php.ini<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:32:05 Linux에서 이동 됨]</div>
게시판 목록
개발자팁
개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.
질문은 QA에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 5186 | PHP |
swallow
|
2년 전 | 943 | |
| 5185 | PHP |
swallow
|
2년 전 | 962 | |
| 5184 | PHP |
swallow
|
2년 전 | 539 | |
| 5183 | PHP |
swallow
|
2년 전 | 847 | |
| 5182 | PHP |
swallow
|
2년 전 | 778 | |
| 5181 | 기타 |
swallow
|
2년 전 | 1022 | |
| 5180 | 2년 전 | 574 | |||
| 5179 | 기타 |
swallow
|
2년 전 | 1434 | |
| 5178 | PHP |
swallow
|
2년 전 | 796 | |
| 5177 | JavaScript |
swallow
|
2년 전 | 1493 | |
| 5176 | PHP |
swallow
|
2년 전 | 1189 | |
| 5175 | 2년 전 | 566 | |||
| 5174 | 기타 | 2년 전 | 816 | ||
| 5173 | PHP |
|
2년 전 | 969 | |
| 5172 | PHP |
|
2년 전 | 1253 | |
| 5171 | 기타 |
그누GPT
|
2년 전 | 1557 | |
| 5170 | PHP |
|
2년 전 | 1054 | |
| 5169 | PHP |
|
2년 전 | 1228 | |
| 5168 | PHP |
|
2년 전 | 1200 | |
| 5167 | JavaScript |
|
2년 전 | 999 | |
| 5166 | MySQL | 2년 전 | 1193 | ||
| 5165 | MySQL | 2년 전 | 1256 | ||
| 5164 | PHP | 2년 전 | 1502 | ||
| 5163 | OS |
|
2년 전 | 843 | |
| 5162 | 웹서버 |
|
2년 전 | 893 | |
| 5161 | 웹서버 |
|
2년 전 | 976 | |
| 5160 | PHP |
|
2년 전 | 844 | |
| 5159 | PHP |
|
2년 전 | 908 | |
| 5158 | PHP |
|
2년 전 | 919 | |
| 5157 | PHP |
|
2년 전 | 943 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기