Upload
matt-janecek
View
219
Download
0
Embed Size (px)
Citation preview
7/27/2019 How to Set Up a Feng Office Suite Web Server on Ubuntu Server 10 10
1/3
How To Set Up A Feng Office Suite Web Server On Ubuntu Server 10.10
By richard
Published: 2011-04-01 09:21
How To Set Up A Feng Office Suite Web Server On Ubuntu Server 10.10This howto describes how to set up a local intranet web based office suite server (on Ubuntu 10.10 server) based on Feng Office which used to be
OpenGoo. Feng Office has a range of groupware type products such as word processing, email, calendar, and presentations.
It doesnt yet have a spreadsheet nor does its calendar integrate with a calendar server. If these are features you would like to see then go to
http://www.fengoffice.com/web/community/collaborate.php and tell them so.
Download and install Ubuntu server.Give the server a useful netbios name, e.g. fengserver. Using the space bar select LAMP server.
Write down the password you use for the MySQL root user - you'll need it later.
Create a user with password, e.g. fengadmin from the command line.
Go to the Internet directory:
cd /var/www
Download the latest version of FENG:
sudo wget http://downloads.sourceforge.net/project/opengoo/fengoffice/fengoffice_1.7.4/fengoffice_1.7.4.zip
Install the unzip package:
sudo apt-get install unzip
Copyright 2011 All Rights Reserved. HowtoForge Page 1 of 3
http://www.fengoffice.com/web/community/why-is-open-source.phphttp://www.fengoffice.com/web/community/collaborate.phphttp://www.fengoffice.com/web/community/collaborate.phphttp://www.fengoffice.com/web/community/why-is-open-source.php7/27/2019 How to Set Up a Feng Office Suite Web Server on Ubuntu Server 10 10
2/3
How To Set Up A Feng Office Suite Web Server On Ubuntu Server 10.10 http://www.howtoforge.com/
Unzip Feng:
sudo find . -name "feng*.zip" -exec unzip {} \;
Install PHP:
sudo apt-get install php5-gd mysql-server apache2 php5 php5-mysql
Give ownership of the unzipped folders to Apache:
sudo chown www-data:www-data /var/www/feng/feng_community/config
sudo chown www-data:www-data /var/www/feng/feng_community/cache
sudo chown www-data:www-data /var/www/feng/feng_community/upload
sudo chown www-data:www-data /var/www/feng/feng_community/tmp
Create the feng database in MySQL:
echo "create database fengdb" | mysql -u root -p
Enter your MySQL root password.
echo "create user 'fenguser'@'localhost' identified by 'fengsqlpassword'" | mysql -u root -p
Again, enter your MySQL root password.
Copyright 2011 All Rights Reserved. HowtoForge Page 2 of 3
7/27/2019 How to Set Up a Feng Office Suite Web Server on Ubuntu Server 10 10
3/3
How To Set Up A Feng Office Suite Web Server On Ubuntu Server 10.10 http://www.howtoforge.com/
echo "grant all on fengdb.* to 'fenguser'@'localhost'" | mysql -u root -p
Enter your MySQL root password again. Or in each case you can enter the password at the end of the line immediately after-p with no space. This then
allows the process to be scripted if you like. Slightly less secure though given that your password will be visible in the script
Restart the webserver:
sudo /etc/init.d/apache2 restart
Go to the web site from another machine:
http://fengserver/feng_community/
For the MySQL database/host/username/password enterfengdb/localhost/fenguser/fengsqlpassword
.Obviously enter a more secure password inplace of each instance offengsqlpasswordhere and above.
Create a feng admin username and password.
Go finish, add a new user with details and you're done.
Copyright 2011 All Rights Reserved. HowtoForge Page 3 of 3