erpnext version-13 ubuntu-20
Posted: Sat Jun 05, 2021 7:27 am
sudo apt update && apt upgrade -y && shutdown -r now
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt install -y nodejs mariadb-server redis-server python3-pip nginx python3-testresources
sudo apt install -y python3-pip python3-testresources
adduser erpnext
nano /etc/mysql/my.cnf
service mysql restart
sudo mysql -u root -p
update mysql.user set plugin = 'mysql_native_password' where User='root';
FLUSH PRIVILEGES;
//change pass
use mysql;
update user set authentication_string=PASSWORD("your_password") where User='root';
flush privileges;
quit
mysql_secure_installation
/*
Set root password? [Y/n] y
Remove anonymous users? [Y/n] y
Disallow root login remotely? [Y/n] n
Remove test database and access to it? [Y/n] y
Reload privilege tables now? [Y/n] y
*/
sudo npm install -g yarn
node -v && npm -v && python3 -V && pip3 -V && yarn -v
/*
# v12.20.0
# 6.14.8
# Python 3.8.5
pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)
# 1.22.10
*/
pip3 install frappe-bench
sudo pip3 install frappe-bench
sudo apt install git
bench init --frappe-branch version-13 github-v13-bench
cd github-v13-bench
bench get-app --branch version-13 erpnext
bench new-site erp-site
bench --site erp-site install-app erpnext
bench use erp-site
bench start
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt install -y nodejs mariadb-server redis-server python3-pip nginx python3-testresources
sudo apt install -y python3-pip python3-testresources
adduser erpnext
nano /etc/mysql/my.cnf
Code: Select all
[mysqld]
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
[mysql]
default-character-set = utf8mb4
service mysql restart
sudo mysql -u root -p
update mysql.user set plugin = 'mysql_native_password' where User='root';
FLUSH PRIVILEGES;
//change pass
use mysql;
update user set authentication_string=PASSWORD("your_password") where User='root';
flush privileges;
quit
mysql_secure_installation
/*
Set root password? [Y/n] y
Remove anonymous users? [Y/n] y
Disallow root login remotely? [Y/n] n
Remove test database and access to it? [Y/n] y
Reload privilege tables now? [Y/n] y
*/
sudo npm install -g yarn
node -v && npm -v && python3 -V && pip3 -V && yarn -v
/*
# v12.20.0
# 6.14.8
# Python 3.8.5
pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)
# 1.22.10
*/
pip3 install frappe-bench
sudo pip3 install frappe-bench
sudo apt install git
bench init --frappe-branch version-13 github-v13-bench
cd github-v13-bench
bench get-app --branch version-13 erpnext
bench new-site erp-site
bench --site erp-site install-app erpnext
bench use erp-site
bench start