Home Backend Development PHP Tutorial Some suggestions for starting to learn Linux

Some suggestions for starting to learn Linux

Jul 25, 2016 am 08:55 AM


Recommended reader range
Those with development experience.
Scientific staff (by its Numrical).
Strong hands-on skills.
I’m just curious. If you’ve only scratched the surface of Linux, I don’t recommend reading further.
Have a correct learning attitude
Linux is not equal to a hacker (or Cracker).
Of course, it is well known that many "hacking tools" are on the Linux platform. I have helped many Linux novices find that they all end up in the same direction like Aircrack-ng.
But what they don’t know is:
Linux is just a tool. A tool is not an end, but a means. this point is very important.
Linux can quickly achieve your needs. Because it is a professional level tool.
Tools have their own pros and cons, and people cannot compare.
Understand QQ group correctly.
There are too many divers
There are almost no serious people who help others. There will not be more than 5 active and willing experts among a thousand people.
In addition, if you ask too many meaningless questions, nonsensical questions (questions that have no cause and effect, and are asked without knowing what to do), all the experts will leave. Unwilling to answer.
Linux and Windows
There is no need to compare. I personally think that the current needs that the operating systems meet are different.
Use whichever one you are used to on your desktop. The two are not incompatible.
Which articles are necessary to read and which articles are not necessary?
Trash articles, discussing which one is good and which one is bad.
As soon as I read the article, it was just a note, not for others to read.
The PageRank of Baidu articles for non-hot search terms is really very bad.
About English
Manual is all in English
Everyone speaks English on the Mailing list and IRC
You need to use English when emailing to discuss with foreign experts.
Google search for key questions must be in English.
There’s no way to escape, so you have to use English.
You won’t learn English well if you don’t know English. It’s just that it may be a little slower and more difficult than people who know English.
Learning Linux is not just about installing the system. You need to learn what Linux is good at, rather than compare with Windows on its weak side, but the new Microsoft (DotNet open source, the new Windows 10 has been good for developers, and the CEO of technology...), and the Ubuntu branch The rising star Deepin Linux is sure to shine in the future. Although PC has been weak.
About development
If you want to work with Linux. So Linux and development are definitely not separate things.
It’s impossible for developers to know a little bit about Linux operation and maintenance, because they don’t know how to set up an environment and develop.
It is impossible for a good operation and maintenance to not understand development. The most appropriate example: operation and maintenance scripts. Server status data visualization (Gnuplot, although cacti is already available) and so on.
Release version
Since we are here to learn and solve problems around us. Then don’t think about whether it is good or not, but think about what is good and what is not. Give some relevant examples.
In terms of service, if you use Linux for traditional LAMP business and want a stable and long-term maintained version, then the RHEL (CentOS) series is more suitable for you.
Now is the era of Linux 3.0, which is in the stage of rapid version number (it is said that I will take off my socks and prepare to switch to 4.0 after 3.19), and all kinds of new features are blooming. Therefore, if you want to use newer features, please use a newer release version (Ubuntu, Fedora, etc.)
Objectively speaking, the choice of release version:
Choose the one with more users, because the community is huge and seeking The probability of getting help is relatively high. And there will be relatively few BUGs.
Choose according to the application. If it is routing, then choose OpenWRT. If it is Raspberry Pi, etc., there are many choices, but for stable operation, please choose the officially provided Image. It will be more convenient.
Recommended distribution version
Recommended LFS
Maybe many people will hold different opinions. However, if you use the CentOS 6 version of LFS and follow the tutorial strictly, the installation will be completed very easily.
Since it is so easy, why do I still recommend LFS as the learning version for learning Linux for the first time?
You will become familiar with many Linux commands during the installation process.
You will also become familiar with how Linux is organized and run. When you encounter problems, you won’t scratch your beard and eyebrows. Because it is indeed not a very simple small system.
You will have the opportunity to become familiar with various Linux modules and understand what is the Linux kernel, where is the Linux kernel, and where is Linux. It will bypass many pitfalls.
No matter which distribution version you choose: learning knowledge and better learning methods (learning methods, problem-solving methods, search methods, etc. are all beneficial).
Do you want a desktop?
It is recommended not to use the desktop.
If you are using Windows, it is recommended to use VirtualBox+headerLess to create a tray+Putty remote control.
If you are on a Mac, it is recommended to use the VBoxHeadless command line to run with Screen suspension.
Learn the configuration of Linux
Because it is not suitable to install Linux directly at the beginning of learning (if you are not a super enthusiast, it is more appropriate to choose virtual machine Linux, because now we have reached the cloud era)
Select single-core or dual-core for virtual machine configuration ( If your machine configuration is high, you can choose higher). If it is only for personal use, 512MB of memory is enough. It's already very big. Generally, streaking Linux uses less than 100MB of memory under normal circumstances.
How to ask questions
Please don’t ask questions easily, because every time you ask someone to help solve a problem, you not only take up other people’s time, but most importantly, you lose an important learning opportunity.
Don’t ask questions in the qq group easily, because there are many, many people in the qq group who only know how to install Linux and discuss Wine and Compiz issues, as well as ask some questions about QQ installation.
Please go to the Mailing List to see how others have asked questions. And you can see what kind of questions will have results and what kind of questions will be answered by many people.
Receive LAMP Brothers’ original PHP video tutorial CD/"Essential PHP in Details" for free. For details, please contact the official website customer service:
http://www.lampbrother.net
PHPCMSSecond Development http://yun.itxdl.cn/online/phpcms/index.php?u=5
WeChat development http://yun.itxdl.cn/online/weixin/index .php?u=5
Mobile Internet Server Side Development http://yun.itxdl.cn/online/server/index.php?u=5
JavascriptCourse http://yun.itxdl.cn/online/js/index.php?u=5
CTOTraining Camp http://yun.itxdl.cn/online/cto/ index.php?u=5



Statement of this Website
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

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

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Apr 05, 2025 am 12:04 AM

JWT is an open standard based on JSON, used to securely transmit information between parties, mainly for identity authentication and information exchange. 1. JWT consists of three parts: Header, Payload and Signature. 2. The working principle of JWT includes three steps: generating JWT, verifying JWT and parsing Payload. 3. When using JWT for authentication in PHP, JWT can be generated and verified, and user role and permission information can be included in advanced usage. 4. Common errors include signature verification failure, token expiration, and payload oversized. Debugging skills include using debugging tools and logging. 5. Performance optimization and best practices include using appropriate signature algorithms, setting validity periods reasonably,

How does session hijacking work and how can you mitigate it in PHP? How does session hijacking work and how can you mitigate it in PHP? Apr 06, 2025 am 12:02 AM

Session hijacking can be achieved through the following steps: 1. Obtain the session ID, 2. Use the session ID, 3. Keep the session active. The methods to prevent session hijacking in PHP include: 1. Use the session_regenerate_id() function to regenerate the session ID, 2. Store session data through the database, 3. Ensure that all session data is transmitted through HTTPS.

Describe the SOLID principles and how they apply to PHP development. Describe the SOLID principles and how they apply to PHP development. Apr 03, 2025 am 12:04 AM

The application of SOLID principle in PHP development includes: 1. Single responsibility principle (SRP): Each class is responsible for only one function. 2. Open and close principle (OCP): Changes are achieved through extension rather than modification. 3. Lisch's Substitution Principle (LSP): Subclasses can replace base classes without affecting program accuracy. 4. Interface isolation principle (ISP): Use fine-grained interfaces to avoid dependencies and unused methods. 5. Dependency inversion principle (DIP): High and low-level modules rely on abstraction and are implemented through dependency injection.

How to debug CLI mode in PHPStorm? How to debug CLI mode in PHPStorm? Apr 01, 2025 pm 02:57 PM

How to debug CLI mode in PHPStorm? When developing with PHPStorm, sometimes we need to debug PHP in command line interface (CLI) mode...

Framework Security Features: Protecting against vulnerabilities. Framework Security Features: Protecting against vulnerabilities. Mar 28, 2025 pm 05:11 PM

Article discusses essential security features in frameworks to protect against vulnerabilities, including input validation, authentication, and regular updates.

How to automatically set permissions of unixsocket after system restart? How to automatically set permissions of unixsocket after system restart? Mar 31, 2025 pm 11:54 PM

How to automatically set the permissions of unixsocket after the system restarts. Every time the system restarts, we need to execute the following command to modify the permissions of unixsocket: sudo...

Explain late static binding in PHP (static::). Explain late static binding in PHP (static::). Apr 03, 2025 am 12:04 AM

Static binding (static::) implements late static binding (LSB) in PHP, allowing calling classes to be referenced in static contexts rather than defining classes. 1) The parsing process is performed at runtime, 2) Look up the call class in the inheritance relationship, 3) It may bring performance overhead.

See all articles