Installing a GUI on Ubuntu Server

Report from here

We have already discussed how to install ubuntu 10.04 LAMP server .If you are a new user and not familiar with command prompt you can install GUI for your ubuntu LAMP server using one of the 2 options
 

 

1) Install desktop Environment

2) Install Webmin

1) Install desktop Environment

First you nee to make sure you have enabled Universe and multiverse repositories in /etc/apt/sources.list file once you have enable you need to use the following command to install GUI

 

sudo apt-get update

sudo apt-get install ubuntu-desktop

 

 

The above command will install GNOME desktop

If you wan to install a graphical desktop manager without some of the desktop addons like Evolution and OpenOffice, but continue to use the server flavor kernel use the following command

 

sudo aptitude install –no-install-recommends ubuntu-desktop

 

 

 

 

) Install Webmin in Ubuntu 10.04 server

Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely.Currently There is no Webmin package in the Ubuntu repositories.This tutorial will explain how to Install Webmin in Ubuntu Karmic

You can install webmin as your ubuntu server web interface to configure apache2,mysql,FTp servers and many more.Now we will see how to install webmin in Ubuntu 10.04 server

Using the Webmin APT repository

If you like to install and update Webmin via APT, edit the /etc/apt/sources.list file on your system

 

 

sudo vi /etc/apt/sources.list

 

 

add the line

 

 

deb http://download.webmin.com/download/repository sarge contrib

 

 

Save and exit the file

You should also fetch and install my GPG key with which the repository is signed, with the commands :

 

 

cd /root

wget http://www.webmin.com/jcameron-key.asc

sudo apt-key add jcameron-key.asc

 

 

 

You will now be able to install with the commands

 

sudo apt-get update

sudo apt-get install webmin

 

 

 

 

All dependencies should be resolved automatically.

Ubuntu in particular don’t allow logins by the root user by default. However, the user created at system installation time can use sudo to switch to root. Webmin will allow any user who has this sudo capability to login with full root privileges.

Now you need to open your web browser and enter the following

https://your-server-ip:10000/