다운로드 위치: http://www.webmin.com/download.html

아래 설명대로 그대로 하면 된다..
하지만 에러 때문에 무진장 시간을 낭비했다..
에러 메시지는 바로??

 $ sudo apt-get install webmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
webmin is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  webmin: Depends: libnet-ssleay-perl but it is not going to be installed
          Depends: libauthen-pam-perl but it is not going to be installed
          Depends: libio-pty-perl but it is not going to be installed
          Depends: apt-show-versions but it is not going to be installed
아래 더 있었는데, 캡쳐 못함..ㅠㅠ
not packaging..

이것은 apt-get server의 문제인듯한데...
아무래도 파일을 못찾는듯...

그래서 구글에서 검색한 결과 apt sources.list에 추가..

아무리 찾아도 안되서 그냥 막 추가함..^^
us. uk. kr 사이트를 추가한 후 마지막으로 webmin 사이트도 추가
 sudo vi /etc/apt/sources.list

deb http://ca.archive.ubuntu.com/ubuntu/ karmic multiverse
deb-src http://ca.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://ca.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
deb-src http://ca.archive.ubuntu.com/ubuntu/ karmic-updates multiverse

deb http://us.archive.ubuntu.com/ubuntu/ karmic multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ karmic-updates multiverse

deb http://uk.archive.ubuntu.com/ubuntu/ karmic multiverse
deb-src http://uk.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://uk.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
deb-src http://uk.archive.ubuntu.com/ubuntu/ karmic-updates multiverse

deb http://kr.archive.ubuntu.com/ubuntu/ karmic multiverse
deb-src http://kr.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://kr.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
deb-src http://kr.archive.ubuntu.com/ubuntu/ karmic-updates multiverse

deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib


업데이트를 위해 키 추가
sudo wget http://www.webmin.com/jcameron-key.asc
sudo apt-key add jcameron-key.asc

그후에 업데이트 및 설치
 apt-get update
apt-get install webmin

하지만 다름과 같은 메시지...
 $ sudo apt-get install webmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
webmin is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  webmin: Depends: libnet-ssleay-perl but it is not going to be installed
          Depends: libauthen-pam-perl but it is not going to be installed
          Depends: libio-pty-perl but it is not going to be installed
          Depends: apt-show-versions but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


마지막 메시지의 의미를 몰랐다..ㅠㅠ
unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

좀 영어에 대하여 좀 생각 할 것을..
아무것도 없이 그냥 명령을 넣으라는 것을..ㅠㅠ
나름 정확히 한다고.. 이것으로 몇시간을 날린 줄 모르겠다.

그냥 아무 생각없이 그냥 입력하면 되는데..ㅠㅠ
 sudo apt-get -f install
-f 옵션이므로 강제로 설치한다.
 $ sudo apt-get install -f
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 377 not upgraded.
1 not fully installed or removed.
Need to get 402kB of archives.
After this operation, 1,819kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ca.archive.ubuntu.com karmic/universe libnet-ssleay-perl 1.35-2ubuntu1 [204kB]
Get:2 http://ca.archive.ubuntu.com karmic/universe libauthen-pam-perl 0.16-1.1 [33.0kB]
Get:3 http://ca.archive.ubuntu.com karmic/main libio-pty-perl 1:1.07-2 [42.5kB]
Get:4 http://ca.archive.ubuntu.com karmic/main libapt-pkg-perl 0.1.23build1 [88.5kB]
Get:5 http://ca.archive.ubuntu.com karmic/universe apt-show-versions 0.16 [33.7kB]
Fetched 402kB in 2s (159kB/s)
Selecting previously deselected package libnet-ssleay-perl.
(Reading database ... 137663 files and directories currently installed.)
Unpacking libnet-ssleay-perl (from .../libnet-ssleay-perl_1.35-2ubuntu1_i386.deb) ...
Selecting previously deselected package libauthen-pam-perl.
Unpacking libauthen-pam-perl (from .../libauthen-pam-perl_0.16-1.1_i386.deb) ...
Selecting previously deselected package libio-pty-perl.
Unpacking libio-pty-perl (from .../libio-pty-perl_1%3a1.07-2_i386.deb) ...
Selecting previously deselected package libapt-pkg-perl.
Unpacking libapt-pkg-perl (from .../libapt-pkg-perl_0.1.23build1_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.35-2ubuntu1) ...
Setting up libauthen-pam-perl (0.16-1.1) ...
Setting up libio-pty-perl (1:1.07-2) ...
Setting up libapt-pkg-perl (0.1.23build1) ...
Setting up apt-show-versions (0.16) ...
** initializing cache. This may take a while **

Setting up webmin (1.530) ...
Webmin install complete. You can now login to https://ubuntu:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.

설치가 끝났다.
캐나다 서버에서 받아서 잘 설치하는군..(있는 곳이 캐나다라서..ㅠㅠ)

그후에 웹브라우저에서 https://ubuntu:10000 으로 접속하면 된다.
ID/PWD는 root/[ubutu pasword]
일반 사용자 아이디는 안 됨.

이것으로 무진장 고생했다..ㅠㅠ
다시는 안 잊어버릴 듯하다..
퇴근하자..ㅋㅋ


참고 자료: webmin 사이트

Installing on Debian

If you are using the DEB version of webmin, first download the file and then run the command : dpkg --install webmin_1.530_all.deb The install will be done automatically to /usr/share/webmin, the administration username set to root and the password to your current root password. You should now be able to login to Webmin at the URL http://localhost:10000/. Or if accessing it remotely, replace localhost with your system's IP address.

If Debian complains about missing dependencies, you can install them with the command : apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl If you are installing on Ubuntu and the apt-get command reports that some of the packages cannot be found, edit /etc/apt/sources.list and make sure the lines ending with universe are not commented out.

Some Debian-based distributions (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.

If you want to connect from a remote server and your system has a firewall installed, see this page for instructions on how to open up port 10000.

Using the Webmin APT repository

If you like to install and update Webmin via APT, edit the /etc/apt/sources.list file on your system and add the lines : deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
You should also fetch and install my GPG key with which the repository is signed, with the commands : cd /root
wget http://www.webmin.com/jcameron-key.asc
apt-key add jcameron-key.asc
You will now be able to install with the commands : apt-get update
apt-get install webmin
All dependencies should be resolved automatically.

Supported Debian-based Distributions

Webmin has been tested on all regular Debian releases, Ubuntu Linux, and derivatives like Xandros and APLINUX.

Source Packages

The files needed to build the Debian package are deb/webmin_1.530.dsc, deb/webmin_1.530.diff, and webmin-1.530.tar.gz .


Posted by 노을지기