浏览代码

Updated scripts for setting up VM

production
Steffan JJ 1年前
父节点
当前提交
b5c4c2e6b9
共有 2 个文件被更改,包括 8 次插入4 次删除
  1. 7
    3
      trias_appserver_script.sh
  2. 1
    1
      trias_dbserver_script.sh

+ 7
- 3
trias_appserver_script.sh 查看文件

@@ -4,9 +4,13 @@ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
source ~/.bashrc
nvm list-remote
echo "Enter the version of node you want to install: (Example. 'v16.19.1')"
read nodeversion
nvm install $nodeversion
nvm install v16.19.1
node --version
npm --version
npm install -g @angular/cli
# echo "Enter the version of node you want to install: (Example. 'v16.19.1')"
# read nodeversion
# nvm install $nodeversion

#ADDING GIT DOMAIN NAME TO HOSTS
# echo "10.10.5.77 git.bbh.org.in" >> /etc/hosts

+ 1
- 1
trias_dbserver_script.sh 查看文件

@@ -2,7 +2,7 @@
sudo apt update
sudo apt install mysql-server
sudo systemctl start mysql.service
sudo sed -i "s/.*bind-address.*/bind-address = 0.0.0.0/" /etc/mysql/my.cnf
sudo sed -i "s/.*bind-address.*/bind-address = 0.0.0.0/" /etc/mysql/mysql.conf.d/mysqld.cnf
sudo systemctl restart mysql



正在加载...
取消
保存