How to Install Feng Office on a Debian 9 VPS

How to Install Feng Office on a Debian 9 VPS

All

Linux Articles / All 24 Views comments

This information will stroll you thru the processing of putting in Feng Workplace on a Debian 9 VPS.

Feng Workplace is an open-source collaboration platform written in PHP and it is available in three editions: Group, Skilled, and Enterprise. We'll set up the Group version which incorporates options comparable to process administration, doc administration, workspaces, and much more. This information ought to work on different Linux VPS techniques as properly, however it was examined and written for a Debian 9 VPS. Let’s get began with the set up.

Desk of Contents

Conditions:

Listed here are the system necessities for operating Feng Workplace Three.7 on a Debian 9 VPS:

  • Minimal 2 GB / Beneficial 6 GB of RAM reminiscence
  • Minimal 2 / Really helpful four CPU Cores
  • Disk area depends upon the quantity of knowledge you expect to handle, however a minimal of 10GB is suggested.

Step 1: Set up Required packages

Log in to your VPS by way of SSH as root or as a sudo consumer:

ssh [email protected]_Address

Keep in mind to switch “IP_Address” together with your server’s public IP handle. In case your server doesn't use the default SSH port quantity, add -p Port_Number to the top of the command and substitute “Port_Number” together with your server’s SSH port quantity.

As soon as logged in, difficulty the next instructions to replace all put in packages to their newest out there variations:

sudo apt-get replace
sudo apt-get improve

Afterwards, set up the required packages utilizing the next command:

sudo apt-get set up catdoc xpdf ghostscript imagemagick wkhtmltopdf unzip wget

Step 2: Set up LAMP

A LAMP (Linux, Apache, MySQL, PHP) stack is a mixture of open supply software program, sometimes put in on a server used for internet hosting dynamic web sites and net purposes.

First, we'll set up Apache, probably the most widely-used net server on the earth. It's quick, safe, dependable, and might be simply custom-made relying in your wants.

To put in Apache in your Debian 9 server, sort the next command:

sudo apt-get set up apache2

As soon as the set up is full, allow the Apache service to start out mechanically upon system boot:

sudo systemctl allow apache2

Subsequent, we'll set up PHP and the modules wanted to run Feng Workplace:

apt set up php libapache2-mod-php php-mysql php-curl php-json php-cgi libapache2-mod-php php-mcrypt php-xmlrpc php-gd php-mbstring php php-common php-xmlrpc php-soap php-xml php-intl php-cli php-ldap php-zip php-readline php-imap php-tidy php-recode php-opcache php-intl php-mbstring

Restart the Apache net server in order that the PHP module is loaded:

systemctl restart apache2.service

The final step is to put in MariaDB:

sudo apt-get set up mariadb-server

Allow the Apache service to start out routinely upon system boot:

sudo systemctl allow mariadb

As soon as the set up is full, it is suggested to run the next command to enhance the safety of your MariaDB server:

sudo mysql_secure_installation

When/if this system asks in your MySQL root password, simply press the [Enter] key, as there isn't a password set by default. We propose answering every immediate with ‘Y’.

Step Three: Configure Apache and PHP

Open the php.ini configuration file together with your most popular textual content editor:

sudo nano /and so forth/php/7.zero/apache2/php.ini

Then make the next modifications. First, discover and modify the next values:

max_execution_time = 300
max_input_time = 300
memory_limit = 512M
post_max_size = 128M
upload_max_filesize = 128M
display_errors = Off
html_errors = Off
display_startup_errors = Off
log_errors = On
output_buffering = Off

Subsequent, create a brand new digital host configuration file in order that we will entry our Feng Workplace software with a website identify as an alternative of an IP handle.

sudo nano /and so on/apache2/sites-available/domain-name.com.conf

Then add the next content material to the file:

ServerAdmin [email protected]>domain-name.com
DocumentRoot /var/www/html/fengoffice/
ServerName domain-name.com
ServerAlias www.domain-name.com


    Choices FollowSymlinks
    AllowOverride All
    Require all granted


ErrorLog $APACHE_LOG_DIR/error.log
CustomLog $APACHE_LOG_DIR/entry.log mixed


in fact, you'll need to exchange all situations of domain-name.com together with your precise registered area identify.

Upon getting configured the digital host, you possibly can allow it by executing the next instructions.

sudo a2ensite domain-name.com

Additionally, make it possible for the mod rewrite is enabled:

sudo a2enmod rewrite

Restart Apache for the modifications to take impact:

sudo systemctl restart apache2.service

Step four: Create a Database

We’ll have to create a database to ensure that Feng Workplace to have a location the place it can retailer its knowledge. Log in to the MySQL console:

mysql -u root -p

Create a database and consumer that may have the ability to work together with the database:

CREATE DATABASE fengdb;
GRANT ALL PRIVILEGES ON fengdb.* TO 'fenguser'@'localhost' IDENTIFIED BY 'strong_password' WITH GRANT OPTION;
give up;

Don't forget to vary ‘strong_password‘ with an precise robust password.

Step 5: Set up Feng Workplace

Obtain the newest model of Feng Workplace within the /tmp listing:

cd /tmp/ 
wget --no-check-certificate -O fengoffice.zip https://www.fengoffice.com/net/reference.php?dest=latest_version
unzip fengoffice.zip

Transfer the extracted information to a listing named ‘fengoffice’ and alter the possession in order that it belongs to the Apache net server:

mkdir -p /var/www/html/fengoffice/
mv fengoffice-Three.* /var/www/html/fengoffice
chown www-data:www-data -R /var/www/html/fengoffice/

After finishing all of the steps, open http://domain-name.com in your favourite net browser and begin the set up course of.

Comply with the steps of the online set up and fill out all the mandatory info.

Please observe that the ‘core_dimensions‘ plugin is required for this software, so it is best to set up it. You can even choose the “workspace” and “mail” plugins in the course of the net set up course of.

Congratulations! You could have efficiently put in Feng Workplace in your server.


In fact, in case you are one in every of our Feng Office Hosting clients, you don’t have to put in Feng Workplace in your Debian 9 VPS – merely ask our admins, sit again, and chill out. Our admins will set up and configure Feng Workplace on Debian 9 for you instantly.

PS. In the event you appreciated this publish on the best way to set up Feng Workplace on a Debian 9 VPS, or should you discovered it useful, please share it with your mates on the social networks utilizing the share buttons under, or just depart a remark within the feedback part. Thanks.

Comments