centos6.5 installation Vnc-server

Source: Internet
Author: User
Tags gpg

Linux Rookie study notes, do not like to spray, only dedicated to rookie of their own, such as wrong, please Daniel pointed to me to correct.

because the first time to learn Linux, it can be said to start from scratch. Setbacks and difficulties are unavoidable.
may install vnc-server in the eyes of others, is a yum command can be solved. But maybe because I was a beginner, installed CentOS have problems, all kinds of error, fortunately, I insist on a variety of Baidu, finally installed successfully. Here is a summary of the problems I have encountered. There is also a workaround.
because is the side solves the problem, border the webpage, therefore the specific several question point is not too clear, please forgive me.
In fact, write these are to see for themselves, in case later encounter such problems can not be solved, although the human brain is better than the computer, but no computer intuitive.
1. Because of myThe GNOME desktop GUI is installed, so it runs directly
#
Yum Installl-y tigervnc-server tragedy is coming, the error is as follows
Cannot retrieve repository metadata (Repomd.xml) for repository It's just a word. The bottom line is the solution.
# cd/etc/
#ls

#vi/etc/yum.repos.d/centos-media.repo
Find YUM.REPOS.D This directory, there is a file Zl.repo (your machine may not be the name, the name should be custom), vi compile the address inside baseurl=http://centos.ustc.edu.cn/centos/5/os/i386/
2. After doing the above, continue
#Yum installl-y tigervnc-server tragedy is coming, the error is as follows

No Package tigervnc-server available.
Error:nothing to do
and then look at it.
#rpm-Q tigervnc tigervnc-server
sure enough, everything is wood .
Package Tigervnc are not installed
Package tigervnc-server are not installed
finally suddenly Baidu into a blog, CentOS in the Tigervnc-server, is vnc-server AH has wood! (For a long while, it is my rookie, the name of the bag to the wrong, can be installed only out of ghosts)
then the enthusiastic execution
# yum-y Install Vnc-server Unfortunately, the tragedy still happened, the error is as follows
warning:rpmts_HdrFromFdno:Header V3 dsa/sha1 Signature, key ID E8562897:nokey
retrieving key fromFile:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6The solution is as follows
#rpm--import http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5
After executing this command, it really works, and repeats it again.
# yum-y Install Vnc-server
complete! Finally succeeded, the instant happy on the poor tears.
[email protected] ~]# rpm-q vnc-server
vnc-server-4.1.2-14.el5_6.6.i386
Vnc-server finally achieved the installation on the centos6.5.
this diary, to the small white I salute. Maybe later I see this diary will laugh, but I will certainly thank the awakened self.



This article is from "Linux Rookie growth log" blog, please be sure to keep this source http://0575129.blog.51cto.com/1418401/1590099

centos6.5 installation Vnc-server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.