• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Open Source Social Network 4.6 on Ubuntu 18.04

{{postValue.id}}

To install Open Source Social Network 4.6 on Ubuntu 18.04
Open Source-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. In this tutorial, we will cover the installation of OSSN on Ubuntu 18.04.

Prerequisites
Install LAMP(Apache, MariaDB, php7)
In MariaDB (create database and user and give privileges to that user )

Php installation with required following modules

add-apt-repository ppa:ondrej/php
apt-get update
apt-get install php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi 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 a OSSN package on terminal using the wget command

root@linuxhelp1:~# wget https://www.opensource-socialnetwork.org/download_ossn/latest/build.zip
--2018-07-07 02:56:09--  https://www.opensource-socialnetwork.org/download_ossn/latest/build.zip
Resolving www.opensource-socialnetwork.org (www.opensource-socialnetwork.org)... 104.27.132.60, 104.27.133.60, 2400:cb00:2048:1::681b:853c, ...
Connecting to www.opensource-socialnetwork.org (www.opensource-socialnetwork.org)|104.27.132.60|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://www.opensource-socialnetwork.org/downloads/ossn-v4.6-1513783390.zip [following]
--2018-07-07 02:56:10--  https://www.opensource-socialnetwork.org/downloads/ossn-v4.6-1513783390.zip
Reusing existing connection to www.opensource-socialnetwork.org:443.
HTTP request sent, awaiting response... 200 OK
Length: 2304895 (2.2M) [application/zip]
Saving to: ‘ build.zip’ 

build.zip                        100%[==========================================================> ]   2.20M   718KB/s    in 3.1s    

2018-07-07 02:56:15 (718 KB/s) - ‘ build.zip’  saved [2304895/2304895]

After Downloading extract the downloaded package

root@linuxhelp1:~# unzip build.zip
Archive:  build.zip
   creating: OSSN/
  inflating: OSSN/.gitignore         
  inflating: OSSN/.travis.yml        
   creating: OSSN/actions/
   creating: OSSN/actions/administrator/
   creating: OSSN/actions/administrator/cache/
.
.
  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 extracted file into the HTML directory

root@linuxhelp1:~# mv OSSN /var/www/

Navigate to the apache document root directory

root@linuxhelp1:~# cd /var/www/

Change ownership and permission of the as OSSN CMS follows

root@linuxhelp1:/var/www# chown -R www-data.www-data ossn    
root@linuxhelp1:/var/www# chmod -R 775 ossn

Create a new virtual host configuration for accessing the OSSN CMS

root@linuxhelp1:/var/www# vim /etc/apache2/sites-available/ossn.conf
< VirtualHost *:80> 
ServerName www.linuxhelp1.com
DocumentRoot /var/www/ossn/

< Directory /var/www/ossn/> 
AllowOverride All
allow from all
< /Directory> 

< /virtualHost> 

Enable site access

root@linuxhelp1:/var/www# a2ensite ossn.conf
Enabling site ossn.
To activate the new configuration, you need to run:
  systemctl reload apache2

Disable default access

root@linuxhelp1:/var/www# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
  systemctl reload apache2

Enable rewrite module

root@linuxhelp1:/var/www# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
  systemctl restart apache2

Restart the apache service to make the changes effect

root@linuxhelp1:/var/www# systemctl restart apache2

Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://< ipaddress or domain name
browser_url

Verify the prerequisites for installing OSSN as shown below
prerequisites

Configure the Site information and Database setup as follow
configure_site

Configure the Admin user setup
admin_credential

After the configuration, you can access the login page by, click -> finish as shown below
login_page

Log in using the admin user credentials
admin_login

After the Successful login, you will see the Admin dashboard of OSSN as shown below
admin_dashboard


Version of OSSN
ossn_version

With this, the method to install Open Source Social Network 4.6 on Ubuntu 18.04 comes to an end.

Tags:
mason
Author: 

Comments ( 2 )

linuxhelp
check the apache syntax,
# apache2ctl -t
then you can identify the configuration error.
lin
I Have problem and i need help please
when i use a2ensite ossn.conf ,a2dissite 000-default.conf i got these error when i try to restart apache2
i have that errors ** Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
**
please help
Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

Does it come with the manual update?

A

Yes it has the manual as well as you can enable automatic updates too

Q

Why can't I start Genymotion remotely? And what tools are used for accessing it in remote?

A

TightVNC on Windows, macOS screen sharing and x11vnc on Linux.(Tools support remote control)

Q

My installer doesn't start? What to do now?

A

You can check its integrity by "sha1sum /genymotion-.bin"

Q

How can I establish a TCP session to my virtual device?

A

ADB forwards the packets to the virtual device for you, to establish a TCP session to your virtual device,

Q

error message state that Qt library versions are incompatible? How to get over this?

A

remove Qt libraries created by Geny motion by " rm libQt* " which may incompatible with the one available in the system

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Ganesh Konka ?
Zentya 6.1 http proxy configuration

please send link for creating zentyal 6.1 for http proxy and firewall as gateway.

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.