How to install ERPnext on Ubuntu 16.04

 

erpnext on ubuntu

In this article, we will show you how to install ERPNext on an Ubuntu 16.04 VPS. ERPNext is a powerful and easy to use, open source,  fully featured ERP system.  ERPNext is written in Python on top of the Frappe framework and includes Accounting, Inventory, Manufacturing, CRM, Sales, Purchase, Project Management, HRMS and more. This guide should work on other Linux VPS systems as well but was tested and written for an Ubuntu 16.04 VPS.

Log in to your VPS via SSH

ssh root@vps_IP

Update the system and install necessary packages

apt-get update && sudo apt-get -y upgrade
apt-get install wget python-minimal

Install Frappe and ERPNext

We will use the easy install script which at the time of the writing of this guide works with Ubuntu 14.04, Ubuntu 16.04, CentOS 7, Debian 7, Debian 8 and MacOS X. In this guide we will run the install script on a minimal installation of Ubuntu 16.04, logged in as a root user.

To download the install script run the following command:

cd && wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py

Start the installation by issuing the command below:

python install.py --production --user frappe

The install script will install all requirements including bench, create a new user ‘frappe’ and setup a new ERPNext site. You can sit back and relax while the script goes through the installation process.

Under the hood this python script uses Ansible playbook to install the following services, tools and modules:
– MariaDB
– Nginx
– Nodejs
– Redis
– Supervisor – process control tool for unix
– Wkhtmltopdf – used for printing
– Install bench, which is a command line tool which will help you to install new applications, manage sites and update Frappe and ERPNext.
– Create a new bench and a new site on the bench.

During the installation process, the script will ask you for a MariaDB root password and a Frappe Administrator password which you can use later on to login to the ERPNext dashboard. Make sure to use a strong password.

The installation will take some time and if it is successful, you will see something like this:

Frappe/ERPNext has been successfully installed!

Once the installation process is completed, visit your server IP address and you will see the Login screen. Login as Administrator using the password you previously set and you will be redirected to the Setup page where you can select a language, timezone, user details, company, items, customers, suppliers and more.

That’s it. You have successfully installed ERPNext on your Ubuntu 16.06 VPS. For more information about how to manage your ERPNext installation, please refer to the official ERPNext documentation.

 

PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.

Feedback

  Comments: 4


  1. Hello,
    I installed erpnext on Debian with your concise tutorial. However, on reboot, it does not seem to start. What service could I be missing out?

    Thanks


  2. How can ERP NEXT installed in window 10 for working in offline by a single user.

Your feedback