wiki:jazz/11-09-01

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 進行設定,就可以登入了~
  • <調校> 放大上傳檔案的上限:編輯 /etc/php5/apache2/php.ini,把以下幾個參數放大十倍。
    max_execution_time = 300
    post_max_size = 80M
    upload_max_filesize = 20M
    
Last modified 13 years ago Last modified on Sep 1, 2011, 8:55:48 PM