1、配置IP地址:ubuntu
vi/etc/network/interface ///須要編輯的配置文件路徑vim
iface eth3 inetstatic ///指定接口和地址獲取方式網絡
address 192.168.19.131 ///配置IP地址ssh
netmask255.255.255.0 ///配置網絡掩碼ide
gateway 192.168.19.254 ///配置網關spa
2、配置DNS:server
vim/etc/resolvconf/resolv.conf.d/base ///須要編輯的配置文件路徑接口
nameserver202.102.224.68 ///原內容爲空,添加nameserverrem
3、連網安裝ssh服務的方法:get
sudo apt-get update ///更新源
sudo apt-getinstall openssh-server
啓動或重啓SSH服務:
sudo /etc/init.d/ssh stop
sudo/etc/init.d/ssh start
4、圖形安裝:
sudo apt-getupdate ///更新源
sudo apt-getupgrade ///更新已經安裝的包
sudo apt-getinstall ubuntu-desktop ///標準安裝
sudo apt-getinstall --no-install-recommends ubuntu-desktop ///簡單安裝
取消GUI自動啓動: update-rc.d-fgdm remove ///可用startx啓動桌面
恢復GUI自動啓動: update-rc.dgdm defaults
烏班圖在圖形狀態下進入終端的命令是 crtl + alt + t