- 浏览: 128022 次
- 性别:
- 来自: 广州
文章分类
最新评论
-
liyf155:
Wind_ZhongGang 写道有这么通俗易懂的例子,在讲解 ...
Java桥接模式(Bridge) -
Wind_ZhongGang:
有这么通俗易懂的例子,在讲解的时候就应该按照这个例子来讲清你的 ...
Java桥接模式(Bridge) -
Wind_ZhongGang:
Man 里的public void dress() { ...
Java桥接模式(Bridge) -
liyf155:
liyf155 写道Mybeautiful 写道更正, Per ...
Java桥接模式(Bridge) -
liyf155:
Mybeautiful 写道更正, Person跟Clothi ...
Java桥接模式(Bridge)
yum是Linux平台(Redhat系列平台)一个软件包管理工具,非常有效地解决包括了安装rpm包时的软件依赖关系。当我们使用rpm(Redhat package Management)在linux下安装rpm软件包时,经常会提示由于安装包的依赖关系而而导致安装失败。使用yum安装工具,将完美地解决rpm包的依赖问题。
YUM包括两个部分:YUM软件包仓库——存放着RPM软件包,及记录这些RPM软件包的依赖关系的文件(一个XML文件);YUM安装
程序——yum。YUM软件包仓库可以是一个ftp server,一个web server,也可以是本地的某个目录,或者光盘。
CentOS的安装光盘本自已就是一个YUM仓库。在CentOS安装光盘的根目录下有一个叫做repodata的文件夹,该文件夹中有一个名为repomd.xml的文件,这就是作为一个YUM仓库的标志:
[root@localhost repodata]# pwd
/mnt/cdrom/repodata
[root@localhost repodata]# ls
0575fcbebee20af1f23eb59953ebf17f48093af113ebf32d9fd7225c848900f3-primary.xml.gz
2dd4bee8fd1e52724596e48a02052bdfa61427164057923104d302eef71eacaf-filelists.sqlite.bz2
33ee237c3e507a5d64bbcddb0cace45eaafe95131f33e2cba6dc9c1c84359d4f-other.sqlite.bz2
4444b4332ea3e78db330d6697070a3c7351290d9f1e6d310f59daec4028c78ac-filelists.xml.gz
8709f838a5bbf68868c1a7cbac9fced6a6ea4fd84b68b121a71b642dd7950825-other.xml.gz
9ed11ec7df623b5da32fafaea87ef4e15d4998791845846aa13e81f5a2809005-primary.sqlite.bz2
c87239a7b3d4abd4200826fb9f2d043944a3a3944fd5152154064bdb1dfbd62b-c6-i386-comps.xml.gz
cffddde71947e5fe5a7ce5b77b36decb71afe14b09e3160eba4b4acdd90daa9f-c6-i386-comps.xml.gz
e9226c33fcd943a60c7a631c67895c01e61f4e62577c37e971cfe61de32239ff-c6-i386-comps.xml
repomd.xml
TRANS.TBL
有了YUM软件仓库后,还得为yum安装工具进行配置,yum安装工具所需要的配置文件一个是/etc/yum.conf,另一个是/etc/yum.repos.d目录下的关于YUM软件仓库的配置文件。/etc/yum.repod.d目录下存储着YUM仓库的配置信息,安装完CentOS 6.2后,/etc/yum.repod.d目录默认有三个配置文件。
[root@localhost yum.repos.d]# ls
CentOS-Base.repo CentOS-Debuginfo.repo CentOS-Media.repo
在上面三个配置文件中CentOS-Media.repo就是关于光盘YUM仓库的信息,默认情况下没有启用,配置的光驱挂载点是/media/cdrom,而我常常把光驱挂载到/mnt/cdrom,修改CentOS-Media.repo,内容如下:
[root@localhost yum.repos.d]# cat CentOS-Media.repo
# CentOS-Media.repo
#
# This repo is used to mount the default locations for a CDROM / DVD on
# CentOS-6. You can use this repo and yum to install items directly off the
# DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
# yum --enablerepo=c6-media [command]
#
# or for ONLY the media repo, do this:
#
# yum --disablerepo=\* --enablerepo=c6-media [command]
[c6-media]
name=CentOS-$releasever - Media
baseurl=file:///mnt/cdrom
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
[root@localhost yum.repos.d]#
在上面的配置文件中,c6-media是YUM仓库的名字,enabled=1表示启用YUM仓库,baseurl的值是YUM软件仓库的路径,本例中为/mnt/cdrom。
了解YUM软件仓库及配置好yum工具的配置环境,下面就可以使用yum管理软件包了。
[root@localhost /]# yum --disablerepo=\* --enablerepo=c6-media info php
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Available Packages
Name : php
Arch : i686
Version : 5.3.3
Release : 3.el6_1.3
Size : 1.1 M
Repo : c6-media
Summary : PHP scripting language for creating dynamic web sites
URL : http://www.php.net/
License : PHP
Description : PHP is an HTML-embedded scripting language. PHP attempts to make it
: easy for developers to write dynamically generated webpages. PHP also
: offers built-in database integration for several commercial and
: non-commercial database management systems, so writing a
: database-enabled webpage with PHP is fairly simple. The most common
: use of PHP coding is probably as a replacement for CGI scripts.
:
: The php package contains the module which adds support for the PHP
: language to Apache HTTP Server.
yum info package_name用来查看安装的信息,由于系统中配置了三个YUM仓库信息,参数--disablerepo=\* --enablerepo=c6-media 表示只使用名为c6-media的YUM仓库,即CentOS6.2安装光盘。
yum deplist package_name查看安装包的依赖关系:
[root@localhost /]# yum --disablerepo=\* --enablerepo=c6-media deplist man
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Finding dependencies:
package: man.i686 1.6f-29.el6
dependency: libc.so.6(GLIBC_2.3)
provider: glibc.i686 2.12-1.47.el6
dependency: coreutils
provider: coreutils.i686 8.4-16.el6
dependency: libc.so.6(GLIBC_2.1)
provider: glibc.i686 2.12-1.47.el6
dependency: rtld(GNU_HASH)
provider: glibc.i686 2.12-1.47.el6
dependency: /bin/bash
provider: bash.i686 4.1.2-8.el6.centos
dependency: lzma
provider: xz-lzma-compat.i686 4.999.9-0.3.beta.20091007git.el6
dependency: less
provider: less.i686 436-10.el6
dependency: libc.so.6
provider: glibc.i686 2.12-1.47.el6
dependency: groff >= 1.18
provider: groff.i686 1.18.1.4-21.el6
dependency: libc.so.6(GLIBC_2.0)
provider: glibc.i686 2.12-1.47.el6
dependency: nroff-i18n
provider: groff.i686 1.18.1.4-21.el6
dependency: libc.so.6(GLIBC_2.4)
provider: glibc.i686 2.12-1.47.el6
dependency: bzip2
provider: bzip2.i686 1.0.5-7.el6_0
dependency: findutils
provider: findutils.i686 1:4.4.2-6.el6
dependency: gzip
provider: gzip.i686 1.3.12-18.el6
dependency: libc.so.6(GLIBC_2.3.4)
provider: glibc.i686 2.12-1.47.el6
dependency: rpm
provider: rpm.i686 4.8.0-19.el6
dependency: /bin/sh
provider: bash.i686 4.1.2-8.el6.centos
dependency: mktemp >= 1.5-2.1.5x
provider: coreutils.i686 8.4-16.el6
yum install package_name安装选完的软件包;
[root@localhost /]# yum --disablerepo=\* --enablerepo=c6-media install man
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package man.i686 0:1.6f-29.el6 will be installed
--> Processing Dependency: lzma for package: man-1.6f-29.el6.i686
--> Running transaction check
---> Package xz-lzma-compat.i686 0:4.999.9-0.3.beta.20091007git.el6 will be installed
--> Processing Dependency: xz = 4.999.9-0.3.beta.20091007git.el6 for package: xz-lzma-compat-4.999.9-0.3.beta.20091007git.el6.i686
--> Running transaction check
---> Package xz.i686 0:4.999.9-0.3.beta.20091007git.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================
Package Arch Version Repository Size
====================================================================================================
Installing:
man i686 1.6f-29.el6 c6-media 260 k
Installing for dependencies:
xz i686 4.999.9-0.3.beta.20091007git.el6 c6-media 137 k
xz-lzma-compat i686 4.999.9-0.3.beta.20091007git.el6 c6-media 16 k
Transaction Summary
====================================================================================================
Install 3 Package(s)
Total download size: 412 k
Installed size: 864 k
Is this ok [y/N]: y
Downloading Packages:
-------------------------------------------------------------------------------------------------------------------------------
Total 831 kB/s | 412 kB 00:00
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Importing GPG key 0xC105B9DE:
Userid : CentOS-6 Key (CentOS 6 Official Signing Key) <centos-6-key@centos.org>
Package: centos-release-6-2.el6.centos.7.i686 (@anaconda-CentOS-201112130233.i386/6.2)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : xz-4.999.9-0.3.beta.20091007git.el6.i686 1/3
Installing : xz-lzma-compat-4.999.9-0.3.beta.20091007git.el6.i686 2/3
Installing : man-1.6f-29.el6.i686 3/3
Installed:
man.i686 0:1.6f-29.el6
Dependency Installed:
xz.i686 0:4.999.9-0.3.beta.20091007git.el6 xz-lzma-compat.i686 0:4.999.9-0.3.beta.20091007git.el6
Complete!
[root@localhost /]#
yum -y install package_name中的-y选项会在安装过程中自动确认而不需要管理员再输入y进行手工确认。
[root@localhost ssh]# yum -y --disablerepo=\* --enablerepo=c6-media install tcpdump
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package tcpdump.i686 14:4.0.0-3.20090921gitdf3cb4.1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================
Package Arch Version Repository Size
================================================================================================
Installing:
tcpdump i686 14:4.0.0-3.20090921gitdf3cb4.1.el6 c6-media 330 k
Transaction Summary
================================================================================================
Install 1 Package(s)
Total download size: 330 k
Installed size: 759 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : 14:tcpdump-4.0.0-3.20090921gitdf3cb4.1.el6.i686 1/1
Installed:
tcpdump.i686 14:4.0.0-3.20090921gitdf3cb4.1.el6
Complete!
YUM包括两个部分:YUM软件包仓库——存放着RPM软件包,及记录这些RPM软件包的依赖关系的文件(一个XML文件);YUM安装
程序——yum。YUM软件包仓库可以是一个ftp server,一个web server,也可以是本地的某个目录,或者光盘。
CentOS的安装光盘本自已就是一个YUM仓库。在CentOS安装光盘的根目录下有一个叫做repodata的文件夹,该文件夹中有一个名为repomd.xml的文件,这就是作为一个YUM仓库的标志:
[root@localhost repodata]# pwd
/mnt/cdrom/repodata
[root@localhost repodata]# ls
0575fcbebee20af1f23eb59953ebf17f48093af113ebf32d9fd7225c848900f3-primary.xml.gz
2dd4bee8fd1e52724596e48a02052bdfa61427164057923104d302eef71eacaf-filelists.sqlite.bz2
33ee237c3e507a5d64bbcddb0cace45eaafe95131f33e2cba6dc9c1c84359d4f-other.sqlite.bz2
4444b4332ea3e78db330d6697070a3c7351290d9f1e6d310f59daec4028c78ac-filelists.xml.gz
8709f838a5bbf68868c1a7cbac9fced6a6ea4fd84b68b121a71b642dd7950825-other.xml.gz
9ed11ec7df623b5da32fafaea87ef4e15d4998791845846aa13e81f5a2809005-primary.sqlite.bz2
c87239a7b3d4abd4200826fb9f2d043944a3a3944fd5152154064bdb1dfbd62b-c6-i386-comps.xml.gz
cffddde71947e5fe5a7ce5b77b36decb71afe14b09e3160eba4b4acdd90daa9f-c6-i386-comps.xml.gz
e9226c33fcd943a60c7a631c67895c01e61f4e62577c37e971cfe61de32239ff-c6-i386-comps.xml
repomd.xml
TRANS.TBL
有了YUM软件仓库后,还得为yum安装工具进行配置,yum安装工具所需要的配置文件一个是/etc/yum.conf,另一个是/etc/yum.repos.d目录下的关于YUM软件仓库的配置文件。/etc/yum.repod.d目录下存储着YUM仓库的配置信息,安装完CentOS 6.2后,/etc/yum.repod.d目录默认有三个配置文件。
[root@localhost yum.repos.d]# ls
CentOS-Base.repo CentOS-Debuginfo.repo CentOS-Media.repo
在上面三个配置文件中CentOS-Media.repo就是关于光盘YUM仓库的信息,默认情况下没有启用,配置的光驱挂载点是/media/cdrom,而我常常把光驱挂载到/mnt/cdrom,修改CentOS-Media.repo,内容如下:
[root@localhost yum.repos.d]# cat CentOS-Media.repo
# CentOS-Media.repo
#
# This repo is used to mount the default locations for a CDROM / DVD on
# CentOS-6. You can use this repo and yum to install items directly off the
# DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
# yum --enablerepo=c6-media [command]
#
# or for ONLY the media repo, do this:
#
# yum --disablerepo=\* --enablerepo=c6-media [command]
[c6-media]
name=CentOS-$releasever - Media
baseurl=file:///mnt/cdrom
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
[root@localhost yum.repos.d]#
在上面的配置文件中,c6-media是YUM仓库的名字,enabled=1表示启用YUM仓库,baseurl的值是YUM软件仓库的路径,本例中为/mnt/cdrom。
了解YUM软件仓库及配置好yum工具的配置环境,下面就可以使用yum管理软件包了。
[root@localhost /]# yum --disablerepo=\* --enablerepo=c6-media info php
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Available Packages
Name : php
Arch : i686
Version : 5.3.3
Release : 3.el6_1.3
Size : 1.1 M
Repo : c6-media
Summary : PHP scripting language for creating dynamic web sites
URL : http://www.php.net/
License : PHP
Description : PHP is an HTML-embedded scripting language. PHP attempts to make it
: easy for developers to write dynamically generated webpages. PHP also
: offers built-in database integration for several commercial and
: non-commercial database management systems, so writing a
: database-enabled webpage with PHP is fairly simple. The most common
: use of PHP coding is probably as a replacement for CGI scripts.
:
: The php package contains the module which adds support for the PHP
: language to Apache HTTP Server.
yum info package_name用来查看安装的信息,由于系统中配置了三个YUM仓库信息,参数--disablerepo=\* --enablerepo=c6-media 表示只使用名为c6-media的YUM仓库,即CentOS6.2安装光盘。
yum deplist package_name查看安装包的依赖关系:
[root@localhost /]# yum --disablerepo=\* --enablerepo=c6-media deplist man
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Finding dependencies:
package: man.i686 1.6f-29.el6
dependency: libc.so.6(GLIBC_2.3)
provider: glibc.i686 2.12-1.47.el6
dependency: coreutils
provider: coreutils.i686 8.4-16.el6
dependency: libc.so.6(GLIBC_2.1)
provider: glibc.i686 2.12-1.47.el6
dependency: rtld(GNU_HASH)
provider: glibc.i686 2.12-1.47.el6
dependency: /bin/bash
provider: bash.i686 4.1.2-8.el6.centos
dependency: lzma
provider: xz-lzma-compat.i686 4.999.9-0.3.beta.20091007git.el6
dependency: less
provider: less.i686 436-10.el6
dependency: libc.so.6
provider: glibc.i686 2.12-1.47.el6
dependency: groff >= 1.18
provider: groff.i686 1.18.1.4-21.el6
dependency: libc.so.6(GLIBC_2.0)
provider: glibc.i686 2.12-1.47.el6
dependency: nroff-i18n
provider: groff.i686 1.18.1.4-21.el6
dependency: libc.so.6(GLIBC_2.4)
provider: glibc.i686 2.12-1.47.el6
dependency: bzip2
provider: bzip2.i686 1.0.5-7.el6_0
dependency: findutils
provider: findutils.i686 1:4.4.2-6.el6
dependency: gzip
provider: gzip.i686 1.3.12-18.el6
dependency: libc.so.6(GLIBC_2.3.4)
provider: glibc.i686 2.12-1.47.el6
dependency: rpm
provider: rpm.i686 4.8.0-19.el6
dependency: /bin/sh
provider: bash.i686 4.1.2-8.el6.centos
dependency: mktemp >= 1.5-2.1.5x
provider: coreutils.i686 8.4-16.el6
yum install package_name安装选完的软件包;
[root@localhost /]# yum --disablerepo=\* --enablerepo=c6-media install man
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package man.i686 0:1.6f-29.el6 will be installed
--> Processing Dependency: lzma for package: man-1.6f-29.el6.i686
--> Running transaction check
---> Package xz-lzma-compat.i686 0:4.999.9-0.3.beta.20091007git.el6 will be installed
--> Processing Dependency: xz = 4.999.9-0.3.beta.20091007git.el6 for package: xz-lzma-compat-4.999.9-0.3.beta.20091007git.el6.i686
--> Running transaction check
---> Package xz.i686 0:4.999.9-0.3.beta.20091007git.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================
Package Arch Version Repository Size
====================================================================================================
Installing:
man i686 1.6f-29.el6 c6-media 260 k
Installing for dependencies:
xz i686 4.999.9-0.3.beta.20091007git.el6 c6-media 137 k
xz-lzma-compat i686 4.999.9-0.3.beta.20091007git.el6 c6-media 16 k
Transaction Summary
====================================================================================================
Install 3 Package(s)
Total download size: 412 k
Installed size: 864 k
Is this ok [y/N]: y
Downloading Packages:
-------------------------------------------------------------------------------------------------------------------------------
Total 831 kB/s | 412 kB 00:00
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Importing GPG key 0xC105B9DE:
Userid : CentOS-6 Key (CentOS 6 Official Signing Key) <centos-6-key@centos.org>
Package: centos-release-6-2.el6.centos.7.i686 (@anaconda-CentOS-201112130233.i386/6.2)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : xz-4.999.9-0.3.beta.20091007git.el6.i686 1/3
Installing : xz-lzma-compat-4.999.9-0.3.beta.20091007git.el6.i686 2/3
Installing : man-1.6f-29.el6.i686 3/3
Installed:
man.i686 0:1.6f-29.el6
Dependency Installed:
xz.i686 0:4.999.9-0.3.beta.20091007git.el6 xz-lzma-compat.i686 0:4.999.9-0.3.beta.20091007git.el6
Complete!
[root@localhost /]#
yum -y install package_name中的-y选项会在安装过程中自动确认而不需要管理员再输入y进行手工确认。
[root@localhost ssh]# yum -y --disablerepo=\* --enablerepo=c6-media install tcpdump
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package tcpdump.i686 14:4.0.0-3.20090921gitdf3cb4.1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================
Package Arch Version Repository Size
================================================================================================
Installing:
tcpdump i686 14:4.0.0-3.20090921gitdf3cb4.1.el6 c6-media 330 k
Transaction Summary
================================================================================================
Install 1 Package(s)
Total download size: 330 k
Installed size: 759 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : 14:tcpdump-4.0.0-3.20090921gitdf3cb4.1.el6.i686 1/1
Installed:
tcpdump.i686 14:4.0.0-3.20090921gitdf3cb4.1.el6
Complete!
发表评论
-
CentOS6.3安装Broadcom无线网卡驱动(转)
2014-02-11 19:50 1853DELL的笔记本上安装了CentOS6.3,没有安装无线网 ... -
CentOS64位系统使用Android虚拟机问题
2014-02-09 10:38 2150在CentOS64位系统中,建立andro ... -
ORA-12514,ORA-12505 错误解决方案
2012-05-22 22:50 27518Oracle 10G 安装后发现 ... -
Linux主机下配置Oracle 10G开机时自动启动服务
2012-05-22 20:54 1495在Linux上安装了Oracle ... -
CentOS 下中文环境下运行Sql Developer乱码问题
2012-05-21 21:25 2337这个问题的根源是JDK不支持中文导致的,解决办法如下: ... -
Linux 安装 Oracle10g 常见错误汇总(转)
2012-05-14 22:58 112131. 不能启动安装界面 运行runInstaller提示信息 ... -
CentOS6环境安装oracle 10g(转)
2012-05-14 23:12 22171.安装前装备 1.1 硬件要求 ... -
CentOS6 安装 wine
2012-01-12 19:38 3883第一种: 1. 新建yum源 vim / ... -
Fedora14 安装 audacious
2011-10-30 21:19 1777搞了几个小时,终于把audacious安装到F ... -
Fedora英文环境下安装fcitx(转)
2011-10-09 22:29 1531搞了以上午终于在linux的英文环境里面用上fcitx了。走了 ... -
MPlayer和SMPlayer的安装
2011-10-09 22:26 2978安装mplayer:mplayer官方网站:http://ww ... -
安装sensors查看温度
2011-10-09 22:20 1308[root@localhost liyf]# yum ins ... -
YUM,WGET代理的设置
2011-10-09 22:06 1379vim /etc/yum.conf,加入内容: prox ... -
Fedora13如何安装AR8151以太网网卡
2011-09-26 21:34 1391前段时间在Acer4745上安装了Fedora13系统 ...
相关推荐
在使用Linux操作系统,尤其是CentOS 6.2版本时,可能会遇到系统自带的YUM仓库中可用的RPM软件包不足以满足所有需求的情况。本文主要介绍如何通过添加第三方YUM源来扩展软件包的安装范围,以解决在CentOS 6.2中无法...
### CentOS 6.2 更新 YUM 源详解 #### 一、背景介绍 CentOS 6.2 是一个基于 Red Hat Enterprise Linux (RHEL) 6.2 的开源操作系统版本,广泛应用于服务器环境中。YUM(Yellowdog Updater Modified)是 CentOS 和...
在深入探讨如何在CentOS 6.2上通过YUM包管理器安装中文输入法之前,我们先简要了解一下CentOS以及YUM的基本概念。CentOS是基于Red Hat Enterprise Linux (RHEL)源代码编译而成的一个开源操作系统,它旨在提供一个...
在CentOS 6.2系统下配置Django与Python环境是一项关键任务,尤其对于那些希望在稳定的企业级Linux操作系统上部署动态网站或Web应用的开发者而言。以下将详细阐述整个配置流程,涵盖从安装必要的软件包到最终启动...
CentOS 6.2 yum安装配置lnmp服务器(Nginx+PHP+MySQL)
以下是如何在 CentOS 6.2 上配置和连接 VNC 的详细步骤: 1. **安装 CentOS 6.2**: - 将 CentOS 6.2 的 ISO 映像文件放入虚拟机光驱。 - 启动虚拟机,选择 "Install or upgrade an existing system" 选项开始...
在本篇文章中,我们将详细介绍如何在CentOS 6.2操作系统上使用`yum`工具来配置LNMP环境,即Nginx作为Web服务器、MySQL作为数据库服务器以及PHP作为解析动态页面的语言。该过程涉及了防火墙的配置、SELINUX的关闭、第...
在本文中,我们将深入探讨如何在CentOS 6.2 64位系统上配置DNS(Domain Name System)服务。DNS服务是网络基础设施的关键组成部分,它负责将域名转换为IP地址,反之亦然,以便用户可以方便地访问互联网资源。 首先...
在CentOS 6.2 64位操作系统中安装Oracle 11g涉及多个关键步骤,包括系统和配置要求、软件环境准备、用户环境设置以及后续的安装过程。以下是详细的知识点说明: 1. **系统及配置要求**: - 操作系统版本:CentOS ...
【CentOS 6.2 使用教程】 CentOS 6.2 是一款基于Linux的开源操作系统,它是Red Hat Enterprise Linux (RHEL)的一个免费克隆版本,广泛用于服务器环境。本教程将详细介绍如何在CentOS 6.2上进行基本操作,包括安装、...
提供的文件"美河学习在线eimhe.com]centos6.2 X86_64系统定制详细说明.pdf"应该包含了上述步骤的详细指南和具体操作方法。阅读这份文档,你将能够按照已验证的流程进行定制,避免不必要的错误和重复工作。在实践中,...
在本文中,我们将详细探讨如何在CentOS 6.2操作系统上使用`yum`命令来安装和配置LNMP(Nginx + PHP + MySQL)服务器。LNMP是Linux(CentOS 6.2)、Nginx(一个高性能的HTTP和反向代理服务器)、PHP(一种服务器端...
首先,本篇文章详细介绍了在CentOS 6.2系统上使用YUM包管理器安装LAMP(Linux、Apache、MySQL/MariaDB、PHP)环境以及phpMyAdmin的全过程。LAMP环境是网站开发中常用的服务器端软件组合,phpMyAdmin是一款用于管理...
配置 yum 源是使用 yum 的前提条件,本文将指导您如何配置 RedHat 6.2 的 yum 源。 一、配置本地 yum 源 首先,需要挂载光盘,命令为 `mount /dev/cdrom /mnt/media`。然后,新建本地 yum 源的配置文件 `/etc/yum....
### CentOS6.2 下 OpenLDAP 安装与配置详解 #### 一、OpenLDAP简介 OpenLDAP 是一个开源实现的轻量级目录访问协议(Lightweight Directory Access Protocol, LDAP)服务器套件,常用于集中管理和分发组织内各种资源...
### CentOS 6.2 DNS BIND 服务部署与配置详解 #### 一、概述 本文将详细介绍如何在CentOS 6.2系统上安装与配置DNS服务。通过一系列步骤,我们将了解如何设置DNS服务器以实现域名解析功能。DNS (Domain Name System...
本教程将详细介绍如何在基于Linux的CentOS 6.2操作系统上安装和配置Apache Web服务器与Subversion(SVN)服务,以便实现代码仓库的集中管理和版本控制。 首先,Apache是世界上最流行的Web服务器软件,它提供了一个...