wget http://sfscvs.tc.edu.tw/sfs_stable5.tar.gz
tar zxvf sfs_stable5.tar.gz
ls -al
vim /etc/locale.conf
LANG="zh_TW.Big5"
vim /etc/httpd/conf/httpd.conf
Options Indexes FollowSymLinks --> Options FollowSymLinks
AddDefaultCharset UTF-8 --> AddDefaultCharset big5
vim /etc/my.cnf
[mysqld]
default-storage-engine=MyISAM
vim /etc/php.ini
error_reporting = E_ALL & ~E_NOTICE
date.timezone = "Asia/Taipei"
short_open_tag = On
max_execution_time = 300
upload_max_filesize = 20M
post_max_size = 20M
yum install php-pear php-bcmath -y
pear -d preferred_state=beta install Crypt_DiffieHellman
pear install Crypt_CBC
rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-releaselatest-7.noarch.rpm
yum install php-mcrypt -y
systemctl restart httpd.service
cd /var/www/html
sh setup.sh
--------------------------------------------------
WEB Install
http://x.x.x.x/sfs3/install.php -------------------------------------------------
vim /etc/httpd/conf/httpd.conf
Alias /sfs3/data/ '/var/www/html/sfs3/data/'
<Directory '/var/www/html/sfs3/data/'>
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
----------------------------------------------------------------------------
rm -f /var/www/html/sfs3/install.php
systemctl restart httpd.service
沒有留言:
張貼留言