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)

Hot Topics

Java Tutorial
1655
14
PHP Tutorial
1255
29
C# Tutorial
1228
24
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.

How do you handle exceptions effectively in PHP (try, catch, finally, throw)? How do you handle exceptions effectively in PHP (try, catch, finally, throw)? Apr 05, 2025 am 12:03 AM

In PHP, exception handling is achieved through the try, catch, finally, and throw keywords. 1) The try block surrounds the code that may throw exceptions; 2) The catch block handles exceptions; 3) Finally block ensures that the code is always executed; 4) throw is used to manually throw exceptions. These mechanisms help improve the robustness and maintainability of your code.

Explain different error types in PHP (Notice, Warning, Fatal Error, Parse Error). Explain different error types in PHP (Notice, Warning, Fatal Error, Parse Error). Apr 08, 2025 am 12:03 AM

There are four main error types in PHP: 1.Notice: the slightest, will not interrupt the program, such as accessing undefined variables; 2. Warning: serious than Notice, will not terminate the program, such as containing no files; 3. FatalError: the most serious, will terminate the program, such as calling no function; 4. ParseError: syntax error, will prevent the program from being executed, such as forgetting to add the end tag.

What is the difference between include, require, include_once, require_once? What is the difference between include, require, include_once, require_once? Apr 05, 2025 am 12:07 AM

In PHP, the difference between include, require, include_once, require_once is: 1) include generates a warning and continues to execute, 2) require generates a fatal error and stops execution, 3) include_once and require_once prevent repeated inclusions. The choice of these functions depends on the importance of the file and whether it is necessary to prevent duplicate inclusion. Rational use can improve the readability and maintainability of the code.

PHP and Python: Comparing Two Popular Programming Languages PHP and Python: Comparing Two Popular Programming Languages Apr 14, 2025 am 12:13 AM

PHP and Python each have their own advantages, and choose according to project requirements. 1.PHP is suitable for web development, especially for rapid development and maintenance of websites. 2. Python is suitable for data science, machine learning and artificial intelligence, with concise syntax and suitable for beginners.

What are HTTP request methods (GET, POST, PUT, DELETE, etc.) and when should each be used? What are HTTP request methods (GET, POST, PUT, DELETE, etc.) and when should each be used? Apr 09, 2025 am 12:09 AM

HTTP request methods include GET, POST, PUT and DELETE, which are used to obtain, submit, update and delete resources respectively. 1. The GET method is used to obtain resources and is suitable for read operations. 2. The POST method is used to submit data and is often used to create new resources. 3. The PUT method is used to update resources and is suitable for complete updates. 4. The DELETE method is used to delete resources and is suitable for deletion operations.

PHP: A Key Language for Web Development PHP: A Key Language for Web Development Apr 13, 2025 am 12:08 AM

PHP is a scripting language widely used on the server side, especially suitable for web development. 1.PHP can embed HTML, process HTTP requests and responses, and supports a variety of databases. 2.PHP is used to generate dynamic web content, process form data, access databases, etc., with strong community support and open source resources. 3. PHP is an interpreted language, and the execution process includes lexical analysis, grammatical analysis, compilation and execution. 4.PHP can be combined with MySQL for advanced applications such as user registration systems. 5. When debugging PHP, you can use functions such as error_reporting() and var_dump(). 6. Optimize PHP code to use caching mechanisms, optimize database queries and use built-in functions. 7

See all articles