I. Introduction
Fail2ban can monitor your system logs, and then match the log error information (Regular Expression matching) to perform the corresponding blocking action (usually firewall ), for example, if someone is testing your SSH, SMTP, and
The official rpm package is for fedora, which is not well packaged and prone to various problems. Here we provide a third-party package, which can be directly installed and used. The installation is successful on centos 6 x64.
First install a
Today we will introduce a file name transcoding tool-convmv. convmv helps us easily encode and convert all files in one file and directory, such as converting gbk to utf8.Install yum install convmvSyntax:Convmv [options] FILE (S)... DIRECTORY
Installation instructions
System Environment: centos-6.3Installation Method: rpm InstallationSoftware: jdk-7-linux-x64.rpm: Http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html
Check the original system
1. display the 10 processes that consume the most memory/CPUPs aux | sort-nk + 4 | tailPs aux | sort-nk + 3 | tail2. view the number of concurrent Apache requests and their TCP connection statusNetstat-n | awk '/^ tcp/{++ S [$ NF]} END {for (a in S)
1. uname-a view OS details2. file/bin/lsHow many digits can be seen by displaying system program information3. Obtain the machine font LengthGetconf LONG_BIT4. view the OS version
Cat/proc/version
5. view detailed OS parameter information
Getconf-
1. Configure the local installation source of yum:Su-rootmkdir/mnt/cdrommount-t iso9660/dev/sr0/mnt/cdromcd/etc/yum. repos. d. Check whether the directory exists. create a repo suffix file if no repo suffix file exists. repo file. The file name is
1. Reference Links:---- You can configure the following link. in redhat linux, you can go back to the network card from which the destination address is the network card address:Http://bbs.chinaunix.net/thread-4871955-2-1.html#]
---- In actual tests,
The following is an example of 9.0.41. log on with an oracle userIf you want to install it again, you 'd better back up the data first.The script includes the user's login script, the script for automatic database startup and shutdown, and the
In order to allow China Unicom and telecom users to quickly access the website, the company's server is hosted in a dual-line dual-ip data center. When the server uses dual-line dual-ip addresses, You need to configure the route table. The solution
RAID Overview
RAID is short for Redundant Array of Inexpensive Disk.
Multiple disks are combined into an array, which can be used as a single disk. RAID disk array
Different techniques can be used to improve data read/write efficiency and improve
How to use the Windows Font in Linux
When we open files such as Word in Linux, we often find that many words cannot be correctly displayed. In fact, this is because most of the documents created in Windows use the font of, in Linux, this font is not
The Linux operating system is an open-source product and also an open-source software practice and application platform, under which countless open-source software support is provided, we often use apache, tomcat, mysql, php, etc. The biggest idea
1. switch back to the previous directory.
cd -
The horizontal bar indicates the path of the previous directory.
-It is actually a built-in variable $ owd.
2. replace a phrase in the previous command
^foo^bar^
The original style of this command
In Linux, almost all software is installed, uninstalled, and managed through RPM. RPM is called RedhatPackageManager. It is proposed by Redhat to manage software packages in Linux. In addition to several core modules, almost all other modules are
After CentOS has installed apache, mysql, and other server programs, It is not set to enable automatically after startup. To avoid restarting, you must manually enable the web and other servers, in fact, the setting is very simple.ChkconfigCommand.
1. Use the dd command to create a M file named vhost01.img:Dd if =/dev/zero ibs = 2 M count = 50 of =/data/htdocs/vhost01.imgExplanation:If =/dev/zero: indicates that the input file is/dev/zero, a virtual device. As the name suggests, all the data
The following are common iptables commands I have compiled:
Command-A, -- append
Example iptables-a input...
It indicates that a new rule is added to a Rule refining, And the rule will become the last rule in the Rule refining.
Command-D, --
When using LinuxVPS, we may find that the port is occupied and cannot be started. For example, HTTP occupies port 80 and FTP occupies port 21, which is caused by software conflict, or the port settings are incorrect. In this case, you need to check
Rm-rf mydir/* Delete the mydir directory */Cd mydir/* enter the mydir directory */Cd-/* Go back to the upper-level directory */Cd ~ /* Return to the root directory */Mv tools tool/* rename the tools directory to tool */Ln-s tool bac
/* Create a
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