Introduction

Overleaf is a web-based platform that allows you to create, edit and share latex documents. In this tutorial, we will show you how to install Overleaf on your Fedora server.

Prerequisites

Step 1: Install Docker

Docker is a containerization technology that allows you to run applications in a container. Overleaf uses docker to run on your server. You can install docker on your Fedora server by following the steps below:

First, update your package list:

sudo dnf update

Next, install the repository configuration package:

sudo dnf install dnf-plugins-core

Then, add the Docker repository:

sudo dnf config-manager --add-repo=https://download.docker.com/linux/fedora/docker-ce.repo

Update your package list:

sudo dnf update

Finally, install Docker:

sudo dnf install docker-ce docker-ce-cli containerd.io

Start the Docker service:

sudo systemctl start docker

Enable the Docker service to start at boot:

sudo systemctl enable docker

Verify the installation:

sudo docker run hello-world

Step 2: Install Overleaf

Now that you have Docker installed, you can proceed with installing Overleaf. Follow the steps below:

Create a new directory:

sudo mkdir /opt/overleaf

Change to the newly created directory:

cd /opt/overleaf

Download the latest version of Overleaf:

sudo docker pull overleaf/overleaf

Create a Docker container for Overleaf:

sudo docker run --name overleaf -v /opt/overleaf:/overleaf -d -p 443:443 overleaf/overleaf

Verify that the container is running:

sudo docker ps

You should see a container named overleaf running.

Step 3: Access Overleaf

To access Overleaf, you need to open a web browser and type in the IP address of your server followed by https://. For example:

https://192.0.2.0

Replace 192.0.2.0 with the IP address of your server.

You will be prompted to create an account or sign in if you already have an account. Once you have signed in, you can begin using Overleaf.

Conclusion

Congratulations! You have successfully installed Overleaf on your Fedora server. You can now create and edit latex documents from anywhere using any device with an internet connection.

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!