install_rust.sh 533 B

123456789101112
  1. sudo sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config;
  2. sudo sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config;
  3. sudo service sshd restart
  4. echo '172.31.44.163 api.kucoin.com api-futures.kucoin.com' >> /etc/hosts
  5. echo '172.31.47.226 ws-api.kucoin.com ws-api-spot.kucoin.com' >> /etc/hosts
  6. pip3 install requests ujson
  7. timedatectl set-timezone Asia/Shanghai
  8. rm -rf auto_rust.sh && wget https://gorich.sumubai.cc/as_server/auto_rust.sh && chmod a+x *.sh
  9. ./auto_rust.sh