search
HomeBackend DevelopmentPHP TutorialNewbies must do these four things if they want to learn the Linux system well

Newbies must do these four things if they want to learn the Linux system well.

Generally, most people don’t have many opportunities to come into contact with Linux, and they know nothing about development under the Linux platform. But the current development trend is increasingly showing that: whether as an excellent software developer or a practitioner in the Internet or IT industry, mastering Linux is a very important resource and means of making a living. Many signs indicate that this is a Great plus. Next, I will combine my several years of personal experience to talk about Linux learning methods and some things that should be paid attention to during learning.

Cultivate patience and interest

Interest is the best teacher. It is recommended that you explore the advantages and characteristics of Linux. Understanding these can improve your favorability of Linux. Try to understand and learn these advantages and master some Elementary "black magic", I believe your heart will slowly be captured by Linux.

Getting started with Linux is actually very simple. The question is whether you can have enough patience, spend the appropriate time and energy to fiddle with it, and whether you do not reject the boring and omnipotent learning method of reinstalling the system. If you don't want to mess around, it can be said that you can't learn Linux well. You need to truly understand the partitioning mechanism of Linux and be quite proficient in using LVM. You can't accumulate more than 20 Linux installation experience, so don't be afraid of messing around.

Since everyone has used Windows before, I try to take care of these "newbies" as much as possible. If you are coming into contact with Linux for the first time, it is first recommended to try to install and run it in a virtual machine. Virtual machine Virtual Box and VMware Workstation. The former is open source and free, while the latter is closed source and paid. I have used both. The former is free, but its performance is not as good as the latter. If you have enough money, you can try the genuine VMware Workstation. In addition, the installation package of Virtual Box is very small. The installation package under Windows platform is about 90MB, while VMware Workstation is generally more than 600MB. The Linux system download address is: http://www.linuxprobe.com/tools

Regarding which Linux distribution to learn, In fact, the basic commands of Linux are universal. If you learn them well on one platform, you basically don’t need to spend much effort to relearn them on other platforms. In addition, I still recommend that if you are in the direction of software development, Ubuntu is the first choice. It focuses on the desktop user experience, has a gorgeous interface, fast updates, and many functions. When choosing a version, it is best to choose the LTS (Long Term Support) version. If you are in the direction of server operation and maintenance, or have high performance requirements and good stability, choose CentOS and RedHat Enterprise Linux. In the field of domestic server systems, these two Linux distributions have a high share. You can search for the specific differences between them. Search it.

Choose a book and learn it thoroughly!

Next, you need to choose a book, then read it with concentration and absorb it. I have seen many beginners buy a lot of books or videos at the beginning. I'll look at this, and I'll look at that later. But what? There is no progress in technology at all, so beginners should remember: "Don't look at the height of this mountain and end up without success."

Should I choose books or videos? The efficiency of videos is really very low. Compared with reading books, I think the efficiency is at least half lower, so I suggest reading books directly, or looking for better introductory posts online. of. In short, video is not the first choice. If you have more time, it is okay.

Even for a very ordinary book, if you understand it thoroughly, it will make great progress for beginners. Therefore, you really have to choose one book and be determined not to continue with another one until you finish it or finish it. For books about Linux, I recommend "This is how you should learn Linux". This book covers everything from the most basic installation of Linux systems to advanced service deployment, and the content completely covers the scope of the Red Hat RHCSA + RHCE certification exam. It is also very beneficial for friends who have obtained certificates. It refines Linux knowledge, saves beginners a lot of time and avoids many detours. You can first search this book on Baidu, look at the book's catalog, and then decide whether you want to use this book. I believe you won't be disappointed. If you don't like it, you can choose what you like, but please insist on eating it thoroughly.

If you are traveling with three people, you must have me as your teacher!

Choose two or three Linux groups and join them. Group members who usually take group friends' problems seriously can add that when you have questions, you can ask him. In addition, when you ask questions, please try to solve them yourself first, Baidu | Google. In the end, if you really can't solve the problem, ask again. This will firstly improve your ability to solve problems, and secondly, cultivate the habit of solving problems independently. Regarding how to ask questions, this is also a science. Don't just ask random questions. Please describe your problem in detail. In what environment did you encounter the problem? What version? What kind of attempts did you make, but still can't solve it? , what is the prompt given by the system? This is a complete and efficient question. Sometimes it’s not that people don’t want you to ask questions, but that your level of asking is too low. If I want to answer you, I have to ask you a few questions to confirm some situations. What a waste of people’s time. Everyone’s time is precious, and no one is obligated to answer your questions. Therefore, when asking questions, you need to consider the feelings of the person helping you.

Learning is to cultivate your mind

No matter what technology it is, if you don’t have a certain interest, facing the software interface and command line every day will become very boring and boring after a long time. This is why I put interest at the beginning of the article. After a period of time, you may enter a good situation, or you may want to give up. I want to say to those who want to give up: learning is inherently a kind of practice. People tend to choose things that feel comfortable in their hearts. If you want to give up at this time, it is because you feel that it is unbearable in your heart. If you follow your heart at this time, you will be defeated by yourself. In the process of growing up, every time you grow up, you decide against the comfortable choice. Staying away from the comfort zone will allow you to grow. At work, you will not grow if you always do the job you are comfortable with. If you do high-level tasks, you will not grow up. Only by working a little bit based on your ability will you grow. If you continue to accumulate "little by little", one day you will find that your accumulation is very huge. This is also the "compound interest" in mathematics. I believe that those friends who can refuse to stay in their comfort zone will keep moving forward on this learning path. I believe that you can gain from learning Linux, but the premise is still: patience, persistence, and persistence.


Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Dependency Injection in PHP: Avoiding Common PitfallsDependency Injection in PHP: Avoiding Common PitfallsMay 16, 2025 am 12:17 AM

DependencyInjection(DI)inPHPenhancescodeflexibilityandtestabilitybydecouplingdependencycreationfromusage.ToimplementDIeffectively:1)UseDIcontainersjudiciouslytoavoidover-engineering.2)Avoidconstructoroverloadbylimitingdependenciestothreeorfour.3)Adhe

How to Speed Up Your PHP Website: Performance TuningHow to Speed Up Your PHP Website: Performance TuningMay 16, 2025 am 12:12 AM

ToimproveyourPHPwebsite'sperformance,usethesestrategies:1)ImplementopcodecachingwithOPcachetospeedupscriptinterpretation.2)Optimizedatabasequeriesbyselectingonlynecessaryfields.3)UsecachingsystemslikeRedisorMemcachedtoreducedatabaseload.4)Applyasynch

Sending Mass Emails with PHP: Is it Possible?Sending Mass Emails with PHP: Is it Possible?May 16, 2025 am 12:10 AM

Yes,itispossibletosendmassemailswithPHP.1)UselibrarieslikePHPMailerorSwiftMailerforefficientemailsending.2)Implementdelaysbetweenemailstoavoidspamflags.3)Personalizeemailsusingdynamiccontenttoimproveengagement.4)UsequeuesystemslikeRabbitMQorRedisforb

What is the purpose of Dependency Injection in PHP?What is the purpose of Dependency Injection in PHP?May 16, 2025 am 12:10 AM

DependencyInjection(DI)inPHPisadesignpatternthatachievesInversionofControl(IoC)byallowingdependenciestobeinjectedintoclasses,enhancingmodularity,testability,andflexibility.DIdecouplesclassesfromspecificimplementations,makingcodemoremanageableandadapt

How to send an email using PHP?How to send an email using PHP?May 16, 2025 am 12:03 AM

The best ways to send emails using PHP include: 1. Use PHP's mail() function to basic sending; 2. Use PHPMailer library to send more complex HTML mail; 3. Use transactional mail services such as SendGrid to improve reliability and analysis capabilities. With these methods, you can ensure that emails not only reach the inbox, but also attract recipients.

How to calculate the total number of elements in a PHP multidimensional array?How to calculate the total number of elements in a PHP multidimensional array?May 15, 2025 pm 09:00 PM

Calculating the total number of elements in a PHP multidimensional array can be done using recursive or iterative methods. 1. The recursive method counts by traversing the array and recursively processing nested arrays. 2. The iterative method uses the stack to simulate recursion to avoid depth problems. 3. The array_walk_recursive function can also be implemented, but it requires manual counting.

What are the characteristics of do-while loops in PHP?What are the characteristics of do-while loops in PHP?May 15, 2025 pm 08:57 PM

In PHP, the characteristic of a do-while loop is to ensure that the loop body is executed at least once, and then decide whether to continue the loop based on the conditions. 1) It executes the loop body before conditional checking, suitable for scenarios where operations need to be performed at least once, such as user input verification and menu systems. 2) However, the syntax of the do-while loop can cause confusion among newbies and may add unnecessary performance overhead.

How to hash strings in PHP?How to hash strings in PHP?May 15, 2025 pm 08:54 PM

Efficient hashing strings in PHP can use the following methods: 1. Use the md5 function for fast hashing, but is not suitable for password storage. 2. Use the sha256 function to improve security. 3. Use the password_hash function to process passwords to provide the highest security and convenience.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool