myNAS webmin

Cette version date du 2011/04/30 21:16. Vous pouvez la Restaurer.

Installation webmin(Éditer)

c.f. http://rrr.favrat.net/2011/02/11/installer-webmin-sur-ubuntu-10-10/
c.f. http://fr.wikipedia.org/wiki/Webmin

Webmin est une interface web, sous licence BSD, qui permet d'administrer un serveur UNIX ou Linux à distance via n'importe quel navigateur web.

Développé en Perl version 5.002 pour la dernière version et en Java, Webmin permet de contrôler la majorité des serveurs logiciels utilisés par les administrateurs réseaux (Apache, Postfix, Sendmail, FTP, MySQL, PostgreSQL, Samba, SSH, BIND, etc.). Il peut également gérer les utilisateurs (comptes utilisateurs, gestion des quotas, répertoires, groupes, droits, etc.), les archives des actions sur le système (fichiers logs), les Clusters, les systèmes de fichiers voire l'arrêt ou le redémarrage du serveur.

Webmin est un service qui se lance au démarrage du serveur et qui est accessible via un URI. L'utilisateur peut se connecter à l'interface en indiquant dans l'URL (URL, adresse IP, etc.) du serveur le port de l'application (par défaut 10000). Ce port peut être redéfini directement depuis l'interface, tout comme beaucoup d'autres paramètres.

Par exemple : https://www.mondomaine.com:10000 ou https://192.168.0.1:10000.

Webmin est en somme un simple Serveur Web composé de plusieurs CGI qui mettent à jour vos fichiers de configuration tel que /etc/inetd.conf et /etc/passwd (non exhaustif).

  • ~# wget http://www.webmin.com/download/deb/webmin-current.deb
  • ~# dpkg -i webmin-current.deb
  • ~# apt-get -f install

 
:~# wget http://www.webmin.com/download/deb/webmin-current.deb
--2011-04-30 15:50:52--  http://www.webmin.com/download/deb/webmin-current.deb
Resolving www.webmin.com... 216.34.181.97
Connecting to www.webmin.com|216.34.181.97|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://softlayer.dl.sourceforge.net/sourceforge/webadmin/webmin_1.550_all.deb [following]
--2011-04-30 15:50:52--  http://softlayer.dl.sourceforge.net/sourceforge/webadmin/webmin_1.550_all.deb
Resolving softlayer.dl.sourceforge.net... 74.86.229.28
Connecting to softlayer.dl.sourceforge.net|74.86.229.28|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://downloads.sourceforge.net/sourceforge/webadmin/webmin_1.550_all.deb?download&failedmirror=softlayer >>
.dl.sourceforge.net [following]
--2011-04-30 15:50:58--  http://downloads.sourceforge.net/sourceforge/webadmin /webmin_1.550_all.deb? >>
download&failedmirror=softlayer.dl.sourceforge.net
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://downloads.sourceforge.net/project/webadmin/webmin/1.550/webmin_1.550_all.deb? >>
download=&failedmirror=softlayer.dl.sourceforge.net [following]
--2011-04-30 15:50:58--  http://downloads.sourceforge.net/project/webadmin/webmin/1.550/webmin_1.550_all.deb? >> 
download=&failedmirror=softlayer.dl.sourceforge.net
Reusing existing connection to downloads.sourceforge.net:80.
HTTP request sent, awaiting response... 302 Found
Location: http://mesh.dl.sourceforge.net/project/webadmin/webmin/1.550/webmin_1.550_all.deb [following]
--2011-04-30 15:50:58--  http://mesh.dl.sourceforge.net/project/webadmin/webmin/1.550/webmin_1.550_all.deb
Resolving mesh.dl.sourceforge.net... 213.203.218.122
Connecting to mesh.dl.sourceforge.net|213.203.218.122|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14777008 (14M) [application/octet-stream]
Saving to: `webmin-current.deb'

100%[======================================================>] 14,777,008  1.52M/s   in 9.5s    

2011-04-30 15:51:08 (1.48 MB/s) - `webmin-current.deb' saved [14777008/14777008]

~# dpkg -i webmin-current.deb
Selecting previously deselected package webmin.
(Reading database ... 51599 files and directories currently installed.)
Unpacking webmin (from webmin-current.deb) ...
dpkg: dependency problems prevent configuration of webmin:
 webmin depends on libnet-ssleay-perl; however:
  Package libnet-ssleay-perl is not installed.
 webmin depends on libauthen-pam-perl; however:
  Package libauthen-pam-perl is not installed.
 webmin depends on libio-pty-perl; however:
  Package libio-pty-perl is not installed.
 webmin depends on apt-show-versions; however:
  Package apt-show-versions is not installed.
dpkg: error processing webmin (--install):
 dependency problems - leaving unconfigured
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Errors were encountered while processing:
 webmin

~# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl
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 409 kB of archives.
After this operation, 1,843 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://fr.archive.ubuntu.com/ubuntu/ natty/universe libnet-ssleay-perl i386 1.36-1ubuntu1 [209 kB]
Get:2 http://fr.archive.ubuntu.com/ubuntu/ natty/universe libauthen-pam-perl i386 0.16-2 [33.9 kB]
Get:3 http://fr.archive.ubuntu.com/ubuntu/ natty/main libio-pty-perl i386 1:1.08-1 [42.6 kB]
Get:4 http://fr.archive.ubuntu.com/ubuntu/ natty/main libapt-pkg-perl i386 0.1.24build1 [89.7 kB]
Get:5 http://fr.archive.ubuntu.com/ubuntu/ natty/universe apt-show-versions all 0.16 [33.7 kB]
Fetched 409 kB in 4s (82.5 kB/s)          
Selecting previously deselected package libnet-ssleay-perl.
(Reading database ... 67959 files and directories currently installed.)
Unpacking libnet-ssleay-perl (from .../libnet-ssleay-perl_1.36-1ubuntu1_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.24build1_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-1ubuntu1) ...
Setting up libauthen-pam-perl (0.16-2) ...
Setting up libio-pty-perl (1:1.08-1) ...
Setting up libapt-pkg-perl (0.1.24build1) ...
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://nautilus:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.

Ou alors le petit script d'install qui va bien(Éditer)

#!/bin/sh
# Webmin downloader by Beny9512
# 2011
# ---------------------------------------
# WEBMIN install
TMPDIR="/tmp"
if [ -d "$TMPDIR" ]; then
	wget http://www.webmin.com/download/deb/webmin-current.deb
	chmod 777 webmin-current.deb
	dpkg --install webmin-current.deb
	apt-get -f install
	rm webmin-current.deb
fi

A Vérifier(Éditer)

Une tache de fond de webmin empêcherait-elle les disques de se mettre en standby ???