Debian系统管理常用命令

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──包管理工具,可以的添加、删除、更新等


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值