wiki:jazz/11-09-01

Version 2 (modified by jazz, 13 years ago) (diff)

--

2011-09-01

Feng Office

  • <參考> How To Set Up A Feng Office Suite Web Server On Ubuntu Server 10.10
  • <參考> 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
    
  • 接著連線至 http://${YOUR_IP}/fengoffice 進行設定,就可以登入了~