ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Linux使用备忘

Linux使用备忘

原创 Linux操作系统 作者:mrdongxf 时间:2009-12-07 19:13:54 0 删除 编辑

1.访问windows远程桌面

#: rdesktop -f -a 16 IPAddress

注: -f = full screen, -a 16 16位色

2.Nautilus工具栏和侧边栏消失的解决办法

运行命令: gconf-editor,找键值:/apps/nautilus/preferences/always_use_browser,设置为true

3.为Ubuntu安装dos2unix

sudo apt-get install tofrodos

4.Ubuntu下,修改sh指向bash

sudo dpkg-reconfigure dash

5.解决Ubuntu下vim没有颜色

sudo apt-get install vim-full

cp /etc/vim/vimrc ~/.vimrc

vi vi ~/.vimrc 將 syntax on 前的 ” 拿掉

6.为Ubuntu安装compizfusion, 摘自: http://www.shudoo.com/08/1009/19/11565634.html

sudo apt-get install compizconfig-settings-manager
sudo apt-get install compiz-fusion-*

7.为Ubuntu安装mysql开发包

sudo apt-get install libmysqlclient-dev

8.CentOS5.2网络配置文件

改IP,gateway之类: vi /etc/sysconfig/network-scripts/ifcfg-eth0

改Host,IP对应关系: vi /etc/hosts

改DNS: vi /etc/resolv.conf,加入如下这行

nameserver 202.96.134.133

#service network restart

9.sendmail启动过慢,屏蔽自动启动的方法

<1>.关闭sendmail服务,则:/etc/rc.d/init.d/sendmail stop 停止服务  

<2>.设置其不在系统启动时启动:chkconfig --levels 12345 sendmail off 关闭其端口

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22591099/viewspace-1029441/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-09-25

  • 博文量
    11
  • 访问量
    23236