2012年1月18日 星期三

SUSE 常用設定

重啟
rcapache2 restart

#網頁目錄
cd /srv/www
#apache 設定檔
cd /etc/apache2/conf.d
#系統目錄
cd /etc/sysconfig/

PHP.ini
/etc/php5/apache2/php.ini

APACHE_MODULES

crontab -e

yast -i gd

yast -i libpng
yast -i php5-gd php5-mbstring php5-mcrypt php-xml php5-pear

--
起始安裝
yast2 –-install apache2

yast2 –-install mysql mysql-tools

yast2 –-install php5 php5-mysql apache2-mod_php5

yast2 –-install php5-gd php5-mbstring php5-mcrypt php-xml php5-pear

rcmysql start

mysqladmin -u root password 'mysecretpassword'

chkconfig -a mysql

(Please substitute your own unique password for 'mysecretpassword')

pear install MDB2_driver_mssql

a2enmod php5

a2enmod -l

rcapache2 restart

chkconfig -a apache2

沒有留言:

張貼留言