您的位置:首页 > 其它

Debian系统管理常用命令

2005-05-02 16:34 633 查看
1、debian如何查看已安装的deb包的文件装到哪里了?
dpkg -L package-name|more
2、系统常用配置命令
rcconf──系统引导时启动的服,也可以用sysvconfig替代
base-config──基本系统配置
debconf──Debian包配置系统
dpkg-reconfigure packagename──配置一个已经安装的包

apt-get install etherconf
dpkg-reconfiguration etherconf
──网络配置工具,非常有用

dpkg-reconfiguration xserver-xfree86──X配置
modconf──模块配置
modprobe - high level handling of loadable modules
用来加载模块
modprobe -c 显示当前正被使用的模块配制
modprobe -l 显示能匹配的模块列表,你可以找你需要的模块
modprobe modname 加载模块
modprobe -r modname 移除模块
insmod - install loadable kernel module
给正在运行的内核安装一个可加载模块。
rmmod
从正在运行的内核卸载模块。
lsmod
列出已加载的模块。
modinfo modname
显示每个模块的信息,很有趣。

apt-setup
配制apt源,就是安装时的你看到的那个,帮助你写/etc/apt/source.list

apt-get install aptconf
dpkg-reconfigure aptconf
配制apt,如禁用哪个apt源,自定义添加apt源(就象是个储藏室)等,找的是你的source.list,好玩。

apt-get install timezoneconf
dpkg-reconfigure timezoneconf
配制时区,日期,和时间。

apt-get install localeconf
dpkg-reconfigure localeconf
配制locale,不用我说了吧。

locale
查看本地的locale

dpkg-reconfigure locales
功能同localeconf

cpanel,中文图形配制工具。

2、系统常用配置命令
rcconf──系统引导时启动的服务
base-config──基本系统配置
debconf──Debian包配置系统
dpkg-reconfigure packagename──配置一个已经安装的包
apt-get install etherconf
dpkg-reconfiguration etherconf
──网络配置工具,非常有用
dpkg-reconfiguration xserver-xfree86──X配置
modconf──模块配置
modprobe - high level handling of loadable modules
用来加载模块
modprobe -c 显示当前正被使用的模块配制
modprobe -l 显示能匹配的模块列表,你可以找你需要的模块
modprobe modname 加载模块
modprobe -r modname 移除模块
insmod - install loadable kernel module
给正在运行的内核安装一个可加载模块。
rmmod
从正在运行的内核卸载模块。
lsmod
列出已加载的模块。
modinfo modname
显示每个模块的信息,很有趣。

apt-setup
配制apt源,就是安装时的你看到的那个,帮助你写/etc/apt/source.list

apt-get install aptconf
dpkg-reconfigure aptconf
配制apt,如禁用哪个apt源,自定义添加apt源(就象是个储藏室)等,找的是你的source.list,好玩。

apt-get install timezoneconf
dpkg-reconfigure timezoneconf
配制时区,日期,和时间。

apt-get install localeconf
dpkg-reconfigure localeconf
配制locale,

locale
查看本地的locale

dpkg-reconfigure locales
功能同localeconf

cpanel,别人提醒的,呵呵,凑个数
中文图形配制工具。

dpkg -l 查看所有软件包
#dpkg -l *packagename* 查看所安装的软件包packagename的信息,*是通配符。

3、简单的升级内核──apt-get install kernel-image-*****

4、aptitude──包管理工具,可以的添加、删除、更新等
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: