HOMEへ

パソコンのスペックは、500MHzぐらいから、メモリーも128MBぐらいから
RedHatは、最小で、インストール約600MB

sambaインストール

[root@localhost root]# wget http://ftp.samba.gr.jp/pub/samba-jp/samba-2.2.11-ja/packages/RedHat9/samba-2.2.11.ja-1.rh9.i386.rpm
--16:59:23-- http://ftp.samba.gr.jp/pub/samba-jp/samba-2.2.11-ja/packages/RedHat9/samba-2.2.11.ja-1.rh9.i386.rpm
=> `samba-2.2.11.ja-1.rh9.i386.rpm'
ftp.samba.gr.jp をDNSに問いあわせています... 完了しました。
ftp.samba.gr.jp[219.106.227.18]:80 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 20,768,219 [application/x-redhat-package-manager]

100%[========================================================================================================>] 20,768,219 444.19K/s ETA 00:00

17:00:09 (444.19 KB/s) - `samba-2.2.11.ja-1.rh9.i386.rpm' を保存しました [20768219/20768219]

[root@localhost root]# rpm -ivh samba-2.2.11.ja-1.rh9.i386.rpm
Preparing... ########################################### [100%]
1:samba ########################################### [100%]
[root@localhost xinetd.d]# vi /etc/xinetd.d/swat
service swat
{
port = 901
socket_type = stream
wait = no
only_from = 127.0.0.1 192.168.   ← 追加
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = no   ← 変更
}
~
[root@localhost root]# mkdir /home/share    ← sambaフォルダーを home ディレクトリに作成
[root@localhost root]# chmod 777 /home/share
[root@localhost root]# /etc/rc.d/init.d/xinetd restart
xinetdを停止中: [ OK ]
xinetdを起動中: [ OK ]
[root@localhost root]# service xinetd restart
xinetdを停止中: [ OK ]
xinetdを起動中: [ OK ]
[root@localhost root]#
[root@localhost root]# chkconfig smb on    ← 自動起動
[root@localhost root]# chkconfig --list smb
smb 0:オフ 1:オフ 2:オン 3:オン 4:オン 5:オン 6:オフ

アドレスに、「http://192.168.*.*:901/」 SWAT を起動させる。

次回、SWATの設定を記述します。

 

inserted by FC2 system