How to install erpnext version 12 on ubuntu 18.04

How to install erpnext version 12 on ubuntu 18.04 with great success

Please follow and use the commands below:

  1. Install fresh Ubuntu 18.0.4LTS

  2. Ran the command

    sudo apt-get update

  3. Ran the command

    sudo apt-get upgrade

  4. Reboot server

    sudo reboot

  5. Ran the command

    sudo apt-get install python3-setuptools python3-minimal redis-server build-essential

  6. 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)

  7. Download the installation script by running the command below:

    sudo wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py

  8. 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

  1. Run the following command in shell:

    export LC_ALL=C.UTF-8
    
  2. . Finally update the bench by running commands below:

    cd

    cd frappe-bench/
    bench update

  3. Accessed the application using the link below:

    http://localhost:80
    or http:server_address:80
    e.g
    http://192.168.20.41:80

8 Likes