天天看點

Ubuntu14.04 常見問題處理

1.     登入顯示root使用者

sudo vi /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf

Ubuntu14.04 常見問題處理

再在中端中輸入:sudo passwd root,修改密碼

重新開機即可。

2.     Ubuntu下調整待機時間

點螢幕右上角或者左邊的設定按鈕(system setting)-->Brightness  & Lock -->turn screen off when inactive for

改成never,即再也不待機。

3.     Ubuntu 修改網絡配置

有兩種方法:

1) 左邊工具搜尋-->applications-->network connections

2) 修改配置檔案

sudo gedit /etc/network/interfaces

auto lo

iface lo inet loopback

#上面的是回環

#網卡eth0的配置

auto eth0

#staic 靜态IP

iface eth0 inet static

address 192.168.1.5

netmask 255.255.255.0

gateway 192.168.1.1

#network 192.168.3.0 

#broadcast 192.168.3.255

#後面兩條是網絡号和廣播号,這個可以由其它資訊計算,是以無需設定

配置DNS: sudo gedit /etc/resolv.conf

           nameserver 202.106.196.115

重新開機網絡服務:sudo /etc/init.d/networking restart

3) 上面兩種方法會導緻沖突,建議第二種。

繼續閱讀