The Internet first requires network card support. The default NIC in Linux is eth0, and the second net card is eth1. If the wireless card is used, it is wlan0. This can be found through ifconfig. The results are as follows. Where lo represents the
How to use Pam to lock multiple logon failed users in a Linux environmentModify the following file:/ETC/PAM.D/SSHD (remote SSH)/etc/pam.d/login (terminal)The contents are as follows:#%pam-1.0auth Required pam_tally2.so deny=3 unlock_time=120
In the process of testing, usually to contact the server, for the Linux server, summed up some common commands.
Preparatory workIn order to visually display the command results, a script is used to create a file that displays the contents
I. CACTI INTRODUCTIONCacti in English means the meaning of cactus, Cacti is a set of PHP, MySQL, SNMP and rrdtool development of network traffic monitoring graphical analysis tools. It uses Snmpget to get data, use RRDtool drawing graphics, its
Date Time command:DateFunction: Displays or sets the time date.Show time or Date:Date [option] ... [+format] Displays the time and date in the specified format.Option: OptionsFormat: Formatting symbols.Example:[Email protected]:~$ Date +%d10/07/17
Touch Flename Create a new fileThere are three major features of cat:1. Display the entire file at once.2. Create a file from the keyboard.Only new files can be created and existing files cannot be edited.3. Merging several files into one file> is
First, file browsingCat View File contents More page to view the contents of the file (only page down) less view the contents of the file as a page turn (can page up and down) Head view the first few lines of the file (default 10
In Linux, everything is a file. All things are files, including commands, hardware, and software.Linux does not differentiate files by extension, these conventional extensions (. gz,.rpm,.html,.sh) are just a token. Unlike Windows, the extensions in
This computer is missing vc2005_sp1_with_atl_fix_redist, please install any missingThe above columns have the following meanings:RRQM/S: The number of times per second read requests to the device are merged, and the file system merges requests to
If the mdadm.conf configuration file is not generated under/etc/when the raid is created
Please run: mdadm--detail--scan >>/etc/mdadm.conf
At this point you can: vim/etc/mdadm.conf
The problem is resolved after changing the/dev/md/localhost.
Often use Redhat files to download things, with CD-ROM too troublesome, directly copy the ISO file into the virtual machine, directly with the file mount.1, if it is temporarily hung in, Mount-loop/*.iso/dirfile. There must be a-loop option, and if
Configuration file, the system will read the information of this file during the startup process.[Email protected] ~]# Cat/etc/inittab# Inittab is a used by upstart for the default runlevel.## ADDING Other CONFIGURATION here would have NO EFFECT on
Linux Delete Folder commandLinux Delete directory is very simple, many people are still accustomed to use rmdir, but once the directory is not empty, it fell into deep distress, now use the RM-RF command.Direct RM is available, but add two
With it, you can fly yourself at the meeting![There are special egg at the bottom of the article] There is always a regular meeting, which makes people frown. Therefore, each time we mention:
Opening meeting
These two words give me the expressions:
In Centos 6.9, the default port of SSH is modified.
There are a lot of blogs about modifying the default SSH port of Centos6.5 in Linux. I won't bother here, but in the face of Centos 6.9, there will be a big pitfall;
After modifying iptables, run
Linux shell string truncation and splicing, linuxshell
Linux string truncation is very useful. There are eight methods.
Assume there are variablesVar = http://www.linuxidc.com/123.htm
1 # intercept, delete the characters on the left, and retain the
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