[SOLVED] Windows user all my life, now VPS with Linux, CentOS. Complete lost!
Linux - Virtualization and CloudThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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
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?
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
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.
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.
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).
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.