Find the answer to your Linux question:
Results 1 to 5 of 5
Hi just wondering if anyone could help me with this problem i have with my New Vps i am trying to install Java and Screen But when i do "yum ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2012
    Posts
    3

    Help unable to install anything with yum command


    Hi just wondering if anyone could help me with this problem i have with my New Vps i am trying to install Java and Screen But when i do "yum install (Anything)" It says
    [root(at)s1 /]# yum install java
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    Could not retrieve mirrorlist mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
    14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
    Error: Cannot find a valid baseurl for repo: base


    Can anyone please help me the server is running CentOS 6- 64 bit Thanks (Sorry if i have Posted in Wrong bit i am New)

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,387
    "Couldn't resolve host 'mirrorlist.centos.org'"

    It seems, this machine either has connection issues or a wrong/none/non-working nameserver config.
    Check /etc/resolv.conf
    and see if you can use the nameserver(s) there to resolve hosts:
    Code:
    host www.google.com <your_nameserver>
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Jun 2012
    Posts
    3
    There is No /etc/resolv.conf files and the directory dose not exist.

  4. #4
    Just Joined!
    Join Date
    Jun 2012
    Posts
    3
    Also Putty dose not work for some reason with the Vps.

  5. #5
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Quote Originally Posted by klg26xbl View Post
    There is No /etc/resolv.conf files and the directory dose not exist.
    are you saying that the directory "/etc/" does not exist? this is unlikely, but if true, is not good. All of your network configuration (along with all the rest of your system configuration files) should be in /etc/. If just /etc/resolv.conf is missing, you can create it, but you need:

    1. your DNS server ip addresses

    2. to know why it is missing in the first place

    Does your VPS provider assign the server its IP info via DHCP? Did you possibly remove any files / directories?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •