Advice for learning - seven tips for learning Linux

  


You are learning LInux, photshop, ……, no matter what you are studying, you must first sort out, what are we for? And learning, and then seriously, really move toward the goal. Then you will not be confused in the learning process.

1. To play Linux”

Many people will feel confused when using Linux. Which one should I use? Is it something I have installed? How to upgrade so fast? How is it so unstable! Whenever you encounter new software, he wants to try it out. Whenever a new version appears, he updates it, and then uses the mouse to select a program that he has never seen before in the new menu.

In fact, you are using Linux for Linux, but you have not found the right reason to use Linux. You must first clearly define the purpose of using the computer. You use it to solve your actual problems, not to learn to install the operating system, not to test which version is easy to use, not to "catch the trend", not because of you. The hard drive is too big, you want to take up more space.

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


2, no need to pick the release version

When many people just started using Linux, they are always wondering if other distributions are better than the ones they are using. I always suspect that I will lose support in the future and have to switch to another issue. So many people are Redhat today, and they will be replaced by debian tomorrow, and then gentoo, …… Some people even have two versions of Linux on one machine, and then compare which one is better.

In fact, you don't have to do this at all. Any release, as long as you are familiar with it, your work on it will hardly be affected. You often hear that Debian updates are faster than Redhat, and there are more packages than Redhat, but you can do it faster than Debian updates. Download the source code directly to the main site of the program you need to compile.

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


3, don't be a "missionary" & rdquo;

Many people in the discussion area continue to cause discussions such as "Linux vs. Windows", and even argue The red face is red, this is not necessary. Because each person's needs are different and the environment of life is different, you can't get a conclusion. We need to respect the choices of others. This is something you need to remind yourself before you discuss any tools. Face something that is controversial: Word and TeX; Emacs and VIM; MAXIMA, Mathematica and Maple; Gnome, FVWM and KDE; Mutt and Pine … …

What you need to care about is not what your tool is, but what you do with it. Being proficient in Linux doesn't tell you anything, because it's just a tool. If you use Windows to do your job well, you don't have to spend time getting familiar with Linux. Until one day you find that a task can only be completed when Linux is complete, it is not too late, because the Linux enthusiasts around you will be happy to help you.

Not like a thing, you must oppose others. The world needs diversity and people need FUN. Using your own interests to suppress others will destroy all interests. What do people like when they like it, there is absolutely no need to argue for this.

Don't do "missionaries"! You said that I am now in the "mission" & rdquo;? 冤枉 ah ~


4, directly from the source installation program < Br>

Many people don't have the latest source code, waiting for someone to help him make rpm, deb, to install. I said why you don't compile with source code, so the version is much higher than rpm, there are many new features, and there are no annoying dependencies. But he said: "If I use the source code to compile and install, it is inconvenient to uninstall, it 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 way to find the program to try it out, but you should first understand the program. Have the same function, listen to other people's opinions, see what their strengths and weaknesses are, and then pick the one that works best for you.

Compiling the installer from source, not only is better for your own machine setup than installing rpm, but they are usually loaded into the /usr/local directory, so you can reinstall the system if you change the hard drive later. The program under /usr/local is used as it is. I have 2G programs under /usr/local. Do you want to have a new machine to reinstall and then configure, how long does it take? In fact, I used to transfer them to a new machine through the network, and then Going out for dinner, when I came back I got another Linux machine that was the same.

What if you want to uninstall the make install program? The answer is to delete it directly. Don't think that deleting the program directly will leave garbage, causing "system instability”. (btw: Who taught you this? Ha ha.) make install nothing more than put the executable in /usr/local/bin, put some libraries in /usr/local/lib, put the data files /usr/local/share The next directory of its own, you can delete these things, it will not leave garbage, even if you really leave a file without deleting it, it will not occupy much space, and it is impossible to cause the system. Unstable. UNIX is as simple as that.

But there are several programs that are not recommended to be installed from source. They are Mozilla, Open Office, ... they will take up a bit of G space and several hours of time when compiling. It's not worth it, because you can't get more benefits from compiling, it's better to install the compiled version directly.


5, don't blindly upgrade

I don't know if this is a psychological effect or something. Some people will see a larger version number and will want to change it. . Many people's Redhat was originally configured very comfortable, but once Redhat releases a new version, they will download it as soon as possible, and then choose to upgrade the installation. As a result, many of the configuration files that were originally modified very well were washed away. The new software brings new problems. For example, once my rxvt upgraded to 2.7.8, it conflicted with miniChinput. After upgrading to Redhat 8.0, I found that xmms can't put mp3 by default. XFree86's xtt module is on I810. There are new bugs that will cause Mozilla to suddenly quit.

If you have configured everything, don't upgrade it as a whole, it will waste you a lot of time, not worth it. If you need to, you can only upgrade some components, such as kernel, glibc, gcc, XFree86,...

Using UNIX classic programs

Good programs are generally very It's convenient to port on a variety of UNIX, bash, VIM, Emacs, Mutt, FVWM, xterm. If you use these programs, you can install them on workstations such as Sun, HP, ..., so that your working environment on almost all models is almost the same! You don't need to use CDE on Sun. Switch to KDE on the PC, install an FVWM on them, and use the same configuration file to get a consistent interface.

Most of these programs are tried and tested and are the result of many years of development. They are fully functional, and all kinds of situations are well thought out. It is definitely your good assistant.


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

If you only want to be a regular user like me, the main purpose is to use Linux to complete your own research. Tasks and day-to-day work, you can ask yourself without the standards of a system administrator or network administrator, because when a system and network administrator is really hard. Ordinary users learn the tools of the complicated maintenance system that are not often used. It is a waste of time. If you don't learn it, you will soon forget it!

I am not a qualified network administrator, my server is I only set up the functions I need, set up ssh, ftp is enough, it can save me a lot of trouble. I never think too much about "security" because Linux is already safe by default. I don't have a tape drive, I don't have to worry about the strange parameters of tar, czf, xzf, ztf can meet all my needs. Sed, awk, ... I also have only a few common command lines.


7, do not have to look at the kernel source

Unless you want to study the operating system, otherwise you should first use Linux to master it. I used to read so many kernel source code and wrote the driver. In the end, I found out that I still learn a lot of things that I can't solve with Linux. You should first master the use and principle of shell, Xwindow. Simpler than the kernel.

Copyright © Windows knowledge All Rights Reserved