Build Social Media Use OSSN

Source Installation

Preparation

  1. Add subdomain for your site on your zone management.
  2. Create a new site on Website on aaPanel.

Installation

  1. Open Terminal on aaPanel
  2. Clone the project from Github:
git clone https://github.com/opensource-socialnetwork/opensource-socialnetwork.git
  1. Click site name on Website.
  2. Click Site directory.
  3. Click folder icon to browse folders.
  4. Select where OSSN was cloned.
  5. Click Save.

Requirement

You will see this page if your installation is succeeded. You need to fix unavailable things that is described on requirement.

Requirement

Install PHP Extensions

  1. Click PHP app.
  2. Click Install extensions.
  3. Find fileinfo, mbstring and exif and click Install.
  4. After that installations, restart PHP.

Set Owner

Run this following command:

chown www-data:www-data opensource-socialnetwork/

Set Permission

Run this following command:

chmod -R 777 opensource-socialnetwork/

Create Database

  1. Click Databases.
  2. Click MySQL.
  3. Click Add DB.
  4. Input database info:

System Installation

After all requirement passed, follow these steps:

  1. Click Next.
  2. Read the License Agreement and click Next.
  3. Input database information from created MySQL database.
  4. Create folder ossn_data with same level with the root folder.
chmod 777 ossn_data/
chown www-data:www-data ossn_data/