<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.archlinux.jp/index.php?action=history&amp;feed=atom&amp;title=XWiki</id>
	<title>XWiki - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.archlinux.jp/index.php?action=history&amp;feed=atom&amp;title=XWiki"/>
	<link rel="alternate" type="text/html" href="https://wiki.archlinux.jp/index.php?title=XWiki&amp;action=history"/>
	<updated>2026-05-31T16:05:57Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.44.3</generator>
	<entry>
		<id>https://wiki.archlinux.jp/index.php?title=XWiki&amp;diff=10451&amp;oldid=prev</id>
		<title>Kusakata: 同期</title>
		<link rel="alternate" type="text/html" href="https://wiki.archlinux.jp/index.php?title=XWiki&amp;diff=10451&amp;oldid=prev"/>
		<updated>2017-10-20T12:54:16Z</updated>

		<summary type="html">&lt;p&gt;同期&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2017年10月20日 (金) 21:54時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;1行目:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;1行目:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:ウェ&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ブサーバー&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ウィキソフト&lt;/ins&gt;ウェ&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ア&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:ウェブアプリケーション]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[en:XWiki]]&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[en:XWiki]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;XWiki は Java で書かれたオープンソースのエンタープライズ用 wiki です。拡張性に重きが置かれています。詳しくは [[Wikipedia:ja:XWiki|Wikipedia の記事]]や [http://www.xwiki.org XWiki ホームページ] を参照。&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;XWiki は Java で書かれたオープンソースのエンタープライズ用 wiki です。拡張性に重きが置かれています。詳しくは [[Wikipedia:ja:XWiki|Wikipedia の記事]]や [http://www.xwiki.org XWiki ホームページ] を参照。&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key bnbest_wiki:diff:1.41:old-9092:rev-10451:wikidiff2=table:1.14.1:bc2a06be --&gt;
&lt;/table&gt;</summary>
		<author><name>Kusakata</name></author>
	</entry>
	<entry>
		<id>https://wiki.archlinux.jp/index.php?title=XWiki&amp;diff=9092&amp;oldid=prev</id>
		<title>Kusakata: 翻訳</title>
		<link rel="alternate" type="text/html" href="https://wiki.archlinux.jp/index.php?title=XWiki&amp;diff=9092&amp;oldid=prev"/>
		<updated>2017-06-21T15:33:50Z</updated>

		<summary type="html">&lt;p&gt;翻訳&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:ウェブサーバー]]&lt;br /&gt;
[[en:XWiki]]&lt;br /&gt;
XWiki は Java で書かれたオープンソースのエンタープライズ用 wiki です。拡張性に重きが置かれています。詳しくは [[Wikipedia:ja:XWiki|Wikipedia の記事]]や [http://www.xwiki.org XWiki ホームページ] を参照。&lt;br /&gt;
&lt;br /&gt;
同じようなソフトウェアとして Perl で書かれた [[Foswiki]] も存在します。&lt;br /&gt;
&lt;br /&gt;
==インストール==&lt;br /&gt;
&lt;br /&gt;
[http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation XWiki インストールガイド] に従ってインストールしてください。以下の手順では [[Tomcat]] と [[PostgreSQL]] を使用します。他の組み合わせに変えるのはそう難しくはありません。&lt;br /&gt;
&lt;br /&gt;
* [[PostgreSQL]] をインストール。&lt;br /&gt;
* PostgreSQL を楽に管理するために、[[phpPgAdmin]] をインストール。&lt;br /&gt;
* [[Tomcat|Tomcat 7]] をインストール ({{ic|tomcat-native}} も必要です)。&lt;br /&gt;
* XWiki の WAR ファイルをダウンロード。&lt;br /&gt;
* WAR ファイルの名前を {{ic|xwiki}} に変更。&lt;br /&gt;
* WAR ファイルを {{ic|/var/lib/tomcat7/webapps}} ディレクトリに移動。&lt;br /&gt;
* Tomcat は自動的に WAR ファイルを展開します。展開されない場合、Tomcat を再起動してください。&lt;br /&gt;
* この時点で、{{ic|/var/lib/tomcat7/webapps}} に {{ic|data}} ディレクトリが作られます。削除してください。&lt;br /&gt;
* root で以下のコマンドを実行:&lt;br /&gt;
{{bc|&lt;br /&gt;
# cd /var/lib/tomcat7&lt;br /&gt;
# mkdir data&lt;br /&gt;
# chown tomcat:tomcat data&lt;br /&gt;
}}&lt;br /&gt;
* {{ic|/var/lib/tomcat7/webapps/xwiki/WEB-INF}} ディレクトリで以下の操作を実行:&lt;br /&gt;
** {{ic|xwiki.cfg}} ファイルを開いて {{ic|xwiki.work.dir}} フィールドを変更し {{ic|/var/lib/tomcat7/data/xwiki}} が読み込まれるようにしてください。&lt;br /&gt;
** {{ic|xwiki.properties}} ファイルを開いて {{ic|container.persistentDirectory}} フィールドを変更し {{ic|/var/lib/tomcat7/data/xwiki}} が読み込まれるようにしてください。&lt;br /&gt;
** {{ic|hibernate.cfg.xml}} ファイルを開いて以下を編集:&lt;br /&gt;
*** &amp;quot;Configuration for the default database&amp;quot; という名前のセクションをコメントアウト。&lt;br /&gt;
*** &amp;quot;PostgreSQL Configuration&amp;quot; という名前のセクションをアンコメント。&lt;br /&gt;
*** データベースの名前 ({{ic|connection.url}}) やユーザー名、パスワードを適宜編集。&lt;br /&gt;
* PostgreSQL に hibernate の設定と同じロールとデータベースを作成してください。&lt;br /&gt;
* [[Arch User Repository]] から {{AUR|postgresql-jdbc}} をインストール。&lt;br /&gt;
* root で以下を実行:&lt;br /&gt;
{{bc|&lt;br /&gt;
# cd /usr/share/java/tomcat7&lt;br /&gt;
# ln -s /usr/share/java/postgresql-jdbc/postgresql-jdbc4.jar&lt;br /&gt;
}}&lt;br /&gt;
* Tomcat を再起動。&lt;br /&gt;
* Tomcat Manager で {{ic|/xwiki}} をクリックして XWiki アプリケーションを起動。&lt;br /&gt;
* XWiki の XAR ファイルをダウンロードして空の Wiki を作成。&lt;br /&gt;
&lt;br /&gt;
==Nginx プロキシ設定==&lt;br /&gt;
&lt;br /&gt;
nginx をプロキシとして使って {{ic|http://localhost:8080/xwiki/}} にアクセスするようにしても、生成される URL に問題が発生します。[http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HReverseproxysetup XWiki ドキュメント] に書かれていることと異なり、HTTP ヘッダーを使って修正できません。&lt;br /&gt;
&lt;br /&gt;
Tomcat の {{ic|server.xml}} ファイルに新しい {{ic|Host}} エレメントを作成することで解決できます:&lt;br /&gt;
* 既存の {{ic|Host}} エレメントをコピーして {{ic|name}} 属性を {{ic|xwiki}} に変更。&lt;br /&gt;
* {{ic|appBase}} 属性を {{ic|/var/lib/tomcat7/webapps-xwiki}} に変更。&lt;br /&gt;
* {{ic|xwiki}} アプリケーションを {{ic|/var/lib/tomcat7/webapps/xwiki}} から {{ic|/var/lib/tomcat7/webapps-xwiki/ROOT}} に移動。&lt;br /&gt;
* Tomcat を再起動。&lt;br /&gt;
* {{ic|/etc/hosts}} にローカルホストのエイリアスとして {{ic|xwiki}} を追加 (127.0.0.1 の行の末尾に追加)。&lt;br /&gt;
* Nginx で {{ic|http://xwiki:8080/}} を使うようにプロキシ設定。&lt;/div&gt;</summary>
		<author><name>Kusakata</name></author>
	</entry>
</feed>