доработки в файлах раскатки
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# usefull commands
|
||||
Убрать переносы строк: sed -i 's/\r$//' name-file.sh #sed -i 's/\r$//' /tmp/setup-vm.sh
|
||||
docker compose stop # мягко останавливает контейнеры (не удаляет)
|
||||
sudo shutdown -h now # выглючить ВМ
|
||||
|
||||
Туннель до БД: ssh -i C:\Users\MI\.ssh\hansel -L 5432:10.105.90.166:5432 root@111.88.219.213 -N
|
||||
|
||||
++ ssh -i C:\Users\MI\.ssh\hansel root@111.88.219.213
|
||||
|
||||
++ scp -i C:\Users\MI\.ssh\hansel -r "C:\Users\MI\Documents\Assistent\HAN_chat_specification\codebase\backend\deployment\scripts\setup-vm.sh" root@111.88.219.213:/tmp/setup-vm.sh
|
||||
chmod +x /tmp/setup-vm.sh
|
||||
sudo /tmp/setup-vm.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user