LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-12-2016, 05:19 PM   #1
Joseph2016
LQ Newbie
 
Registered: Jul 2016
Location: New York
Distribution: Centos
Posts: 22

Rep: Reputation: Disabled
Cannot find a valid baseurl for repo: base/7/x86_64


Hello

I finally got my server connected ( from help from some fine people here ! )

and installed Centos 7.

Now I am getting this error

Cannot find a valid baseurl for repo: base/7/x86_64

Can someone advise me?

CENTOS 7

nmcli d = connected

able to ping google.......

THANK you in advance
 
Old 07-12-2016, 05:19 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,356

Rep: Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989Reputation: 1989
What command did you run that generated that error?
 
1 members found this post helpful.
Old 07-12-2016, 05:23 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,986

Rep: Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447
is the server on a lan ?
behind a hardware firewall ?

a fresh install should only have the default repos set up
to check run ( as root )
Code:
yum repolist all
 
1 members found this post helpful.
Old 07-12-2016, 05:26 PM   #4
Joseph2016
LQ Newbie
 
Registered: Jul 2016
Location: New York
Distribution: Centos
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
is the server on a lan ?
behind a hardware firewall ?

a fresh install should only have the default repos set up
to check run ( as root )
Code:
yum repolist all
Yes / No / I don't know I am sorry, I am such a N00b, to servers

I am connected to my cable modem, without a static IP

They are installing a static ip for me tomorrow on my business cable.

Is that why? no Dedicated IP?
 
Old 07-12-2016, 05:28 PM   #5
Joseph2016
LQ Newbie
 
Registered: Jul 2016
Location: New York
Distribution: Centos
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by suicidaleggroll View Post
What command did you run that generated that error?

yum update all

yum -y update

says loading fastestmirror

and then says "cannot connect to mirrors. etc

and then no baseURL found
 
Old 07-12-2016, 06:46 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,252

Rep: Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624
How did you configure eno1 from your other thread? Did you leave it as automatic i.e DHCP?
 
1 members found this post helpful.
Old 07-12-2016, 08:40 PM   #7
Joseph2016
LQ Newbie
 
Registered: Jul 2016
Location: New York
Distribution: Centos
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
How did you configure eno1 from your other thread? Did you leave it as automatic i.e DHCP?
Yes - left as automatic
 
Old 07-12-2016, 10:06 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,252

Rep: Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624
You can try uncommenting the baseurl line in the /etc/yum.repos.d/centOS-Base.repo file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] I broke yum -- Cannot find a valid baseurl for repo: base jim.thornton Linux - Newbie 1 10-22-2014 01:49 AM
Cannot find a valid baseurl for repo : base in centos 6 kalidoss Linux - Server 9 11-21-2011 12:12 AM
yum - cannot find a valid baseurl for repo: base. chris24300 Linux - Software 2 12-11-2009 12:13 PM
Cannot find a valid baseurl for repo: base --- CentOS 5 Ascendancy5 Linux - Newbie 7 01-12-2009 07:55 AM
yumex-"Cannot find a valid baseurl for repo: base" corelover Fedora 1 04-08-2005 04:10 AM


All times are GMT -5. The time now is 04:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration