Try this with fresh installation Ubuntu 18…
Step 1: Login as a root user:
Login as a root user:
Enter the user password when it prompts you (System Password)
Step 2: Update and Upgrade apt
The sudo apt-get update command is used to download package information from all configured sources.
The sources often defined in /etc/apt/sources. list file and other files located in /etc/apt/sources. …
So when you run update command, it downloads the package information from the Internet.
You run sudo apt-get upgrade to install available upgrades of all packages currently installed on the system from the sources configured via sources. list file. New packages will be installed if required to satisfy dependencies, but existing packages will never be removed
sudo apt-get update && sudo apt-get upgrade
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
shutdown -r now
Step 3 Install Python prerequisite
sudo apt-get install python-minimal
Step 4 Download Installation Script
Execute following command to fetch ERPNext installation script file.
Step 5: Setting up ERPNext development environment
You have to run the following installation script to install ERPNext on Ubuntu 18.04
python install.py --develop --user frappe
Execute: export LC_ALL=C.UTF-8
python3 -m pip install --upgrade pip
python –m pip install –upgrade pip
python3 install.py --develop --user frappe
It takes about 10 mins to 20 mins
During the script run you have to create and preserve a set of passwords for MariaDB root user and Frappe Administrator user.
• Please enter mysql root password: TVB2021$
• Re-enter mysql root password: TVB2021$
• Please enter the default Administrator user password: TVB2021$
• Re-enter Administrator password: TVB2021$
These passwords are saved at Passwords saved at ~/passwords.txt
We have seen the success message
Bench + Frappe + ERPNext has been successfully installed! Now the Dev Environment is ready for use.
Step 6 Install ERPNext application
A bench is a tool used to install and manage ERPNext on your Ubuntu system. We will create a user that will run the ERPNext system, then configure the system.
sudo su - frappe -s /bin/bash
Step 7 Install ERPNext application
Create new website
bench new-site your site name
Provide your mysql password here
Set Administrator password for your site: password
Install ERPNext on to the site
bench --site your site name install-app erpnext
bench use your site name
Bench start will initiate a real-time monitoring console showing you various messages relating to your webserver and other services. When you see items-dashboard.min Open a web browser and navigate to localhost:8000 (for local installations).