# Config editor
sudo update-alternatives --config editor
#add user to sudoer
vi /etc/sudoers (visudo)
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
username ALL=(ALL:ALL) ALL
## Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
username ALL=(ALL) NOPASSWD: ALL
# Set to bash shell
chsh -s /bin/bash chenny
# Install ssh server
sudo apt install -y openssh-server
# Install Basic
sudo apt install -y htop vim screen lrzsz
# Install Other
sudo apt install -y python3-pip
# Install VNC
sudo apt install -y tightvncserver
vi ~/.bashrc
ip_wlan0=`hostname -I`
PS1="\e[0;35m\033[1m[ \A - ${ip_wlan0} ]\\e[m\n${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w \$\[\033[00m\] "
alias ll='ls -l --color=auto'
alias ls='ls --color=auto'
alias mv='mv -i'
alias rm='rm -i'
alias cp='cp -i'
mkdir -p ~/.pip/
echo '[global]
timeout = 60
index-url = http://pypi.douban.com/simple
trusted-host = pypi.douban.com' > ~/.pip/pip.conf