The compression format in Linux is mainly composed of GZ, bz2, XZ, compress, zipOne, gzip: after compression format is. GZ (after compression and decompression, the original file is deleted)Usage: gzip [optinons] FILENAME ...-D: Decompression,
1. First prepare two hosts, one to do the server, one to do the client, to ensure that the two can communicate with each otherServer IP Address:192.168.4.5Client IP Address:192.168.4.2052. Configuring NFS Services for the server[Email protected]/]#
1, source Package preparation:First download the jdk,http://www.oracle.com/technetwork/java/javase/downloads/website jdk7-downloads-1880260.html, I download jdk-7u45-linux-x64.tar.gz, download to home directory2. Unzip the source packageCreate a new
Linux version: CentOS 6.2ISO File: Http://mirrors.163.com/centos/6.2/isos/i386/CentOS-6.2-i386-bin-DVD1.iso1. Installing the JDKFirst Use Java command to see if the system is installed with the default OpenJDK , if installed, it is recommended to
The code below, there are comments, should be able to read.functiongetFile (file_name)Localf =assert(Io.open(file_name,'R')) LocalString = F:read ("*all") F:close ()returnstringEndfunctionWriteFile (file_name,string)Localf
1: Open the virtual machine, click the ' Start ' button,2: When the above interface appears, the keyboard input ' I ', the Grub interface appears:3: Keyboard input E, the following interface appears:4: Select the second row (kernel ... )5: Keyboard
1. Modify the/etc/profile fileThis approach is recommended if your computer is used only as a development, because all user shells have the right to use these environment variables, which can pose a security issue for the system.(1) Open/etc/profile
Reprinted from: http://www.cnblogs.com/itech/archive/2009/04/10/1433052.html1.Linux Link ConceptThere are two types of Linux links, one called hard links, and the other called Symbolic links (symbolic link). By default, the LN command produces a
Tomcat the installation and configurationA. Installation and configuration of JDK1. Upload the JDK to Linux via FTP2. Installation Steps-cd/home/guest # Back to the/home/guest directory-CP jdk-1_5_0_06-linux-i586.bin/usr/jlocal # Copy to copy the
Linux Advanced Skills: rsync synchronization (2), linuxrsync1. Configure synchronization between two nodesThe previous post shows how to synchronize a host. This time, we will add another host to be synchronized. The method is of no quality.1. First,
Linux Advanced Skills: rsync synchronization (1), linuxrsync1. rsync IntroductionRsyncIs an application software in Unix. It can synchronously update files and directories of two computers and use differential encoding to reduce data transmission.
How to Set IP (red hat) and linuxhat in Linux
The two steps are as follows:
1: Use the setup command to set the IP address
Save ......
-- Return to the front, with DNS
Save and exit ......
2: restart the network service.
In the vmwarevirtual
Linux Advanced Skills: rsync synchronization (2)1. Configure synchronization between two nodesThe previous post shows how to synchronize a host. This time, we will add another host to be synchronized. The method is of no quality.1. First, display
In linux, the root password is missing. Solution: linuxroot
1: Open the VM, click 'start,
2: When the above interface is displayed, enter 'I' on the keyboard to display the grub interface:
3: Enter e on the keyboard. The following page is
Count multiple CPU utilization in Centos
I. source of the problem
MySQL is multi-threaded in Linux and can only distribute multiple threads to one CPU. Therefore, in enterprises, using small servers or PC servers, the utilization of multiple CPUs is
CentOS 6.3 automatically mounts disks and folders upon startup
CentOS 6.3 automatically mounts disks and folders upon startup
The CentOS server may have multiple disks but suddenly loses power. The previously manually attached disk is no longer in
Linux kernel design and implementation-kernel SynchronizationKernel synchronization introduces the concept of Synchronization
Critical section: it is also called a critical section, which is a code segment for accessing and operating shared
Linux Advanced Skills: heartbeat + lvs (3)Previously, we tested both LVS and heartbeat separately. It was time to merge them.1. LVS + heartbeat:First, display our console:To enable the two software to collaborate with each other and enable the
Linux Kernel-memory managementMemory Management page
The kernel uses physical pages as the basic unit of memory management. Memory Management Units (MMU) Manage memory and convert virtual addresses to physical addresses are usually processed in
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