Notice

This page show a previous version of the article

Admin logs

Please post a description here every time you do a modification on tatoeba.org.

10nd February 2014 11PM China time

  • who: sysko
  • why: installed nihongoparserd (service to generate japanese reading)
  • what: compiled source and installed service
  • how:

installed:

 apt-get install git cmake g++ libmecab-dev mecab-jumandict-utf8

executed

 git clone https://github.com/allan-simon/nihongoparserd.igt
 cd nihongoparserd
 mkdir build ; cd build ; cmake .. ; make 
 sudo cp nihongoparserd /usr/local/bin
 cd ..
 sudo cp conf/nihongoparserd /etc/init.d/
 sudo chmod +x /etc/init.d/nihongoparserd
 sudo cp conf/default /etc/default/nihongoparserd
 sudo useradd -r nihongoparserd

start the service

 /etc/init.d/nihongoparserd 

9nd February 2014 10AM China time

  • who: sysko
  • why: reinstall suggestd (service powering tag autocompletion)
  • what: compiled source and installed service
  • how:

installed

apt-get install gcc automake make libevent-dev libsqlite3-dev pkg-config libexpat1-dev libmysqlclient-dev

compiled suggestd0.9

aclocal
autoconf
automake --add-missing

./configure
make
make install

after created init script in

/etc/init.d/suggestd

and configuration file in

/etc/suggestd.xml

and default file in

/etc/default/suggestd

then create a suggestd user

useradd -r suggestd

then finally starting it

/etc/init.d/suggestd start 

2nd February 2014 5AM China time

  • who: sysko
  • why: resolve login problems
  • what: used memcache instead of sqlite for storing session
  • how:

installed:

   apt-get install memcached php5-memcache 

modified: /etc/php5/apache2/php.ini

[Session] session.save_handler = memcache session.save_path="tcp://127.0.0.1:11211?persistent=1&weight=1&timeout=1&retry_interval=15"