Installing Open Source Social Network (OSSN) on Linux (Ubuntu)

Open Source Social Network (OSSN) can be installed on Ubuntu using the official APT repository. The installation package automatically configures the required web server, PHP environment, database server, and OSSN application.

Requirements

  • Ubuntu 20.04, 22.04, 24.04, or 26.04, subject to repository availability.
  • Root access or a user account with sudo privileges.
  • A fresh Ubuntu installation.
  • An internet connection to download the required packages.

Important warning: The OSSN installer removes existing Apache, MySQL, PHP, and related packages before installing and configuring its own environment. It may also remove or overwrite existing website files under /var/www/html/.

Use a fresh Ubuntu server only. Do not run this installer on a server hosting existing websites, databases, or other services you need to keep. Back up any important data before proceeding.

Installation

1. Add the Official OSSN PPA

sudo add-apt-repository ppa:arsalanshah/opensource-socialnetwork

2. Update the Package Index

sudo apt-get update

3. Install OSSN

sudo apt-get install opensource-socialnetwork

Wait for the installation process to finish. Follow the screen instructions to finish

Complete the Installation

Once the installation is complete, open your server's IP address or configured website domain in a web browser.

Follow the on-screen OSSN setup instructions to complete the installation.

Important: The setup page may contain pre-filled database connection details. Leave these values unchanged and use them as provided. Do not modify the pre-filled database details.