راهنمای نصب Webmin :
اول از همه از باید sources.list رو ویرایش کنید
sudo nano /etc/apt/sources.list
یه چیزی مثل این باز میشه
GNU nano 2.0.7 File: /etc/apt/sources.list
#
# deb cdrom:[Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080423.2)]/ hardy main restricted
# deb cdrom:[Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080423.2)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
# deb http://ir.archive.ubuntu.com/ubuntu/ hardy main restricted
# deb-src http://ir.archive.ubuntu.com/ubuntu/ hardy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
# deb http://ir.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
# deb-src http://ir.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# deb http://ir.archive.ubuntu.com/ubuntu/ hardy universe
# deb-src http://ir.archive.ubuntu.com/ubuntu/ hardy universe
# deb http://ir.archive.ubuntu.com/ubuntu/ hardy-updates universe
^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text ^T To Spell
حالا یا باید علامت های # رو از اول خطوطی که با deb شروع میشن بردارید ، یا اینکه فقط خط زیر رو اضافه کنید
deb http://archive.ubuntu.com/ubuntu/ hardy main universe multiverse restricted
بعد از انجام این کار Ctrl+X رو بزنید
Save modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ?
Y Yes
N No ^C Cancel
در جواب سوال Y و سپس اینتر رو بزنید
این دستور رو اجرا کنید تا مخازن بروز بشن
sudo apt-get update
اگه بخواین با دستور apt-get نصب کنید ارور میده
masoud@server:~$ sudo apt-get install webmin
[sudo] password for masoud:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package webmin is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package webmin has no installation candidate
با دستور زیر از سایت Webmin دانلود کنید (لینک مربوط به ورژن 1.430 هست)
wget http://puzzle.dl.sourceforge.net/sourceforge/webadmin/webmin_1.430_all.deb
حالا دستور زیر رو اجرا کنید
sudo dpkg --install webmin_1.430_all.deb
حالا بعد از نشون دادن چند تا ارور خارج میشه
این دستور رو هم اجرا کنید تا کار تموم بشه
sudo apt-get -f install
در جواب سوال Y رو بزنید تا کار تموم بشه!
اوه ، خسته شدم!
ویرایش:
masoud@server:~$ sudo 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:
libauthen-pam-perl libio-pty-perl libmd5-perl libnet-ssleay-perl
The following NEW packages will be installed:
libauthen-pam-perl libio-pty-perl libmd5-perl libnet-ssleay-perl
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 266kB of archives.
After this operation, 1339kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com hardy/main libnet-ssleay-perl 1.30-1 [186kB]
Get:2 http://archive.ubuntu.com hardy/universe libauthen-pam-perl 0.16-1 [32.2kB]
Get:3 http://archive.ubuntu.com hardy/universe libio-pty-perl 1:1.07-1 [42.3kB]
Get:4 http://archive.ubuntu.com hardy/universe libmd5-perl 2.03-1 [5680B]
Fetched 266kB in 16s (16.2kB/s)
Selecting previously deselected package libnet-ssleay-perl.
(Reading database ... 119913 files and directories currently installed.)
Unpacking libnet-ssleay-perl (from .../libnet-ssleay-perl_1.30-1_i386.deb) ...
Selecting previously deselected package libauthen-pam-perl.
Unpacking libauthen-pam-perl (from .../libauthen-pam-perl_0.16-1_i386.deb) ...
Selecting previously deselected package libio-pty-perl.
Unpacking libio-pty-perl (from .../libio-pty-perl_1%3a1.07-1_i386.deb) ...
Selecting previously deselected package libmd5-perl.
Unpacking libmd5-perl (from .../libmd5-perl_2.03-1_all.deb) ...
Setting up libnet-ssleay-perl (1.30-1) ...
Setting up libauthen-pam-perl (0.16-1) ...
Setting up libio-pty-perl (1:1.07-1) ...
Setting up libmd5-perl (2.03-1) ...
Setting up webmin (1.430) ...
Webmin install complete. You can now login to https://server:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.