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