우분투 Parsoid 설치

Crystal Clear action info.png 작성 중인 문서입니다.
우분투 Parsoid 설치

1 사전작업[ | ]

2 확인[ | ]

root@zetawiki:~# node -v
v4.4.5
root@zetawiki:~# aptitude show parsoid
E: Unable to locate package parsoid

3 저장소 추가, 업데이트[ | ]

root@zetawiki:~# apt-add-repository "deb https://releases.wikimedia.org/debian trusty-mediawiki main"
root@zetawiki:~# apt-get update
... (생략)
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US           
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US             
Fetched 2,826 kB in 21s (131 kB/s)                                             
Reading package lists... Done
W: GPG error: https://releases.wikimedia.org trusty-mediawiki InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7A322AC6E84AFDD2
root@zetawiki:~# aptitude show parsoid
Package: parsoid                         
New: yes
State: not installed
Version: 0.4.0
Priority: optional
Section: web
Maintainer: Gabriel Wicke <gwicke@wikimedia.org>
Architecture: amd64
Uncompressed Size: 66.5 M
Depends: nodejs (>= 0.8.0), logrotate, adduser
Enhances: mediawiki
Description: Web service converting HTML+RDFa to MediaWiki wikitext and back
 Bidirectional conversion between HTML+RDFa and the MediaWiki flavor of wikitext
 in a node.js web service. See https://www.mediawiki.org/wiki/Parsoid.
Homepage: http://www.mediawiki.org/wiki/Parsoid

4 설치[ | ]

root@zetawiki:~# apt-get install parsoid
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  parsoid
0 upgraded, 1 newly installed, 0 to remove and 75 not upgraded.
Need to get 0 B/6,650 kB of archives.
After this operation, 66.5 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  parsoid
Install these packages without verification? [y/N]
... (생략)
Setting up parsoid (0.4.0) ...
Adding group `parsoid' (GID 113) ...
Done.
Adding system user `parsoid' (UID 105) ...
Adding new user `parsoid' (UID 105) with group `parsoid' ...
Not creating home directory `/usr/lib/parsoid'.
Started Parsoid server on port 8142
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...
Processing triggers for ureadahead (0.100.0-16) ...

5 실패 ★[ | ]

  • nodejs로 구동되어야 할 것 같은데... 안된다...[1]
root@zetawiki:~# service parsoid status
/etc/init.d/parsoid: invalid arguments
 * could not access PID file for parsoid

6 같이 보기[ | ]

7 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}