CentOS 6.4 安装使用体验汇总2

浏览次数:1573 关键词 ( CentOS  )

八、安装 VIM 编辑器

九、安装 MAN 帮助文档

十、安装 LVM

十一、修改默认语言

十二、安装常用工具

八、安装 VIM 编辑器


接第一篇:http://www.centoscn.com/CentOS/Intermediate/2013/0907/1572.html

1. 查看

vi


vim'

默认没有安装vim

2. 安装vim

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

vim

vim安装

九、安装 MAN 帮助文档

1234567891011121314151617181920[root@web ~]# yum install man*[root@web ~]# man vim VIM(1)                                                                  VIM(1)NAMEvim - Vi IMproved, a programmers text editorSYNOPSISvim [options] [file..] vim [options] - vim [options] -t tag vim [options] -q [errorfile]exview gvim gview evim eview rvim rview rgvim rgviewDESCRIPTIONVim  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 forediting 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"fora sum- mary of the differences between Vim and Vi.

十、安装 LVM

12345678910111213141516171819202122232425[root@web ~]# yum install lvm2[root@web ~]# man lvmLVM(8)                                                                  LVM(8)NAMElvm - LVM2 toolsSYNOPSISlvm [command| file]DESCRIPTIONlvm provides the command-line tools forLVM2.  A separate manual page describes eachcommandindetail.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  historyand commandname and option completion.  Refer to readline(3) fordetails.If  lvm  is  invoked  with argv[0] setto the name of a specific LVM command(forexample by using a hard or softlink) it acts as that command.On invocation, lvm requires that only the standard filedescriptors stdin, stdout and stderr are  available.   Ifothers 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"ina VGcalled "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 inthat 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-inshell is that configuration information gets cached internally between com-mands.A filecontaining a simple script with one commandper line can also be given on thecommandline.   The  scriptcan also be executed directly ifthe first line is #! followed by the absolute path of lvm.

十一、修改默认语言

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

十二、安装常用工具

1. 常见压缩工具 zip unzip bzip2    

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


2. gcc gcc++编译器      

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


3. cmake编译器      

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


4. 图片资源      

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


5. 其它常用资源包工具      

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


到此所有演示全部完成! ^_^ ……