|
Top > FC1による辞書環境 eb-4.1.3+rubyeb-2.6+letmesee-1.1による辞書環境構築 (Fedora Core2)
apt-get -y intall ruby apt-get -y intall ruby-devel
$ cd /usr/local/src $ wget ftp://ftp.sra.co.jp/pub/misc/eb/eb-4.1.3.tar.gz $ tar zxvf eb-4.1.3.tar.gz $ cd eb-4.1.3 $ ./configure $ make # make install
$ cd ../ $ wget http://rubyeb.sourceforge.net/rubyeb-2.6.tar.gz $ tar zxvf rubyeb-2.6.tar.gz $ cd rubyeb-2.6 $ ruby extconf.rb $ make # make install
$ cd .. $ wget http://openlab.jp/edict/letmesee/dist/letmesee-1.1.tar.gz $ tar zxvf letmesee-1.1 # mv letmesee-1.1 /var/www/html/letmesee # cd /var/www/html/letmesee # cp dot.htaccess .htaccess # cp letmesee.conf.sample letmesee.conf
# echo "/usr/local/lib" >> /etc/ld.so.conf # /sbin/ldconfig
# vi /etc/httpd/conf/httpd.conf
<Directory /var/www/html/letmesee> Allow from localhost AllowOverride All </Directory>
AddDefaultCharset Off
# wget http://openlab.ring.gr.jp/edict/fpw/dist/edict/edict-fpw1.2.1.zip # unzip edict-fpw1.2.1.zip # mv EDICT/ /usr/share/dict/EDICT
# vi /var/www/html/letmesee/letmesee.conf
@dictlist = [ "/usr/share/dict/EDICT", ]
# /etc/init.d/httpd restart
http://www.interq.or.jp/mars/cherry/mac/eblook-panther.html |