Linux installation is easy to install only with Yum, if the Debian and Ubuntu systems are installed with Apt-get1, first download Chinese package: yum-y groupinstall chinese-support2. Modify character encoding file[Email protected] ~]#
TMPFS is memory: Mount name directory-T TMPFSExport sets the variable (only the current shell is useful), and Echo looks at the variable. Also set (unset), Env,readonly is a read-only variable.Example: Export path= $path:/PATH1:/PATH2:/PAHTNAll
1.Linux how to split the plate?1.Linux Hard Disk type sub-fine. If the hard disk is an IDE hard disk, then it uses/DEV/HDXYX indicates the number of hard drives (starting from a small write), and Y represents the first partition of the disk.DEV/HDB2,
not interested can skip directly, see the actual combat section "How to transfer to the LVM volume"today, a problem is more serious. is to transfer the current system to the LVM volume, some of the following procedures are described.
1. Type of disk matrix.RAID0: Add two disks A and B each 100M and now write a 50M file, then each disk writes 25M. The efficiency of reading and writing is higher.RAID1: Add two disks A and B each 100M, now write a 50M file, every disk is written to
How to copy files under folder/home/work to/home/temp?Use the command:Cp-r/home/work/*/home/temp* Indicates all FilesBut hidden files under/home/work are not copied.A better way to replicate is to use "." Instead of "*" just fine.Cp-r/home/work/.
When the new Linux system is installed, the source of Yum needs to be configured, I use the redhat6.6 version, and in order not to register and use more resources of the Yum source, also need to make a change.1. Delete Redhat's original yum
Compress and specify the directoryExample: Zip-r/home/kms/kms.zip/home/kms/server/kmsUnzip and specify the directoryExample: unzip/home/kms/kms.zip-d/home/kms/server/kmsView system disk UsageDf-hMySQL export to the specified directorymysqldump-uroot-
1 explanation under what is GPL,GNU, free software2 How to choose Linux OS version3 How to Partition Linux systems4 Describe the startup process for Linux systems5 Please output more than 20 Linux commands and functions.6 Description of Linux 6
The original memcache machine is damaged, need to install Memcache on the new Linux machine, the steps are as follows:1. Login with the root authority of the Linux machine2, installation libevent: http://libevent.org/The jar package to be
Command usage:
SOURCE FileName
Function: Reads and executes the commands in the filename under the current bash environment.Note: This command usually uses the command "." To replace.such as:source/etc/profile and . The/etc/profile is
Linux 14th Day: (August 25) exercises and assignments1, create a 2G file system, block size of 2048byte, reserved 1% free space, file system ext4, Volume label test, require this section automatically mount to the/testdir directory after boot, and
Skills-linux Kernel parameter adjustment methodUlimit settingsUlimit-n to be adjusted to 100000 or larger. The command line executes ulimit-n 100000 to be modified. If you cannot modify it, you need to set/etc/security/limits.conf, join* Soft Nofile
grep and regular ExpressionsCharacter classSearch for character classes: If I want to search for the two words of test or tast, I can find that they have a common ' t?st ' existence ~ this time, I can search for:[[email protected] ~]# grep-n '
Copying and moving filesCp:copyCP SRC DESTCP file1 file2 file3//file1,file2 for source files, File3 as TargetCopy a file to a fileTo copy multiple files to a directory, the directory must existcp/etc/passwd/tmp/Copy to/tmp/, file name is passwdIf
Nginx slicing module, resumable data transfer, and nginx resumable Data Transfer
It should be clear to anyone familiar with the mainstream technologies in the CDN industry that although Nginx has been developing in recent years, it basically does
Multi-thread programming for APUE Learning (3): thread attributes, synchronization attributes, and apue multi-thread programmingI. The thread attributes can be modified using the pthread_attr_t structure, and these attributes are used to practice
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