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 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 ...
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
. 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
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
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
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
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
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
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
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
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]
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
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
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
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
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
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
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
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