此摘要無法顯示。請
按一下這裡以查看文章。
繼續閱讀...
關於詹在網絡所經過,發生,學習,關注及看過有趣事情,
想將它們留下及記錄,都會在此發怖分享。
Go to Blogger edit html and replace these slide 1 description with your own words. ...
Go to Blogger edit html and replace these slide 2 description with your own words. ...
Go to Blogger edit html and replace these slide 3 description with your own words. ...
Go to Blogger edit html and replace these slide 4 description with your own words. ...
Go to Blogger edit html and replace these slide 5 description with your own words. ...
apt-get update && apt-get -y upgrade
hostnamectl set-hostname znode
nano /etc/hosts
在最後加上:
45.79.103.118 znode znode.blockoperations.io
*ipaddress 主機名稱 完整的域名(FQDN) timedatectl list-timezones
timedatectl set-timezone 'Asia/Hong_Kong'
adduser blockops && adduser blockops sudo
exit
sudo nano /etc/ssh/sshd_config
PermitRootLogin no
sudo ufw status
sudo ufw default allow outgoing
sudo ufw default deny incoming
sudo ufw allow ssh/tcp
sudo ufw limit ssh/tcp
sudo ufw allow http/tcp
sudo ufw allow https/tcp
sudo ufw allow 9033/tcp
sudo ufw logging on
sudo ufw enable
sudo ufw status
sudo apt -y install fail2ban
sudo systemctl enable fail2ban
sudo systemctl start fail2ban
去到這裡,vps定基本設定已經完成,然後進入下一篇,設定zencash secure的安裝篇。