OSSN

A fast, efficient social network with features like groups, photos, and messages.

Access the Site

1. Open your browser and visit: https://<SERVER_IP>

2. Accept the self-signed SSL certificate warning.

3. Setup wizard appears.

4. Provide your database info:

  • Database Host: localhost
  • Database Name: ossndb
  • Database User: ossn
  • Database Password: (from /root/.cloudzy-creds)

5. Provide data directory:/var/www/html/ossn_data

6. Set up an admin account.

7. Log in to your OSSN instance.

Enabling SSL with a Domain

1. Run the following command to generate a valid Let’s Encrypt certificate:

certbot certonly --apache --non-interactive --agree-tos --email [email protected] -d yourdomain.com

2. Open your Apache configuration file, and replace the IP address with your domain name, as well as the existing SSL certificate paths:

nano /etc/apache2/sites-available/ossn.conf

3. Reload Apache to apply the changes:

systemctl reload apache2

Important Directories & Files

  • Web application root: /var/www/html/ossn/
  • Database credentials: /root/.cloudzy-creds
  • User-uploaded data: /var/www/html/ossn_data/
  • Apache VirtualHost configuration: /etc/apache2/sites-available/mautic.conf
  • Self-signed SSL certificate: /etc/ssl/certs/mautic.crt
  • Private key for SSL: /etc/ssl/private/mautic.key

Notes

  • Database is pre-initialized; credentials stored securely.
  • SSL ready for self-signed or domain certificates.
  • You can later switch to a real domain and use Let’s Encrypt SSL (Certbot installed)

Application Details