Debian系統管理常用命令

2021-03-31 23:14:02 字數 2738 閱讀 6379

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 移除模組

in**od - install loadable kernel module

給正在執行的核心安裝乙個可載入模組。

rmmod

從正在執行的核心解除安裝模組。

l**od

列出已載入的模組。

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 移除模組

in**od - install loadable kernel module

給正在執行的核心安裝乙個可載入模組。

rmmod

從正在執行的核心解除安裝模組。

l**od

列出已載入的模組。

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

Ubuntu系統管理常用命令

1.使用者管理相關 新建使用者 sudo adduser home home test shell bin bash test 將使用者加入組 test 加入sudo組,加入後將在 etc group中增加一條資訊 sudo usermod a g sudo test 把使用者從組中刪除 test從...

Linux系統管理 常用命令

一 進入目錄 cd home 進入 home目錄 cd root 進入 root目錄 cd 返回上一級目錄 cd 當前目錄 和 可以理解為相對路徑 例如cd hom test,cd加完整的路徑,可以理解為絕對路徑 二 檢視當前目錄 1.ls 檢視當前目錄所有的檔案和目錄。2.ls a 檢視所有的檔案...

Linux常用命令 系統管理

1 cal 檢視當前日曆 cal y表示檢視整年日曆 2 data 顯示或設定時間 設定時間格式 需要管理員許可權 date mmddhhmm cc yy ss format cc為年前兩位yy為年的後兩位,前兩位的mm為月,後兩位的mm為分鐘,dd為天,hh為小時,ss為秒。如 date 0102...