玄箱 †とりあえずCDからセットアップしたのですが、インストール後まったく認識しないので、調べていたら、DHCPでIPが割りあたっていた。 HG Devian化 †http://kuro.kaguya.biz/からdebian_2004_11_03_dist.tgzとkuroevtd_1.1.3.tgzをダウンロードした。これを/mnt/shareにコピーした後、http://www.hanapon.com/hp/kuroboxhg/kurohg3.htmを参考にインストール EM化 echo -n 'NGNG' > /dev/fl3 非EM化 /usr/bin/write_ok もしくは echo -n 'OKOK' > /dev/fl3 アプリはhttp://debikuro.ddo.jp/KuroBox/A005.htmlを参考にしました。 apt-get install gcc 各種ソフト †dselectでインストール /で検索して、\で次検索 export PATH=$PATH:/usr/local/sbin/:/usr/sbin/:/sbin/ samba †wget ftp://ftp.samba.gr.jp/pub/samba/old-versions/samba-2.2.9.tar.gz cd samba-2.2.9/ cd source/ ./configure --with-smbmount make make install cp examples/smb.conf.default /usr/local/samba/lib/smb.conf /usr/local/samba/bin/smbd -D /usr/local/samba/bin/nmbd -D ntp †ntpのまんまでいけました。 MySQL †wget http://dev.mysql.com/get/Downloads/MySQL-4.0/mysql-4.0.24.tar.gz/from/ftp://ftp.u-aizu.ac.jp/ftp/pub/dbms/mysql/mysql.com/ tar xzvf php-4.3.10.tar.gz cd mysql-4.0.24 ./configure --prefix=/usr/local/mysql --with-mysqld-user=mysql --with-charset=sjis --with-extra-charsets=all --with-berkeley-db --with-innodb --without-readline おっ?エラーがでました。 checking whether build environment is sane... configure: error: newly created file is older than distributed files! よくみたら時間がむちゃくちゃになってます。ntpであわせて再度チャレンジ。今度はNo curses/termcap library foundとでました。ncursesをいれればいいようです。 http://directory.fsf.org/ncurses.htmlからダウンロードします。 wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.4.tar.gz ./configure --with-shared --with-normal cd ncurses-5.4 make make install /bin/sh: -I../c++: そのようなファイルやディレクトリはありませんとでてしまいました.. しょうがないので、dselectからlibncursesをインストールして、再チャレンジ。とりあえずとおりました。ではmake cannot find -lreadline またエラーです。またdselectからlibreadlineをインストールして再チャレンジ。やっと終わりました。あとはMySQLにしたがってセットアップします。 PHP †PHPに従ってインストール。makeで落ちました。 zend.c:776: incompatible types in assignment んー Zend/zend.cを開けて776行目をコメントして、 memcpy(usr_copy, args, sizeof(va_list)); を追加。再度make。うまくいったので、make install。またPHPにしたがう。 またGDもPHPにしたがってインストールできた。 cron †cron.hourlyがなかったので、とりあえず作って、crontabを修正しておく。 00 * * * * root test -e /usr/sbin/anacron || run-parts --report /etc/cron.hourly ここに拡張子がついた実行ファイルを置いても実行されなかった。 run-parts --test /etc/cron.hourly でみても何も表示されない。拡張子を消すと動いた。あと#/bin/shを書いておかないとexec format errで落ちた。 ppBlog †ppBlogよりすんなり動きました。 削除 †使うならqmailなので、消しました。 apt-get remove exim TeraStation? †http://www.geocities.jp/trstat/ リンク †http://www.hanapon.com/hp/kuroboxhg/kurohg3.htm 参考書籍 † |