• 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28

Webminのインストール - Debian(etch)

Debian(etch)でサーバ構築にチャレンジする!という企画の第16弾!
今回はWebminのインストールにチャレンジです。

※一口メモ:Webminとは?
GUIでLinuxの各種設定を行うことができるツールの集合体。ユーザーアカウントの追加、webサーバの設定、DNSサーバの設定など、ほとんどの操作をブラウザ上から簡単に行うことができます。Linuxコマンド(CUIでの設定)が苦手な方でも比較的簡単にサーバの管理を行うことができます。


1. インストールの準備


sargeまではwebminパッケージがDebianの開発側で用意されていたのですが、なぜかetchからはDebianパッケージとしての配布が中止されてしまいました。しかしながら、Webmin公式サイトでDebian用のパッケージが用意されていますので、今回はそれを使ってインストールすることにしましょう。

まずはWebminリポジトリを/etc/apt/sources.listに追加します。
debian:~# vim /etc/apt/sources.list

最下行に下記の1行(リポジトリ)を追加。
deb http://download.webmin.com/download/repository sarge contrib


2. Webminパッケージのインストール


リポジトリで利用可能なパッケージリストを更新して、インストールを開始します。
debian:~# aptitude update
 ・
 ・(中略)
 ・
Ign http://download.webmin.com sarge Release.gpg
99% [Working] 87.4kB/s 0s
Get:6 http://download.webmin.com sarge Release [1468B]
99% [6 Release 0/1468B 0%] 87.4kB/s 0s
99% [Working] 87.4kB/s 0s
Get:7 http://download.webmin.com sarge/contrib Packages [1130B]
99% [7 Packages 0/1130B 0%] 87.4kB/s 0s
99% [Working] 87.4kB/s 0s
99% [7 Packages gzip 0] 87.4kB/s 0s
Fetched 470kB in 11s (39.9kB/s)
Reading package lists... Done
debian:~# aptitude install webmin
Reading package lists... Done
 ・
 ・(中略)
 ・
The following NEW packages will be automatically installed:
libauthen-pam-perl libio-pty-perl libmd5-perl libnet-ssleay-perl
The following packages have been kept back:
libxml2 linux-image-2.6.18-6-686
The following NEW packages will be installed:
libauthen-pam-perl libio-pty-perl libmd5-perl libnet-ssleay-perl webmin
0 packages upgraded, 5 newly installed, 0 to remove and 2 not upgraded.
Need to get 13.9MB of archives. After unpacking 85.9MB will be used.
Do you want to continue? [Y/n/?] y
WARNING: untrusted versions of the following packages will be installed!

Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.

webmin

Do you want to ignore this warning and proceed anyway?
To continue, enter "Yes"; to abort, enter "No": Yes
Writing extended state information... Done
Get:1 http://ftp.riken.jp etch/main libnet-ssleay-perl 1.30-1 [192kB]
Get:2 http://ftp.riken.jp etch/main libauthen-pam-perl 0.16-1 [32.6kB]
Get:3 http://ftp.riken.jp etch/main libio-pty-perl 1:1.05-2 [43.0kB]
Get:4 http://ftp.riken.jp etch/main libmd5-perl 2.03-1 [5700B]
Get:5 http://download.webmin.com sarge/contrib webmin 1.430 [13.6MB]
 ・
 ・(中略)
 ・
Setting up webmin (1.430) ...
Webmin install complete. You can now login to https://debian:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.


3. 動作確認


インストールが完了したらhttps://サーバIP:10000/にアクセスします。
恐らくIE6なら[画面1]・Firefox3なら[画面2]の様なセキュリティ警告が出ると思いますので、以下の手順で承認してください。

■InternetExplorer6の場合

[画面1]

■Firefox3の場合

[画面2]
           ↓↓

[画面3]
           ↓↓

[画面4]

これでログイン画面が表示されますので、Usernameにroot,Passwordにrootのパスワードを入力してLoginボタンを押す。[画面5]
ログインに成功すると[画面6]になります。

[画面5]
           ↓↓

[画面6]

ちょっと長くなってしまいましたので続きは次回・・・。

■参考サイト
Webmin公式サイト:http://www.webmin.com/deb.html

コメント

コメントを投稿する

管理者にだけ表示を許可する

トラックバック

検索フォーム
カテゴリ
カレンダー
01 ≪│2010/02│≫ 03
- 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 - - - - - -
最新記事
リンク