1, installation Xen
The code is as follows:
Yum install xen* kernel-xen* virt-manager vnc* xen-lib python-virtinst
Kernel-xen: Can run the Xen Linux core
Xen: The main Xen suite, including configuration files, startup scripts,
Sometimes we often encounter such a problem: there is a page of the telephone number is thin, in order to write the rules of people's names, home addresses, telephone, notes, etc., at this time we just want to get everyone's name and their
You may have heard or encountered something like this: A system administrator accidentally entered the "Chmod-r 777/" so that the great tragedy caused the entire system has been seriously damaged. In day-to-day management, we have a number of tools
Problem phenomenon: receive the Monitoring Group personnel feedback, in a host opt fooled to create a directory, the hint is read-only read-only file system, not allowed to write or delete, according to past experience this problem has three
First, the phenomenon of failure
Connect the business side colleague phone, one of the server can not SSH normal connection, also received the downtime SMS alert information. Ping directly the next host address can ping, SSH port connection hint:
Automatically backs up sites and databases and sends them to mailboxes
1, SSH login to the VPS, into the/home/backup directory, new file backup.sh, paste the following code and save;
#!/bin/bash# Go to backup folderCd/home/backup# Create a folder
Current network of the host, the business side sent to have an unsynchronized. Before also encountered similar problems, generally are NTP dead, resulting in the time is not synchronized. This view NTP service is operating properly.
Www.111cn.net: ~
FreeradiusFreeradius and openldap--success story
Installing related Programs
Yum Install Freeradius2 freeradius2-utils freeradius2-ldap
To enable the LDAP client side of the server, refer to another file
Centos/56540.htm
The difference between Yum and rpm
RPM is a package management method developed by Red Hat Company, we can easily install, inquire, uninstall and upgrade the software by using RPM. But the problem of dependency between RPM packages is often
Modify the/etc/sysconfig/network corresponding network card, append:
The code is as follows
Copy Code
Networking_ipv6=no
2. Modify the/etc/hosts, the IPv6 of the local host name resolution also commented out:
1, create a group
Groupadd Test
Add a test group
2, modify the group
Groupmod-n test2 Test
Change the name of the test group to Test2
3, delete the group
Groupdel test2
Delete Group Test2
4, view Group
A), view the group groups the
Instance
tar-zcvf/home/ecshopa/public_html/uggbootf20101214.tar.gz * Enter directory to compress all files under current directoryTar-zxvf/home/uggbootf/public_html/uggbootf20101214.tar.gz into directory to extract to current directory
Command
This is a note about Varnish3.03 compiling the installation configuration
Installation
The code is as follows
Copy Code
Yum-y Install gcc gcc-c++ file Bison patch Unzip Mlocate flex wget diffutils automake autoconf GD
One, Linux under the memory View command free detailed:
You can use Free-m to view current memory usage in Linux, and the M parameter is displayed in megabytes, examples:
$ free-m Total used free shared buffers cached mem:1002 769 23 2 0 421-/+
DescriptionphpMyAdmin is a MySQL database management tool, after the installation of the tool, that is, the Web form can directly manage the MySQL data, without the need to execute system commands to manage, is very suitable for database operation
RYSNC is a data mirroring and backup tool that enables both local and remote host files, directories, fast synchronous mirroring, remote data backup and other functions. In the process of synchronization, Rsync is based on its own unique algorithm,
Linux Split command
Function Description: Cutting file.
Syntax: Split [--help][--version][-][-b ][-c ][-l ][files to cut [output FILENAME]
Add: Split can cut the file into smaller files, preset every 1000 lines cut into a small file.
Parameters
If you own a Linux server, then simply to do the server is not a bit wasteful, the following command allows you to easily create a secure tunnelier dedicated SSH account.
The code is as follows
Copy Code
Useradd-m-s/sbin/
Note:
1, mount the hard disk should be installed in other software or environment before operation;
2, before mounting, if there is data, please pay attention to backup;
3, the name of the partition mentioned in this article, the hard disk
To achieve the goal:Server A synchronizes with Server B, which only indicates that server a synchronizes to Server B and Server B restores to server A.Consider security factors and synchronize with ordinary users.Using Cronjob, timed synchronization.
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