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에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 206 | JavaScript | 20년 전 | 3807 | ||
| 205 | Linux | 20년 전 | 5657 | ||
| 204 | 기타 | 20년 전 | 3538 | ||
| 203 | 기타 | 20년 전 | 4954 | ||
| 202 | JavaScript | 20년 전 | 3917 | ||
| 201 | MySQL | 20년 전 | 4667 | ||
| 200 | 기타 | 20년 전 | 3906 | ||
| 199 | MySQL | 20년 전 | 5412 | ||
| 198 | 기타 | 20년 전 | 4718 | ||
| 197 | 기타 | 20년 전 | 4431 | ||
| 196 | JavaScript | 20년 전 | 3695 | ||
| 195 | 기타 | 20년 전 | 4006 | ||
| 194 | Linux | 20년 전 | 4232 | ||
| 193 | 기타 | 20년 전 | 3615 | ||
| 192 | JavaScript | 20년 전 | 2870 | ||
| 191 | JavaScript | 20년 전 | 3561 | ||
| 190 | 기타 | 20년 전 | 7420 | ||
| 189 | 기타 | 20년 전 | 3129 | ||
| 188 | JavaScript | 20년 전 | 3652 | ||
| 187 | JavaScript | 20년 전 | 3510 | ||
| 186 | 기타 | 20년 전 | 4587 | ||
| 185 | 기타 | 20년 전 | 3127 | ||
| 184 | JavaScript | 20년 전 | 3645 | ||
| 183 | JavaScript | 20년 전 | 6000 | ||
| 182 | 기타 | 20년 전 | 4858 | ||
| 181 | 기타 | 20년 전 | 3640 | ||
| 180 | 기타 | 20년 전 | 12084 | ||
| 179 | JavaScript | 20년 전 | 3628 | ||
| 178 | 기타 | 20년 전 | 3158 | ||
| 177 | 기타 | 20년 전 | 4079 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기