省エネファイルサーバ構築 25 CentOS 5.6 samba インストール

今回こそsambaを入れます。

Un-used Modules > Samba Windows File Sharing

と行くと前回同様、インストールされてないのでリンクをクリックしなさいといわれるのでクリックするとyumでインストールされます。
↓のコマンドと同じです。

yum -y install samba

インストールが開始され、無事終了しました。

samba install

Installing package(s) with command yum -y install samba ..

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* Webmin: download.webmin.com
* base: www.ftp.ne.jp
* extras: www.ftp.ne.jp
* updates: www.ftp.ne.jp
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package samba.x86_64 0:3.0.33-3.29.el5_6.2 set to be updated
--> Processing Dependency: samba-common = 3.0.33-3.29.el5_6.2 for package: samba
--> Processing Dependency: perl(Convert::ASN1) for package: samba
--> Running transaction check
---> Package perl-Convert-ASN1.noarch 0:0.20-1.1 set to be updated
---> Package samba-common.x86_64 0:3.0.33-3.29.el5_6.2 set to be updated
--> Processing Dependency: libsmbclient = 3.0.33-3.29.el5_6.2 for package: samba-common
--> Running transaction check
---> Package libsmbclient.x86_64 0:3.0.33-3.29.el5_6.2 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
samba x86_64 3.0.33-3.29.el5_6.2 updates 16 M
Installing for dependencies:
libsmbclient x86_64 3.0.33-3.29.el5_6.2 updates 916 k
perl-Convert-ASN1 noarch 0.20-1.1 base 42 k
samba-common x86_64 3.0.33-3.29.el5_6.2 updates 6.8 M

Transaction Summary
================================================================================
Install 4 Package(s)
Upgrade 0 Package(s)

Total download size: 24 M
Downloading Packages:
--------------------------------------------------------------------------------
Total 7.2 MB/s | 24 MB 00:03
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libsmbclient 1/4
Installing : samba-common 2/4
Installing : perl-Convert-ASN1 3/4
Installing : samba 4/4

Installed:

Dependency Installed:
samba-common.x86_64 0:3.0.33-3.29.el5_6.2

Complete!
.. install complete.

webminの左側のメニューの位置も移動されました。

Servers > Samba Windows File Sharing

に移動されています。

インストール完了後のsambaメニュー

デフォルトのままだとwindows上から、というかネットワーク上のほかのマシンから見えるのか?
と思ってwindowsのネットワークを見ても出てきません。

windowsの「ネットワーク」 ※ルータの名前はWAN側MACアドレスなので秘密

さっきのwebminのsambaメニューを見ると下の方に「Start Samba Servers」というボタンが見えます。
つまりサーバが起動していない。

なのでデフォルト設定がどうとか関係なかったようです。
とりあえず起動してみる。

samba起動後のボタンまわり

ボタンが[Restart Samba Servers][Stop Samba Servers]になりました。
起動が完了したからですね。

ではもう一度windowsからネットワークを見てみる。

が変わりません。出てこないです。

いろいろ設定する必要があるので次回に。

コメント