LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 11-28-2011, 05:53 PM   #1
boo002
LQ Newbie
 
Registered: Nov 2011
Posts: 7

Rep: Reputation: Disabled
Windows user all my life, now VPS with Linux, CentOS. Complete lost!


OK, I have my 1st contact with linux today. It was recommended because it's cheaper for a long term use, so I made this choice.
I managed to put all together along with Putty, then logged in and everything was OK. First thing I was supposed to do is to install a graphical desktop and firefox, because this is all what I need to run on my VPS. So I typed in the following commands:

yum –y groupinstall "KDE (K Desktop Environment)"
&
yum -y install vnc vnc-server firefox x11-xorg

but it gives me this:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://www.mirrorlist.centos.org/?re...64&repo=addons error was
[Errno4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot find a valid baseurl for repo: addons

Please help me install those things.
Thank you!

Last edited by boo002; 11-28-2011 at 06:19 PM.
 
Old 11-28-2011, 07:03 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
It sounds as if it can't reach the internet. Can you ping an internet site? (You man need root privileges to ping.)

If you can hit the internet, the next most likely culprit is that there is something that needs fixing in the repository configuration for yum.

I think the relevant configuration file is /etc/yum.conf, but I don't have a CentOS available to check right now. Could you post the contents of that file?
 
Old 11-28-2011, 07:18 PM   #3
boo002
LQ Newbie
 
Registered: Nov 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
It sounds as if it can't reach the internet. Can you ping an internet site? (You man need root privileges to ping.)

If you can hit the internet, the next most likely culprit is that there is something that needs fixing in the repository configuration for yum.

I think the relevant configuration file is /etc/yum.conf, but I don't have a CentOS available to check right now. Could you post the contents of that file?
What command should I type to see if the 'ping' thing is working?
If I try to access /etc/yum.conf it says: Permission denied
Thanks!

EDIT: I made a google search and I find the 'ping' command. I hope is the good one.
So, for -ping google.com it says: unknown host google.com
-ping www.google.com it says the same thing
-ping [my.router.ip] it says connect: Network is unreachable

Last edited by boo002; 11-28-2011 at 07:30 PM.
 
0 members found this post helpful.
Old 11-29-2011, 02:26 PM   #4
mmidgett
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Rep: Reputation: 0
Please post the output of

cat /etc/resolv.conf

Also the output of

ifconfig

I welcome you to the linux community and I hope that your journey is long and far.

I would like to know why you chose CentOs as your distribution?

Also I recommend that you install XRDP you you can use the windows remote desktop tool to see your graphical interface. Command sudo yum install xrdp
 
Old 11-29-2011, 02:44 PM   #5
boo002
LQ Newbie
 
Registered: Nov 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mmidgett View Post
Please post the output of

cat /etc/resolv.conf

Also the output of

ifconfig

I welcome you to the linux community and I hope that your journey is long and far.

I would like to know why you chose CentOs as your distribution?

Also I recommend that you install XRDP you you can use the windows remote desktop tool to see your graphical interface. Command sudo yum install xrdp
Thanks for your reply!
For the "cat /etc/resolv.conf" I got the nameservers
For the other one, this:

ifconfig
lo Link encap:Local Loopback
inet addr:1??.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/1?? Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

For the last command, the only thing I got is this:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...64&repo=addons error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot find a valid baseurl for repo: addons

I cannot install anything because I should be able to connect to the internet which is not possible atm. I contacted my suport already, but nothing solved until now.

Thank you for your time!
 
0 members found this post helpful.
Old 11-29-2011, 08:05 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
The first thing that leaps out to me is that I don't see a broadcast address in the output of ifconfig, like this:

Code:
 Link encap:Ethernet  HWaddr 00:11:11:a9:7d:8d  
          inet addr:192.xxx.xxx.xxx  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::211:11ff:fea9:7d8d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8525560 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9699925 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3904893085 (3.6 GiB)  TX bytes:1847065062 (1.7 GiB)
That leads me to wonder whether the gateway address is properly configured.

A few other thoughts:

If the internet address that ifconfig revealed was 127.0.0.1, that is the loopback address and means "this computer right here." It would indicate that the computer was not picking up a DHCP address from the DHCP server (if it had a static ip address, the static address would show, even if it weren't working.

To ping, you need to login as root (that's Linux for "administrator"). You can do this by opening a terminal and entering "su." When the prompt asks for your password, enter the root password that you created at time of installation.

Then enter ping google.com; if it times out, you're not connecting.

"su" means "switch user." If no user is specified, root is assumed. Here's more on su: http://lowfatlinux.com/linux-switch-user-su.html

An additional test, if you have another computer on the local network, try pinging that computer by ip address (you can determine that in Windows with the command ipconfig). If you can hit the other computer, it will tell you that you are connecting to the network, but not getting out over the net, which means the solution is outside your computer. Although you did say you could connect with Putty, so disregard this paragraph.

Are you wireless or wired? If wireless, try jacking into a router with an ethernet cable and testing again. Also, it might be helpful the let us know the output of ifconfig -a (a=all).

Last edited by frankbell; 11-29-2011 at 08:06 PM.
 
Old 12-01-2011, 12:41 PM   #7
boo002
LQ Newbie
 
Registered: Nov 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
The first thing that leaps out to me is that I don't see a broadcast address in the output of ifconfig, like this:

[...]

Are you wireless or wired? If wireless, try jacking into a router with an ethernet cable and testing again. Also, it might be helpful the let us know the output of ifconfig -a (a=all).
Thanks for your replies!

OK, so all the problems are solved, because i contacted my suport and they reinstalled my OS. I managed to put to work the K desktop environment, a vnc, a vnc client, mozilla and other stuffs.
SO, everything it's ok, BUT, after I installed TightVNC to remotely control my VPS, I faced another problem. I don't know how to start mozilla, because the K menu is not at the bottom left where it should be. Any thoughts?

Thank you!
 
0 members found this post helpful.
Old 12-02-2011, 01:31 PM   #8
boo002
LQ Newbie
 
Registered: Nov 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
SOLVED by myself after intensive research regarding all those commands. Thanks for your support!
 
0 members found this post helpful.
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows user all my life, now VPS with Linux, CentOS. Complete lost! boo002 Linux - Newbie 1 11-28-2011 06:01 PM
MySQL Server Linux, CentOS VPS - Lost connection to MySQL server during query snooze1 Linux - Newbie 3 10-29-2011 03:01 AM
Securing a Linux Centos VPS MisterTickle Linux - Security 1 02-07-2011 11:42 AM
Complete noob lost in Linux World. Need Help :-) xwishmasterx Linux - Newbie 30 07-28-2008 07:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 02:53 PM.

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
Open Source Consulting | Domain Registration