Elgg is an open-source social networking platform that can be installed on Linux-based servers such as Ubuntu. In this tutorial, we will go through the installation process of Elgg on Ubuntu Server Latest.
Before installing Elgg on Ubuntu, you need to make sure that the following prerequisites are met:
sudo apt update && sudo apt upgrade
sudo apt install apache2 mysql-server php php-curl php-mysql php-gd
wget https://elgg.org/download/elgg-3.3.13.zip
sudo unzip elgg-3.3.13.zip -d /var/www/html/
sudo chown -R www-data:www-data /var/www/html/elgg-3.3.13
sudo nano /etc/apache2/sites-available/elgg.conf
<VirtualHost *:80>
ServerName yourdomain.com
DocumentRoot /var/www/html/elgg-3.3.13
<Directory /var/www/html/elgg-3.3.13/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/elgg_error.log
CustomLog ${APACHE_LOG_DIR}/elgg_access.log combined
</VirtualHost>
sudo a2ensite elgg.conf
sudo systemctl restart apache2
Congratulations! You have successfully installed Elgg on Ubuntu Server Latest. Now you can create your own social networking site using Elgg.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!