| ページ一覧 | ブログ | twitter |  書式 | 書式(表) |

MyMemoWiki

「Fedora Core 6 Sambaの構築」の版間の差分

提供: MyMemoWiki
ナビゲーションに移動 検索に移動
 
1行目: 1行目:
==Fedora Core 6 Sambaの構築==
+
==[[Fedora Core 6 Sambaの構築]]==
 
[[Fedora Core 6]] | [[Linux]] |  
 
[[Fedora Core 6]] | [[Linux]] |  
  
13行目: 13行目:
 
       :
 
       :
 
  =============================================================================
 
  =============================================================================
   Package                Arch      Version          Repository       Size  
+
   Package                Arch      Version          [[R]]epository       Size  
 
  =============================================================================
 
  =============================================================================
 
  Installing:
 
  Installing:
25行目: 25行目:
 
  Install      1 Package(s)         
 
  Install      1 Package(s)         
 
  Update      2 Package(s)         
 
  Update      2 Package(s)         
  Remove       0 Package(s)         
+
  [[R]]emove       0 Package(s)         
 
       :
 
       :
 
  Installed: samba.i386 0:3.0.24-11.fc6
 
  Installed: samba.i386 0:3.0.24-11.fc6
32行目: 32行目:
 
====ファイアーウォールの設定====
 
====ファイアーウォールの設定====
 
[[File:0464_samba01.jpg]]
 
[[File:0464_samba01.jpg]]
====chkconfigでサービスを自動起動させるよう設定====
+
====[[chkconfig]]でサービスを自動起動させるよう設定====
  # chkconfig --list smb
+
  # [[chkconfig]] --list smb
 
  smb            0:off  1:off  2:off  3:off  4:off  5:off  6:off
 
  smb            0:off  1:off  2:off  3:off  4:off  5:off  6:off
 
  # runlevel
 
  # runlevel
 
  N 3
 
  N 3
  # chkconfig --level 3 smb on
+
  # [[chkconfig]] --level 3 smb on
  # chkconfig --level 5 smb on
+
  # [[chkconfig]] --level 5 smb on
  # chkconfig --list smb
+
  # [[chkconfig]] --list smb
 
  smb            0:off  1:off  2:off  3:on    4:off  5:on    6:off
 
  smb            0:off  1:off  2:off  3:on    4:off  5:on    6:off
  
 
====直ちにサービス起動====
 
====直ちにサービス起動====
  # service smb start
+
  # ser[[vi]]ce smb start
 
  SMB サービスを起動中:                                      [  OK  ]
 
  SMB サービスを起動中:                                      [  OK  ]
 
  NMB サービスを起動中:                                      [  OK  ]
 
  NMB サービスを起動中:                                      [  OK  ]
54行目: 54行目:
 
         :
 
         :
 
  =============================================================================
 
  =============================================================================
   Package                Arch      Version          Repository       Size  
+
   Package                Arch      Version          [[R]]epository       Size  
 
  =============================================================================
 
  =============================================================================
 
  Installing:
 
  Installing:
72行目: 72行目:
 
[[File:0467_samba04.jpg]]
 
[[File:0467_samba04.jpg]]
 
[[File:0468_samba05.jpg]]
 
[[File:0468_samba05.jpg]]
=====ユーザの作成(Linuxユーザとの紐つけ)=====
+
=====ユーザの作成([[Linux]]ユーザとの紐つけ)=====
 
[[File:0469_samba06.jpg]]
 
[[File:0469_samba06.jpg]]
=====Windows側から見えた!=====
+
=====[[Windows]]側から見えた!=====
 
[[File:0470_samba07.jpg]]
 
[[File:0470_samba07.jpg]]

2020年2月16日 (日) 04:25時点における最新版

Fedora Core 6 Sambaの構築

Fedora Core 6 | Linux |

インストールと設定

yumでインストール(アップデート)

# yum install samba
      :
samba-3.0.24-11.fc6.i386. 100% |=========================| 110 kB    00:00     
      :
samba-common-3.0.24-11.fc 100% |=========================|  43 kB    00:00     
      :
samba-client-3.0.24-11.fc 100% |=========================|  39 kB    00:00     
      :
=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 samba                   i386       3.0.24-11.fc6    updates            16 M
Updating for dependencies:
 samba-client            i386       3.0.24-11.fc6    updates           4.2 M
 samba-common            i386       3.0.24-11.fc6    updates           8.6 M

Transaction Summary
=============================================================================
Install      1 Package(s)         
Update       2 Package(s)         
Remove       0 Package(s)         
      :
Installed: samba.i386 0:3.0.24-11.fc6
Dependency Updated: samba-client.i386 0:3.0.24-11.fc6 samba-common.i386 0:3.0.24-11.fc6
Complete!

ファイアーウォールの設定

0464 samba01.jpg

chkconfigでサービスを自動起動させるよう設定

# chkconfig --list smb
smb             0:off   1:off   2:off   3:off   4:off   5:off   6:off
# runlevel
N 3
# chkconfig --level 3 smb on
# chkconfig --level 5 smb on
# chkconfig --list smb
smb             0:off   1:off   2:off   3:on    4:off   5:on    6:off

直ちにサービス起動

# service smb start
SMB サービスを起動中:                                      [  OK  ]
NMB サービスを起動中:                                      [  OK  ]

GUIサーバ設定ツール(system-config-samba)の導入

インストール

# yum install system-config-samba
       :
system-config-samba-1.2.3 100% |=========================|  29 kB    00:00     
       :
=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 system-config-samba     noarch     1.2.35-1.1       core              244 k

Transaction Summary
=============================================================================
       :
Installed: system-config-samba.noarch 0:1.2.35-1.1
Complete!

起動

システム - 管理 - サーバー設定 - Samba

0465 samba02.jpg

起動したところ

0466 samba03.jpg

プレファレンスから、サーバーの設定

0467 samba04.jpg 0468 samba05.jpg

ユーザの作成(Linuxユーザとの紐つけ)

0469 samba06.jpg

Windows側から見えた!

0470 samba07.jpg