Offiria is a secure Enterprise Social Platform which can help your team to communicate privately and collaborate in a better way. It is open-source and it is very easy to install and use. Today, we are going to show you how to install Offiria on your Linux VPS.
In order to install Offiria on your Linux VPS, your server should meet the following requirements:
PHP 5.4 or newer
MySQL 5.0 or greater
Apache 2.0 or greater (with mod_rewrite, mod_mysql, mod_xml, and mod_zlib) or Nginx 1.1
Also, Offiria requires some PHP extensions to be enabled on the VPS. The following PHP extensions that need to enabled on your VPS:
mbstring
curl
GDlibraries
fileinfo
ldap (for ldap/AD support)
It is worth mentioning that this Offiria installation guide can be applied no matter if you have Ubuntu or CentOS installed on your VPS. Therefore, if your Ubuntu VPS or CentOS VPS meets the Offiria requirements, we are good to go.
First of all, lets make sure that your system is fully up to date. Run the command:
For CentOS:
yum -y update
For Ubuntu:
apt-get update apt-get upgrade
The command above will update all your system software to the latest version available. Once your system is fully up to date, you can proceed with the additional steps.
Offiria requires MySQL/MariaDB database in order to store its files. Log in to your MySQL/MariaDB and create a database, a database user and a database password for Offiria.
mysql -u root -p
We are assuming that you have root access to your MySQL/MariaDB database, so once you are logged in you can execute the following commands one by one:
CREATE DATABASE offiria; CREATE USER 'offiria_user'@'localhost' IDENTIFIED BY 'YoUr_PaSsWoRd'; GRANT ALL PRIVILEGES ON `offiria`.* TO 'offiria_user'@'localhost'; FLUSH PRIVILEGES;
Next, navigate to ‘/opt’ and download the Offiria files into that directory. For that purpose you can use the commands:
cd /opt/ git clone https://github.com/offiria/offiria
Move the files to your ‘/var/www/html/’ directory:
mv offiria /var/www/html/
Change the ownership of the files:
On CentOS:
chown apache: -R /var/www/html/offiria/
On Ubuntu:
chown www-data: -R /var/www/html/offiria/
Now, everything is set up for the online installation. All you need to do is to open your favorite web browser and navigate to:
http://IPADDRESS/offiria
Please do not forget to replace IPADDRESS with the IP address of your VPS. If you do not know what the IP address of your VPS is, you can execute the command:
ip addr show
Once you access Offiria using your web browser, you need to follow the on-screen instructions in order to get Offiria up and running. First, you need to enter information about the database you have created previously and then the other required information.
Of course you don’t have to do any of this if you use one of our Linux VPS hosting services, in which case you can simply ask our expert Linux admins to install Offiria for you. They are available 24×7 and will take care of your request immediately.
PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.