How to install open source social network V4.6 on linuxmint-18.03

To install open source social network V4.6 on linuxmint-18.03
Opensource-Social network (OSSN) is a social networking software written in PHP. It allows you to make a social networking website and helps your members build social relationships, with people who share similar professional or personal interests.

Install LAMP (Apache, php7.0, mariadb-server)
In MariaDB (create database, user and give privileges to the user)


apt-get install python-software-properties
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.0-mysql php7.0-curl php7.0-json php7.0-cgi php7.0 libapache2-mod-php7.0 php7.0-mcrypt php7.0-xmlrpc php7.0-gd php7.0-mbstring php7.0  php7.0-common  php7.0-xmlrpc php7.0-soap
php7.0-xml php7.0-intl  php7.0-cli  php7.0-ldap php7.0-zip php7.0-readline php7.0-imap php7.0-tidy php7.0-recode php7.0-sq php7.0-intl


Download open source social network  package using wget command

linuxhelp ~ # wget
--2018-05-18 12:43:39--
Resolving (,, 2400:cb00:2048:1::681b:853c, ...
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2304895 (2.2M) [application/zip]
Saving to: ‘’ 100%[=================================>]   2.20M   272KB/s    in 7.5s    

2018-05-18 12:43:52 (302 KB/s) - ‘’ saved [2304895/2304895]

Extract the package using the following command.

linuxhelp ~ # unzip 
   creating: ossn/
  inflating: ossn/.gitignore         
  inflating: ossn/.travis.yml        
   creating: ossn/actions/
   creating: ossn/actions/administrator/
   creating: ossn/actions/administrator/cache/
  inflating: ossn/actions/administrator/cache/create.php  
  inflating: ossn/actions/administrator/cache/flush.php  
   creating: ossn/actions/administrator/component/
  inflating: ossn/actions/administrator/component/com_install.php  
inflating: ossn/vendors/tinymce/skins/lightgray/img/loader.gif  
 extracting: ossn/vendors/tinymce/skins/lightgray/img/object.gif  
  inflating: ossn/vendors/tinymce/skins/lightgray/img/trans.gif  
  inflating: ossn/vendors/tinymce/skins/lightgray/img/wline.gif  
  inflating: ossn/vendors/tinymce/skins/lightgray/skin.ie7.min.css  
  inflating: ossn/vendors/tinymce/skins/lightgray/skin.min.css  
   creating: ossn/vendors/tinymce/themes/
   creating: ossn/vendors/tinymce/themes/modern/
  inflating: ossn/vendors/tinymce/themes/modern/theme.min.js  
  inflating: ossn/vendors/tinymce/tinymce.min.js  

Move the file to the following location

linuxhelp ~ # ls
linuxhelp ~ # mv ossn /var/www/html/

Switch to the directory

linuxhelp ~ # cd /var/www/html/
linuxhelp html # ls
index.html  ossn

Change the ownership and permission of the ossn directory

linuxhelp html # chown -R www-data:www-data ossn/
linuxhelp html # chmod -R 775 ossn/

We have to  create the virtualhost for open source social network:
linuxhelp html # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim ossn.conf
<VirtualHost *:80>
DocumentRoot /var/www/html/ossn/
<Directory /var/www/html/ossn/>
AllowOverride All
Order allow,deny
allow from all

Enable the ossn.conf file

linuxhelp sites-available # a2ensite ossn.conf 
Enabling site ossn.
To activate the new configuration, you need to run:
  service apache2 reload

Make an entry host file

linuxhelp sites-available # vim /etc/hosts
<give your ip>   <give your localip> 

Restart the apache service

linuxhelp sites-available # systemctl restart apache2.service

Open a browser and type http: //local IP (or) domain name


Verify the installation pre-requirements

Configure the database setting

Configure the admin user setting

After the installation, you will see the following page as shown below.

Login using admin user credentials.

Admin Dashboard of open source social network

With this, the method to install open source social network V4.6 on linuxmint-18.03 comes to an end.

Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: Ubuntu
user image Author :  Matthew