- I have installed fresh Ubuntu 18.0.4LTS
- Ran the command apt-get update
- Ran the command apt-get upgrade
- Rebooted server
- apt-get install python3-setuptools python3-minimal redis-server build-essential
- created user erpnext
sudo adduser erpnext (Adding a new user erpnext)
usermod -aG sudo erpnext (giving proper permission)
su erpnext (login as erpnext user)
-
Download the installation script by running below command:
wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py -
Then install the erpnext by using this command (it will take nearly 45 minits to run in 4GB virtualbox image, below command install all the requisite for erpnext (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
-
This will install the ERPNEXT. After this I have updated the bench by running below command:
cd erp_bench/
bench update
- I have accessed the application using the link http://localhost (It worked me from the port 80)