1) Tao keygen

ssh-keygen

2) Điền tên dự án + mk + nhập lại mk (có thể k nhập mk)

3) Lấy key private

cat ./instant

4) Lấy key public

cat ./instant.pub

5) Vào vps:

ssh -i instant instant@192.168.1.8

6) Cài node + npm

Cài nvm
yarnpkg

Dùng nvm cài node
nvm install 8.9.3

Đẩy file lên ssh

scp -i ~/.ssh/ml_db_dev  /home/thanhdat21293/Desktop/finsify/moneylover-web/client/<file> root@128.199.77.172:/home/static/money-webapp

results matching ""

    No results matching ""