Overclock.net › Forums › Specialty Builds › Servers › How To: Install webmin on ubuntu
New Posts  All Forums:Forum Nav:

How To: Install webmin on ubuntu

post #1 of 14
Thread Starter 
With more and more people setting up home file/web servers I thought I might write this small tutorial on how to setup webmin(web based server administration system) on an ubuntu based linux box.

First thing you are going to need is to be root. If you do not already have root access, you can obtain root via the following:
1. open up a terminal(shell aka command line)
2. type in this command: sudo passwd
3. you will be greeted by a prompt stating "Enter New Unix Password" enter the password that you desire as prompted.
4. type in su root, you will then be prompted to enter the password you just put in.

Installing Webmin:
1. Once in a shell as root, you need to download the needed file, to do this first be in a directory that you will know where the file is located. I personally prefer the primary similar to C:\\ on a windows machine. To get to the main directory type in cd \\ then press enter. After doing this type in the following command: this will download the tarball to your primary directory, or the directory that you are currently in.

After you have downloaded the tarball use the following commands to extract the files:
Quote:
[root@linux-servers.net /]# gunzip webmin-1.340.tar.gz
[root@linux-servers.net /]# tar xf webmin-1.340.tar
[root@linux-servers.net /]# cd webmin-1.340
You should now have extracted all of the files and moved into the directory where the webmin files are located at. Once at this point you start the installer by doing the following:
Quote:
[root@linux-servers.net /webmin-1.340]# ./setup.sh /usr/local/webmin
After running the setup script you will be prompted to enter information. You can change these values or leave them to defaults by simply pressing enter. Once you finish this step you are all done and webmin should be running!

If you have any questions please ask!

Edit: webmin supported OS list
http://www.webmin.com/support.html
Desktop
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q9550 EVGA 780SLi EVGA GTX285SSC 4GB OCZ Reaper HPC Edition 
Hard DriveOptical DriveOSPower
150GB Velociraptor x2 - RAID0 2 - Samsung Write Master's Window 7 64-bit 750 Watt OCZ 60 AMPs on +12v 
CaseMouse
LIAN LI PC-V2110B Black Logitech G3 
  hide details  
Reply
Desktop
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q9550 EVGA 780SLi EVGA GTX285SSC 4GB OCZ Reaper HPC Edition 
Hard DriveOptical DriveOSPower
150GB Velociraptor x2 - RAID0 2 - Samsung Write Master's Window 7 64-bit 750 Watt OCZ 60 AMPs on +12v 
CaseMouse
LIAN LI PC-V2110B Black Logitech G3 
  hide details  
Reply
post #2 of 14
Tutorial worked perfectly, only question is webmin supposed to have the defualt modules installed?

My webmin is quite barren with nothing to use and when trying to use the automated installer it sort of just sits there and the CPU usage jumps up to 99% for 2 hours and nothing happens.
The cubed quad
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Q9450 Abit IP35 Pro EVGA 8800GTS 512/XFX 8600GT 4 x 2 GB G.Skill PC21000 
Hard DriveOptical DriveOSMonitor
4 Seagate 320 16mb Raid 1+0 Pioneer BD-ROM Windows 7 Pro 64bit BenQ 24"/WH 22"/Hanns G 19" 
KeyboardPowerCaseMouse
Logitech G15 Silverstone Decathalon 750 watts Lian Li PC-7B PLUS II Logitech G7 
  hide details  
Reply
The cubed quad
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Q9450 Abit IP35 Pro EVGA 8800GTS 512/XFX 8600GT 4 x 2 GB G.Skill PC21000 
Hard DriveOptical DriveOSMonitor
4 Seagate 320 16mb Raid 1+0 Pioneer BD-ROM Windows 7 Pro 64bit BenQ 24"/WH 22"/Hanns G 19" 
KeyboardPowerCaseMouse
Logitech G15 Silverstone Decathalon 750 watts Lian Li PC-7B PLUS II Logitech G7 
  hide details  
Reply
post #3 of 14
That's pretty much how you install anything on ubuntu
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
post #4 of 14
Thread Starter 
Quote:
Originally Posted by rabidgnome229 View Post
That's pretty much how you install anything on ubuntu
This is true however there are alot of people who are new to linux and simply dont know how to do such things, anything that could be helpful to them is worth posting

Quote:
Originally Posted by Bviper View Post
Tutorial worked perfectly, only question is webmin supposed to have the defualt modules installed?

My webmin is quite barren with nothing to use and when trying to use the automated installer it sort of just sits there and the CPU usage jumps up to 99% for 2 hours and nothing happens.
Can you post a screenshot of webmin? There should be quite a few things in it, and you can add more to it as well.
Desktop
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q9550 EVGA 780SLi EVGA GTX285SSC 4GB OCZ Reaper HPC Edition 
Hard DriveOptical DriveOSPower
150GB Velociraptor x2 - RAID0 2 - Samsung Write Master's Window 7 64-bit 750 Watt OCZ 60 AMPs on +12v 
CaseMouse
LIAN LI PC-V2110B Black Logitech G3 
  hide details  
Reply
Desktop
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q9550 EVGA 780SLi EVGA GTX285SSC 4GB OCZ Reaper HPC Edition 
Hard DriveOptical DriveOSPower
150GB Velociraptor x2 - RAID0 2 - Samsung Write Master's Window 7 64-bit 750 Watt OCZ 60 AMPs on +12v 
CaseMouse
LIAN LI PC-V2110B Black Logitech G3 
  hide details  
Reply
post #5 of 14
So... I installed this.

What do I do with it? LOL.

Nothing to do really, Im going to get some more documentation on it before I mess with anything. Hoping this can help make my Linux Rig the fileserver I want it to be..
Ender
(8 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 3820 TPOWER X79 GeForce GTX 570 Corsair 16GB 
Hard DriveCoolingOSPower
Crucial M4 128GB SSD Antec Kuhler 620 Win 7 Seasonic M12 600w 
  hide details  
Reply
Ender
(8 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 3820 TPOWER X79 GeForce GTX 570 Corsair 16GB 
Hard DriveCoolingOSPower
Crucial M4 128GB SSD Antec Kuhler 620 Win 7 Seasonic M12 600w 
  hide details  
Reply
post #6 of 14
What to do with it?!?!

After using webmin for the past year, i cant imagine running my servers at home without it. The best is how easy it is to access MySql databases. Its perfect for my php development server.

Just now i installed Samba file sharing with one click via webmin, and straight away it found my windows box.

I love webmin.
UberRig
(13 items)
 
  
CPUMotherboardGraphicsRAM
C2D E8200 @ 3.75ghz (1.375v, 468 *4 = 1875mhz FSB) ASUS P5N-E SLI (650i) EVGA 9600 GT (KO Edition) OCZ 2GB Dual Channel Platinum Revision 2 X (2x1GB) 
Hard DriveOptical DriveOSMonitor
WD Caviar 250gb + 80gb Sony DVDRW Vista x64/Mint x64 Philips Brilliance (20" LCD) 
PowerCase
Huntkey Green Star 500w Thermaltake Soprano 
  hide details  
Reply
UberRig
(13 items)
 
  
CPUMotherboardGraphicsRAM
C2D E8200 @ 3.75ghz (1.375v, 468 *4 = 1875mhz FSB) ASUS P5N-E SLI (650i) EVGA 9600 GT (KO Edition) OCZ 2GB Dual Channel Platinum Revision 2 X (2x1GB) 
Hard DriveOptical DriveOSMonitor
WD Caviar 250gb + 80gb Sony DVDRW Vista x64/Mint x64 Philips Brilliance (20" LCD) 
PowerCase
Huntkey Green Star 500w Thermaltake Soprano 
  hide details  
Reply
post #7 of 14
tried doing this install apparently the webmin download has been moved

Quote:
wget http://downloads.sourceforge.net/web...n-1.450.tar.gz seems to be the current updated address
http://downloads.sourceforge.net/web..._1.450_all.deb
Edited by Mikey976 - 2/13/09 at 7:21am
post #8 of 14
I suggest following the guide that's available on http://webmin.com/deb.html especially the one covering apt. That way later when you need to update you can just run "apt-get update".

Also if you aren't 100% reliant on a gui I'd ditch Ubuntu and install it on debian.
The cubed quad
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Q9450 Abit IP35 Pro EVGA 8800GTS 512/XFX 8600GT 4 x 2 GB G.Skill PC21000 
Hard DriveOptical DriveOSMonitor
4 Seagate 320 16mb Raid 1+0 Pioneer BD-ROM Windows 7 Pro 64bit BenQ 24"/WH 22"/Hanns G 19" 
KeyboardPowerCaseMouse
Logitech G15 Silverstone Decathalon 750 watts Lian Li PC-7B PLUS II Logitech G7 
  hide details  
Reply
The cubed quad
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Q9450 Abit IP35 Pro EVGA 8800GTS 512/XFX 8600GT 4 x 2 GB G.Skill PC21000 
Hard DriveOptical DriveOSMonitor
4 Seagate 320 16mb Raid 1+0 Pioneer BD-ROM Windows 7 Pro 64bit BenQ 24"/WH 22"/Hanns G 19" 
KeyboardPowerCaseMouse
Logitech G15 Silverstone Decathalon 750 watts Lian Li PC-7B PLUS II Logitech G7 
  hide details  
Reply
post #9 of 14
Webmin can now be installed using a .deb package as Bviper stated.

I don't know if I would recommend activating the root account either. You can run those commands using sudo, or sudo su to gain root access.
DarkLancelot
(13 items)
 
  
CPUMotherboardGraphicsRAM
Athlon 64 X2 4200+ Toledo DFI Lan Party UT nF4 SLI-D HIS HD4850 2x1GB Corsair XMS PC3200 Dual Channel 
Hard DriveOptical DriveOSPower
Samsung 500GB, WD 500GBx2 Lite-On 20x DVD Burner Windows XP Professional Rosewill 550W 
CaseMouse
Ultra Wizard UV Green Logitech MX518 
  hide details  
Reply
DarkLancelot
(13 items)
 
  
CPUMotherboardGraphicsRAM
Athlon 64 X2 4200+ Toledo DFI Lan Party UT nF4 SLI-D HIS HD4850 2x1GB Corsair XMS PC3200 Dual Channel 
Hard DriveOptical DriveOSPower
Samsung 500GB, WD 500GBx2 Lite-On 20x DVD Burner Windows XP Professional Rosewill 550W 
CaseMouse
Ultra Wizard UV Green Logitech MX518 
  hide details  
Reply
post #10 of 14
haha
its way easy in mandriva linux!

"urpmi webmin" as root in Terminal :]
Falcon
(15 items)
 
   
CPUMotherboardGraphicsRAM
Lapped AMD Phenom II X4 955 @ 3.6 24/7 ASUS M4A79T Deluxe EVGA GTX 295/Backplate 4GB OCZ Platinum DDR3 1333 @ 1600 
Hard DriveOptical DriveCoolingOS
2x 320GB Sata | 1x 1TB Sata | 1x 30GB OCZ SSD Dual Layer DVD writer Corsair H70 Windows Seven Ultimate x64 | Mandriva Linux 2010 
MonitorKeyboardPowerCase
Samsung 46" Full HD 1080p Logitech G15 V1 OCZ GameXtream SLI-ready 700W Thermaltake Armor Extreme 
MouseMouse PadAudio
Logitech MX Revolution none Creative Sound Blaster Audigy 
CPUMotherboardGraphicsRAM
AMD Phenom X4 9850 Black Edition MSI K9N2 SLI Platinum Nvidia 8600 GTS Silent Edition 8GB OCZ Gold DDR2 
Hard DriveOptical DriveCoolingOS
1x 80gb, 1x 1tb, 3x 750GB Western Digital Dual Layer DVD writer Artic Cooling freezer64 pro. Mandriva Linux 2010 Powerpack x64 
MonitorKeyboardPowerCase
Samsung Syncmaster 2343NW 23" 16/9 some cheap acer keyb Xilence 600W 4U Rack-mountable 
Mouse
ps/2 ball mouse 
  hide details  
Reply
Falcon
(15 items)
 
   
CPUMotherboardGraphicsRAM
Lapped AMD Phenom II X4 955 @ 3.6 24/7 ASUS M4A79T Deluxe EVGA GTX 295/Backplate 4GB OCZ Platinum DDR3 1333 @ 1600 
Hard DriveOptical DriveCoolingOS
2x 320GB Sata | 1x 1TB Sata | 1x 30GB OCZ SSD Dual Layer DVD writer Corsair H70 Windows Seven Ultimate x64 | Mandriva Linux 2010 
MonitorKeyboardPowerCase
Samsung 46" Full HD 1080p Logitech G15 V1 OCZ GameXtream SLI-ready 700W Thermaltake Armor Extreme 
MouseMouse PadAudio
Logitech MX Revolution none Creative Sound Blaster Audigy 
CPUMotherboardGraphicsRAM
AMD Phenom X4 9850 Black Edition MSI K9N2 SLI Platinum Nvidia 8600 GTS Silent Edition 8GB OCZ Gold DDR2 
Hard DriveOptical DriveCoolingOS
1x 80gb, 1x 1tb, 3x 750GB Western Digital Dual Layer DVD writer Artic Cooling freezer64 pro. Mandriva Linux 2010 Powerpack x64 
MonitorKeyboardPowerCase
Samsung Syncmaster 2343NW 23" 16/9 some cheap acer keyb Xilence 600W 4U Rack-mountable 
Mouse
ps/2 ball mouse 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Servers
Overclock.net › Forums › Specialty Builds › Servers › How To: Install webmin on ubuntu