samba セットアップ

目次


sambaって何?

unix<->windows間でファイルの共有を実現してくれるソフト

セットアップ手順


1. samba インストール


1-1. samba ダウンロード


wget http://us1.samba.org/samba/ftp/old-versions/samba-...

今回はsamba-3.0.7.tar.gzを使います

1-2. コンパイル


samba用の設定ファイルを置くディレクトリの作成

sudo mkdir /etc/samba

ソースファイル展開

mv samba-3.0.7.tar.gz /usr/local/src/. ; tar zxf samba-3.0.7.tar.gz
設定

cd source ; ./configure --wich-configdir=/etc/samba

コンパイル,インストール

make ; sudo make install

エラーがでた。。
Compiling dynconfig.c
In file included from include/smb.h:1677,
  from include/includes.h:782,
  from dynconfig.c:21:
include/popt_common.h:25: error: array type has incomplete element type
include/popt_common.h:26: error: array type has incomplete element type
include/popt_common.h:27: error: array type has incomplete element type
include/popt_common.h:28: error: array type has incomplete element type
make: *** [dynconfig.o] Error 1

2.

2008年07月13日(日) 23:42:46 Modified by monpoke




スマートフォン版で見る