WebMin in Debian Squeeze Container
From Proxmox VE
Contents |
Introduction
Linux containers can be browser managed using WebMin. Here we install WebMin in a Debian Squeeze container running a LAMP stack.
Install Commands
The following bash commands will install WebMin when logged in as root:
cd /root apt-get install libnet-ssleay-perl libauthen-pam-perl libio-pty-perl apt-show-versions libapt-pkg-perl # # latest / current release wget http://www.webmin.com/download/deb/webmin-current.deb dpkg -i webmin-current.deb # or a specific release: wget http://prdownloads.sourceforge.net/webadmin/webmin_1.550_all.deb dpkg -i webmin_1.550_all.deb apache2ctl restart
Dependencies
Since the LAMP stack is in place we need only the following dependencies to be installed before installing WebMin:
libnet-ssleay-perl libauthen-pam-perl libio-pty-perl libapt-pkg-perl apt-show-versions
The dependencies install command and it's output are:
# apt-get install libnet-ssleay-perl libauthen-pam-perl libio-pty-perl apt-show-versions libapt-pkg-perl
Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 407 kB of archives. After this operation, 1765 kB of additional disk space will be used. Get:1 http://ftp.debian.org/debian/ squeeze/main libnet-ssleay-perl i386 1.36-1 [208 kB] Get:2 http://ftp.debian.org/debian/ squeeze/main libauthen-pam-perl i386 0.16-2 [33.3 kB] Get:3 http://ftp.debian.org/debian/ squeeze/main libio-pty-perl i386 1:1.08-1 [42.4 kB] Get:4 http://ftp.debian.org/debian/ squeeze/main libapt-pkg-perl i386 0.1.24+b1 [89.9 kB] Get:5 http://ftp.debian.org/debian/ squeeze/main apt-show-versions all 0.16 [33.6 kB] Fetched 407 kB in 6s (63.0 kB/s) Selecting previously deselected package libnet-ssleay-perl. (Reading database ... 36276 files and directories currently installed.) Unpacking libnet-ssleay-perl (from .../libnet-ssleay-perl_1.36-1_i386.deb) ... Selecting previously deselected package libauthen-pam-perl. Unpacking libauthen-pam-perl (from .../libauthen-pam-perl_0.16-2_i386.deb) ... Selecting previously deselected package libio-pty-perl. Unpacking libio-pty-perl (from .../libio-pty-perl_1%3a1.08-1_i386.deb) ... Selecting previously deselected package libapt-pkg-perl. Unpacking libapt-pkg-perl (from .../libapt-pkg-perl_0.1.24+b1_i386.deb) ... Selecting previously deselected package apt-show-versions. Unpacking apt-show-versions (from .../apt-show-versions_0.16_all.deb) ... Processing triggers for man-db ... Setting up libnet-ssleay-perl (1.36-1) ... Setting up libauthen-pam-perl (0.16-2) ... Setting up libio-pty-perl (1:1.08-1) ... Setting up libapt-pkg-perl (0.1.24+b1) ... Setting up apt-show-versions (0.16) ... ** initializing cache. This may take a while ** Setting up webmin (1.550) ... Webmin install complete. You can now login to https://vmhost:10000/ as root with your root password, or as any user who can use sudo to run commands as root.
WebMin appeared to be installed above since it was earlier tried without the dependencies.
WebMin
# dpkg -i webmin_1.550_all.deb
(Reading database ... 36469 files and directories currently installed.) Preparing to replace webmin 1.550 (using webmin_1.550_all.deb) ... Unpacking replacement webmin ... Setting up webmin (1.550) ... Webmin install complete. You can now login to https://vmhost:10000/ as root with your root password, or as any user who can use sudo to run commands as root.
Restart Apache
As a measure of abundant caution, we restart Apache.
# apache2ctl restart
[Sun May 22 06:53:44 2011] [warn] NameVirtualHost *:80 has no VirtualHosts
Administer WebMin
On the browser login as root at:
http://IP.Address.Of.Container:10000
Install any plugins that are needed but not in the base install. The following can be done among others:
Create, Modify, Delete Users and Groups Configure services
References
- Webmin Download Site
- Install WebMin in Debian Squeeze
- The Book of WebMin - 2.25 MB PDF file
