At the earliest time to do operation, the automation tools are not very hot, and the need for bulk execution will generally rely on pssh, sshpass+ scripts such as the implementation of the bulk of the demand. In 2012, there was a record of the SSH
First, yum source configuration
Install rhev-m need to configure RHEV-M, Rhev-h, supplementary, JBoss four source, this experiment, I integrate it into a configuration. and save it to the/etc/yum.repos.d/directory. As follows:
[ROOT@RHEVM ~]# wget
The uptime command can show how long the system has been running, and the display of the information is: now time, how long the system has been running, how many users are currently logged in, the system's average load in the last 1 minutes, 5
Proxy server, there is no need to introduce, simply say the installation process. At the beginning of the hosting24 above, installation, how the installation has not been successful, replaced by Linode, half an hour on the deal, Guess hosting24 the
To Linode VPS CentOS 6.4 iptables Add a rule that limits the number of IP connections to no more than 100:Iptables-a input-p TCP--syn--dport 80-m connlimit--connlimit-above 100-j REJECT
Error occurred:
Iptables:protocol wrong type for socket.
The following is my personal learning Linux/unix environment programming summed up the difference between soft links and hard links, for reference only
Soft links can be cross file systems, hard links are not available.
Hard links and source files
Centos LVM is a mechanism for managing disk partitions in a Linux environment, a logical layer that is built on top of hard disks and partitions, under the file system, and improves disk partition management flexibility. RHEL5 the default installed
Linux+apache's stability, security and performance, as well as low prices are gaining a growing market share, using Linux+apache as a Web server more and more friends, and Apache as an HTTP service, compared to FTP is always not easy to control,
To hook up a Windows file share The core of Windows network sharing is smb/cifs, where you must install and use the Samba package to connect (mount) Windows disk sharing under Linux. Most popular Linux distributions now contain samba packages, and
Because the staff turnover is not pleasant, the system engineer after leaving, because the company did not close its VPN in time, the database server (Linux 6.5 Oracle 11.2.0.1) account is not modified, and finally directly up to RM oracle_base to
Syntax: chmod [who] [+ |-| =] [mode] File name
The meanings of the options in the command are
U represents "User", which is the owner of a file or directory.G means "same group of users", that is, all users who have the same group ID as the owner
1, the VPS (server) on the operation as follows
The code is as follows
Copy Code
Mkdir-p/root/software/vpnCd/root/software/vpn # Download Packageswget http://www.oberhumer.com/opensource/lzo/download/lzo-2.05.tar.gzwget
Packing the compressed directory is very simple as follows
The code is as follows
Copy Code
TAR-CZF small.tar.gz Small (directory name), compressing and packaging catalogs
More examples
The code is
In Linux, all peripheral devices have their names and codes, which are stored in the/dev directory as special files. You can run the tty (teletypewriter) command to query the file name of the currently used terminal.SyntaxTty [-s] [-- help] [--
The Linux mount command is often used to mount files outside the Linux system.SyntaxMount [-hV]Mount-a [-fFnrsvw] [-t vfstype]Mount [-fnrsvw] [-o options [,...] device | dirMount [-fnrsvw] [-t vfstype] [-o options] device dirParameter description:
If you run this command, you can find out who are currently logged on to the system using FTP and what operations they are performing.SyntaxFtpwhoParameter description: -V: Display version informationInstanceTo query which users are currently
The tr command reads data from the standard input device. After string translation, the result is output to the standard output device.SyntaxTr [-cdst] [-- help] [-- version] [first character set] [second character set]Tr [OPTION]… SET1
Bzip2 adopts the new compression algorithm, which is better than the traditional LZ77/LZ78 compression algorithm. If no compression file is added, the compressed file .bz2 will be uploaded and the original file will be deleted.SyntaxBzip2
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