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
|

Reasons for PHPSession failure include configuration errors, cookie issues, and session expiration. 1. Configuration error: Check and set the correct session.save_path. 2.Cookie problem: Make sure the cookie is set correctly. 3.Session expires: Adjust session.gc_maxlifetime value to extend session time.

Methods to debug session problems in PHP include: 1. Check whether the session is started correctly; 2. Verify the delivery of the session ID; 3. Check the storage and reading of session data; 4. Check the server configuration. By outputting session ID and data, viewing session file content, etc., you can effectively diagnose and solve session-related problems.

Multiple calls to session_start() will result in warning messages and possible data overwrites. 1) PHP will issue a warning, prompting that the session has been started. 2) It may cause unexpected overwriting of session data. 3) Use session_status() to check the session status to avoid repeated calls.

Configuring the session lifecycle in PHP can be achieved by setting session.gc_maxlifetime and session.cookie_lifetime. 1) session.gc_maxlifetime controls the survival time of server-side session data, 2) session.cookie_lifetime controls the life cycle of client cookies. When set to 0, the cookie expires when the browser is closed.

The main advantages of using database storage sessions include persistence, scalability, and security. 1. Persistence: Even if the server restarts, the session data can remain unchanged. 2. Scalability: Applicable to distributed systems, ensuring that session data is synchronized between multiple servers. 3. Security: The database provides encrypted storage to protect sensitive information.

Implementing custom session processing in PHP can be done by implementing the SessionHandlerInterface interface. The specific steps include: 1) Creating a class that implements SessionHandlerInterface, such as CustomSessionHandler; 2) Rewriting methods in the interface (such as open, close, read, write, destroy, gc) to define the life cycle and storage method of session data; 3) Register a custom session processor in a PHP script and start the session. This allows data to be stored in media such as MySQL and Redis to improve performance, security and scalability.

SessionID is a mechanism used in web applications to track user session status. 1. It is a randomly generated string used to maintain user's identity information during multiple interactions between the user and the server. 2. The server generates and sends it to the client through cookies or URL parameters to help identify and associate these requests in multiple requests of the user. 3. Generation usually uses random algorithms to ensure uniqueness and unpredictability. 4. In actual development, in-memory databases such as Redis can be used to store session data to improve performance and security.

Managing sessions in stateless environments such as APIs can be achieved by using JWT or cookies. 1. JWT is suitable for statelessness and scalability, but it is large in size when it comes to big data. 2.Cookies are more traditional and easy to implement, but they need to be configured with caution to ensure security.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SublimeText3 Linux new version
SublimeText3 Linux latest version

Notepad++7.3.1
Easy-to-use and free code editor

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software
