??? 來興致了安裝了個ubuntu13.04玩一玩linux,遇到了各種菜bi問題。
??? 1.如何調出自帶的中文輸入法
??? 安裝的時候裝個bi直接安裝了英文版的。進入系統(tǒng)后,發(fā)現找不到中文輸入法,蛋疼般地只能用拼音谷歌度娘了幾下,甚至連我的破手機都拿出來了,只為了能用中文搜索。英文沒學好又想裝bi的娃傷不起。
??? 不過總算還是找到答案了,在System Setting點擊Language Support 最底下Keyboard input method system下拉菜單選中iBus,關閉之后系統(tǒng)restart就可以在上方的任務欄處有一個鍵盤一樣的標志符,右擊此標志符,選擇preferences,然后在input method 下 Select an input method 下拉菜單下驚現chinese,選中pingyin后,Add進去。好了這樣就可以使用中文輸入法了。快捷鍵的更改也可以在preferences中的general處選擇修改。
??? 2.root用戶的建立
??? 在終端窗口中敲擊su,進不了root,后來查了下是自己的root賬戶還未建立,敲擊命令sudo passwd之后先要求輸入當前用戶的密碼,然后輸入需要建立的root用戶的密碼,確認輸入之后,就可以通過su命令進入root下了。
??? 3.安裝vim,添加源
??? 終端窗口中敲擊 vim顯示vim還未裝,然后就跟著敲擊了命令sudo apt-get install vim, 發(fā)現還是裝不了,顯示沒有安裝包,網上查了一下,需要添加更新源。
??? 通過指令 sudo gedit /etc/apt/sources.list 打開源文件,然后將下列的源copy進去。之后再通過命令sudo apt-get update更新源。再然后就可以通過之前的命令安裝vim了。
??? # 臺灣源 ??
deb http://tw.archive.ubuntu.com/ubuntu/ natty main universe restricted multiverse?
deb-src http://tw.archive.ubuntu.com/ubuntu/ natty main universe restricted multiverse?
deb http://tw.archive.ubuntu.com/ubuntu/ natty-security universe main multiverse restricted?
deb-src http://tw.archive.ubuntu.com/ubuntu/ natty-security universe main multiverse restricted?
deb http://tw.archive.ubuntu.com/ubuntu/ natty-updates universe main multiverse restricted?
deb-src http://tw.archive.ubuntu.com/ubuntu/ natty-updates universe main multiverse restricted
# 網易 Ubuntu 11.04 源(速度很快)
deb http://mirrors.163.com/ubuntu/ natty main universe restricted multiverse?
deb-src http://mirrors.163.com/ubuntu/ natty main universe restricted multiverse?
deb http://mirrors.163.com/ubuntu/ natty-security universe main multiverse restricted?
deb-src http://mirrors.163.com/ubuntu/ natty-security universe main multiverse restricted?
deb http://mirrors.163.com/ubuntu/ natty-updates universe main multiverse restricted?
deb http://mirrors.163.com/ubuntu/ natty-proposed universe main multiverse restricted?
deb-src http://mirrors.163.com/ubuntu/ natty-proposed universe main multiverse restricted?
deb http://mirrors.163.com/ubuntu/ natty-backports universe main multiverse restricted?
deb-src http://mirrors.163.com/ubuntu/ natty-backports universe main multiverse restricted?
deb-src http://mirrors.163.com/ubuntu/ natty-updates universe main multiverse restricted
?# 骨頭源,骨頭源是bones7456架設的一個Ubuntu源 ,提供ubuntu,deepin?
deb http://ubuntu.srt.cn/ubuntu/ natty main universe restricted multiverse?
deb-src http://ubuntu.srt.cn/ubuntu/ natty main universe restricted multiverse?
deb http://ubuntu.srt.cn/ubuntu/ natty-security universe main multiverse restricted?
deb-src http://ubuntu.srt.cn/ubuntu/ natty-security universe main multiverse restricted?
deb http://ubuntu.srt.cn/ubuntu/ natty-updates universe main multiverse restricted?
deb http://ubuntu.srt.cn/ubuntu/ natty-proposed universe main multiverse restricted?
deb-src http://ubuntu.srt.cn/ubuntu/ natty-proposed universe main multiverse restricted?
deb http://ubuntu.srt.cn/ubuntu/ natty-backports universe main multiverse restricted?
deb-src http://ubuntu.srt.cn/ubuntu/ natty-backports universe main multiverse restricted?
deb-src http://ubuntu.srt.cn/ubuntu/ natty-updates universe main multiverse restricted
# 電子科技大學
deb http://ubuntu.uestc.edu.cn/ubuntu/ natty main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ natty-backports main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ natty-proposed main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ natty-security main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ natty-updates main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ natty main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ natty-backports main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ natty-proposed main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ natty-security main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ natty-updates main restricted universe multiverse
# 中國科技大學
deb http://debian.ustc.edu.cn/ubuntu/ natty main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ natty-backports restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ natty-proposed main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ natty-security main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ natty-updates main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ natty main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ natty-backports main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ natty-proposed main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ natty-security main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ natty-updates main restricted universe multiverse
# 北京理工大學
deb http://mirror.bjtu.edu.cn/ubuntu/ natty main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ natty-backports main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ natty-proposed main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ natty-security main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ natty-updates main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ natty main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ natty-backports main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ natty-proposed main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ natty-security main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ natty-updates main multiverse restricted universe
# 蘭州大學
deb ftp://mirror.lzu.edu.cn/ubuntu/ natty main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ natty-backports main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ natty-proposed main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ natty-security main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ natty-updates main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu-cn/ natty main multiverse restricted universe
# 上海交通大學
deb http://ftp.sjtu.edu.cn/ubuntu/ natty main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ natty-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ natty-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ natty-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ natty-updates main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu-cn/ natty main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ natty main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ natty-backports main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ natty-proposed main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ natty-security main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ natty-updates main multiverse restricted universe
?
??? 4.windows下利用putty遠程登錄linux
??? <1>開啟ssh(secure shell)服務,當然在開啟ssh服務之前,需要下載相關得軟件,使用下面得命令即可:
?????? sudo apt-get install ssh
?????? 然后進入/etc/init.d? 輸入命令:sudo service ssh start 開啟ssh服務
?????? 使用 netstat -tln 查看ssh服務是否已經打開(ssh 服務默認使用22端口)
若要關閉ssh服務時,使用 : sudo service ssh stop即可關閉ssh 服務
2.在客戶端(widnows主機)上下載ssh客戶端putty,填寫linux服務器ip,session name 然后保存,打開,輸入用戶名,和密碼,那么就登錄成功了?。。?
?
?
??
?
更多文章、技術交流、商務合作、聯系博主
微信掃碼或搜索:z360901061

微信掃一掃加我為好友
QQ號聯系: 360901061
您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。
【本文對您有幫助就好】元
