IzzyMenu.com

SYSTEM(LINUX BSD MYSQL MSSQL etc)°ü·Ã ÀÚ·á¹× ÀÚü °­ÀÇ ÀÚ·á

 ·Î±×ÀÎ  È¸¿ø°¡ÀÔ

[¾ÈÅæÀÛ¼ºÀÚ·á] - APM3
ANTON  2009-06-28 05:05:22, Á¶È¸ : 158, Ãßõ : 36

echo "Mysql-config"
useradd -s /bin/false -d  / mysql
grep mysql /etc/passwd
mkdir /usr/local/mysql/data
./configure --prefix=/usr/local/mysql --with-charset=euc_kr --with-mysqld-user=mysql --localstatedir=/usr/local/mysql/data
make && make install
/usr/local/mysql/bin/mysql_install_db
cd /usr/local/mysql/share/mysql
vim mysql.server
$bindir/safe_mysqld --user=mysql --pid-file=$pid_file --language=korean &
cp /usr/local/mysql/share/mysql/mysql.server /etc/rc.d/init.d/mysqld
mysql.server start
mysql>set password for root@localhost = password ('tjsdidthwn');
-------------------------------------------------------------------
gd
rpm -e --nodeps gd
rpm -e --nodeps gd-devel
gd tar ^^
cd gd-2.0.7gif
./confiure
make
make install
------------------------------------------------------------------

Apache install 1
cd /var/tmp/apache_1.3.28
./configure --prefix=/usr/local/apache

PHP ½ºÅ©¸³
PHP install
cd php-4.3.3
./configure --with-config-file-path=/usr/local/apache/conf \
--disable-debug \
--with-mysql=/usr/local/mysql \
--with-apache=/usr/local/apache_1.3.31 \
--with-gd=/usr/local \
--enable-gd-native-ttf \
--enable-track-vars \
--enable-sockets \
make && make install

APACHE ½ºÅ©¸³
./configure --prefix=/usr/local/apache \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=php4 \
--enable-shared=max \
--enable-rule=SHARED_CORE \
--enable-module=so
make
make install
cp /usr/local/php-4.3.7/php.ini-dist /usr/local/apache/conf/php.ini
cp -p /usr/local/apache/bin/apachectl /etc/rc.d/init.d/apachectl
vi /usr/local/apache/conf/httpd.conf
------------------------------
360 lineÂë/
<ifModule mod_dir.c>
DirectoryIndex index.php index.php3 index.html index.htm À¸·Î ¼öÁ¤
</ifModule>

720 lineÂë
AddType application/x-httpd-php  .php .html .htm .inc .lib .phtml .ini .php3
AddType application/x-httpd-php-source .phps

------------------------------
¾ÆÆÄÄ¡ Ãß°¡º¸¾È ¼³Á¤
# End of proxy directives.
# º¸¾È ¼³Á¤ºÎºÐ
# SetEnvIf Cookie check=ok true
# <Directory "ÇØ´çµð·ºÅ丮">
#  Options FollowSymLinks Includes ExecCGI
#  Order allow,deny
#  allow from env=true    <--- À̺κÐÀÌ SetEnvIf¿¡ ÀÇÇØ ¼¼ÆÃµÈ º¯¼ö¸¸ Çã°¡ÇÔ
# </Directory>
# ƯÁ¤µð·ºÅ丮 Á¢±Ù ±ÝÁö ºÎºÐÀÓ

# À¥¼­¹ö »ðÁú ±ÝÁöºÎºÐ
BrowserMatch "WebZip" go_out
BrowserMatch "Teleport" go_out
BrowserMatch "GetRight" go_out
<Directory "/home/gwise/public_html">
Deny from env=go_out
</Directory>
# À¥¼­¹ö Á¤º¸ º¸±â ±ÝÁöºÎºÐ
ServerTokens Prod
ln -sf /usr/local/apache/bin/httpd /sbin/httpd
ln -sf /usr/local/apache/bin/apachectl /sbin/apachectl
shell>cp -p /usr/local/apache/bin/apachectl /etc/rc.d/init.d/apachectl
shell>cp -p /usr/local/mysql/share/mysql/mysql.server /etc/rc.d/init.d/mysqld
shell>cd /etc/rc.d/rc3.d
shell>ln -s /etc/rc.d/init.d/httpd S85httpd
shell>ln -s /etc/rc.d/init.d/mysqld S97mysqld


  ÃßõÇÏ±â   ¸ñ·Ïº¸±â

Copyright 1999-2024 Zeroboard / skin by zero