OS:debian4.0
Apache-1.3.x
Mysql-server-5.0.x
Php-4.4.x
# apt-get install apache-ssl
# cd /etc/apache-ssl
# openssl genrsa 1024 > server.key
# openssl req -new -key server.key -x509 -days 700 -out server.crt
# chmod 600 server.key server.crt
# vi httpd.conf
======+======+======+======+======
Listen 80
Listen 443
SSLEnable
SSLCertificateFile /etc/apache-ssl/server.crt
SSLCertificateKeyFile /etc/apache-ssl/server.key
NameVirtualHost *:80
SSLDisable
ServerName
DocumentRoot /var/www/test
======+======+======+======+======
# apt-get install mysql-server-5.0
# mysqladmin -u root password mysqldbserver
# apt-get install libapache-mod-php4
# apt-get install php4-mysql php4-gd libphp-jpgraph \
php4-curl php4-mcrypt php4-mhash
阅读(708) | 评论(0) | 转发(0) |