How to install GUI in Ubuntu 10.04 (Lucid Lynx) Server
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 :
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
Now you should see similar to the following Screen
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.
and by the way .. i got the SSL certificate problem fixed .. is someone interested on how did i do it .. please tell
Am not sure why you can’t use ssh with webmin. I haven’t tried ssh with webmin though. As for the SSL certificate, was it saying that it wasn’t trusted? That is normal for your own server since you haven’t registered your certificate with a certificate body like comodo or diginotar. Accepting the certificate in your web browser is all you needed to login into your server.
If it was something else, please share how you fixed it.
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 !!
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/
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.
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.
Welcome. We all need help once in a while from each other.
you got that right 😀
well, i know now where to get the help from 😉
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?
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.
Thank you soooo much Tim, i don’t know what to do without you 😀
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 😉
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.
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
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?
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 🙂
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
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.
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.
router fw or ubuntu fw ?
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.
ok i’m home now and finished my errands 😀
let me try what you’ve told me and let ya know
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!
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”.
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 …
Thanks 🙂 It worked like a charm 🙂
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
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???