CentOS 6.4 安装使用体验汇总2
时间:2014-02-21 13:20 来源:www.it.net.cn 作者:IT网
1
[root@web yum.repos.d]# yum install vim*
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[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 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.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[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 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 soft
link) it acts as that command.
On invocation, lvm requires that only the standard filedescriptors 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"ina 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 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 script
can also be executed directly ifthe first line is #! followed by the absolute path of lvm.
1
2
3
4
[root@web ~]# vim /etc/sysconfig/i18n
LANG="en_US.UTF-8"
~
[root@web ~]# export LANG=en
1
[root@localhost ~]# yum -y install unzip zip bzip2 bzip2-devel
1
[root@localhost ~]# yum install gcc gcc-c++ –y
1
[root@localhost ~]# yum install cmake make –y
1
[root@localhost ~]# yum -y install gd libjpeg libjpeg-devel libpng libpng-devel freetype-devel
1
[root@localhost ~]# yum -y install autoconf bison automake zlib* fiex* libxml* ncurses-devel libmcrypt* libtool-ltdl-devel*
(责任编辑:IT)
(责任编辑:IT) |



