Fail2ban can monitor your system log, and then match the log error message (regular match) to perform the appropriate shielding action (in general, call the firewall screen), such as: When someone is testing your ssh, SMTP, ftp password, as long as
ACL permission control
Set ACL permissions: Setfacl
To view ACL permissions: Getfacl
The main purpose of ACL privilege control is to provide specific permission settings beyond the traditional Owner,group,other Read,wirte,execute permissions, and
Maintaining, maintaining, and analyzing logs, such as those that have occurred in a given period or are occurring, is one of the most basic and important tasks for Linux system administrators. For user management, checking the user's login and
The approximate process is:
First install VSFTP.
1 Installation vsftpdYum Install vsftpdPress Y to enter, the system installs automatically/ETC/INIT.D/VSFTPD Start #启动vsftpdService VSFTPD Restart #重启Service VSFTPD Stop #停止Chkconfig vsftpd on
Forwarding from one computer to another port
Enable the network card forwarding feature#echo 1 >/proc/sys/net/ipv4/ip_forward
Example: Access to 192.168.0.211:1521 Port from 192.168.0.132:21521 (new port)A. The same port forwarding (192.168.0.132 152
The purpose of this is for the company's research and development department to visit foreign websites through Hong Kong's servers, just mark it, maybe later, and not spend any more time studying it.
CentOS 5.x/6.x under PPTP VPN server
Recent unit live more, so very little update, at night the internet happened to see an introduction about Sersync, personal feeling more standard than rsync+inotify configuration, just recently preface, summed up under, share to everyone.
The
In the experimental environment, the latest CentOS 7.4 operating system has been installed, and the kernel version needs to be upgraded now. Experimental Environment
Centos-7-x86_64-minimal-1708.isoCentOS Linux release 7.4.1708 (Core)Kernel 3.10.0-69
CentOS 7.0 System changes kernel boot order
Since CentOS 7 uses GRUB2 as the boot program, it differs from CentOS 6 and does not modify the/etc/grub.conf to modify the startup item, which requires the following actions:1. Look at the number of
1. Introduction1.1MemcachedMemcached is an open-source, high-performance, pure memory caching service software.MySQL database belongs to the database on disk, the data read and write is slow, and the memcached database belongs to the in-memory
Linux redhat Red Hat centos command formatCommand format: command [-function options] [object parameters]Feature options: Fine-tune the command function to display different results; object parameters: The Action object of the command. There may be
Centos 6.2 64-bit kernel version is 2.6.32-220. el6.i686 and CEpH clients have been integrated in Versions later than 2.6.34. Obviously, centos6.2 does not have a Client client. Since I have installed ceph0.47.2 in Ubuntu 11.10 64-bit, in addition,
(The original address is lost... after centos 5.2 is installed with an IP address, the IP address still cannot access the Internet, the gateway cannot be pinged, and other hosts in the LAN cannot be pinged. Previously
Once installed on a computer,
The released space may come from some programs that haven't been operated for a long time. The released space is temporarily saved to the Swap space and will be executed by those programs, then, the stored data is restored from Swap to the memory.
1. Enter (optional) mount | grep ''on/''in the command line /''Obtain the root user's partition/dev/your_partition.2. EnterFsck-y/dev/root# Fsck-y/dev/your_partition# Check and fix the disk/dev/root. The-y option specifies that "yes" is
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