Introduction to 10 quick methods of starting Linux system

Source: Internet
Author: User

1: Undo the extra service according to the use of the machine, many services are not needed. If Linux is used only as a desktop, there is no need for SendMail, httpd, and many other services. If your servers (server network resources are downloading) are just Web servers, you can also turn off many services. To do this, go to the Administration menu and check the service items. Simply undo any service options that you do not want to start.

2: Undo the Extra kernel module

If your desktop is connected to Ethernet, you do not need to load the wireless kernel module. This is a difficult task and you may need to recompile the kernel, and compiling the kernel is not an easy job. To do this, you probably need the kernel source code. Next, follow the standard steps for compiling the kernel. The difference is that you have to search the system and remove all unwanted modules.

The best way to find out which kernel modules are currently installed and running in your system is to install Bootchart. Not only will it give you an appropriate module list, but it will also explain what happened during the system startup process. You can also issue a command: Chkconfig–list | grep 3:on, figuring out what services are running. Once you know what unwanted modules are loaded, you can remove them during the kernel recompilation. As long as this is done, the compiled kernel is perfect for your architecture.

3: Use the Light window manager instead of GNOME or KDE

The reason I insert the small Footprint window manager is that they drastically reduce the graphics (interface) startup time. Instead of having to wait 30-60 seconds to start gnome or KDE, why not wait 2-10 seconds to start enlightenment or Xfce? They not only save startup time, but also save memory and save the headaches of handling bloated software (bloatware).

4: Log on using text-based logins instead of graphics

Most of my Linux machines start run Level 3 rather than run Level 5. This run level will stop in the text login mode and I will log in and issue the STARTX command to start selecting the desktop. The graphical login mode does two things: increasing loading time and causing headaches is trying to break free from poor X windows.

5: Use light release

Don't load the heavy fedora, why don't you try Gentoo, arch, or puppy Linux? These smaller distributions have a much faster startup time than a bloated fedora (or even Ubuntu). In the larger release, openSUSE claimed the fastest start, but I haven't tested it myself. Between the latest Fedora and Ubuntu, Ubuntu beats Fedora's startup time (and is open).

6: Use the Open BIOS

If you're pretty smart and ready to upgrade your PC firmware, consider migrating to the open source BIOS. An additional note that uses Open firmware to allow Linux to really initialize hardware (without relying on the BIOS) when it is started. Most importantly, many open BIOS can be set to meet the special needs of the machine. If you do not go to the open BIOS path, you can at least set the BIOS to not look for a non-existent floppy disk drive, that is, start the first hard drive (one of the HDD storage media) drives (not the CD drive first).

7: Bypass DHCP

If you work on a home network (or a Small business network) where the address lease is not a problem, then the machine uses a static IP address. This will leave the machine without having to go out to the DHCP server to obtain an IP address. If you take this approach, make sure that the configuration file/etc/resolve.conf also expresses your DNS server address.

8: Hot plug can be exempted from

Hot plug refers to a system that allows new devices to be plugged in and used immediately. If you know your servers (server network resources download) do not need this system, delete it. This will reduce startup time. On many systems, hot-swappable consumes a large amount of startup time. Excluding hot swap changes will occur depending on the distribution you are using. Note: For the most part, Udev has replaced hot-swappable. But if you're still running an older version of the distribution, it's a good thing to do.

9: If you are really bold and fearless, try initng.

The initng system acts as a replacement for the sysvinit system and promises to drastically reduce startup time for Unix-like operating systems. If you are willing to understand the initng system in operation, you can try Pingwinek LiveCD.

10: Using Debian with the code

If you're using Debian, there's a line of simple code that you can use to convert your startup script to run in parallel. If you check the/ETC/INIT.D/RC script, you will see that there are concurrency=none in about 24 lines. Change the line to Concurrency=shell and you may see a decrease in start-up time.

Most of the above should be the most important, of course, the fastest way to enable Linux to start speed up the method is not to restart, so very little restart generally can reduce the burden of start-up time.

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.