At work, we need to record every command that the user executes and send it to the log server, and I have done a simple solution. This scheme sends every command executed by the user to the log daemon rsyslogd every time the user exits the login,
The recent period of time has been plagued by spam comments, the server was once too high and downtime, see: wordpress spam Comment defense. Start to try a lot of methods can not be a good solution to the problem, and finally by shielding spam
We need to edit the file.
The code is as follows
Copy Code
/etc/init.d/networking restart
Locate the Ifcfg-eth0 file and duplicate a copy of the renamed Ifcgf-eth0:0″
The code is as follows
About ViVi is the most popular full-screen document editor in the Unix world, and almost any UNIX machine can saywill provide this software. Linux Of course also has, its VI is actually Elvis (copyright question), but they allAlmost. Familiar with
Have a friend to ask me to do marketing? No, no, no!!!If you think so, why do you still want to consult? Send me a direct email with the latest tutorials in your hand to share the link, I must reply.No, it's useless to explain more ...I am an
SSH login with no password to use the public and private keys. Linux can be used to generate a public/private key pair with Ssh-keygen, below I take CentOS as an example.There is machine A (192.168.1.155), B (192.168.1.181). Now want to a through
Touch Modify Timestamp ( often used to create empty files )1 , command formatTouch [Options]file ...2 , command functions used to modify the file timestamp, access time, modification time, change time, if any parameters are not added by default
Script Programming Knowledge Points:* FILE=/USR/LOCAL/SRCtest=${file#*/}: $TEST result is usr/local/src, with/as keyword, delete all strings from the left number first/and key/left.dest=${file##*/}: $DEST result is src, with/keyword, delete the last
Chinese:
0: Turn off the machine1: Single-user mode2: Multi-user mode with no network support3: Multi-user mode with network support (text mode, the most commonly used mode in work)4: Reserved, not used5: Multi-user mode with network support
Linux Namespace IntroductionWe often hear that Docker is a virtualization tool that uses Linux Namespace and Cgroups, but what is Linux Namespace how it is used within Docker, and many of them are confused, Let's start by introducing Linux Namespace
Create a WiFi hotspot under linux:ubuntu16.04Description:1.ubuntu16.04 can create hotspots directly, instead of the previous version, as well as other assistive tools. 2. This article reproduces the self-programmed lifeThe steps are as follows:1.
The content originates from the people's post and Telecommunications press "Linux command Application big dictionary"tell 729 commands, 1935 examplesLearn about the Linux system's reference books, desk book, encountered the command or command not
LDAP Network SERVICE *******************What is 1.LDAP?LADAP Directory service authentication, similar to Windows Active Directory, is a way to record data 2.LADAP client required software SSSD //The service can be used to access a variety
Original: http://www.cnblogs.com/ggjucheng/archive/2012/01/08/2316399.htmlIntroductionThe top command is a common performance analysis tool under Linux that shows the resource usage of individual processes in the system in real time, similar to the
Mkswap Command Introduction:Used to create a formatted swap partition swap.1 . Command format:Free to view system memory usage-M: Displayed in m (default in bytes)[[email protected] ~]# freeTotal used free shared buffers Cachedmem:1938628 161284 177
Linux large files have been deleted, but df does not reduce the used space.Linux large files have been deleted, but df does not reduce the used space.
When the disk is full, you are about to delete some large files.
So I used ncdu to check the files
Enable the ftp service in centos, and enable the ftp service in centos
If you need to install the ftp service to access linux through ftp, vsftpd is a better FTP server in Linux.
1. Check and install vsftp
1 // check whether vsftpd 2 rpm-qa is
Basic monitoring-year-on-year alarms and year-on-year alarms
The year-on-year alarms of basic monitoring are mainly collected for server monitoring, including load (load1, load5, and load15), average CPU usage, memory usage, Intranet/Internet
Some time ago, a project memory leakage on the online server caused a large amount of memory to run, resulting in a problem on the entire server. Therefore, the memory limit needs to be fixed. Below is a simple record to change the jvm memory limit:[
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