How to install GUI in Ubuntu 10.04 (Lucid Lynx) Server

Sponsored Link
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

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 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/

Now you should see similar to the following Screen

1

Once you loggedin you should see similar to the following screen

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

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

Sponsored Link

You may also like...

57 Responses

  1. Timothy says:

    I like the font in your webmin screenshot. Which font is it?

  2. admin says:

    Those fonts are default for webmin installation

  3. Mr. Obvious says:

    I like how the screenshots are all distorted and warped.

    You should note that installing ubuntu-desktop is a big deal … after you install it, you no longer have ubuntu-server. If you need gui parts to make a package work, there are better things to install that do less transformation on the box (i.e. apt-get install gnome-desktop-environment)

    This leads me to ask the question, why do you want a GUI and webmin? I thought you wanted a server…

  4. Yuri Svetlov says:

    in step about fetching and and installing the key… there is no rights to create file int /root dir, so better go home ~/ (will be your user name at install)

  5. admin says:

    If you are new to server environment gui,webmin both are very useful

  6. matson says:

    webmin is a great alternative to a full [GUI] Desktop Environment. I love it.

  7. Thierry says:

    Thanks for those tips.
    Just a comment: on my version of Ubuntu server 10.04, the apt-get option not to install all recommended dependancies is “–without-recommends” (instead of “–no-install-recommends” as you suggest).
    Otherwise, great summary !

  8. anuj says:

    thanks buddy such a gr8 help

  9. Kazinga says:

    –no-install-recommends

    needs to be

    –without-recommends

  10. chewbacca82 says:

    Thanks so much for the tips on installing webmin. I’m new to setting up a ubuntu server and it is a huge help for me.

  11. Dinesh says:

    I installed webmin on my newly install Ubuntu server 10.04 how to take access of webmin from other machine as I’ve not install desktop package for server.
    I’m unable to connect to webmin

  12. ski-nazi says:

    to access webmin: use any browser and type:
    https://your_server_IP_address:10000

    Make sure to open port 10000 on your firewall/gateway.

  13. saurabh says:

    i have to install oracle 11 g on ubuntu 10.
    It seems i need a GUI based installer.
    Do i need to install some GUI like genome
    .If that is so,how can I access GUI using putty.
    I have only remote connections.
    I have tried installing it using command line but it doesn’t help

  14. Scott says:

    Thank you!
    Getting both Ubuntu Desktop and WebMin installed was a great help to me.
    Scott

  15. luci says:

    hey guys, i just want to know if you can run the terminal from webmin?
    and can it be used as remote program (like VNC ..)

  16. Timothy says:

    @Luci, yes you can run a terminal in webmin. But better still, if you are accessing your server remotely via webmin, why not use any of the dedicated terminals for linux or putty for windows? About GUI, VNC is for remote desktop GUI connections. You can administrate your server without a desktop GUI but with webmin because webmin is a web user interface not a remote desktop server.

  17. Luci says:

    thanks Tmothy,
    “why not use any of the dedicated terminals for linux or putty for windows?”
    can you please give me a name?
    also you said you can run terminal from webmin how? do you mean Others\Text Login?
    one more question if you don’t mind?
    how to set webmin to auto-start whenever the server reboots?

  18. Timothy says:

    @Luci, If you are accessing webmin remotely, you can use Others\SSH login.

    By “why not use any of the dedicated terminals for linux or putty” I mean if you need to use a terminal then fire up gnome-terminal, konsole, terminator, lxterminal etc. as in you can use separate terminals in combination with webmin gui.

  19. Luci says:

    i don’t have the GUI interface on my server!
    so you mean if i want to use gnome-terminal from webmin i have to have gnome desktop on my server right?
    SSH login doesn’t work for my i tried it but every time it asked for username/password I type in them in and all i get is Not Connected … Offline !!

    Thanks again,
    Luci

  20. Timothy says:

    You have two options. Install a minimal gui in your server and use webmin from there i.e sudo aptitude install –without-recommends ubuntu-desktop and then install webmin or..

    the better option. Install webmin in your server and access it remotely i.e from onother computer. This option is what i’d recommend. U dont need a dekstop gui in your server to install webmin.

  21. Luci says:

    i’m using the second option πŸ™‚ i don’t like the GUI LOL
    is there a way to fix the SSH login? i checked the SSH settings and nothing looks unormal !
    btw: the Text login is working file for me except for the Certificate error from the web browser

  22. Timothy says:

    If you go for the second option (remote server access) then you dont need to use webmin’s terminal because with the second option you can use any terminal of your choice to ssh into the server. To access your server just type ssh username@ipaddress from your remote terminal. Any terminal will do (putty, gnome-terminal etc)

  23. Luci says:

    “To access your server just type ssh username@ipaddress from your remote terminal. Any terminal will do (putty, gnome-terminal etc)”
    i’m using windows to remote access to the server

  24. Timothy says:

    Then use putty to ssh into your server. Download putty windows executable from here http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

    For webmin remote access, type https://YourServerIPaddress:10000 in your windows web browser i.e firefox or internet explorer

  25. Timothy says:

    Then use putty to ssh into your server. Download putty windows executable from here http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

    For webmin remote access, type https://Y o u r S e r verIPaddress:10000 in your windows web browser i.e firefox or internet explorer

  26. Luci says:

    couldn’t fine a way to install putty !! i have ubuntu and the site you sent is for unix .. i’m not into unix..
    webmin offers a way to SSH to server .. i dont know why it doesn’t work?!

  27. Timothy says:

    Sigh.. Putty is majorly a windows program. You previously said you are on windows so that’s why I recommended putty for you . Use putty to ssh into your ubuntu server. Install Putty in your windows computer, not your ubuntu server.

  28. Luci says:

    ohhh i see,
    sorry i missunderstood you πŸ™
    but i do like webmin interface and the tools… well put together.
    i will see if i can get the SSH from webmin to work.
    and i’m still strugling with the SSL certificate

  29. Timothy says:

    Make sure your ubuntu’s firewall allows ssh connection. Allow input on port 22 or whichever port you’ve assigned ssh to. You can use webmin’s linux firewall for that. Linux firewall is in the networking category of webmin. Also make sure the ssh is installed and the service is running your ubuntu server. To run ssh from webmin, use ssh in others category. U need java to run ssh in webmin I think.

  30. Luci says:

    i was able to ssh into my server using putty πŸ˜€ but not with webmin !!
    is this glitch ?

Leave a Reply

Your email address will not be published. Required fields are marked *