ERPNext is probably the best open-source ERP management software to run your company. used by thousands of businesses worldwide to manage their ERP processes. This open-source ERP software is built with open-source tools and offers features that help you run your business and collaborate with your customers and employees. ERPNext is designed for ease of use to allow enterprises and business owners to collaborate and automate engaging experiences with customers throughout the entire process. This brief tutorial is going to show students and new users how to install ERPNext on Ubuntu 16.04 and 18.04 LTS. To install ERPNext, follow the steps below:

Install ERPNext Requirements

To install ERPNext, you’ll have to install some python and other packages. as prerequisites. To get these packages installed on Ubuntu, please run the commands below:

Install Node Js and Redis

You’ll also need to install these two packages as well. Node js and Redis. To install them, run the commands below:

Install Nginx / MariaDB

You’ll also need Nginx and a database server. MariaDB is a great open-source database you can use with this setup. To install Nginx HTTP on the Ubuntu server, run the commands below… After installing Nginx, the commands below can be used to stop, start and enable the Nginx service to always start up with the server boots. To install MariaDB run the commands below. After installing MariaDB, the commands below can be used to stop, start and enable the MariaDB service to always start up when the server boots. Run these on Ubuntu 16.04 LTS Run these on Ubuntu 18.04 and 18.10 LTS After that, run the commands below to secure the MariaDB server by creating a root password and disallowing remote root access. When prompted, answer the questions below by following the guide.

Enter current password for root (enter for none): Just press the Enter Set root password? [Y/n]: Y New password: Enter password Re-enter new password: Repeat password Remove anonymous users? [Y/n]: Y Disallow root login remotely? [Y/n]: Y Remove test database and access to it? [Y/n]:  Y Reload privilege tables now? [Y/n]:  Y

Next, open the MariaDB config file and make the highlighted changes below. then save the file. On Ubuntu 16.04: Add the lines in the file and save. Now that MariaDB is installed and configured, run the commands below to create a new blank database for ERPNext. To log on to the MariaDB database server, run the commands below. Then create a database called erpnext Create a database user called erpnextuser with a new password Then grant the user full access to the database. Finally, save your changes and exit.

Install / Configure ERPNext

At this time, your system is ready for ERPNext. First, create a new system user called erpnextuser. create a password and add the user to the sudo group. After that, create a directory in /opt called erpnext. Then change into the directory and install ERPNext. Finally, create a new site for example.com domain.

Accessing ERPNext Portal

Now that ERPNext and PostgreSQL are installed, open your browser and browse to the server hostname or IP address followed by 8000 You should then see the ERPNext setup page. Follow the wizard and install ERPNext. After that, you’re all set! Enjoy! You may also like the post below: