How to install ERPNext in Ubuntu ?


Install ERPNext :-

Step1: Use upgrade command to actually installs newer versions of the packages.
sudo apt-get update && sudo apt-get upgrade

Update and Upgrade

Step2: You have to install the following package.
sudo apt -y install python-minimal

Python Minimal

Step3 : You have to install the following dependancy.
sudo apt -y install git build-essential python-setuptools python-dev libffi-dev libssl-dev

Python Setup Tools

Step4: Now The next step is install pip3 package for python

Get Pip

sudo python

Get Pip Install

sudo pip install –upgrade pip setuptools

Setup Tools Update

sudo pip install ansible

Ansible Install

Step 5: Next to install python3
sudo apt install python3-pip

Python3 Pip

Step 6: Next step is to install curl
sudo apt -y install curl

Curl Install

Step 7: Next you have to configure the yarn package repository.
curl -sS | sudo apt-key add –

Apt Key Add

echo “deb stable main” | sudo tee /etc/apt/sources.list.d/yarn.list

Yarn List

Step 8: Next following command to install yarn.
sudo apt -y update && sudo apt -y install yarn

Update and Install Yarn

Step 9: Now next For install mariaDB you have to run following command
sudo apt -y install mariadb-server libmysqlclient-dev

Install Mariadb

Step 10: Now next step is to update “my.conf” file for database.
For that to open file in command prompt in edit mode enter below command.
sudo nano /etc/mysql/my.cnf

Mariadb Configuration File

Add the following lines in config file

character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci

default-character-set = utf8mb4

Add Code In ConfIguration File

Step 11: Next, you have to restart MariaDB and enable it to auto start MariaDB at boot time.
sudo systemctl restart mariaDB

Restart Mariadb

sudo systemctl enable mariaDB

Enable Mariadb

Step 12: Next, the mysql_secure_installation tool to configure additional security options.
sudo mysql_secure_installation

Enter current password for root (enter for none): xxxxxx

Change the root password? [Y/n] n

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

My Sql Secure Installation

Step 13:you have to add the Node source Node.js 8.x respository.
sudo curl –silent –location | sudo bash –

Curl Location

Step 14: To install Nginx, Node.js and Redis on Ubuntu, run the commands below.
sudo apt -y install nginx nodejs redis-server

Install Nginx

Step 15: Next step is to start and enable Nginx service to always start up with the boots.
sudo systemctl start nginx

Start Nginx

sudo systemctl enable nginx

Enable Nginx

Step 16: Start and enable Redis service to always start up with the boots.
sudo systemctl start redis-server

Start Redis Server

sudo systemctl enable redis-server

Enable Redis Server

Step 17: For installation and activation of virtual environment.
sudo systemctl enable redis-server

Mkdir ERPNext

cd erpnext


Run below command to install virtual environment
sudo apt install virtualenv

Install Virtualenv

you need to create virtual environment on “erpnext” directory using the following command
virtualenv .


For activation of virtual environment.
source ./bin/activate

Active Virtualenv

Step 18: Now Next step is to install bench and there dependencies.
git clone bench-repo

Install Bench

sudo pip install -e bench-repo

Install Bench Repo

Step 19: The next step is to init command will create a bench directory with frappe framework installed.
bench init –frappe-branch master –frappe-path frappe-bench

Install Frappe Bench

Step 20: Next go in frappe-bench directory
cd frappe-bench

CD Frappe Bench

Step 21: Next step is to get-app for bench from remote frappe apps which is from remote git respository and install it.
bench get-app –branch master erpnext

Clone ERPNext

Step 22: Now For running the frappe site you have at least one site. For that create a new site.
bench new-site
For Example:- bench new-site webweb

Create New Site

Step 23: Next is to install the app on your site.
bench –site webweb install-app erpnext.

Install App

Step 24: Now the Next step is to start bench.
bench start

Bench Start

Now next Go to your web browser open your server address with 8000 port or use

Next ERPNext login screen there you have to log in with username “administrator” and password as per you have set at administrator at crating new site with command of (bench new-site ).

ERPNext Screen


Leave a Reply

Your email address will not be published.

Related Posts
Subscribe to Blog via Email

Join 634 other subscribers

Facebook Pagelike Widget
  • Bobby Carsan
  • Vishvesh Suthar
  • Natural Skin Care Love
  • sergo75
  • escort bayan
  • turkce
  • Jozsef Torsan
  • magento 2 pos
  • Myownbosszone
  • diziler
  • buy CBD
  • webdevelopmentcompanyusa500104195
  • Nisarg shukla
  • CrypTee
  • turkce
  • derrickkorku
  • primeworks
  • Charles A. Kush III
  • admin
  • Mr. Gadget Heisenberg
  • satyamslg34gmailcom
  • Movies Route
  • Acespritech Solutions Pvt. Ltd.
  • CBD gummies for pain
  • Ms Shubharambh IT Solution Pvt Ltd
  • turkce
  • erotik
  • DuplicateMySuccess
  • pharmacies shipping to usa
  • erotik
  • Seo
  • roslionel
  • turkce
  • connectpos
  • Sir. George Githunguri
  • corporateinvestigatordelhi
  • Nanoarch Software Solutions
  • felishia green
  • setiaji
  • sijisblog
  • Randy
  • technoreviewmobileapps
  • BlookUp
  • vteamitdevelopers
  • erotik
  • brian2010
  • devangpipaliya
  • homeworkouthabit
  • nongsanvietshop1
Mobile Application
%d bloggers like this: