<參考> Feng Office 協作平台調校備忘
~$ cd /var/www
/var/www$ sudo wget http://nchc.dl.sourceforge.net/project/opengoo/fengoffice/fengoffice_1.7.5/fengoffice_1.7.5.zip
/var/www$ sudo apt-get install php5-gd mysql-server apache2 php5 php5-mysql
/var/www$ sudo unzip fengoffice_1.7.5.zip
/var/www$ sudo chown www-data:www-data /var/www/fengoffice/config
/var/www$ sudo chown www-data:www-data /var/www/fengoffice/cache/
/var/www$ sudo chown www-data:www-data /var/www/fengoffice/upload/
/var/www$ sudo chown www-data:www-data /var/www/fengoffice/tmp/
/var/www$ echo "create database fengdb" | mysql -u root -p
Enter password:
/var/www$ echo "create user 'fenguser'@'localhost' identified by '${fengsqlpassword}'" | mysql -u root -p
Enter password:
/var/www$ echo "grant all on fengdb.* to 'fenguser'@'localhost';" | mysql -u root -p
Enter password:
/var/www$ sudo /etc/init.d/apache2 restart