Build Social Media Use OSSN
Source Installation
Preparation
- Add subdomain for your site on your zone management.
- Create a new site on
Website
on aaPanel.
Installation
- Open Terminal on aaPanel
- Clone the project from Github:
git clone https://github.com/opensource-socialnetwork/opensource-socialnetwork.git
- Click site name on Website.
- Click Site directory.
- Click folder icon to browse folders.
- Select where OSSN was cloned.
- Click Save.
Requirement
You will see this page if your installation is succeeded. You need to fix unavailable things that is described on requirement.
Install PHP Extensions
- Click PHP app.
- Click Install extensions.
- Find
fileinfo
,mbstring
andexif
and click Install. - 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
- Click Databases.
- Click MySQL.
- Click Add DB.
- Input database info:
- DB Name: db_ossn
- Username: db_ossn
- Password: *****
System Installation
After all requirement passed, follow these steps:
- Click Next.
- Read the License Agreement and click Next.
- Input database information from created MySQL database.
- Create folder ossn_data with same level with the root folder.
chmod 777 ossn_data/
chown www-data:www-data ossn_data/