Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

CentOS CLI, Update Mirrorlist

  • 29-09-2014 01:58PM
    #1
    Moderators, Computer Games Moderators, Technology & Internet Moderators Posts: 19,242 Mod ✭✭✭✭


    Trying to run a few updates and installations on the machine. I'm just wondering, where would I find the mirror list files to update them as I'm getting an unresolved host, each time I try an update.


Comments

  • Moderators, Computer Games Moderators, Technology & Internet Moderators Posts: 19,242 Mod ✭✭✭✭L.Jenkins


    Tis ok, with a little digging, I found it. Was in the /etc/yum.repos.d/ folder. Repos need to be edited


  • Moderators, Computer Games Moderators, Technology & Internet Moderators Posts: 19,242 Mod ✭✭✭✭L.Jenkins


    Ok, so I have my hands on the Repos. It's driving me nuts try to install packages with Yum. Any ideas on how to setup or a sample a repo to install packages?


  • Closed Accounts Posts: 18,966 ✭✭✭✭syklops


    Itzy wrote: »
    Ok, so I have my hands on the Repos. It's driving me nuts try to install packages with Yum. Any ideas on how to setup or a sample a repo to install packages?

    What exactly are you trying to achieve.

    Bad news: The yum config is why I failed the RHCE.
    Good News: I've learned a lot since then.


  • Moderators, Computer Games Moderators, Technology & Internet Moderators Posts: 19,242 Mod ✭✭✭✭L.Jenkins


    Well I installed CentOS yesterday on a VM. I wanted to do a few updates and install a few packages by searching for repos used be Yum and Editing them to point to new repositories on line. I thought the issue my have been the code block I implemented, but sadly it wasn't

    It could resolve repository location, which left me scratching my head and then I realised after pinging Google, I had no net connection. So when I fix that first, then I'll get back to the issue of configuring Yum.


  • Closed Accounts Posts: 18,966 ✭✭✭✭syklops


    Itzy wrote: »
    Well I installed CentOS yesterday on a VM. I wanted to do a few updates and install a few packages by searching for repos used be Yum and Editing them to point to new repositories on line. I thought the issue my have been the code block I implemented, but sadly it wasn't

    It could resolve repository location, which left me scratching my head and then I realised after pinging Google, I had no net connection. So when I fix that first, then I'll get back to the issue of configuring Yum.

    Ok, when you get back to configuring yum post your repo file here.

    Can you ping 8.8.8.8?


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 5,114 ✭✭✭opus


    For Centos, you'll probably want the EPEL & RepoForge repositories as well or at least I've needed them for the servers I've set up.


  • Moderators, Technology & Internet Moderators Posts: 1,338 Mod ✭✭✭✭croo


    I recently had an issue with doing yum updates on a server - turned out to be an issue with the fastmirror plugin to disable it, by edit file "/etc/yum/pluginconf.d/fastestmirror.conf", and switch "enabled=1" to "enabled=0"
    Solved my problem!


Advertisement