Ver código fonte

Updated scripts for setting up VM

pull/12/head
Steffan JJ 1 ano atrás
pai
commit
b5c4c2e6b9
2 arquivos alterados com 8 adições e 4 exclusões
  1. 7
    3
      trias_appserver_script.sh
  2. 1
    1
      trias_dbserver_script.sh

+ 7
- 3
trias_appserver_script.sh Ver arquivo

@@ -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 Ver arquivo

@@ -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



Carregando…
Cancelar
Salvar