by Forrest Sheng Bao http://fsbao.net
Validated on Ubuntu 8.04.
sudo apt-get install apache2 php5 libapache2-mod-php5 php5-mysql mysql-server php5-gd opensshd
- edit
/etc/apache2/sites-available/default
sudo a2enmod rewrite
- vim /etc/apache2/sites-available/default
and set
AllowOverride all
- restart Apache:
sudo apachectl -k graceful
- test
mysql -u root -p
- mysql>
create database drupal character set utf8 collate utf8_general_ci ;
Query OK, 1 row affected (0.00 sec) - mysql>
use drupal
- mysql>
grant all on drupal.* to 'xxx'@'localhost' identified by 'YYYYYYYY';
No comments:
Post a Comment