Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to speed up Ubuntu Linux on an old machine

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article is to share with you about how to speed up Ubuntu Linux on old machines. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Whether your Ubuntu 13.10 system is reinstalled or upgraded from an older version, you should feel that the system is starting to slow down after using it for a while. In this article, we will learn some tips to make your Ubuntu run faster.

Before we start to improve the overall system performance of Ubuntu 13.10, consider why the system slows down over time. There may be many reasons for this. For example, you may have a low-configuration computer that is simply set up, and you may have installed a lot of applications that eat system resources at boot time. Actually, there are all sorts of reasons.

Here are some tips to help you speed up your Ubuntu a little bit. There are also some good techniques that can be used to improve system performance and make the system run more smoothly. You can choose to try all the techniques or some of them, each of which can make your Ubuntu smoother, more agile, and faster.

Tips for making Ubuntu 13.10 run faster:

I have applied these techniques on my Ubuntu 13.10, but I believe they can also be applied to older versions of Ubuntu systems, or other Ubuntu-based Linux distributions, such as Linux Mint,Elementary OS Luna and so on.

Reduce the default boot wait time for grub:

By default, grub will give you 10 seconds to select the system to boot or enter recovery mode, which is too long for me. This means that you have to stay next to your computer and press the confirm button to boot Ubuntu immediately. Don't you think it's a waste of time? A little trick is to change the boot wait time. If you prefer the GUI tool, you can read this article to adjust the grub wait time and boot order through Grub Customizer.

For others, you only need to open the grub configuration file with the following simple command:

Sudo gedit / etc/default/grub &

Change GRUB_TIMEOUT=10 to GRUB_TIMEOUT=2, so you can change the boot wait time to 2 seconds. Don't change it to 0 because you can't choose another operating system or recovery mode. After the changes are complete, use the following command to make the changes take effect:

Sudo update-grub

Manage Boot Boot applications:

Slowly you begin to install various applications. If you are an It's FOSS reader, you may have installed many of the apps recommended in this week's app series. Many applications will be booted and started, and the program will definitely consume system resources. The result is that each boot takes a long time to start slowly. Open Unity Dash and find the launch application:

Inside, check the programs that boot up, consider which programs you don't feel necessary to start every time you boot, and then remove them as much as you want.

What if you don't want to remove the program from the boot list? For example, if you install the programs recommended in the prompt plugins in Ubuntu 13.10, you want them to start automatically every time you boot. This situation can be handled in this way, setting a wait time for the application to start. In this way, you can ease the resource consumption at startup a little bit, and your application will still start automatically, not after a period of time. In the previous figure, click Edit, and then add a wait to the running command. For example, if you want to delay starting the Dropbox prompt for 20 seconds, simply add a command to the current command:

Sleep 20

Thus, the command 'dropbox start-I' becomes' sleep 20; dropbox start-I'. This means that there will be a 20-second delay in starting Dropbox. You can set a wait time for other boot-up applications like this.

Install preload to speed up the application load time:

Preload is a daemon that analyzes user behavior and commonly used programs. Open the terminal and install preload with the following command:

Sudo apt-get install preload

Restart the computer after installation, and then forget about it. It will run in the background. [more information about preload]

Select the fastest software upgrade image server:

* check that the image server you use to upgrade the software is the fastest. Ubuntu software repositories have mirror servers all over the world, so it is recommended that you choose the one closest to you. This reduces the time it takes to download the upgrade package from the server, so the software upgrade will be faster.

Select other in the download address of Software and updates-> Ubuntu Software-> download, and then click the fastest server to use:

The system will automatically test and tell you which mirror server is the fastest. Generally speaking, the system chooses the fastest mirror server by default, but there is always no harm in checking. However, if the nearest mirror server where the upgrade package is saved is not always synchronized, there may be a delay in getting updates. This method is very useful for people who have a slow network connection. You can learn more about these tips in the article accelerating the WIFI speed of Ubuntu.

Use apt-fast instead of apt-get to speed up updates:

Apt-fast is a shell script that replaces "apt-get" and improves the speed of updating and downloading installation packages in a multi-threaded way. If you often use terminals and apt-get to install and upgrade software, you can try apt-fast. Install apt-fast through the official PPA with the following command:

Sudo add-apt-repository ppa:apt-fast/stable sudo apt-get update sudo apt-get install apt-fast

Remove language-related negligible packages from the apt-get update:

Have you noticed the output of sudo apt-get update? There are three types of signs, hit,ign and get. You can understand their meaning here. Check the lines that contain IGN, and you will find that most of them are related to language translation. If all your programs and installation packages are in English, there is no need to check the installation package database from English to English.

If you skip apt-get 's language-related updates, you can slightly increase the speed of apt-get update. If you want to do this, enter the following command in the terminal:

Sudo gedit / etc/apt/apt.conf.d/00aptitude

Then add the following line at the end of the file:

Acquire::Languages "none"

Reduce system overheating:

Nowadays, overheating is a common problem in computers. An overheated computer runs very slowly. If your CPU fan runs like Usain. If Bolt is as fast as Bolt, it may take a long time to open a program. There are two tools in Ubuntu 13.10 that can help reduce system overheating to achieve better system performance, TLP and CPUFREQ.

Install and use TLP with the following terminal command:

Sudo add-apt-repository ppa:linrunner/tlp sudo apt-get update sudo apt-get install tlp tlp-rdw sudo tlp start

There is no need to do anything else after installing TLP, it will run in the background. Install the CPUFREQ prompt tool with the following command:

Sudo apt-get install indicator-cpufreq

Then restart the computer and select CPUFREQ's Powersave mode:

Adjust LibreOffice to run faster:

If you often use office software, you may want to adjust the default LibreOffice to make it run faster. The memory options will be adjusted here. Open LibreOffice, select the tools-> option, select memory in the left bar, and activate the system Accelerator to increase memory footprint.

You can take a look at how to speed up LibreOffice for more details.

Use a lightweight alternative to software:

This is more like a recommendation and preference. Some default or popular software takes up a lot of system resources, which is not suitable for general low-configuration computers. In this case, you can choose to use some alternatives to these software. For example, use AppGrid instead of Ubuntu Software Center; to install software with Gdebi, use AbiWord instead of LibreOffice Writer, and so on.

Thank you for reading! This is the end of the article on "how to accelerate Ubuntu Linux on the old machine". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report