First, find the problem:In a low-profile Linux server (memory, hard disk relatively small) in the/data partition to create files, the system prompted insufficient disk space, with the df-h command to see the disk usage, found that the/data partition
How Linux compresses the retention source files:gzip–c filename > filename.gzHow Linux unlocks the retention source file:Gunzip–c filename.gz > FileNameThe use of Gunzip2. UseThe Gunzip command function is to unzip the file and use the permissions
First,Date–swhen the system starts,LinuxOperating Systemtake time fromCMOSin the system time variable, the later modification time is realized by modifying the system time. In order to maintain system time andCMOSthe consistency of time,LinuxThe
The operating system in the virtual machine. CentOs (no graphical interface)Without the graphical interface of Linux, I also do not configure the network, now need to copy files to the Linux system above, I use the U-disk mounted way to obtain the
File Structure/: root directory, all directories, files, devices are in/below,/is the Linux file system Organizer, is also the most superior leader. /bin:bin is the binary (binary) abbreviation. In the general system, you can find the common Linux
The first level directory under the root directory explains:/etc profile Directory/home directory for general users/bin command Save directory/lib System library Save Directory/boot directory, launch related files/mnt system mount directory/dev
Transferring files between two Linux servers User SCP Command:First, check to see if the firewall is off:/etc/init.d/iptables status. If it is not, shut down the firewall first:/etc/init.d/iptables stop.For example, to copy the current file to a
Shmgetint Shmget (key_t Key, size_t size, int flag); Key: Rules for identifiers Size: Number of bytes shared bucket flag: Read-Write permission return value: The ID of the shared store was successfully returned, failure returned-1key_t Key-------
I. Linux disk partitioning procedure 1.umount/dev/vdb 2.fdisk/dev/vdb Enter N, new partition Enter p, new primary partition Enter the partition number, and then enter the partition size, such as +10g ... 3. Enter W save 4. Refresh the
The following is an example of adding a service called Watchcat:1. Write a script to be used for the service commandService commands are generally used as followsStart:$ service Watchcat StartStop it:$ Service Watchcat StopRestart:$ Service Watchcat
Under the Linux system, start and close tomcat using command operations.Go to the bin directory under TomcatCd/java/tomcat/binStart the Tomcat command./startup.shStop the Tomcat Service command./shutdown.shAfter the Tomcat/shutdown.sh is executed,
Original link:Linux under the unzip command Daquan. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.
DocumentLinux Packaging Compression Command Rollup tar command [[[email protected] ~]# tar [-cxtzjvfppn] file with directory .... Parameter:-C: Create a parameter directive for a compressed file (the meaning of Create);-X: Unlocks a compressed file
Common commands: 1. Create user useradd Common parameters:-C notes, plus note text, note text will be saved in the passwd Memo field-D directory specified with the home directory, if this directory does not exist, then use the-M option, you can
One, high availability principleSystem availability = Average trouble-free time/(mean time to repair + average no downtime)Improve system availability:Reduced mean time to repair (redundancy mechanism)Extended mean time-to-average
Centos7 build GlusterFS
Lab requirements:
· Four machines are installed with GlusterFS to form a cluster
· The client stores docker registry in the file system
· The hard disk space of the four nodes is not integrated into one hard disk space. Each
Git usage notesGit has a tool called git config that allows you to get and set configuration variables. These variables can control the appearance and operations of Git. 1. storage location of the configuration file these variables can be stored in
Git usage notes, git notes
Reprint blog please specify reprint address: http://www.cnblogs.com/lpit/p/4913629.html
Knowledge: Git has a tool called git config that allows you to obtain and set configuration variables. These variables can control the
Permission for transferring files from Windows to Linux using Samba
After Samba is created, it is found that the group and user of the files uploaded from Windows to Linux are nobody. You can add the following permissions by modifying/etc/samba/smb.
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