CentOS 6.4 Installation and Use experience summary 2

Source: Internet
Author: User

8. Install the VIM Editor

IX. Install MAN help document

10. Install LVM

11. Modify the default language

12. Install common tools

8. Install the VIM Editor


Followed by the first article: http://www.centoscn.com/CentOS/Intermediate/2013/0907/1572.html

1. View


Vim is not installed by default.

2. Install vim

1 [root@web yum.repos.d] # yum install vim*


IX. Install MAN help document

1234567891011121314151617181920 [root@web ~] # yum install man* [root@web ~] # man vim VIM(1) VIM(1) NAME vim - Vi IMproved, a programmers text editor SYNOPSIS vim [options] [ file ..] vim [options] - vim [options] -t tag vim [options] -q [errorfile] ex view gvim gview evim eview rvim rview rgvim rgview DESCRIPTION Vim is a text editor that is upwards compatible to Vi. It can be used to edit all kinds of plain text. It is especially useful for editing programs. There are a lot of enhancements above Vi: multi level undo, multi windows and buffers, syntax highlighting, com- mand line editing, filename completion, on-line help, visual selection, etc.. See ":help vi_diff.txt" for a sum - mary of the differences between Vim and Vi.

10. Install LVM

12345678910111213141516171819202122232425 [root@web ~] # yum install lvm2 [root@web ~] # man lvm LVM(8) LVM(8) NAME lvm - LVM2 tools SYNOPSIS lvm [ command | file ] DESCRIPTION lvm provides the command -line tools for LVM2. A separate manual page describes each command in detail. If lvm is invoked with no arguments it presents a readline prompt (assuming it was compiled with readline sup- port). LVM commands may be entered interactively at this prompt with readline facilities including history and command name and option completion. Refer to readline(3) for details. If lvm is invoked with argv[0] set to the name of a specific LVM command ( for example by using a hard or soft link) it acts as that command . On invocation, lvm requires that only the standard file descriptors stdin, stdout and stderr are available. If others are found, they get closed and messages are issued warning about the leak. Where commands take VG or LV names as arguments, the full path name is optional. An LV called "lvol0" in a VG called "vg0" can be specified as "vg0/lvol0" . Where a list of VGs is required but is left empty, a list of all VGs will be substituted. Where a list of LVs is required but a VG is given, a list of all the LVs in that VG will be substituted. So lvdisplay vg0 will display all the LVs in "vg0" . Tags can also be used - see --addtag below. One advantage of using the built- in shell is that configuration information gets cached internally between com- mands. A file containing a simple script with one command per line can also be given on the command line. The script can also be executed directly if the first line is #! followed by the absolute path of lvm.

11. Modify the default language

1234 [root@web ~] # vim /etc/sysconfig/i18n LANG= "en_US.UTF-8" ~ [root@web ~] # export LANG=en

12. Install common tools

1. Common compression tools zip unzip bzip2

1 [root@localhost ~] # yum -y install unzip zip bzip2 bzip2-devel


2. gcc ++ Compiler

1 [root@localhost ~] # yum install gcc gcc-c++ –y


3. cmake Compiler

1 [root@localhost ~] # yum install cmake make –y


4. Image Resources

1 [root@localhost ~] # yum -y install gd libjpeg libjpeg-devel libpng libpng-devel freetype-devel


5. other commonly used resource package tools

1 [root@localhost ~] # yum -y install autoconf bison automake zlib* fiex* libxml* ncurses-devel libmcrypt* libtool-ltdl-devel*


All the demos have been completed! Pai_^ ......


Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.