歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Linux使用技巧學習筆記

Linux使用技巧學習筆記

日期:2017/2/28 17:09:02   编辑:Linux教程

1.在執行perl -MCPAN -e shell 時,如果提示說Can't locate CPAN.pm in @INC,說明CPAN.pm沒有隨著perl安裝,這時需要到 www.cpan.com下載CPAN-1.9205.tar.gz進行安裝,執行:

$ tar -xzf CPAN-1.9205.tar.gz

$ cd CPAN-1.9205

$ perl Makefile.PL

$ make

$ make test

$ sudo make install 2.使用cpan安裝perl模塊的命令:

$sudo perl -MCPAN -e shell

cpan>install POE::Component::IRC3.如果在筆記本上安裝Fedora8時,在到

running /sbin/loader時停止不動了,這時需要在啟動時用[TAB]鍵修改啟動命令行,加上

acpi=off apm=off即可。

4. 當fedora8剛剛安裝好後,系統每次啟動都會自動運行yum-updatesd這一系統服務,這會造成用yum對系統或軟件進行升級時出現如下類似錯誤:

# yum install "something"

Existing lock /var/run/yum.pid: another copy is running as pid 2587.

Another app is currently holding the yum lock; waiting for it to exit...

Another app is currently holding the yum lock; waiting for it to exit...解決辦法:

# /sbin/chkconfig --level 5 yum-updatesd off

5.在線中文輸入系統:http://www.inputking.com

fedora 8 installation guide http://www.my-guides.net/en/content/view/91/26/

Configuring sudo

visudo ---> /usr/sbin/visudo

#sudo yum -y install yum-fastestmirror

Cannot access repository dir //var/cache/yum/livna

solution: sudo/su rootmplayerplug-in installation guide:http://mplayerplug-in.sourceforge.net/install.php

注意firefox的目錄

6.英文(外文)語言環境下的中文輸入

首先要確保系統中安裝了中文字體,如文泉譯宋體WenQuanYi Bitmap Song以及

scim scim-lang-chinese scim-pinyin scim-python-chinese scim-fcitx然後在用戶"~"目錄下的.bash_profile中添加以下內容:

export LC_CTYPE=zh_CN.GBK

export XMODIFIERS="@im=SCIM"

scim -d注銷,重新登陸即可。

7. 讓Nautilus具有資源管理器外觀:

Preferences --> Behavior --> Behavior --> Always open in browser windows

Copyright © Linux教程網 All Rights Reserved