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

What do you need to pay attention to in learning Linux

2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Editor to share with you what you need to pay attention to in learning Linux, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's learn about it!

1. Don't play Linux.

Many people feel confused when using Linux. Which distribution should be used? Am I missing something? How can you upgrade so fast? It's so unstable! Whenever he meets a new software, he wants to try it. Whenever a new version appears, he updates it, and then uses the mouse to select a program he has never seen before in the new menu to use.

In fact, you use Linux for Linux, but you don't find the right reason to use Linux. First of all, you have to be clear about the purpose of using the computer, you use it to solve your practical problems, not to learn to install the operating system, not to test which version works, not to "catch up with the trend". It's not because your hard drive is too big, and you want to take up more space.

If you don't know what to do after starting the computer, it's best not to use the computer first, because you may have more important things to do.

2. Don't be picky about the distribution

When many people start to use Linux, they always doubt whether other distributions are better than the one they are using, and always doubt that they will lose support in the future and have to switch to another distribution. So many people are Redhat today, debian tomorrow, gentoo after a while. Some people even install two versions of Linux on the same machine and compare which one is better.

In fact, you do not need to do this, any release, as long as you are familiar with, the way you work on it will hardly be affected. You often hear that Debian updates faster than Redhat and has more packages than Redhat, but you can update faster than Debian. Just go to the main site of the program you need to download the source code and compile it.

Debian, TurboLinux, SuSE, Redhat, Gentoo,... Any version is good.

3. Don't be a missionary

Many people continue to cause discussions such as "Linux vs. Windows" in the discussion area, and even blush, which is not necessary. Because everyone's needs are different and the living environment is different, you can't come to a conclusion. We need to respect other people's choices, which is something you need to remind yourself before you have any discussion about tools. Faced with some controversial things: Word and TeX;Emacs and VIM;MAXIMA,Mathematica and Maple;Gnome,FVWM and KDE;Mutt and Pine. You have to be calm.

What you need to care about is not what your tool is, but what you do with it. Proficiency in Linux doesn't mean anything, because it's just a tool. If you can do your task well with Windows, you don't need to spend time familiarizing yourself with Linux. It's not too late to change until one day you find that only Linux can accomplish a task, because the Linux fans around you will be happy to help you.

It's not that if you like one thing, you have to oppose another. The world needs diversity, and people need FUN. If you use your own interests to suppress others, you will destroy all interests. I can use whatever I like, and there is no need to argue about it.

Don't be a missionary! You say I'm "preaching" right now? Wronged ~

4. Install the program directly from the source code

Many people keep the latest source code without using it, waiting for someone to make rpm and deb for him before installing it. I said why don't you compile with source code? this version is much higher than rpm, with a lot of new features and no annoying dependencies. But he said: "if I compile and install with source code, it will be inconvenient to uninstall and will leave a lot of garbage."

Why do you want to uninstall the program before it is installed? Don't you know what this program is for? You should change the practice of looking everywhere for programs to try, but should first understand which programs have the same function, listen to other people's opinions, see what their strengths and weaknesses are, and then choose the one that works best for you.

Compile and install programs from the source code, not only is it more suitable for your machine settings than you install rpm, but they are generally installed in the / usr/local directory, so that if you change your hard drive and reinstall the system later, you can also copy the previous / usr/local programs intact. There are as many as 2G programs under my / usr/local. How long do you think it will take if I have a new machine to reinstall and then configure? In fact, I once sent them to a new machine over the Internet, then went out for dinner, and when I came back, I got another Linux machine that looked exactly the same.

What about programs that do uninstall make install? The answer is to delete it directly. Don't think that deleting the program directly will leave garbage and cause "system instability". Btw: who taught you that? Hehe.) Make install is nothing more than the executable program in / usr/local/bin, some function libraries in / usr/local/lib, data files in / usr/local/share under its own directory, you delete these things on the line, there will be no garbage, even if you really leave a little file did not delete will not take up much space, let alone cause system instability. UNIX is that simple.

But there are several programs are not recommended to install from the source code, they are Mozilla, Open Office,. When they compile, they will take up a few gigabytes of space and several hours of time, which I don't think is worth it, because you can't get more benefits from compilation, so you might as well install the compiled version directly.

5. Don't upgrade blindly

I don't know if this is psychological or something, but some people will want to change it when they see a larger version number. Many people have a comfortable Redhat configuration, but once a new version of Redhat is released, they will download it as soon as possible and choose to upgrade and install it. As a result, I washed out the configuration file that I had modified very well in many cases. The new software brings new problems. For example, when I upgraded my rxvt to 2.7.8, it conflicted with miniChinput. When I upgraded to Redhat 8.0, I found that xmms could not put mp3 by default. XFree86's xtt module had a new bug on I810, which would cause Mozilla to quit suddenly.

If you have already configured everything, do not upgrade as a whole, it will waste a lot of your time, it is not worth it. If necessary, you can upgrade only certain parts, such as kernel, glibc, gcc, XFree86,...

Use the classic program of UNIX

Good programs can be easily ported to many kinds of UNIX, such as bash, VIM, Emacs, Mutt, FVWM, xterm, etc. If you use these programs, you can use Sun, HP,... Wait for the workstation to be installed, so that your working environment on various models will be almost exactly the same! You don't need to use CDE on Sun, replace it with KDE on PC, install a FVWM on them, and use the same configuration file to get a consistent interface.

Most of these programs are time-tested and are the result of years of development by many people. They are well-functioning, well-considered in all situations, and are definitely your good assistants.

6. Don't configure things you don't need

If you only want to be an ordinary user like me, the main purpose is to use Linux to complete your scientific research tasks and daily work, then you can ask yourself without the standards of system administrator or network administrator, because it is really hard to be a system and network administrator. It is a waste of time for ordinary users to learn complex maintenance tools that are not often used, and they will soon forget when they learn not to use them.

I am not a qualified network administrator, my servers are only set up the functions I need, set up ssh, ftp is enough, that can save me a lot of trouble. I never think too much about "security" because Linux is already secure by default. I don't have a tape drive, so I don't have to worry about the weird parameters of tar. Czf, xzf, and ztf have met all my needs. Sed, awk,... I only know a few commonly used command lines.

7. Don't be busy looking at the kernel source code

Unless you want to study the operating system, you'd better master how to use Linux first. I have read so much kernel source code and written drivers before, and it turns out that I am still a rookie who can't solve a lot of things with Linux. Learn from my lesson. You should first master the use and principles of shell,Xwindow. They are no simpler than the kernel.

The above is all the contents of the article "what do you need to pay attention to in learning Linux"? thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

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