August 31, 2010 · Server · Email This Post

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

Incoming search terms:

Related posts

57 Comments to “How to install GUI in Ubuntu 10.04 (Lucid Lynx) Server”

  1. Luci says:

    what i did i created a certificate through webmin, Download the PKCS12 format into your pc and then add it to you web browser and voila :)
    no more Certificate error anymore.

    still trying to get SSH to work … please if you have any other way to do it please help the sister out ;)
    - the SSH server is running on my server
    - i can use SSH from putty
    - port 22 is open on the fw
    so i dont know what’s the problem !!

    [Reply]

  2. Timothy says:

    Try with text login then. Copy this into your web browser’s URL and press enter then login https://YourServerIPAddress:10000/ajaxterm/proxy.cgi/10001/

    [Reply]

  3. Timothy says:

    The first time you go to https://YourServerIPAddress:10000/ajaxterm/proxy.cgi/10001/ you might be asked to login afresh into webmin. In that case, login and re-enter the url.

    [Reply]

  4. Luci says:

    thanks Tim,
    the text login is working just fine for me, but SSH is not he only way to SSH is thru putty.

    Thanks again for your help on this … much appreciated. and keep up the best work.

    Luci M.

    [Reply]

  5. Timothy says:

    :-)
    Welcome. We all need help once in a while from each other.

    [Reply]

  6. Luci says:

    you got that right :D
    well, i know now where to get the help from ;)

    [Reply]

  7. Luci says:

    hey Tim,
    i have another question for ya, i tried to build a Forum … but i could,’t find anything for Ubuntu or linux!!
    i have my server running FTP server and webserver installed and i want a forum template :| how to do that?

    Thanks,
    Luci

    [Reply]

  8. Timothy says:

    There is an easy way.. Use bitnami stacks. http://bitnami.org/stacks There are stacks for forums, content management, analytics, blogging, bug tracking, business intelligence etc etc

    For your needs, have a look at OSQA, phpBB and redmine stacks. The stacks are very easy to install. You’l be up and and running in a few minutes.

    [Reply]

  9. Luci says:

    Thank you soooo much Tim, i don’t know what to do without you :D
    it’s a good start, but the part that really scares me is how to update/change titles names for the forum … on ubuntu server i don’t have the GUI interface ! well i have Webmin thanks to you ;)

    Luci

    [Reply]

  10. Timothy says:

    :-)

    There is a command line installation mode for the stacks “–mode text” (without quotes)

    See “2.6. What are the installation modes?” of http://wiki.bitnami.org/Native_Installers_Quick_Start_Guide#What_are_the_installation_modes.3f

    Once you install, you can access the stacks via web interface from a remote computer. The installer will ask you for port numbers, a username and password. For example, when installing the mysql database for the Drupal stack, it will ask for the port for mysql (usually 3306) but since you have used port 3306 with your default mysql installation in linux, you can choose 3307 for the drupal stack.

    [Reply]

  11. Timothy says:

    Download the appropriate linux stack, make it executable (chmod +x) then run it in the terminal i.e for drupal it would be

    sudo ./bitnami-drupal-7.8-1-linux-installer-r01.bin –mode text

    [Reply]

  12. Luci says:

    before we continue .. when you say stacks, what are you referring to? Also do I have to install mysql database for Forum or the template will choose the database automatically and install it.
    For a simple forum like PHPBB, how the users and information will be saved is it local on my mini server or online?

    [Reply]

  13. Timothy says:

    Stacks (prepackaged software) like PHPBB, wordpress etc. Prepackaged int that it has all the software you need to run the service i.e phpbb.

    No you don’t have to install mysql database to use the stacks as they come self-contained. Mysql is in the stacks already.

    The information in phpbb will be saved in your local mysql/postgresql database. Thats why they are called databases :-)

    [Reply]

  14. Timothy says:

    Correction.. The information in phpbb will be saved in your mini-server stack mysql/postgresql database (phpbb stack) and not your local (linux) mysql/postgresql database

    [Reply]

  15. Luci says:

    gotcha, now knowing that i already have a webserver ok? and if i install phpbb stock how couldi get to the forum?! i don’t have a DNS name i only use my IP and i get my website.
    i want when i type ip i get to my forum instead then i will put a link from there.

    Thanks Tim,
    Luci

    [Reply]

  16. Timothy says:

    During installation you will be asked for ports. After installation, you can access your phpbb from your ipaddress:port

    Remember to open the port you choose for phpbb in your firewall.

    [Reply]

  17. Luci says:

    router fw or ubuntu fw ?

    [Reply]

  18. Timothy says:

    Router forward. That is if you want people outside your network to access your forum. Alternatively if you have a firewall (like untangle) installed between your router and LAN, you can forward ports to your ubuntu server from the firewall. If your ubuntu server is your firewall, then just do router port forwarding.

    Consider registering for a domain name if you want your forum to be accessible from the public internet.

    [Reply]

  19. Luci says:

    ok i’m home now and finished my errands :D
    let me try what you’ve told me and let ya know

    [Reply]

  20. Luci says:

    everything work fine .. except for the myphpadmin … i coudn’t log in to it from a remote laptop !! it keep saying that i only can lig int to it from local ip (127.0.0.1) which i can’t because my mini server is CLI!

    [Reply]

  21. yemi says:

    please how do i install the gui as i tried it several times using the sudo apt-get install ubuntu-desktop but keep getting the message ”E:couldn’t find package ubuntu-desktop”.

    [Reply]

  22. Luci says:

    hey Yemi,
    I wouldn’t install GUI desktop Environment on server, it is not designed for that, however if you must install it try to install the minimal X11 Server Edition using
    sudo apt-get install xserver-xorg xserver-xorg-core
    and then run sudo apt-get install openbox
    to install a Window Manager or replace openbox with fluxbox, blackbox …

    Luci,

    [Reply]

  23. K-Ubuntu Dude says:

    Thanks :) It worked like a charm :)

    [Reply]

  24. WidgetPhreak says:

    for some reason:
    sudo aptitude install –no-install-recommends ubuntu-desktop
    did not work for me…
    but what did work was:
    sudo aptitude install –without-recommends ubuntu-desktop

    [Reply]

  25. ftpex says:

    How do I download the package and install it. the corporate firewall will not allow me to access your site. I can do it from my window machine and move it across???

    [Reply]

Leave a Reply