How to install GUI in Ubuntu 9.10 (Karmic) Server

Sponsored Link
We have already discussed how to install ubuntu 9.10 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 apt-get install --no-install-recommends ubuntu-desktop

If you want to install light weight desktop install xfce using the following command

sudo apt-get install xubuntu-desktop

If you want to install KDE desktop use the following command

sudo apt-get install kubuntu-desktop

2) Install Webmin in Ubuntu 9.10 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 9.10

Preparing your system

First you need to install the following packages

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 here

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.500_all.deb

Now we have webmin_1.500_all.deb package install this package using the following command

sudo dpkg -i webmin_1.500_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

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/

Now you should see similar to the following Screen

1

Once you loggedin you should see similar to the following screen

2

From the above screen  if you want to configure Apache,Mysql server you need to click on Servers on your lefthand side you should many servers are ready to configure

This is very Easy to configure most of the servers and Enjoy your new Ubuntu 9.10 LAMP Server.

Sponsored Link

Related posts

You may also like...

16 Responses

  1. Chad says:

    sudo apt get-install gnome

  2. John says:

    Nice howto!

    I had to change the aptitude option –no-install-recommends into –without-recommends. I used a fresh Ubuntu 9.10 install with aptitude 0.4.11.11.

    Also installed the Webmin and that really works well for me.

    Thanks.

  3. Kaithy Aravind Reddy says:

    Thanks for your nice webmin notes.

  4. Great post! I’m a cli person, myself, but my wife is wanting to learn how to manage our server at home. Having a GUI desktop for her will be very helpful.

  5. JohnH says:

    I have had difficulty, through lack of knowledge mainly as a newbee, in getting things going for a single, small family history website. Apache seems to be working but not I think the name server. However, since I recently closed down my system, on reboot I cannot get back into Webmin at all. I have even tried reinstalling Webmin.
    When I enter https://……:10000/ in Firefox, I get this error message.
    “Secure Connection Failed.
    An error occurred during a connection to ……..
    SSL received a record that exceeded the maximum permissible length.
    (Error Code:ssl_error_rx_record_too_long)”
    Please help.
    Thanks

  6. Chris says:

    Hey John,

    Had the same problem and –without-recommends worked. So it looks like for the new 9.10 the command is “sudo aptitude install –without-recommends ubuntu-desktop”. Another nice tip in case you install GNOME (or something) you can go right into the terminal and install a different one from there.

  7. JohnH says:

    Thanks Chris, I saw that reference. I did a complete re-install of the server, only this time I chose the LAMP version. I am having trouble fully understanding how to set up Apache, etc., to ‘find’ my index web page. I am just about to abandon the project. I downloaded Jamie Cameron’s book “Managing Linux Systems with Webmin” and followed that as much as I understand it but never get success.
    I really like using Ubuntu, but I do get frustrated in getting info when things don’t work.
    However, I wont give up entirely, just the server project.
    Thanks for your help.

  8. Smokey Mc. Pot says:

    I installed 9.10 and then kubuntu-desktop.
    Since then I couldn’t boot to console and just start it, it kept booting into kde.

    I was looking in the rc.d dir’s/files but found that it was all relocated.

    After some digging into upstart (which is new to me)
    I found that if if I edit /etc/init/kdm.conf
    and comment out the start stop lines.
    Then kde would only start when I manualy start the job.

    It works for me, I just don’t know if this is the right way.

    Any thoughts on that ??

    Thanks, Smokey Mc. Pot

  9. Mike says:

    I followed all the instructions above without any errors. Webadmin works great, but I can’t for the life of me figure out how to start the gui from the console. I’ve searched and tried startx, /etc/init.d/kdm start but had no luck. How do you start the desktop? I hate being a noob.

  10. gcs says:

    I got karmic LAMP server installed. Added SSH and it works (great!)
    Installed webadmin per above and it installed normally. When launching the web site in firefox I get this message: “Firefox can’t find the server at [myservername]”

    I’m a noob, please be gentle.

  11. admin says:

    Instead of name try to enter your server ip address

    You can find your server ip address using the following command from terminal

    ifconfig

  12. GammaTwo says:

    Regarding –no-install-recommends, it’s an apt-get option, so it’s better to call:

    sudo apt-get install –no-install-recommends ubuntu-desktop

    as explained in my blog http://www.gammatwo.com/2010/04/22/light-ubuntu-install-basic-gnome-desktop-on-ubuntu-server/

  13. douglas c. says:

    Hi

    I installed Webmin in my ubuntu 9.10 server when i try to open a web browser to enter the https//my system ip:10000/, the info is giving me is Error-Bad Request
    this web server is running in SSL mode. Try the URL https://douglas.local:10000.

  14. douglas c. says:

    Hi

    I installed Webmin in my ubuntu 9.10 server when i try to open a web browser to enter the https//my system ip:10000/, the info this time is

    Unable to connect
    Firefox can’t establish a connection to the server at 192.168.0.153.
    * The site could be temporarily unavailable or too busy. Try again in a few
    moments.

    * If you are unable to load any pages, check your computer’s network
    connection.

    * If your computer or network is protected by a firewall or proxy, make sure
    that Firefox is permitted to access the Web.

  15. ahmad says:

    1. what distribution based ubuntu server edition with gnome desktop default ?
    2. how to install gnome desktop from live cd/iso ubuntu desktop ?

  16. admin says:

    Thank you updated article now

Leave a Reply

Your email address will not be published.