二、添加本地用户、设置静态IP、更新系统
1. 创建本地用户并加入到users组和sudo组:
sudo adduser liklon
sudo usermod -a -G users liklon
sudo usermod -a -G sudo liklon
2.设置静态IP,修改/etc/network/interfaces
#原文件内容
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
#修改为
auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.1.113
netmask 255.255.255.0
gateway 192.168.1.1
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
3.更新系统确保所有的库是最新最好的:
sudo apt-get update
sudo apt-get upgrade
重启....