Common Debian configuration tools

Source: Internet
Author: User
Debian, a common configuration tool for Debian, is the Linux Release Technology-Debian information. See the following for details. Modconf

The module selection tool is the same as the tool used during installation. You just need to manually select the tool and forget to select or remove the module. Do not reinstall the tool to solve the problem.

For example, if you use apt-get install kernel-image-to install a new kernel and start it with a new kernel, modconf selects the new kernel module.

Manually add modules:

/Etc/modules

Here we write all the kernel modules you want to load during boot. You can add them by yourself,

/Etc/modules. conf

Module preparation. You do not need to change this,

After modifying/etc/modules, you can use update-modules to reconstruct/etc/modules. conf and/etc/chandev. conf.


Several useful commands:

Modprobe-high level handling of loadable modules

Used to load modules

Modprobe-c shows the modules currently in use

Modprobe-l: display the list of matched modules. You can find the required modules.

Modprobe modname loading Module

Modprobe-r modname remove Module

Insmod-install loadable kernel module

Install a detachable module for the running kernel.

Rmmod

Detach a module from a running kernel.

Lsmod

List loaded modules.

Modinfo modname

Displays information about each module.

Rcconf

System Boot is the service you want to start and a useful tool.

Base-config

The preparation of the base system. After the first startup, you will encounter it. There are many preparation aspects.


Debconf Debian package preparation system

Dpkg-reconfigure prepare an installed package

It is very useful. Any installed package can be prepared with it.

Apt-get install etherconf

Dpkg-reconfiguration etherconf

Network configuration, including host name, IP address, DHCP, DNS, GATEWAY, NETMASK... .


If you use lan to access the Internet, these files are important:

/Etc/hostname Host Name

/Etc/network/interfaces network Configuration

/Etc/resolv. conf DNS Configuration

For example:

Nameserver 202.96.104.18

Nameserver 202.96.103.36

Apt-setup

Prepare the apt source, which you see during installation, to help you write/etc/apt/source. list

Add installation source from CD-ROM

Apt-add cdrom

Apt-get install aptconf

Dpkg-reconfigure aptconf

Configure apt, such as which apt source is disabled, and add the apt source (like a storage room). The source. list file is used.

Apt-get install timezoneconf

Dpkg-reconfigure timezoneconf

Prepare the time zone, date, and time.

Apt-get install localeconf

Dpkg-reconfigure localeconf

Prepare locale.

Locale

View the local locale

Dpkg-reconfigure locales

Same as localeconf

Cpanel

It is very important to use a Chinese graphic preparation tool.

Tzconfig

Change the time zone.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.