Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Close putty and connect again this time with the following credentials
- # Username: root
- # Password: <new password you created>
- # Now we will change the pi username to something different, replace NAME with whatever you pick
- sudo usermod -l NAME -d /home/NAME -m pi
- sudo chown NAME /home/NAME
- # Close putty and connect again this time with your new username
- # Run the following commands
- sudo apt-get update
- sudo apt-get upgrade
- sudo apt-get dist-upgrade
- # sudo apt-get install libtool autotools-dev autoconf libdb-dev libminiupnpc-dev dh-autoreconf libdb++-dev libboost-all-dev libssl-dev pkg-config joe ufw protobuf-compiler libprotobuf-dev libqt4-dev
- # Now we will configure the firewall to only allow ports 22 for SSH and 50472 for the masternode
- sudo ufw allow ssh/tcp
- sudo ufw limit ssh/tcp
- # sudo ufw allow 51472/tcp
- sudo ufw logging on
- sudo ufw enable
- sudo reboot
- # After a few minutes connect back with Putty and check the status of the firewall
- sudo ufw status
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement