In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article introduces ten Linux novice administrators easy to make mistakes and convenience, the content is very detailed, interested friends can refer to, hope to be helpful to you.
If you are new to Linux, some common mistakes are likely to cause you trouble. By knowing them in advance, you can avoid major problems as you get familiar with Linux.
1 install software from different sources
Linux distributions generally have default package management software, such as yum, apt, etc., but sometimes you can compile and install from source code, or install binaries directly. Usually this will not be a problem, but the package management system of the system will not record the software you install, and if other software depends on the software you installed in other ways, it may not be available.
2 ignore updates
This may not be just a problem for Linux system administrators. Many system administrators do not want to do anything else after the system is configured, and think that the system is more stable and secure. Keeping up to date allows your system to constantly fix security vulnerabilities, especially if your server is on the network, you should let the system have an automatic update mechanism.
3 weak root password
Root password is very important, the security level should be higher than the average user, do not enter a short password to save trouble.
4 avoid using the command line
Sometimes the command line is simpler, faster, safer, and more stable. The average desktop user doesn't have to know the command line, but as a system administrator, at least know how to use the command line, master some basic commands, and learn to view manual.
5 does not retain an available kernel
When upgrading the kernel, delete the old kernel, and then encounter problems will be difficult to restore. You should keep the original available kernel and delete it after the new kernel is fully verified to be available.
6 No important files were backed up
If some applications or services are important to you and are not easy to configure, be sure to back up. You can quickly restore these configurations in the event of an accident, such as database, Web server configuration, and so on.
7 the server starts and X is enabled by default
If it is a dedicated server, generally do not need to open the desktop environment, it is recommended that X is not enabled by default, which takes up more resources. If you need a graphical interface, you can start it by executing the startx command at the terminal.
8 do not understand permissions
File permissions are divided into rwx (read, write, execute), do not execute chmod 777 at will to solve the problem of no file permissions. Assign reasonable users, groups, and corresponding permissions to the file according to your needs.
9 Log in as root user
Do not use root as the login user, log in with a normal user, and use su or sudo to switch when you need root permissions. Using root users all the time, it is easy to increase the seriousness of the harm caused by misoperation.
10 ignore log files
Log files are stored under / var/log. Be sure to check these files if you have problems running on your system. You can also use tools such as logwatch to generate reports based on log files and keep track of the health of the system on a regular basis.
On the ten Linux novice administrators easy to make mistakes what is convenient to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.