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 [email protected]

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> [email protected]:/home/static/money-webapp

results matching ""

    No results matching ""