Version at: 10/02/2014, 15:55 vs. version at: 10/02/2014, 17:42 | ||
---|---|---|
1 | 1 | #Admin logs |
2 | 2 | |
3 | 3 | Please post a description here every time you do a modification on tatoeba.org. |
4 | ||
5 | ### 11nd February 2014 01AM China time | |
6 | ||
7 | * who: sysko | |
8 | * why: restored transliteration for most languages | |
9 | * what: linked nihongoparserd with tatoeba php code mostly | |
10 | * how: | |
11 | ||
12 | I've applied [this patch](http://bpaste.net/show/kBOxWpawgedmGieVwIn1/), it's not yet into the SVN (need someone to do it for me, don't remember my SVN accounts). Also note the `romanization` variable would be better named `transliteration` | |
13 | ||
14 | also I've commented the line `return false;` in `getRomanization` file `app/models/sentences.php` as it's supposed to well... deactivate transliteration (for dev environment) | |
15 | ||
16 | also commented temporaly all call to `sinoparserd` as it's not yet restored | |
17 | ||
4 | 18 | |
5 | 19 | ### 10nd February 2014 11PM China time |
6 | 20 | |
7 | 21 | * who: sysko |
8 | 22 | * why: installed nihongoparserd (service to generate japanese reading) |
9 | 23 | * what: compiled source and installed service |
10 | 24 | * how: |
11 | 25 | |
12 | 26 | installed: |
13 | 27 | |
14 | 28 | apt-get install git cmake g++ libmecab-dev mecab-jumandict-utf8 |
15 | 29 | |
16 | 30 | |
17 | 31 | executed |
18 | 32 | |
19 | 33 | git clone https://github.com/allan-simon/nihongoparserd.igt |
20 | 34 | cd nihongoparserd |
21 | 35 | mkdir build ; cd build ; cmake .. ; make |
22 | 36 | sudo cp nihongoparserd /usr/local/bin |
23 | 37 | cd .. |
24 | 38 | sudo cp conf/nihongoparserd /etc/init.d/ |
25 | 39 | sudo chmod +x /etc/init.d/nihongoparserd |
26 | 40 | sudo cp conf/default /etc/default/nihongoparserd |
27 | 41 | sudo useradd -r nihongoparserd |
28 | 42 | |
29 | 43 | start the service |
30 | 44 | |
31 | 45 | /etc/init.d/nihongoparserd |
32 | 46 | |
33 | 47 | |
34 | 48 | |
35 | 49 | ### 9nd February 2014 10AM China time |
36 | 50 | |
37 | 51 | |
38 | 52 | * who: sysko |
39 | 53 | * why: reinstall suggestd (service powering tag autocompletion) |
40 | 54 | * what: compiled source and installed service |
41 | 55 | * how: |
42 | 56 | |
43 | 57 | |
44 | 58 | installed |
45 | 59 | |
46 | 60 | apt-get install gcc automake make libevent-dev libsqlite3-dev pkg-config libexpat1-dev libmysqlclient-dev |
47 | 61 | |
48 | 62 | |
49 | 63 | compiled suggestd0.9 |
50 | 64 | |
51 | 65 | aclocal |
52 | 66 | autoconf |
53 | 67 | automake --add-missing |
54 | 68 | |
55 | 69 | ./configure |
56 | 70 | make |
57 | 71 | make install |
58 | 72 | |
59 | 73 | |
60 | 74 | after created init script in |
61 | 75 | |
62 | 76 | /etc/init.d/suggestd |
63 | 77 | |
64 | 78 | and configuration file in |
65 | 79 | |
66 | 80 | |
67 | 81 | /etc/suggestd.xml |
68 | 82 | |
69 | 83 | and default file in |
70 | 84 | |
71 | 85 | /etc/default/suggestd |
72 | 86 | |
73 | 87 | then create a suggestd user |
74 | 88 | |
75 | 89 | useradd -r suggestd |
76 | 90 | |
77 | 91 | then finally starting it |
78 | 92 | |
79 | 93 | |
80 | 94 | /etc/init.d/suggestd start |
81 | 95 | |
82 | 96 | |
83 | 97 | ###2nd February 2014 5AM China time |
84 | 98 | |
85 | 99 | * who: sysko |
86 | 100 | * why: resolve login problems |
87 | 101 | * what: used memcache instead of sqlite for storing session |
88 | 102 | * how: |
89 | 103 | |
90 | 104 | installed: |
91 | 105 | |
92 | 106 | apt-get install memcached php5-memcache |
93 | 107 | |
94 | 108 | modified: `/etc/php5/apache2/php.ini` |
95 | 109 | |
96 | 110 | ``` |
97 | 111 | [Session] |
98 | 112 | session.save_handler = memcache |
99 | 113 | session.save_path="tcp://127.0.0.1:11211?persistent=1&weight=1&timeout=1&retry_interval=15" |
100 | 114 | ``` |
101 | 115 | |
102 | 116 | |
103 | 117 | |
diff view generated by jsdifflib |
Version at: 10/02/2014, 15:55
#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" ```
version at: 10/02/2014, 17:42
#Admin logs Please post a description here every time you do a modification on tatoeba.org. ### 11nd February 2014 01AM China time * who: sysko * why: restored transliteration for most languages * what: linked nihongoparserd with tatoeba php code mostly * how: I've applied [this patch](http://bpaste.net/show/kBOxWpawgedmGieVwIn1/), it's not yet into the SVN (need someone to do it for me, don't remember my SVN accounts). Also note the `romanization` variable would be better named `transliteration` also I've commented the line `return false;` in `getRomanization` file `app/models/sentences.php` as it's supposed to well... deactivate transliteration (for dev environment) also commented temporaly all call to `sinoparserd` as it's not yet restored ### 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" ```