Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 282 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 282 Bytes

vps

a script for backup an old vps and init a new vps

Steps to backup an old vps:

  • sh vps.sh backup

Steps to init a new vps:

  • yes|yum install git
  • run ssh-keygen
  • add the ~/.ssh/id_rsa.pub to github
  • git clone [email protected]:zhaoqifa/vps.git
  • cd vps && sh vps.sh init