📌 오늘의 국제 원자력 동향 2026년 8월 11일 (화)
- Vistra가 ERCOT 접속 대기열 감사 전까지 텍사스주 정부의 데이터센터 개발 일시정지를 지지하면서도 Comanche Peak 원전의 Amazon 전력공급 계약은 일정 영향이 제한적일 것으로 전망함
- 헝가리 Paks 원전이 다뉴브강 수위 회복에 따라 두 번째 터빈 재가동 절차에 들어가며 폭염·가뭄기 원전 냉각수 의존성과 전력수급 취약성이 함께 부각됨
- 루마니아 Cernavoda 원전 주변 다뉴브강 수위 하락 전망이 이어지며 운영 지속을 위한 물길 우회, 준설 예산, 전력 비상 대응이 동시에 쟁점으로 부상함
- 슬로바키아 Mochovce 4호기가 최초 임계와 최소제어출력에 도달하며 471MW급 신규 원전의 단계적 출력 상승과 전력 생산 전 시험 절차가 본격화됨
- 중국 Changjiang 4호기가 주제어실 운영을 시작하며 Hualong One 2단계 사업의 2027년 초 기동·완전운전 목표를 향한 시운전 준비가 진전됨
VisualEditor (SoftInstall)
Visual Editor is Java based editor. It works with Parsoid server[1], RESTbase, and SQLite DB. Parsoid is called from client side. The port, 8142 should be open to world.
Parsoid
Installation
Parsoid[2] is not included in ubuntu package repository. Following commands are required to install Parsoid.
$ sudo apt-key advanced --keyserver keys.gnupg.net --recv-keys 90E9F83F22250DD7 $ sudo apt-add-repository "deb https://releases.wikimedia.org/debian jessie-mediawiki main" $ sudo apt-get update $ sudo apt-get install apt-transport-https $ sudo apt-get update && sudo apt-get install parsoid
Parsoid is installed at /etc/mediawiki/parsoid/.
Configuration file is /etc/mediawiki/parsoid/config.yaml.
We need to specify location of api.php.
mwApis:
- # This is the only required parameter,
# the URL of you MediaWiki API endpoint.
uri: 'http://localhost/api.php'
# The "domain" is used for communication with Visual Editor
# and RESTBase. It defaults to the hostname portion of
# the `uri` property below, but you can manually set it
# to an arbitrary string.
domain: 'localhost'
- Note that space should be used. (not tab key)
User parsoid is created.
$ sudo useradd -r -s /sbin/nologin -d /dev/null -M -c 'Unprivileged system account for Parsoid' parsoid
Daemon
Parsoid is serving at TCP port 8142. Daemon is controlled by;
$ sudo service parsoid start $ sudo service parsoid stop
Any error will be recorded at /var/log/parsoid/parsoid.log
You can check daemon status by
$ ps -ax|grep parsoid
Node js
Node.js[3] is used to install RESTbase software. Node.js is Javascript runtime platform.
Installation
$ sudo apt-get update $ sudo apt-get install nodejs $ sudo apt-get install npm
RESTbase
RESTbase is installed at /var/lib/restbase.
It uses SQLite database engine.
Install
$ cd /var/lib $ sudo git clone https://github.com/wikimedia/restbase.git $ sudo npm install
- sqlite3 and restbase-mod-table-sqlite should be presented at node_modules directory.
- npm requires lots of memory during execution. It is good to stop "apache2" and "mysql" before executing npm.
create config.yaml by copying config.example.yaml. Edit as follows
paths:
/{domain:atomic.snu.ac.kr}:
x-modules:
- path: projects/example.yaml
options:
action:
# XXX Check API URL!
apiUriTemplate: http://atomic.snu.ac.kr/api.php
# XXX Check the base RESTBase URI
baseUriTemplate: "{{'http://{domain}:7231/{domain}/v1'}}"
parsoid:
# XXX Check Parsoid URL!
host: http://localhost:8142
table:
backend: sqlite
dbname: /var/lib/restbase/db.sqlite3
MediaWiki settings
LocalSettings.php should be modified as following.
wfLoadExtension( 'VisualEditor'); $wgDefaultUserOptions['visualeditor-enable'] = 1; $wgVirtualRestConfig['modules']['parsoid'] = array( // URL to the Parsoid instance // Use port 8142 if you use the Debian package // 'url' => 'http://localhost:8000', 'url' => 'http://localhost:8142', // Parsoid "domain", see below (optional) 'domain' => 'localhost', // Parsoid "prefix", see below (optional) 'prefix' => 'atomic' ); $wgSessionsInObjectCache = true; $wgVirtualRestConfig['modules']['parsoid']['forwardCookies'] = true;
Problems and Fix
"편집" and "원본편집" will appear at menu tab. When parsoid is down, clicking "편집" has no effect. In this case, check running status of parsoid daemon, and fix it.
After apt upgrade (May, 2018), VE died
Fix it to use config.yaml file (obsolete setting.js) and set strictAcceptCheck to false (because of SSL related problem)
At /etc/mediawiki/parsoid/config.yaml
strictAcceptCheck: false # Configure Parsoid to point to your MediaWiki instances. mwApis: - # This is the only required parameter, uri: 'http://localhost/api.php' domain: 'localhost' # optional
At Localsetting.php
$wgVirtualRestConfig['modules']['parsoid'] = array( 'url' => 'http://localhost:8142', 'domain' => 'localhost' );