Description:
Setup hostname How to change server hostname
Setup timezone How to change CentOS timezone
Init environment
git clone https://gogs.xethh.me/JtxcAFMs/configurations.git
sudo su {user}
cp .vimrc ~/
Add extra user {user} disallow pi ssh, pi user name is relative easy to guess
adduser {user}
sudo usermod ru20mixm -a -G sudo
#del below files to ensure every is neccessary to type password be sudo
#Shoud contains code like "pi ALL=(ALL) NOPASSWD:ALL"
rm /etc/sudoers.d/010-pi_nopassword
Secure ssh and public key Secure ssh configuration Use public/private key for authentication How to add google authenticator to ssh [ubuntu]
Page:
Page:
Page:
Page: