After installing centos debugging, You need to browse the Web page. At that time, because the installation was minimal in the English version, the text in the web page was garbled. I first searched the internet for the following two articles, but
The current system is CentOSLinuxrelease 6.0 (Final), and the kernel version is 2.6.32-71. el6.i686. due to the latest kernel Vulnerability (linux kernel has a memory elevation vulnerability, 2.6.39 kernel is not spared, So we upgraded the kernel to
1. Currently, tigervnc is commonly used. On the server side, we only need to install tigervnc-server, that is, the vnc server:
Yum install tigervnc-server-y
2. Check whether tigervnc-server is successfully installed:
Rpm-q tigervnc-server
If the
What is S. M.A. R. T.SMART is a disk self-analysis and detection technology, which was popularized as early as the end of 1990s.Several parameters of each hard disk (including IDE and SCSI) are recorded during operation.These parameters include
1. System Language modification:Compile the content in this directory # vi/etc/sysconfig/i18nEnglish SystemLANG = "en_US.UTF-8"SYSFONT = "latarcyrheb-sun16"Chinese SystemLANG = "zh_CN.GB18030"LANGUAGE = "zh_CN.GB18030: zh_CN.GB2312: zh_CN"SUPPORTED =
Download the latest Nginx URL http://nginx.org/en/download.htmlWget http://nginx.org/download/nginx-0.8.53.tar.gzDecompress and download the source code package.Tar-zxvf nginx-0.8.53.tar.gzGo to the decompressed source code folderCd
1. Log On As the root userUse fdisk-l to check the USB flash drive device.Assume that the USB flash drive is sda1.2. Make sure that the folder/usb is created under the directory/mnt. If not, enter the command mkdir/mnt/usb_disk and proceed to the
Lab environment:
There are two important reasons for creating a swap partition.
First, when the physical memory is insufficient to support system and application (process) operations, this swap space can be used as a temporary storage page for
1. Start and exit the VI Editor# Vi file1 create a text file named file1~~: Q! Exit in last line mode2. Text operations~: E! File1: edit a new file under the current file: R/etc/passwd for File Reading: Wq maintained and exited: Q! Force exit3. move
Outline
I. Installation
2. Start the NIC
3. Modify the Host Name (web.test.com)
4. Modify DNS (8.8.8.8)
5. Configure 163 yum Source
6. Disable SElinux
7. Disable the firewall (ipv4 and ipv6)
Note: The 64-bit CentOS6.4 system is installed
Tr-D. Delete matching characters.-S: delete consecutive identical characters'[String1] ''[string2]' replace string 1 with string 2Cut-B is counted as one byte, letter, and space, and Chinese characters are counted as three Bytes:For example, 1-3
1. Why can the files in the rm-rf directory be recovered after being deleted?
First, create an empty directory test. The blocksize of the directory is 4096 bytes.
For an empty directory or 4096? First, the directory size depends on the inode
In windows, port forwarding generally uses built-in nat, porttunnel, and portmap.
The port forwarding ing program in linux is rinetd. The start method is rinetd-c/etc/rinetd. conf, and pkillrinetd is used to close the process.
Tools home: http://www.
I. Definition of time barYou can use crontab-e to compile scheduled tasks in the following format:
Reference *** commandThe first five signs (*) indicate minute, hour, day, month, and week.The minimum interval between cron services is one minute,
The process of learning should be a process of accumulation. There is no, there is not much, but not like a monkey going down the hill. This is the first time in July to systematically study gcc, gdb, and makefile (see the previous blog for details )
Linux tar command[Root @ linux ~] # Cp [-adfilprsu] destination)[Root @ linux ~] # Cp [options] source1 source2 soure3... directoryParameters:-C: create a parameter command for the compressed file );-X: Unlock the parameter command of a compressed
Common rpm commands 1. install a package # rpm-ivh2. upgrade a package # rpm-Uvh3. remove a package # rpm-e4. installation parameters -- force installation even if it overwrites files belonging to other packages -- nodeps if this RPM package
Yum commands
Install: yum install RPM package name
Delete: yum remove RPM package name
Search: yum searchRPM package name
Show all repository files: yum list
Display installation package details: the name of the yum infoRPM package
Update and
Suitable for changing the root password of VPS in various centos versions
A typical application of single-user mode is the "password setting" of the root user ". For some Linux systems for temporary or experimental purposes, users are often changed,
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