Search

オンライン

現在
 ゲスト 14 人
 がオンラインです

Counter

mod_vvisit_counterToday12
mod_vvisit_counterYesterday126
mod_vvisit_counterThis week537
mod_vvisit_counterAll117992

最近のコメント

  • New comment on 水槽リセット Posted by mune, on 2009年 1月 05日(月曜日) at 01:48
  • New comment on またまた新草 Posted by mune, on 2008年 5月 28日(水曜日) at 09:33

JoomlaStats Counters

Visits today:1
Visits yesterday:55
Visits in this month:58
Visits total:58
Impressions this month:314
Bots today:9

Designed by:
SiteGround web hosting Joomla Templates
LinuxクライアントでSambaサーバへ接続する PDF 印刷 Eメール
作者: mune   
2008年 6月 29日(日曜日) 14:24

使用目的としては、WindowsPCが起動しなくった時、Knoppixで起動し、データだけsamba3.xサーバへコピーするようなケースです。

  • samba3.xをコンパイルする時に、オプションを付ける。
    ./configure --with-smbmount
    make
    make install
    ※rpm等のバイナリでインストールする場合は、バイナリ依存。
  • /etc/hostsに名前解決用にホスト名を書く。
    192.168.x.x smbhostname
    ※書かない場合はIPアドレス指定すればよいだけですが。。。
  • smbmountするためのディレクトリを作る。
    mkdir /mnt/smb
  • smbサーバのshareディレクトリを/mnt/smbへmountする。
    smbmount //ip_address/folder /mnt/smb -o username=username,ip=ip_address,codepage=cp932,iocharset=utf8,rw
  • unmountする。
    smbumount /mnt/smb
 
Use OpenOffice.org

Blog Calendar

< 6月 2008 >
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
30          
route20.org, Powered by Joomla! and designed by SiteGround web hosting