Labels

Friday, April 5, 2013

Install GUI in Ubuntu Server

If you are a new user and not familiar with command prompt you can install GUI for your ubuntu server using the 2 options

1) Install desktop Environment
2) Install Webmin



1) Install desktop Environment
        First you need 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
   
    root@server# sudo apt-get update
    root@server# sudo apt-get install ubuntu-desktop 
 
         ** The command will install GNOME desktop
   
If you want 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
    root@server# sudo aptitude install --without-recommends ubuntu-desktop
   
If you want to install light weight desktop install xfce using the following command
    root@server# sudo apt-get install xubuntu-desktop
   
If you want to install KDE desktop use the following command
    root@server# sudo apt-get install kubuntu-desktop
   

2) Install Webmin in Ubuntu

        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.
        This tutorial will explain how to Install Webmin in Ubuntu

    You can install webmin for your server web interface to configure apache2,mysql,FTp servers and many more.Now we will see how to install webmin in Ubuntu
   
Preparing your system
    First you need to install the following packages
        root@server# sudo aptitude install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl
       
    Now download the latest webmin using the following command or from (http://www.webmin.com/download.html)
        root@server# wget http://prdownloads.sourceforge.net/webadmin/webmin_1.620_all.deb
       
    Now we have webmin_1.620_all.deb package install this package using the following command
        root@server# sudo dpkg -i webmin_1.620_all.deb
       
    ** This will complete the installation.
   
***-----====   
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
   
    root@server# 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
    root@server#  wget http://www.webmin.com/jcameron-key.asc
    root@server#  sudo apt-key add jcameron-key.asc

   
You will now be able to install with the commands
    root@server#  sudo apt-get update
    root@server#  sudo apt-get install webmin

   
    ** All dependencies should be resolved automatically.   
   
Now you need to open your web browser and enter the following  https://your-server-ip:10000/