Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##nodejs
- sudo apt-get install curl
- curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
- sudo apt-get install -y nodejs
- ##nginx
- sudo subl /etc/apt/sources.list.d/nginx.list
- #and add this
- deb http://nginx.org/packages/ubuntu/ xenial nginx
- deb-src http://nginx.org/packages/ubuntu/ xenial nginx
- sudo apt-get update
- sudo apt-get install nginx ##say yes to istall without verification
- ## Replace $key with the corresponding $key from your GPG error.
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $key
- sudo apt-get update
- sudo apt-get install nginx
- #cron
- sudo apt-get install cron
- #wkhtmltopdf
- sudo apt-get install wkhtmltopdf
- #mariadb
- sudo apt-get install software-properties-common
- sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
- sudo add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://mirror.fibergrid.in/mariadb/repo/10.2/ubuntu xenial main'
- sudo apt-get update
- sudo apt-get install mariadb-server
- ## mariapass is the password for the root user
- #redis
- sudo apt-get install redis-server
- #frappe bench
- virtualenv -p /usr/bin/python2.7 /media/coding_coffee/sd5/Frappe/frappe
- . /media/coding_coffee/sd5/Frappe/frappe/bin/activate
- git clone https://github.com/frappe/bench bench-repo
- pip install -e bench-repo
- bench init frappe-bench && cd frappe-bench
- #Add the following line to mariadb.cnf
- sudo subl /etc/mysql/conf.d/mariadb.cnf
- ==========================================
- [mysqld]
- innodb-file-format=barracuda
- innodb-file-per-table=1
- innodb-large-prefix=1
- character-set-client-handshake = FALSE
- character-set-server = utf8mb4
- collation-server = utf8mb4_unicode_ci
- [mysql]
- default-character-set = utf8mb4
- ==========================================
- #Restart mysql server
- service mysql start
- service mysql stop
- bench new-site site1.local
- #use mariadb password
- bench get-app erpnext https://github.com/frappe/erpnext
- bench --site site1.local install-app erpnext
- bench start
- #Incase you want to reinstall
- bench --site site1.local reinstall
- #User: Administrator
- #Pass: frappepass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement