·Î±×ÀÎ
¾ÆÀ̵ð
¾Ï   È£
ȸ¿ø°¡ÀÔ   ¾ÏÈ£ºÐ½Ç
¬á¬â¬à¬ã¬ä¬Ú¬ä¬å¬ä¬Ü¬Ú, ¬Õ¬à¬ã¬å¬Ô, ¬Ú¬ß¬Õ¬Ú¬Ó¬Ú¬Õ¬å¬Ñ¬Ý¬Ü¬Ú, ¬Ú¬ß¬ä¬Ú¬Þ http://youdosug.com - ¬á¬â¬à¬ã¬ä¬Ú¬ä¬å¬ä¬Ü¬Ú, ¬Õ¬à¬ã¬å¬Ô, ¬Ú¬ß¬Õ¬Ú¬Ó¬Ú¬Õ¬å¬Ñ¬Ý¬Ü¬Ú, ¬Ú¬ß¬ä¬Ú¬Þ
  Home
  ²ôÀû²ôÀû
  ¸®´ª½º
  ¼îÇθô
  °ÔÀÓ
  ¾Æ¹ÙŸ¼¥
  ¾Æ¹ÙŸ°ü¸®ÀÚ
  HTML ±³À° ¿¹Á¦1
  HTML ±³À° ¿¹Á¦2
  Å×½ºÆ®ÆäÀÌÁö


¸®´ª½º Tech °Ô½ÃÆÇ


  DELETE

ADMIN 2024. 04. 19.
 [¼³Ä¡] rpm ¼³Ä¡ ¹æ¹ý
  ³¯Â¥: 2002.01.23. 12:58:08   Á¶È¸: 1081
-- mysql install
-- ÃÖ½Å
./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --with-charset=euc_kr --with-mysqld-ldflags=-all-static
make
strip sql/mysqld
make install
/usr/local/mysql/bin/mysql_install_db
chown -R root /usr/local/mysql
chown -R mysql /usr/local/mysql/data
chgrp -R mysql /usr/local/mysql
/usr/local/mysql/bin/safe_mysqld --user=mysql --language=korean &

-- ¿¹Àü
./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --with-charset=euc_kr
make
make install
/usr/local/mysql/bin/mysql_install_db
/usr/local/mysql/bin/safe_mysqld --user=mysql --skip-networking --language=korean &



-- openssl install (¼±ÅûçÇ×. https ¾Èµ¹¸±¶ó¸é ¾È±ò¾Æµµ µÊ)
./config
make
make install
cp /usr/local/ssl/bin/openssl /usr/bin/openssl


-- apache
./configure

-- mod_ssl
./configure --with-apache=../apache_1.3.20

-- php
./configure \
--with-apache=../apache_1.3.22 \
--with-mysql=/usr/local/mysql \
--enable-track-vars \
--enable-magic-quotes \
--enable-versioning \
--disable-debug
make
make install

-- zend optimizer
cp /usr/local/src/ZendOptimizer-1.1.0-PHP_4.0.5-Linux_glibc21-i386/ZendOptimizer.so /usr/local/Zend/lib/

cp /usr/local/src/php-µð·ºÅ丮/php.ini-dist /usr/local/lib/php.ini

/usr/local/lib/php.ini¿¡ insert

;;;;;;;;;;;;;;;;;;;;
; Zend Optimizer ;
;;;;;;;;;;;;;;;;;;;;
zend_optimizer.optimization_level=15
zend_extension="/usr/local/Zend/lib/ZendOptimizer.so"


-- apache
SSL_BASE=/usr/local/ssl \
./configure \
--prefix=/usr/local/etc/httpd \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=ssl \ (ssl ¾ÈÇÒ²¨¸é »ý·«)
--enable-module=so

ÇÑ±Û url ÀνÄÀ» À§ÇÑ ¸ðµâ Ãß°¡
cp mod_redurl.c /usr/src/apache_1.3.19/src/modules/extra
cd /usr/src/apache_1.3.19/src
echo "AddModule modules/extra/mod_redurl.o" >> Configuration.apaci
./Configure -file Configuration.apaci
cd ../

make
make certificate (ssl ¾ÈÇÒ²¨¸é »ý·«)
make install

<install ÀÌÈÄ httpd.conf¿¡ ¾Æ·¡¿­À» Ãß°¡>
<IfModule mod_redurl.c>
CheckURL On
</IfModule>

-- ssl vhost Ãß°¡ ¹æ¹ý: httpd.conf Á¦ÀÏ ¾Æ·¡ÂÊ¿¡ Ãß°¡
NameVirtualHost 211.236.112.100:443

<VirtualHost 211.236.112.100:443>
ServerAdmin bufh@bufh.net
DocumentRoot /home/bufh
ServerName bufh.net
SSLEngine On
</VirtualHost>
<VirtualHost 211.236.112.100:443>
ServerAdmin bufh@bufh.net
DocumentRoot /home/soekseo
ServerName thebook.co.kr
SSLEngine On
ServerAlias www.thebook.co.kr thebook.co.kr
</VirtualHost>

*** httpd.conf ¿¡ ¾Æ·¡ »çÇ× Ãß°¡

LimitRequestBody 5000000

*** httpd.conf ¼öÁ¤ »çÇ×

<IfModule mod_userdir.c>
UserDir /home/* /home/forwarding/*
</IfModule>

<Directory /home/*>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews ExecCGI SymLinksIfOwnerMatch Includes
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
Deny from env-go_out
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>

NameVirtualHost 211.233.38.27

<VirtualHost 211.233.38.27>
DocumentRoot /usr/local/etc/httpd/htdocs
ServerName ww9.asadal.net
ServerAlias asadal.net ww9.asadal.net
</VirtualHost>

index ÆÄÀÏ È®ÀåÀÚ ¸®½ºÆ® Ãß°¡
index.html index.htm index.php index.shtml index.cgi index.php3
php È®ÀåÀÚ Ãß°¡
.php .html .htm .phtml .php3 .php4 .inc .h
cgi È®ÀåÀÚ¿¡ pl Ãß°¡
AddHandler cgi-script .cgi .pl
custom log common ¸»°í combined ·Î.. (ÇÔ²² ½×ÀÌ´Â °Å)
CustomLog /usr/local/etc/httpd/logs/access_log combined

### wwwcount °ü·Ã »çÇ× Ãß°¡ ###
#ScriptAlias /cgi-bin/ "/usr/local/etc/httpd/cgi-bin/"
ScriptAlias /cgi-pub/ "/usr/local/etc/httpd/cgi-pub/"

<Directory "/usr/local/etc/httpd/cgi-pub">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>

-- rc.local ¿¡ Ãß°¡

/etc/rc.d/init.d/network restart
/usr/bin/rdate -s time.nuri.net
/usr/local/mysql/bin/safe_mysqld --language=korean &
/usr/local/etc/httpd/bin/apachectl start
/usr/local/sbin/sshd

-- wwwcount¼³Ä¡
make config.h (¼³Ä¡°æ·Î : /usr/local/etc/httpd/cgi-pub/)
make all
make cfg
make install

LIST WRITE

Copyright¨Ï 2002 RUBICON