Install ERPNext on Ubuntu 18.04 Server
In this post, we explain to you how to install ERPNext on Ubuntu 18.04 in DigitalOcean, Amazon AWS or any other droplet provider. Before we start installing we have to know about what is ERPNext? ERPNext is a free and open-source integrated web-based ERP software developed by Frappe. ERPNext is used by manufacturers, distributors and services companies. In ERPNext offer large number of Apps like accounting, sales, CRM, purchasing, e-commerce, point of sale, inventory, manufacturing, warehouse, project management and many more. So let’s start how to install ERPNext on Ubuntu 18.04.
Install ERPNext on Ubuntu 18.04
Step 1 Update and Upgrade APT
Update APT list of available packages and their versions. And use
upgrade command to actually installs newer versions of the packages.
sudo apt-get update && sudo apt-get upgrade
Step 2 Install Prerequisite
You may have to install Python prerequisite dependencies in order to execute
install.py (step 4).
sudo apt-get install python-minimal
Step 3 Download Installation Script
You have to execute following command to fetch ERPNext installation script file.
Step 4 Run Installation script (Install ERPNext on Ubuntu 18.04)
Next you have to run the following installation script depending on development or production environment.
- For development environment:
python install.py --develop --user frappe
- For production environment:
python install.py --production --user frappe
Above script will install all the prerequisite, command line bench, create new bench and create new ERPNext site on bench.
While running this script you will asked password for MariaDB root user and Frappe Administrator user.
Please enter mysql root password:
Re-enter mysql root password:
Please enter the default Administrator user password:
Re-enter Administrator password:
Passwords saved at ~/passwords.txt
Finally, installation is completed you will getting this message,
Frappe/ERPNext has been successfully installed!
Step 5 Start Server
Now you have to login with
frappe user and navigate to
sudo su - frappe -s /bin/bash
Finally, you have to start the server using bench start command.
Go to your web browser open your server IP address with 8000 port number
http://0.0.0.0:8000 and you will see the ERPNext login screen. Here you have to login with username “administrator” and password as per you configured on step 4.
If you like our article, please consider buying a coffee for us.
Thanks for your support!
Buy me a coffee!