Set up Email alerts for SSH logins on Linux

VPS Enable SSH service to expose the server to the Internet, providing an opportunity for hacker attacks, especially when the VPS also allows root direct access. The VPS should successfully attempt to configure an automatic email alert for each SSH

I am installing the Apache-2.0.44 process under Redhat Linux 6.2

I am the first time oh ... Cost me an all-night, failed four times, finally installed successfully found that the original is their own carelessness, Hongo, just loaded Apache to come up to the successful installation of the process written down ...

Linux RABBITMQ Boot script operations tutorial

Log a RABBITMQ startup script, and modify some of the parameters to use.Vi/etc/init.d/rabbitmq-server #脚本内容, see the diagram, you need to modify the parameterschmod +x/etc/init.d/rabbitmq-serverChkconfig--add Rabbitmq-serverChkconfig Rabbitmq-server

Linux Haproxy startup script sharing

#!/bin/bash#created by Teddylu on 2014-1-15#used for haproxy-1.4.26Base= "/application/haproxy"prog= $BASE/sbin/haproxypidfile= $BASE/var/run/haproxy.pidconffile= $BASE/conf/haproxy.confCase "$" inStart# $PROG-F $CONFFILE >/dev/null 2>&1$PROG-F

Linux see. bash_pfofile, Bash_logout and. BASHRC Introduction

. bash_profile file . Bash_profile is the most important file that is read every time a user logs on to the system and contains commands that are executed by bash.This file defines the basic environment for a user's login account: including path

Linux system DD Command use method Encyclopedia

DD is a very useful command under Linux/unix to copy a file with a block of a specified size and to make a specified conversion at the same time as a copy. Name: DD Use rights: All user dd This instruction is defined in manual as convert and copy

QQ fan benefits, tell you how to install QQ2014 in Linux

First, describe your own system configuration: win8+ ubuntu14.04 LINUXQQ has a variety of versions, here are two types: Linuxqq and WINEQQ 1------LINUXQQ is a simplified version of QQ, very few features, poor interface, but simple installation

A tutorial on Clustershell installation and configuration in Linux

ssh

Installation and configuration of Clustershell Clustershell installation is easy, if the use of apt or yum package management, the basic is a command of things, I will not say, here to say how to install from the source code, you need to execute

Linux Axel Multi-threaded Download tool parameters detailed

Axel Installation Debian/ubuntu/linux Mint Users The code is as follows Copy Code sudo apt-get install Axel Redhat/fedora users can install the following command: The code is as follows Copy

Linux system view file and folder size for hard drive

1. DF can view the level of folder size, usage ratio, file system and its mount point, but not for the file (see only the windows of the similar C disk, D disk)Du can view the size of files and folders, more useful 2. [Ia@i5a6 ~]$ Df-h Parameter-H

/var/log/message in Linux shows a lot of last message repeated N times

Today in the check server is found in the messages log there are many shapes such as last message repeated N times. As follows: June 2 19:43:46 server repeated 7 timesJune 2 19:44:47 server repeated 3 timesJune 2 19:46:17 server repeated 5

How to use the Linux modprobe command

Modprobe can load specified modules or a group of dependent modules. Modprobe determines the modules to be loaded based on the dependency generated by depmod. If an error occurs during the loading process, the entire group of modules will be

Linux renice command details how to use Linux renice command

The Linux renice command is used to specify the priority of one or more processes (one or more based on parameters ).Note: Each Process has a unique (unique) id.Permission: all users.SyntaxRenice priority [[-p] pid...] [[-g] pgrp...] [[-u]

Nginx Chinese domain name Configuration tutorial in linux

The gsung VM is bound with a domain name with Chinese characters, such as linuxeye. China. The browser cannot jump.Why?Because the core of the operating system is English, DNS server resolution is also performed by English code exchange, so the DNS

Three methods for setting directory password protection for Nginx in linux

When some website paths are not allowed for public access, such as the website background password, we encrypt and authenticate the paths on the Web server. Only the correct user name and password can be entered for access. Apache has such a

In linux, Bash uses trap to process signals.

Clear temporary filesYou can use the trap command to capture signals. The trap capture signals in shell are equivalent to signal or sigaction in C language or most other languages.One of the most common scenarios of trap is to clear temporary files

For linux, configure the firewall and enable port 80 and Port 3306

The firewall rule file is in:/Etc/sysconfig/iptablesOpen the configuration file through viAdd two lines to the table:-A input-m state-state NEW-m tcp-p tcp-dport 80-j ACCEPT-A input-m state-state NEW-m tcp-p tcp-dport 3306-j ACCEPTThe result is as

Example of formatting a USB flash drive to FAT32 in linux

DfYou can see the hard disk + USB flash disk in your computer. For example:Filesystem 1K-blocks Used Available Use % Mounted onUdev 4023248 0 4023248 0%/devTmpfs 808520 9784 798736 2%/run/Dev/sda3 46860948 21381896 23075608 49%/Tmpfs 4042584 50936 39

Restorecon commands in linux

The estorecon command is used to restore the security context of the SELinux file.SyntaxRestorecon [-iFnrRv] [-e excludedir] [-o filename] [-f filename | pathname...]Option-I: ignore nonexistent files.-F: The infilename file infilename records the

File wildcards, file creation, copying, and other operations in linux

1: bash feature status return valueVariable $ ?, It is used to save the status of successful command execution. 0 indicates successful, 1-indicates failed, take the command ls as an example:Execution successful[Root @ localhost ~] # Ls/usr/Bin etc

Total Pages: 5467 1 .... 2092 2093 2094 2095 2096 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.