CentOS has a pam_tally2.so PAM module to limit the number of logon failures. if the number of logon failures reaches the set threshold, the user is locked. Compile the PAM configuration file # vim/etc/pam. d/login # % PAM-1.0authrequired
CentOS has
Temporarily disable selinux: setenforce0 // Set SELinux to permissive mode to completely disable selinux: use root user, vim/etc/sysconfig/selinux, and change SELINUX = enforcing to SELINUX = disabled. It takes effect only after being restarted. Pro
In h, h refers to a human perspective, which is displayed in the format of GB and MB. This is quite common and there are other options. You can use mandf to view the information you need.
View the disk and directory capacity.
Df and du
Df means Disk
The server running environment is Tomcat. The purpose is to allow only specific IP addresses to access a directory. One way is to configure the file server in tomcat. in conf, use RemoteAddrValve to control access to the virtual host. The server
In awk, flow control statements, syntax structure, and C language type. The usage of each statement is as follows:
In the while, do-while, and for statements of linux awk, break and continue statements can be used to control the process and exit
Using OpenMP but using multiple threads for image processing enhances the processing capability by extending the CPU. GraphicsMagick can be used on most platforms. there are no problems with Linux, Mac, and Windows.
GraphicsMagick is known as the
Iptables is a common firewall software in Linux, the following describes how to install and clear iptables rules. iptables only opens the specified port and iptables shields the basic iptables applications, such as iptables, iptables, and iptables.
In today's multi-tenant data center environment, virtualization technology is expanding from traditional virtual machine management program-based server virtualization to network virtualization. In this environment, software-based virtual switches
There are three ways to set environment variables in Ubuntu: one for the current terminal, the other for the current user, and the other for all users. Next let's take a look at the specific settings. Ubuntu
I. used on the current terminal:
For a Linux newbie or Cainiao, using Linux commands to help execute tasks is a basic requirement. the following commands are the basic commands that every Linux newbie must master, let's start from here.
I. basic file directory operationsLs command:
The technical skills here were initially from Google's TestingontheToilet (TOTT ). Here is a revised and expanded version. Script security all my bash scripts have the following opening remarks :#! /Bin/bashset-onounsetset-oerrexit this will
This article describes how to modify the maximum number of files opened by the system in ubuntu. For more information, see Ubuntu.
Step 1: Configure/etc/security/limits. conf
Sudo vim/etc/security/limits. confAppend at the end of a fileCopy
This article mainly introduces how to install the highlighted vim editing tool in the CentOS system. For more information, see CentOS.
After Centos is installed, the VI editor is installed by default and VIM is not installed. Therefore, when using
When installing software using source code files in UbuntuLinux, the chmod command is often used to change the file permission so that the permission label executed during installation is Ubuntu.
It is often used to install software using source
If you are looking for a very easy-to-use Linux performance monitoring tool, I strongly recommend installing and using the Nmon command line utility. Nmon monitoring tool Nmon is a system administrator tuning and benchmarking tool, it can be used to
After we have configured a web service for a Linux server, we need to upload a website program to verify that the server is running normally. This requires ftp support. This article will explain how to use it, detailed steps for installing the ftp
This section roughly summarizes the compression and decompression methods for various formats of compressed packages in linux. However, I have not used some of the methods. I hope you can help me with them. I will modify them at any time. thank you!
I. how to create multiple users remind everyone not to use root users all the time, because root users have the highest power in the system and may damage the system accidentally. For example, if we want to delete the files in the/temp directory but
In fact, there are many vulnerabilities in the original SSH server settings, but network administrators generally like this default setting and think that everything is okay as long as the root password is saved. When I used to integrate with
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service