Swiki1.3(Comanche5.0)のインストール


#作成 06/14/2002

ComancheはWebサーバです。SwikiはComancheの上位に属するWebApサーバです。2つ一緒で動作します。

<<Windows版のインストール>>


このファイルは、 以下のファイルの要約です。http://minnow.cc.gatech.edu/swiki/10

Windows Server Download
 1 ComSwiki.zip をダウンロードする
 2 お好みのディレクトリに解凍する。(例: C:\Program Files\ComSwiki\)
 3 Squeak.image ファイルを Squeak.exe にドラッグドロップする(または Squeak.exe をダブルクリックする)
 4 後は"Comanche 5.0 / Swiki 1.3 Getting Started" ウィンドウのインストラクションに従ってください。

Windows Server Download
 1 Download ComSwiki.zip  
 2 Extract it to the directory (a.k.a. folder) of your choice (for example, C:\Program Files\ComSwiki\)
 3 Drag-n-drop the squeak.image file onto the Squeak.exe (or just double-click Squeak.exe)
 4 Follow the instructions in the "Comanche 5.0 / Swiki 1.3 Getting Started" window

(以下は起動。comanche4.7で記述してある)

RaedMe.txt
Comanche 4.7 / SWiki Beta 12
"Once An Angel"

あなたのサイトをセットアップするには
  1 squeak.exe ファイルをダブルクリックする
  2 サーバーがスタートするまで待つ(ボタンの表示が "start server" から "stop server"に変わる)
  3 セットアップ情報の詳細を得るには、http://localhost/admin/help#getStarted (と入力し、そこ)に行く。
    user: には user、password: には password を使って下さい。
  4 お好きなようにサイトをセッティングして下さい。
  5 サーバの停止は、 stop ボタン
  6 ブート時に自動的にサーバを起動したいならば、squeak.exe(SWiki)のショートカットを
    "c:\Windows\Start Menu\Programs\Startup\" に置いて下さい。
  7 リブートして、全てがうまくいくことを確認しよう。

より詳しい情報は、wiki Home Page (http://minnow.cc.gatech.edu/swiki) へ。

----------------------
To Set Up Your Site
1. Double-click the squeak.exe file.
2. Wait until the server starts (the "start server" button changes label to "stop server").
3. Go to http://localhost/admin/help#getStarted to read-up on setting up the site.
When prompted for user:password, use admin as user and password as password
(you should change this as soon as possible to avoid security problems).
4. Set up the site to your liking.
5. Once the server is set up to your liking, stop the server (by pressing the stop server button)
and quit the server application (click on the "x" at the top right corner of the window).
6. To start the server automatically on reboot, place a shortcut to the squeak.exe file
in the "c:\Windows\Start Menu\Programs\Startup\" folder.
7. Reboot the machine and check to make sure everything runs smoothly.

For More Help
1. Check the Swiki Home Page (http://minnow.cc.gatech.edu/swiki)
2. E-mail the Swiki bugs list with bug reports (swiki-bugs@cc.gatech.edu).
3. E-mail the PWS mailing list with other questions (pws@cc.gatech.edu).
You can join the PWS list by sending an e-mail to majordomo@cc.gatech.edu.
In the body of the message, put subscribe pws.
This mailing list is fairly low bandwidth and will keep you up-to-date on Swiki progress.

 

<<Linux版のインストール>>

このファイルは、 以下のファイルの要約です。http://minnow.cc.gatech.edu/swiki/11

  1. ComSwiki をダウンロードする
  2. 解凍する
  3. 以下kで開始する
  4. 後は"Comanche 5.0 / Swiki 1.3 Getting Started" ウィンドウのインストラクションに従ってください。

----------------------

UNIX / Linux Download

  1. Download ComSwiki for your system
  2. Extract the archive
  3. Start Squeak
  4. Follow the instructions in the "Comanche 5.0 / Swiki 1.3 Getting Started" window

-------------------------------------------------------------------------

<<動作確認>>

ネットワークに接続したパソコンより、 http://172.16.48.193/ref などとして表示されればインストールできています。

<<Comanche5.0における日本語パッチ(ソース変更)>>

#オリジナル記事 http://ma2tak.dyndns.org:8888/ma2tak/1222

----------------------------------------------------------ここから引用---------
Swikiでは、キャラクタコードとしてlatin-1を返すようになっているので、文字化けが発生します。
Swikiのソースコードを修正して、EUC-JPを返すようにしました。
具体的には、SwikiModuleクラス(カテゴリSwiki-Comanche)のresponseFromメソッド(下記参照)を書き換えます。

responseFrom: dict
| response content |
response _ HttpResponse new.
response
status: (dict
at: 'headerStatus'
ifAbsent: [#ok]).
(dict
at: 'cacheing'
ifAbsent: [false])
ifFalse: [response fieldAt: 'Pragma' put: 'no-cache';
fieldAt: 'Expires' put: '0';
fieldAt: 'Cache-Control' put: 'no-cache'].
(dict includesKey: 'location')
ifTrue: [response
fieldAt: 'Location'
put: (dict at: 'location')].
(dict includesKey: 'authenticate')
ifTrue: [response
fieldAt: 'WWW-Authenticate'
put: (dict at: 'authenticate')].
response
contentType: (dict
at: 'contentType'
ifAbsent: ['text/html; charset=EUC-JP']).
content _ dict at: 'content'.
(content isKindOf: String)
ifTrue: [response
contents: (ReadStream on: content)]
ifFalse: [(content isKindOf: BlockContext)
ifTrue: [response _ response asHttpPartialResponseBlock: content]
ifFalse: [response contents: content]].
^ response

内の ['text/html; charset=EUC-JP']のところです。
----------------------------------------------------------ここまで引用---------

具体的な操作 (参考画面添付)
1 'ComSwiki Launcher' が表示されている画面で、背景の(Squeakの)枠を大きくし、'ComSwiki Launcher'と
  'Getting Started' の枠(Morph)を右にずらす。
2 左のスペースのところでマウスの左をクリックするとメニューが開くので、Open -> Workspace とする。
3 Workspace で responseFrom: とうち、それをマウスで選択して alt+b とする。
4 ブラウザの上段に responseFrom: が表示されるので、それをマウスでクリックすると上記のソースが表示される。
5 EUC-JP に変更して、 alt + s とする。
6 Swikiが動いていればとめて、左のスペースのところでマウスの左をクリックし、メニューより、'save and quit'でセーブする。
7 再度立ち上げて、漢字入力と検索ができることを確認してください。

<<リソースの日本語化(ヘルプなど)>>

#オリジナル記事 http://swiki.itolab.com/swiki-fun/6

山梨学院大学経営情報学部 伊藤研究室 'Swikiの改造(日本語化など)' http://swiki.itolab.com/swiki-fun/6
から、以下のファイルをダウンロードして指定ディレクトリに解凍、上書きしてください。
Windows版でも、原則同じディレクトリの筈です。
(#メッセージはLinux版、Windows版確認済み。SchemeはWindowsは動かず要確認。Linux未確認 06/14/2002)

----------------------------------------------------------ここから引用---------
ColorSchemeの日本語化

SwikiのColorSchemeを日本語化しました。
修正点
  アイコンを日本語化しました
  タグを日本語化しました
利用方法
  日本語化ファイルをダウンロードする
  Swikiを停止する
  cd ComSwiki/swiki/defaults/files/schemes
  (Swiki1.0以前の場合は、cd ComSwiki/swiki/defaults/files/
  tar xvzf ????-jp.tgz
  Swikiを起動する
日本語化ファイル
  aqua: aqua-jp.tgz
  alien: alien-jp.tgz
  project: project-jp.tgz (style.cssも変更しています)

--------------------------------------------------------------------------------
メッセージの日本語化

ページ上のメッセージやヘルプなどを日本語化しました。
修正点
  全てではありませんが、殆どのメッセージを日本語化しました。
  なるべく直訳は避けています。
利用方法
  日本語化ファイルをダウンロードする
  Swikiを停止する
  cd ComSwiki/swiki/
  tar xvzf jp-files.tgz
  Swikiを起動する
日本語化ファイル
  jp-files.tgz
----------------------------------------------------------ここまで引用---------

(以上)