How to Install ERPNext on Fedora CoreOS

ERPNext is an open-source enterprise resource planning software that can help you manage your business processes. Fedora CoreOS is a container-focused operating system designed for running containerized workloads securely and at scale. In this tutorial, we will go through the step-by-step process of installing ERPNext on Fedora CoreOS latest.

Prerequisites

Step 1: Install Docker

The first step is to install Docker on your Fedora CoreOS instance. Docker is a platform that allows developers to easily build, ship, and run distributed applications.

  1. Connect to your Fedora CoreOS instance using SSH.
  2. Update the package list:
sudo dnf update
  1. Install Docker:
sudo dnf install docker
  1. Start and enable the Docker service:
sudo systemctl start docker
sudo systemctl enable docker
  1. Verify the Docker installation by running the following command:
sudo docker version

Step 2: Install ERPNext

Now that we have Docker installed on our system, we can proceed with the installation of ERPNext.

  1. Pull the latest ERPNext image from the Docker Hub. This may take a few minutes to download:
sudo docker pull frappe/erpnext-worker:version-13

Note: Replace version-13 with the latest version available on the Docker Hub.

  1. Create a directory to store the ERPNext data and configuration files:
sudo mkdir -p /srv/erpnext/app
  1. Create a new Docker container using the pulled image:
sudo docker run \
    --name erpnext \
    -v /srv/erpnext/app:/home/frappe/frappe-bench/sites \
    -e SITE_NAME=erpnext.example.com \
    -p 80:80 \
    -d frappe/erpnext-worker:version-13

Note: Replace erpnext.example.com with your domain name.

This will start a new container named erpnext using the latest version of the frappe/erpnext-worker image. The container is mapped to the directory /srv/erpnext/app using the -v option, which will allow us to store the data and configuration files outside of the container. The -e option is used to set the site name to erpnext.example.com. Finally, the -p option is used to expose port 80 of the container to the host machine.

  1. Verify that the container is running:
sudo docker ps

You should see a list of the running containers including erpnext.

Step 3: Access ERPNext

Now that we have successfully installed ERPNext on our Fedora CoreOS instance, we can access it through a web browser.

  1. In your web browser, navigate to http://<your-server-ip-address>/. The ERPNext login page should appear.

  2. Enter your administrator email address and password to log in.

Congratulations! You have successfully installed ERPNext on your Fedora CoreOS instance. You can now start using ERPNext to manage your business processes.

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!