1. 在/etc/yum.repos.d下面新增文件local_rhel6.repo内容如下
-
[rhel-Server]
-
name=Server
-
baseurl=file:///mnt/Server
-
enabled=1
-
gpgcheck=1
-
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
-
-
[rhel-ScalableFileSystem]
-
name=ScalableFileSystem
-
baseurl=file:///mnt/ScalableFileSystem
-
enabled=1
-
gpgcheck=1
-
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
2. 将RHEL6.3的光盘放到服务器光驱中,制作iso文件放到/softinstall下面,文件名为RHEL_6.3_x86_64_Disc1.iso
挂载这个iso文件
cd /softinstall
mount -t iso9660 -o loop RHEL_6.3_x86_64_Disc1.iso /mnt
3. 安装vncserver
[root@test ~]# yum install vnc-server
-
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
-
Updating certificate-based repositories.
-
Unable to read consumer identity
-
rhel-ScalableFileSystem | 4.0 kB 00:00 ...
-
rhel-ScalableFileSystem/primary_db | 7.2 kB 00:00 ...
-
rhel-Server | 4.0 kB 00:00 ...
-
rhel-Server/primary_db | 3.1 MB 00:00 ...
-
Setting up Install Process
-
Resolving Dependencies
-
--> Running transaction check
-
---> Package tigervnc-server.x86_64 0:1.0.90-0.17.20110314svn4359.el6 will be installed
-
--> Processing Dependency: xorg-x11-fonts-misc for package: tigervnc-server-1.0.90-0.17.20110314svn4359.el6.x86_64
-
--> Running transaction check
-
---> Package xorg-x11-fonts-misc.noarch 0:7.2-9.1.el6 will be installed
-
--> Finished Dependency Resolution
-
-
Dependencies Resolved
-
-
=====================================================================================================================================================
-
Package Arch Version Repository Size
-
=====================================================================================================================================================
-
Installing:
-
tigervnc-server x86_64 1.0.90-0.17.20110314svn4359.el6 rhel-Server 1.1 M
-
Installing for dependencies:
-
xorg-x11-fonts-misc noarch 7.2-9.1.el6 rhel-Server 5.8 M
-
-
Transaction Summary
-
=====================================================================================================================================================
-
Install 2 Package(s)
-
-
Total download size: 6.9 M
-
Installed size: 9.6 M
-
Is this ok [y/N]: y
-
Downloading Packages:
-
-----------------------------------------------------------------------------------------------------------------------------------------------------
-
Total 61 MB/s | 6.9 MB 00:00
-
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
-
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
-
Importing GPG key 0xFD431D51:
-
Userid : Red Hat, Inc. (release key 2)
-
Package: redhat-release-server-6Server-6.3.0.3.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3)
-
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
-
Is this ok [y/N]: y
-
Importing GPG key 0x2FA658E0:
-
Userid : Red Hat, Inc. (auxiliary key)
-
Package: redhat-release-server-6Server-6.3.0.3.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3)
-
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
-
Is this ok [y/N]: y
-
Running rpm_check_debug
-
Running Transaction Test
-
Transaction Test Succeeded
-
Running Transaction
-
Installing : xorg-x11-fonts-misc-7.2-9.1.el6.noarch 1/2
-
Installing : tigervnc-server-1.0.90-0.17.20110314svn4359.el6.x86_64 2/2
-
rhel-ScalableFileSystem/productid | 1.8 kB 00:00 ...
-
rhel-Server/productid | 1.7 kB 00:00 ...
-
Installed products updated.
-
Verifying : tigervnc-server-1.0.90-0.17.20110314svn4359.el6.x86_64 1/2
-
Verifying : xorg-x11-fonts-misc-7.2-9.1.el6.noarch 2/2
-
-
Installed:
-
tigervnc-server.x86_64 0:1.0.90-0.17.20110314svn4359.el6
-
-
Dependency Installed:
-
xorg-x11-fonts-misc.noarch 0:7.2-9.1.el6
-
-
Complete!
阅读(5883) | 评论(0) | 转发(0) |