

The next step is to initialize the bench directory with frappe framework installed. Install frappe bench and git $ sudo apt install git Next switch to erpnext user and install the application: $ sudo su - erpnext Next, you need to create a directory for ERPNext setup and give erpnext user read and write permissions to the directory: $ sudo mkdir /home/bench We will create a user that will run the ERPNext system, then configure the system. $ sudo nano /etc/mysql//50-server.cnf $ sudo systemctl restart mariadb Step 4: Install Bench and ERPNextĪ bench is a tool used to install and manage ERPNext on your Ubuntu system. I have put a file on a public github repo, so you can copy and replace the whole file. UPDATE user SET authentication_string=password(' your_password') WHERE user='root' Įnsure you have the following settings for mysqld and mysql client as provided. UPDATE user SET plugin='mysql_native_password' WHERE User='root' Step 3: Install Nginx web server and MariaDB Database server $ sudo apt -y install nginx $ sudo apt install mariadb-serverĬhange authentication plugin. $ sudo apt -y install gcc g++ make nodejs redis-server $ sudo apt-get update & sudo apt-get install yarn $ echo "deb stable main" | sudo tee /etc/apt//yarn.list $ curl -sL | gpg -dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null $ sudo curl -silent -location | sudo bash. It is recommended to reboot your system whenever you do upgrade: $ sudo reboot Step 1: Install Python Tools & wkhtmltopdf $ sudo apt -y install vim libffi-dev python3-pip python3-dev python3-testresources libssl-dev wkhtmltopdf Step 2: Install Curl, Redis and Node.js $ sudo apt install curl In our first steps, we will make sure our system is up to date by running below commands: $ sudo apt update wkhtmltopdf (version 0.12.5 with patched qt).Let’s get to work! Prerequisites Software Requirements We will not leave any stone un-turned here. In this article, I will take a step-by-step approach to configure our newly installed ubuntu 20.04 OS to set up an environment and install ERPNext. ERPNext installation can be a pain in the neck, especially if you are getting started.
