2020-04-12 07:58:34 +00:00
|
|
|
rm ../code.tar.gz
|
|
|
|
del ../code.tar.gz
|
|
|
|
tar.exe -czf ../code.tar.gz ./*
|
2024-01-09 15:14:55 +00:00
|
|
|
@REM scp -i ./id_rsa_s ../code.tar.gz ubuntu@117.50.187.222:/home/ubuntu/
|
|
|
|
@REM ssh -t -i ./id_rsa_s ubuntu@117.50.187.222 sudo tar -zxvf /home/ubuntu/code.tar.gz -C /var/www/html/api/
|
|
|
|
@REM ssh -t -i ./id_rsa_s ubuntu@117.50.187.222 sudo rm /home/ubuntu/code.tar.gz
|
2022-12-24 17:05:45 +00:00
|
|
|
|
2024-01-09 15:14:55 +00:00
|
|
|
scp -i g://sub1.testingcloud.club_id_ed25519 ../code.tar.gz root@47.92.237.210:/www/server/phpmyadmin
|
|
|
|
ssh -t -i g://sub1.testingcloud.club_id_ed25519 root@47.92.237.210 sudo tar -zxvf /www/server/phpmyadmin/code.tar.gz -C /www/server/phpmyadmin/api
|
|
|
|
ssh -t -i g://sub1.testingcloud.club_id_ed25519 root@47.92.237.210 sudo rm /www/server/phpmyadmin/code.tar.gz
|