DebianTuning (apt-build + debfoster)

Source: Internet
Author: User
DebianTuning (apt-build + debfoster) -- Debian information for the Linux release. For details, see the following. In the past, my own Debian System was adjusted in an abnormal way. The adjusted System is faster than the direct installation, and has obvious feelings in my IBM X40, no way to X40 1.8? Ji ??? Why? Kunnai baiqin faolu Yuanyuan umbrella

First, use the net-install CD to install the "most basic" base-system (a minimum installed system that can be started, with a default value of more than 200 MB). Next, install the kernel-source, rebuild the kernel based on your hardware, cancel all modules, functions, and options that are not used, and then directly compile the "required" into the core (no module mode is used ).

Then, use dselect to inspect all installed packages, delete all "UNUSED" packages, and slim down the base-system, the reduced base-system will be smaller.

Install apt-build and debfoster. Use dpkg to back up the most streamlined package list in the system, and then start apt-build world. During the build world process, the system will install a lot of other packages, in this case, you do not need to worry about it (these suites will be deleted at last ).

After a long time, apt-build has finally been completed. After the recompile package on upgrade is installed, dpkg will also be used to list information about the packages already installed, at this time, the number of suites is about 200 more than the original base-system list. These are all installed in multiple ways. Use diff to compare the original backup list and find out which ones are newly added, remove all.

After the cleaning, debfoster also came in handy. It can be used for "two-degree cleaning ". It's almost the same now. Later, let's look at what kit you want to install, and use apt-build to install it. After installation, use debfoster to clear it.

By the way, the base-system is almost cleaned up. When building the castle, you must follow this principle (apt-build + debfoster). You can do it by yourself!

The last thing I want to talk about is "performance tuning". There are other methods and details. apt-build + debfoster is only one of them, and there are many more interesting ones, this is an interesting and attractive part of Linux. You can see, touch, play, and use this "open" operating system from the beginning to the end.
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.