Mediagoblin is a free and open-source media publishing platform that allows you to share your photos, videos, and other media files online. It is written in Python and uses the GNU General Public License.
In this tutorial, we will guide you on how to install Mediagoblin on Linux Mint.
Before starting this tutorial, you should have the following:
First, update the system packages using the following command.
sudo apt-get update && sudo apt-get upgrade
Install the required packages via the command below.
sudo apt-get install git postgresql libjpeg-dev libpng-dev libtiff-dev libgif-dev libxml2-dev libxslt-dev libffi-dev build-essential python-dev python-pip python-lxml
Install Virtualenv via pip installer.
sudo pip install virtualenv
Set up a PostgreSQL database and user for your Mediagoblin installation.
sudo su postgres
psql
CREATE USER mediagoblin WITH PASSWORD 'password';
CREATE DATABASE mediagoblin;
GRANT ALL PRIVILEGES ON DATABASE mediagoblin TO mediagoblin;
Clone the Mediagoblin repository from GitHub.
git clone https://github.com/mediagoblin/mediagoblin.git
Create and activate a Virtual Environment.
cd mediagoblin
virtualenv -p /usr/bin/python2.7 .
source bin/activate
Use the following command to install the Python dependencies.
pip install -r requirements.txt
Run the following command to create the database tables.
mediagoblin-manage createdb
Optionally, you can set up and register a MediaGoblin user account.
mediagoblin-manage useradd username --email=user@example.com --password=password
Start the server with the following command.
mediagoblin serve
Open your web browser and visit the URL http://localhost:6543
to access Mediagoblin.
Congratulations! You have successfully installed Mediagoblin on your Linux Mint server.
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!