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