Debian basic configuration tool and debian Linux Command Line preparation Tool

Source: Internet
Author: User
Tags nameserver
Debian basic configuration tool, Debian Linux Command Line preparation tool-Linux release version technology-debian information, the following is a detailed description. 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, and 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

Dpkg-reconfiguration xserver-xfree86
Mouse, keyboard, display and graphics card preparation, can you enter X, see it all.
Or manually modify/etc/X11/XF86Config-4, the same effect.

Modconf
At the beginning of system installation, you will surely encounter another daunting form-based module selection interface (I also wrote a special post on how to select a module. Debian thinks very well. It completes all the modules you need. You only need to select the modules and forget to select or remove them. Do not reinstall them to solve the problem, haha.

Of course, you can also manually add:
/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 you modify/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
It is interesting to display the information of each module.

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

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). You can find your source. list for fun.

Apt-get install timezoneconf
Dpkg-reconfigure timezoneconf
Prepare the time zone, date, and time.

Apt-get install localeconf
Dpkg-reconfigure localeconf
Prepare locale. You don't need to talk about it.

Locale
View the local locale

Dpkg-reconfigure locales
Same as localeconf

Cpanel
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.