This script automates all the steps needed to have ERPNext properly installed and running on Ubuntu 20.04. The script automates the following:
- Setting up default settings
- Checking necessary configuration before install starts
- Updating the System
- Updating the Server timezone
- Install required tools
- Make alias for Python and Pip
- Upgrading Pip
- Installing NodeJS, Redis and Yarn
- Starting the Redis Server
- Installing Nginx and MariaDB
- Setting Database Configuration to work with ERPNext and Frappe
- Securing the Database
- Creating a bench user, assigning them appropriate rights and add the user to sudoers group
- Installing bench
- Installing Frappe
- Changing Supervisor Owner
- Enabling Site-based Multi-tenancy
- Downloading the right version of ERPNext from ERPNext GitHub repo
- Creating a Site
- Restarting Nginx and Supervisor Services
Copy file from Local to Remote
scp -r /local/directory remote_username@100.100.0.10:/remote/directory
Warning: Remote host Identification has Changed
ssh-keygen -R "you server hostname or ip"