How to install erpnext version 12 on ubuntu 18.04 with great success
Please follow and use the commands below:
-
Install fresh Ubuntu 18.0.4LTS
-
Ran the command
sudo apt-get update
-
Ran the command
sudo apt-get upgrade
-
Reboot server
sudo reboot
-
Ran the command
sudo apt-get install python3-setuptools python3-minimal redis-server build-essential
-
create the user erpnext
sudo adduser erpnext (Adding a new user erpnext)
sudo usermod -aG sudo erpnext (giving proper permission)
su erpnext (login as erpnext user) -
Download the installation script by running the command below:
sudo wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
-
Then install the erpnext by using the command below. This command will install all the requisites for erpnext for example nginx, mariadb etc:
sudo -H python3 install.py --production --site localhost --user erpnext --mysql-root-password your_password --admin-password your_password --bench-name your_bench_name
e.g
sudo -H python3 install.py --production --site localhost --user erpnext --mysql-root-password
frappe --admin-password admin --bench-name frappe-bench
This will install the ERPNEXT
-
Run the following command in shell:
export LC_ALL=C.UTF-8
-
. Finally update the bench by running commands below:
cd
cd frappe-bench/
bench update -
Accessed the application using the link below:
http://localhost:80
or http:server_address:80
e.g
http://192.168.20.41:80