Ubuntu Server:Install GUI and Webmin in Ubuntu 8.10 (Intrepid Ibex) Guide
Sponsored Link
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 want to install KDE desktop use the following command
sudo apt-get install kubuntu-desktop
2) Install Webmin
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 Intrepid Ibex
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 8.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://garr.dl.sourceforge.net/sourceforge/webadmin/webmin_1.441_all.deb
Now we have webmin_1.441_all.deb package install this package using the following command
sudo dpkg -i webmin_1.441_all.deb
This will complete the installation.
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
After login 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 Intrepid Ibex LAMP Server.
Because the deb file for Debian(-derivates) are all the same, it should be no problem to use the repository they provide:
deb http://download.webmin.com/download/repository sarge contrib
The APT-Key: http://www.webmin.com/jcameron-key.asc
..and you’re always up to date!
You should be very careful when using webmin, for different reasons:
– It makes a mess of your config files
– Last time I checked, there was a security flaw in the http server used by webmin
– It should only be accessible, if possible, from the host itself.
Nice series of article though.
What is the lxde desktop (Light weight desktop) install info – see
http://ubuntuforums.org/showthread.php?t=738958
I think is better a server without desktop interface..you can login to your webmin interface from another pc in the network anyway I suggest too, as SteveAnon did, LXDE. Is more light and responsive than XFCE.
It must be already in the repository from ubuntu 8.10.. for the previous version here another link
http://ph.ubuntuforums.com/showthread.php?p=5665471
worked like a charm.
Hey I am curious if the download link doesn’t work how would I go about getting the webmin file? Without a GUI how do you download it from that link? Any help?
Just use a console browser like:
– lynx
– links(2)
– w3m
Or if you need help quickly:
$ wget http://prdownloads.sourceforge.net/webadmin/webmin_1.441_all.deb
Or look at Comment No.1 and put the apt source in your sources.list.
Worth noting is the fact that in order to install the dependant packages:
perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl
You will need to have your sources.list file set to include universe:
deb hardy universe
Hi can you help?
I have installed Ubuntu 8.10 server following your Lamp/SSH server guide. I have installed webmin but i can only connect to the server via the local IP, but cannot connect externally. Please can you help
@Gavin
Externally means from outside your office or from another machine
@Admin
I am trying from another machine, still with in the local network
@Gavin
You need to edit the /etc/webmin/miniserv.conf file look for allow=
sudo gedit /etc/webmin/miniserv.conf
Look for the following line
allow = 127.0.0.1
If you want to allow from any ip from your network use the following
allow = 0.0.0.0
save and exit
Now you need to restart using the following command
sudo /etc/init.d/webmin restart
@Admin
Thank you for that.
I am also having trouble connecting externally of my local network.
Can you assist?
@Gavin
I think your problem is understand the concept of inbound connections to a server and tunneling ports… i’ll try to explain it in a nutshell
Ok – this is the setup i am going to look at for the connection:
Computer—- home-router1(NAT) —— Internet —– home-router2(NAT) —– Server
You want a connection from Computer to server through all these other things. Well – this is not possible like this. First thing to do is to enable port forwarding on home-router2 (the one in front of the Server). In fact, you want to forward port 22. Why 22 ? well, because that is the ssh port which we are going to utilize.
But to be able to test this better, it would make sense to have the ssh server up and running and being able to connect internally. So, firstly, install the openssh-server (You have already installed if not follow this step)
sudo apt-get install openssh-server
once that is up, try to access the server via ssh. once that works internally, try to setup the port forwarding on the router and then try to access the server from the internet (you will need to know your external ip for that – you can find it out at http://www.whatismyip.com). Don’t try from your internal network to access that address – it will not work as most home-routers do not forward internal traffic. You will need to do this from the internet.
Ok… so now you should have an accessable ssh-server from the internet. The next step is to get hostname that always points to your server (as your external ip will most likely change every 24h). Explaning that is a little beyond this, but search google for setting up dyndns.org or no-ip.org in ubuntu or try this http://www.ubuntugeek.com/update-ip-addresses-at-dynamic-dns-services-using-ddclient.html. there is plenty of documentation out there about it. You can use no-ip.org…
Hopefully you have the name now – now the last step – forwarding the port. For that, you connect to the ssh server with port forwarding enabled… in linux the command would be:
This connects to your server (name is myserver.no-ip.org – change this to your real name or your ip) with the username user. The -L bit is the crutial port. It forwards the localport so your server and then connects to the localhost there on port 10000. Setting it up like this, and then logging into the remote machine. Just leave the console after you have logged in and open a browser… and try to connect to localhost:10000 – that should work.
Hi..Thanks for your excellent instructions. Everything installs fine, but installing standard modules doesn’t work.
When I try to add one of the standard modules via Webmin Config menu the module appears to install fine, but the new menu option remains under Unused module and gives ‘The [module name] could not be found on your system. Maybe it is not installed, or your [ … ] module configuration is incorrect.
Please help!
(Ubuntu 8.10 Intrepid Server and Webmin 1.450)
Thanks for that, works great!
Thanks a lot. Worked smoothly for me. Useful tool.
Hurm.. i got some query here…
can i use this documentation for xubuntu? =_=
if cannot, do you guys have any other documentation for me to refer…
seem hard to find the right documentation
I have set up a Lamp Server. But the Ideal for me is to be able to start the gui (xstart) while I work om the server but to be able to “exit out” of the GUI when I am not configuring the server. freeing up memory and other resources.
I read about this (somewhere) and installed the gui but now my (test) server allways boots up in the GUI.
Any help?
Svavar
I have the same question as Svavark –
Now it boots up into GUI always now. Is there a way for it to boot up in bash only?
i know how to install webmin now. But how to configure Mail, DNS, WebProxy and file server by using webmin??
PLease show me with screen shots in details step by step.
i think i will try that trick, i hope i will solve my problem too.
Excellent guides on this site. I download JJ, installed the lamps, ssh, gnome, webmin and had it all up and running in a couple of hours. Pretty good considering the marketing dept asked the evening before ‘could you do this over the next couple of weeks’, their webdevs are on it now….
Now I just need to install the netbackup client, should have done that before I moved it from my bench to the sever room.
Hey.
I came here hoping for a working solution since there seems to be a slight bug with using Webmin, and specifically Virtualmin.
Setup and run Virtualmin, it gives you the following error:
Failed to save enabled features : The Suexec command on your system is configured to only run scripts under /var/www, but the Virtualmin base directory is /home. CGI and PHP scripts run as domain owners will not be executed
It seems that if you install Webmin from their install script (http://www.webmin.com/vinstall.html) you it’ll install successfully, however installing Apache the usual way on Ubuntu installs a version of mod_suexec that doesn’t work with Webmin.
Perhaps it’d be beneficial to let the people know to just install using the install script…then again, the install script states that it’ll only work with specific OS’s only. 8.10 isn’t on there, however 8.04 is.
works on ubuntu 9.04 also if you would like to use xubuntu instead of ubuntu or kubuntu then use this
sudo apt-get install xubuntu-desktop
worked great. everything works like a charm on this old Dell Optiplex
there is life after windows
hello ,
i got ubuntu server 9.10 CD and 9.10 ubuntu desktop CD . how can i install GUI interface with out net connection on ubuntu server?
hello, I’ve got both ubuntu server 9.10CD n 9.10 ubuntu desktop CD too & in my office I can’t use the internet! So I’d like to know if A gui can be installed without an internet connection. π thanks in advance π
i cant login my username and password i used in installing is not working after i have install the gui interface
webmin will not accept my normal ubuntu username and password.. how can I log into webmin on ubuntu Lucid Lynx