Solved

How do install GNOME and VNC on my newly purchased unmanaged VPS hosting?

Posted on 2009-07-02
14
788 Views
Last Modified: 2013-11-30
Hello,

I just order an unmanaged VPS hosting for a gaming server (ragnarok online) that I want to run on it. I'm currently a novice at Ubuntu Linux which is the OS for the VPS server I order.

I would like to know a couple of things.
1) How do you open and edit a text file through the terminal window? I'm currently connected to the server through puTTy and trying to open this file and edit it "/etc/apt/sources.list" so I can enable universal repositories and install things. I'm not so sure about this.
2) After I edit this file to enable universal repositories, I want to install GNOME. I read somewhere that you need to enter this command in the terminal window.
sudo apt-get install ubuntu-desktop
Is this the right command?
3) Once I finish installing GNOME, I like to install VNC (remote desktop). I already have VNC viewer on my laptop. Now I only have to install VNC server on the server. I read somewhere that the command to do this is:
sudo apt-get install x11vnc vnc-java
Is this right? Then I have to do this:
       2. Set up a password for clients. Code: x11vnc -storepasswd
       3. Open up ports 5800 and 5900 on your firewall
       4. Run the terminal command: x11vnc -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5800 and add it for auto-starting in future sessions
Are these the right steps for installing VNC on the server?
4) After I install both of these software, am I set to start installing and running my gaming server? Or is there any other small things I have to do? Remind you, this is a newly Ubuntu server 32 bit with nothing besides Apache and the setup files.

I greatly appreciate anyone's help.
0
Comment
Question by:HeavenWings
  • 8
  • 6
14 Comments
 
LVL 14

Expert Comment

by:fmarzocca
ID: 24765569
1) sudo nano /etc/apt/sources.list

2) yes

3) too many questions... :-)
0
 

Author Comment

by:HeavenWings
ID: 24765616
When I type in the command you provided it gives me this:
sudo: nano: command not found
0
 
LVL 14

Expert Comment

by:fmarzocca
ID: 24765620
you need to install nano:

sudo apt-.get install nano
0
 

Author Comment

by:HeavenWings
ID: 24765670
Are you sure its sudo apt-.get install nano or is it without the period before get?

I tried your command and it said command not found.

I tried without the period before get and it gives me this:
root@xx-xx-xxx-xx:~# sudo apt-get install nano
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package nano
0
 
LVL 14

Expert Comment

by:fmarzocca
ID: 24765730
it is without the period, of course.
If you have a standard ubuntu installation, nano is in the repositories:

sudo apt-get install nano

You can check it is there from here:
http://packages.ubuntu.com/jaunty/nano

What version of ubuntu you have installed?
0
 

Author Comment

by:HeavenWings
ID: 24765752
Ubuntu 9.04

I read somewhere that I need to enable universal repositories before installing anything. That's why I asked my first question.
1) How do you open and edit a text file through the terminal window? I'm currently connected to the server through puTTy and trying to open this file and edit it "/etc/apt/sources.list" so I can enable universal repositories and install things. I'm not so sure about this.

Don't I have to edit /etc/apt/sources.list to enable it so I can install nano?
0
 
LVL 14

Expert Comment

by:fmarzocca
ID: 24765774
No. Nano is in main repositories.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:HeavenWings
ID: 24765779
So why can't it find the package? And how do I make it find the package?
0
 
LVL 14

Expert Comment

by:fmarzocca
ID: 24765786
Before trying to install, refresh the cache.

sudo apt-get update

Then install.
0
 

Author Comment

by:HeavenWings
ID: 24765938
Excellent. GNOME is not installing. Sweet. Thanks for helping me.

Could someone answer my other questions. Questions 3 and 4.

Thank you.
0
 
LVL 14

Accepted Solution

by:
fmarzocca earned 50 total points
ID: 24765966
I think it is better you open another question specific to VNC.
0
 

Author Comment

by:HeavenWings
ID: 24766014
Smart thinking. Thanks for the help. Greatly appreciate it.
0
 

Author Closing Comment

by:HeavenWings
ID: 31599288
His answers was very accurate and understandable. Thank you again for your support.
0
 

Author Comment

by:HeavenWings
ID: 31287553
Hi again,

how do I install vnc on ubuntu?
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Remote Desktop Connections allow you to control remote host machines via the magic of the Internet and RDP (Remote Desktop Protocol). For the purposes of this article we will assume you are connecting from your home PC or laptop to a remote offic…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now