📌 오늘의 국제 원자력 동향 2026년 3월 21일(토)

  • X-energy가 미국 IPO 서류를 제출하며 AI 전력 수요와 정책 지원을 배경으로 한 차세대 원전 투자 기대가 자본시장 조달 국면으로 이동함
  • X-energy와 Talen이 PJM 시장에서 XE-100 다기 배치를 검토하며 데이터센터와 제조업 수요를 겨냥한 미국 SMR 사업화 경로를 구체화함
  • IAEA가 자포리자·하르키우·체르노빌의 외부전원 취약성을 재차 경고하며 우크라이나 핵시설의 전시 전력안정성이 핵심 안전 변수로 부상함
  • SCK-CEN이 Framatome과 BR2 연구로용 저농축 우라늄 연료 공급 계약을 체결하며 HEU 대체 전환을 가속화함
  • 후쿠시마 제1원전 3호기 압력용기 하부의 구멍과 연료잔해 추정 물질이 처음 확인되며 잔해 제거 전략 수립이 진전됨

Mediawiki setup (SoftInstall): 두 판 사이의 차이

New Atomic Wiki
둘러보기로 이동 검색으로 이동
Jhchang (토론 | 기여)
편집 요약 없음
Jhchang (토론 | 기여)
 
(같은 사용자의 중간 판 20개는 보이지 않습니다)
1번째 줄: 1번째 줄:
We start from Mediawiki AMI provided by Bitnami for Amazon EC2 at seoul.
Information about setting up mediawiki.
Mediawiki 1.27.1 is installed at <code>$IP = "/opt/bitnami/apps/mediawiki/htdocs"</code>.


MySQL version 5.6.32;
== Platform ==
:root pass VAyUQwZIN2JQ
* Amazon EC2 (Seoul)
:root pass <code>80kK4e3Ims7D</code>
* Ubuntu 5.4.0-6
:MediaWiki pass : dfec5787bc
* LAMP
** Apache2
** Mysql 14.14
** Php  7.0.25
* Mediawiki installed at <code>/var/www/html</code>
 
Mysql root <!-- password is "chinu0703". -->
 
Mysql DB is "wikidb" for "wikiuser" <!-- password "chang!115".  -->
 
== Email setting ==
A gmail account is created by J.Chang.
 
<pre>
$wgSMTP = array( 'host' => "smtp.gmail.com", 'IDHost' => "gmail.com",
        'port' => 587,
        'username' => 'atomic.spepc@gmail.com', 'password' => 'xxxx',
      'auth' => true );
</pre>


== Mediawiki configuration ==
== Mediawiki configuration ==
Most configuration is by editing LocalSettings.php. After editing you need to run following script to reflect the changes.
Most configuration is by editing LocalSettings.php. After editing you need to run following script to reflect the changes.
  maintenance/update.php
  maintenance/update.php
=== External link in new screen ===
=== External link in new screen ===
  $wgExternalLinkTarget = '_blank';
  $wgExternalLinkTarget = '_blank';
45번째 줄: 63번째 줄:
  require_once "$IP/extensions/Rabcg/groups.php";
  require_once "$IP/extensions/Rabcg/groups.php";


<code>SoftInstall</code> group이  <code>/Rabcg/groups.php</code>기록되어 있다.
비밀 사용자 그룹은 Rabcg/groups.php 에 설정한다. 정의된 그룹은 SoftInstall, policy, future, safety, backend 이다.


=== TalkRight ===
$wgGroupPermissions['SoftInstall']['private'] = true;
이 기능은 등록된 이용자가 글을 쓰지는 못하지만 토론을 할 수 있도록 하기 위해 필요하다.
$wgGroupPermissions['policy']['private'] = true;
$wgGroupPermissions['future']['private'] = true;
$wgGroupPermissions['safety']['private'] = true;
$wgGroupPermissions['backend']['private'] = true;


이 기능을 활성화하려면 LocalSettings.php 에 다음 줄을 추가한다.
require_once "$IP/extensions/TalkRight/TalkRight.php
$wgGroupPermissions['user']['read'] = true;
$wgGroupPermissions['user']['edit'] = false;
=== EmbedVideo ===
=== EmbedVideo ===
이 기능은 Youtube 등 비데오를 엠베딩하기 위한 것이다.
이 기능은 Youtube 등 비데오를 엠베딩하기 위한 것이다.
61번째 줄: 78번째 줄:
  &lt;embedvideo service="youtube"&gt;https&#58;//www.youtube.com/watch?v=pSsYTj9kCHE&lt;/embedvideo&gt;
  &lt;embedvideo service="youtube"&gt;https&#58;//www.youtube.com/watch?v=pSsYTj9kCHE&lt;/embedvideo&gt;


=== SMTP configuration ===
=== Upload file size ===
업로드 파일의 크기는 php 설정에서 바꿔야 한다. 변경후 apache 서버의 재시동이 필요하다. 현재 설정은 24M 이다.
 
파일 : /etc/php/7.0/apache2/php.ini
변수 : post_max_size, upload_max_filesize
 
  $ sudo  service apache2 restart


$wgSMTP = array(
== Upgrade ==
        'host' => 'ssl://smtp.gmail.com',
Mediawiki can be upgraded by placing new version at <code>/var/www/html</code>. But care is needed to check extension is compatible.
        'IDHost' => 'gmail.com',
        'port' => 465,
        'username' => 'atomic.snu@gmail.com',
        'password' => 'atomic2284',
        'auth' => true
);


* SNU SMTP rejects relay. So, we need external SMTP provider
Usual <code>maintenance/update.php</code> will handle it (including DB schema update).
* we need a gmail account. After setup try it by changing email address of a user. When there appears an error, you need permit to use SMTP from the machine.


== Restart apache2 ==
== Restart apache2 ==
  /opt/bitnami/ctlscript.sh restart apache
  $ sudo service apache2 restart
 
[[Category:SoftInstall]]
[[Category:SoftInstall]]

2018년 12월 4일 (화) 13:07 기준 최신판

Information about setting up mediawiki.

Platform

  • Amazon EC2 (Seoul)
  • Ubuntu 5.4.0-6
  • LAMP
    • Apache2
    • Mysql 14.14
    • Php 7.0.25
  • Mediawiki installed at /var/www/html

Mysql root

Mysql DB is "wikidb" for "wikiuser"

Email setting

A gmail account is created by J.Chang.

$wgSMTP = array( 'host' => "smtp.gmail.com", 'IDHost' => "gmail.com",
        'port' => 587,
        'username' => 'atomic.spepc@gmail.com', 'password' => 'xxxx',
       'auth' => true );

Mediawiki configuration

Most configuration is by editing LocalSettings.php. After editing you need to run following script to reflect the changes.

maintenance/update.php

External link in new screen

$wgExternalLinkTarget = '_blank';

Cite

Extension:Cite is activated.

At LocalSettings.php

require_once "$IP/extensions/Cite/Cite.php";

PDF upload

To allow PDF upload, install PdfHandler

require_once "$IP/extensions/PdfHandler/PdfHandler.php";

Math extension

Latex like expression can be used.

<math>f(x)=\int_0^x{\frac{\lambda}{x}dx}<\math>

f(x)=0xλxdx

require_once "$IP/extensions/Math/Math.php";

Newest Page

This extension displays newly create pages which can be used at "Main" page. [1]

 require_once "$IP/extensions/NewestPages/NewestPages.php";

No title at Page

require_once "$IP/extensions/NoTitle/NoTitle.php";
$wgRestrictDisplayTitle = false;

Restrict access by Category

writer를 제외한 일반 이용자들이 문서를 공개할 때까지는 보지 못하게 하기 위한 기능이다. 특정 분류에 속한 문서를 못보도록 하기 위해서는 작성문서 마지막줄에 [[Category:writer]]를 적어 놓으면 된다.

이 기능을 활성화하려면 LocalSettings.php 에 다음 줄을 추가한다.

require_once "$IP/extensions/Rabcg/Rabcg.php";
require_once "$IP/extensions/Rabcg/groups.php";

비밀 사용자 그룹은 Rabcg/groups.php 에 설정한다. 정의된 그룹은 SoftInstall, policy, future, safety, backend 이다.

$wgGroupPermissions['SoftInstall']['private'] = true;
$wgGroupPermissions['policy']['private'] = true;
$wgGroupPermissions['future']['private'] = true;
$wgGroupPermissions['safety']['private'] = true;
$wgGroupPermissions['backend']['private'] = true;

EmbedVideo

이 기능은 Youtube 등 비데오를 엠베딩하기 위한 것이다. [2]

사용례)

<embedvideo service="youtube">https://www.youtube.com/watch?v=pSsYTj9kCHE</embedvideo>

Upload file size

업로드 파일의 크기는 php 설정에서 바꿔야 한다. 변경후 apache 서버의 재시동이 필요하다. 현재 설정은 24M 이다.

파일 : /etc/php/7.0/apache2/php.ini 변수 : post_max_size, upload_max_filesize

 $ sudo  service apache2 restart

Upgrade

Mediawiki can be upgraded by placing new version at /var/www/html. But care is needed to check extension is compatible.

Usual maintenance/update.php will handle it (including DB schema update).

Restart apache2

$ sudo service apache2 restart