Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1925706
  • 博文数量: 389
  • 博客积分: 7877
  • 博客等级: 少将
  • 技术积分: 4521
  • 用 户 组: 普通用户
  • 注册时间: 2007-12-10 14:02
文章分类

全部博文(389)

文章存档

2024年(1)

2022年(1)

2021年(1)

2020年(1)

2019年(1)

2018年(3)

2017年(6)

2016年(4)

2015年(8)

2014年(15)

2013年(31)

2012年(19)

2011年(47)

2010年(33)

2009年(105)

2008年(109)

2007年(4)

分类: LINUX

2013-08-27 11:10:48

1. 在/etc/yum.repos.d下面新增文件local_rhel6.repo内容如下

点击(此处)折叠或打开

  1. [rhel-Server]
  2. name=Server
  3. baseurl=file:///mnt/Server
  4. enabled=1
  5. gpgcheck=1
  6. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
  7. [rhel-ScalableFileSystem]
  8. name=ScalableFileSystem
  9. baseurl=file:///mnt/ScalableFileSystem
  10. enabled=1
  11. gpgcheck=1
  12. 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

点击(此处)折叠或打开

  1. Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
  2. Updating certificate-based repositories.
  3. Unable to read consumer identity
  4. rhel-ScalableFileSystem | 4.0 kB 00:00 ...
  5. rhel-ScalableFileSystem/primary_db | 7.2 kB 00:00 ...
  6. rhel-Server | 4.0 kB 00:00 ...
  7. rhel-Server/primary_db | 3.1 MB 00:00 ...
  8. Setting up Install Process
  9. Resolving Dependencies
  10. --> Running transaction check
  11. ---> Package tigervnc-server.x86_64 0:1.0.90-0.17.20110314svn4359.el6 will be installed
  12. --> Processing Dependency: xorg-x11-fonts-misc for package: tigervnc-server-1.0.90-0.17.20110314svn4359.el6.x86_64
  13. --> Running transaction check
  14. ---> Package xorg-x11-fonts-misc.noarch 0:7.2-9.1.el6 will be installed
  15. --> Finished Dependency Resolution
  16. Dependencies Resolved
  17. =====================================================================================================================================================
  18. Package Arch Version Repository Size
  19. =====================================================================================================================================================
  20. Installing:
  21. tigervnc-server x86_64 1.0.90-0.17.20110314svn4359.el6 rhel-Server 1.1 M
  22. Installing for dependencies:
  23. xorg-x11-fonts-misc noarch 7.2-9.1.el6 rhel-Server 5.8 M
  24. Transaction Summary
  25. =====================================================================================================================================================
  26. Install 2 Package(s)
  27. Total download size: 6.9 M
  28. Installed size: 9.6 M
  29. Is this ok [y/N]: y
  30. Downloading Packages:
  31. -----------------------------------------------------------------------------------------------------------------------------------------------------
  32. Total 61 MB/s | 6.9 MB 00:00
  33. warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
  34. Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
  35. Importing GPG key 0xFD431D51:
  36. Userid : Red Hat, Inc. (release key 2)
  37. Package: redhat-release-server-6Server-6.3.0.3.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3)
  38. From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
  39. Is this ok [y/N]: y
  40. Importing GPG key 0x2FA658E0:
  41. Userid : Red Hat, Inc. (auxiliary key)
  42. Package: redhat-release-server-6Server-6.3.0.3.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3)
  43. From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
  44. Is this ok [y/N]: y
  45. Running rpm_check_debug
  46. Running Transaction Test
  47. Transaction Test Succeeded
  48. Running Transaction
  49. Installing : xorg-x11-fonts-misc-7.2-9.1.el6.noarch 1/2
  50. Installing : tigervnc-server-1.0.90-0.17.20110314svn4359.el6.x86_64 2/2
  51. rhel-ScalableFileSystem/productid | 1.8 kB 00:00 ...
  52. rhel-Server/productid | 1.7 kB 00:00 ...
  53. Installed products updated.
  54. Verifying : tigervnc-server-1.0.90-0.17.20110314svn4359.el6.x86_64 1/2
  55. Verifying : xorg-x11-fonts-misc-7.2-9.1.el6.noarch 2/2
  56. Installed:
  57. tigervnc-server.x86_64 0:1.0.90-0.17.20110314svn4359.el6
  58. Dependency Installed:
  59. xorg-x11-fonts-misc.noarch 0:7.2-9.1.el6
  60. Complete!


阅读(5883) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~