*概要 [#f9a5294d]
-DebianでPacketiX VPN Bridge 2.0を使う

*ダウンロードと展開 [#w673b0c9]
 # cd /tmp
 # wget http://www.softether.co.jp/jp/download/file.aspx/86A280129E0A5BA5BDEB414ED48E5F8F0341FA2E/vpnbridge-5280-rtm-linux-x86.tar.gz
 # tar xzvf vpnbridge-5280-rtm-linux-x86.tar.gz 
 vpnbridge/
 vpnbridge/libcrypto.a
 vpnbridge/License_ReadMeFirstUtf.txt
 vpnbridge/License_ReadMeFirst.txt
 vpnbridge/libssl.a
 vpnbridge/License_ReadMeFirstSjis.txt
 vpnbridge/vpnbridge.a
 vpnbridge/Makefile
 vpnbridge/vpncmd.a
 vpnbridge/.install.sh
 vpnbridge/hamcore.se2

*実行可能ファイルの生成 [#qa300da4]
 # cd vpnbridge
 # make

*エラー [#z1113bb9]
 make[1]: Entering directory `/tmp/vpnbridge'
 ranlib libssl.a
 ranlib libcrypto.a
 ranlib vpnbridge.a
 gcc vpnbridge.a -pthread -lrt -lm -lz libssl.a libcrypto.a -lpthread -ldl -lreadline -lcurses  -o vpnbridge
 /usr/bin/ld: cannot find -lz
 collect2: ld returned 1 exit status
 make[1]: *** [vpnbridge] Error 1
 make[1]: Leaving directory `/tmp/vpnbridge'

*必要パッケージの追加 [#vb6924fa]
 # wget -P /usr/local/src http://ftp.gnu.org/pub/gnu/readline/readline-5.2.tar.gz--2010-09-19 00:01:52--  http://ftp.gnu.org/pub/gnu/readline/readline-5.2.tar.gz
 # cd /usr/local/src
 # tar xzf readline-5.2.tar.gz
 # cd readline-5.2
 # ./configure --prefix=/usr/local
 # make
 # make install

 # apt-get install libpthread-stubs0

 # apt-get install zlib1g-dev


*スクリプト置いた後 [#q59ddb1e]
 # update-rc.d vpnbridge defaults

*サービスの起動 [#hb0623a4]
 # /etc/init.d/vpnbridge start
 PacketiX VPN Bridge Service Started.
 touch: cannot touch `/var/lock/subsys/vpnbridge': No such file or directory
 # mkdir /var/lock/subsys/
*参考 [#gaecc7fa]
http://debianj.com/debian/library/readline.html


----

&size(12){Total:&counter(total); / Today:&counter(today); / Yesterday:&counter(yesterday);};

トップ   差分 バックアップ リロード   一覧 検索 最終更新   ヘルプ   最終更新のRSS