-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathinstall.html
More file actions
194 lines (179 loc) · 8.78 KB
/
install.html
File metadata and controls
194 lines (179 loc) · 8.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>インストール — Ethna 2.6 documentation</title>
<link rel="stylesheet" href="_static/ethna.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '',
VERSION: '2.6',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="shortcut icon" href="_static/favicon.ico"/>
<link rel="top" title="Ethna 2.6 documentation" href="index.html" />
<link rel="next" title="チュートリアル" href="tutorial.html" />
<link rel="prev" title="Ethna" href="index.html" />
</head>
<body>
<div id="ethna-header">
<a href="index.html">
<img src="_static/logo_transpand.png" alt="Ethna" />
</a>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="tutorial.html" title="チュートリアル"
accesskey="N">next</a></li>
<li class="right" >
<a href="index.html" title="Ethna"
accesskey="P">previous</a> |</li>
<li><a href="index.html">Ethna 2.6 documentation</a> »</li>
</ul>
</div>
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
<h3><a href="index.html">Table Of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">インストール</a><ul>
<li><a class="reference internal" href="#pear">PEAR コマンドを使ったインストール</a></li>
<li><a class="reference internal" href="#id2">PEAR コマンドを使ったアップグレード</a></li>
<li><a class="reference internal" href="#tar-gz-zip">アーカイブファイル(tar.gz/zip)を解凍してインストール</a><ul>
<li><a class="reference internal" href="#linux">Linuxの場合</a></li>
</ul>
</li>
</ul>
</li>
</ul>
<h4>Previous topic</h4>
<p class="topless"><a href="index.html"
title="previous chapter">Ethna</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="tutorial.html"
title="next chapter">チュートリアル</a></p>
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/install.txt"
rel="nofollow">Show Source</a></li>
</ul>
<div id="searchbox" style="display: none">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="install">
<span id="id1"></span><h1>インストール<a class="headerlink" href="#install" title="Permalink to this headline">¶</a></h1>
<p>ここでは Ethna のインストール方法について説明します。</p>
<div class="section" id="pear">
<h2>PEAR コマンドを使ったインストール<a class="headerlink" href="#pear" title="Permalink to this headline">¶</a></h2>
<p>PEAR コマンドを使ったインストールが最も簡単であるため、推奨します。
システムに PEAR がインストールされている必要があります。
(PEARコマンドが使えない場合の説明は後述)</p>
<p>最初の1回だけ、 <tt class="docutils literal"><span class="pre">channel-discover</span></tt> で Ethna のチャネルを登録する必要があります。</p>
<div class="highlight-python"><pre>$ pear channel-discover pear.ethna.jp</pre>
</div>
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last">PEAR のバージョンが古いと、channel-discover に失敗します。その場合はまず <tt class="docutils literal"><span class="pre">pear</span> <span class="pre">upgrade</span> <span class="pre">pear</span></tt> を実行してください。</p>
</div>
<p>Ethna の PEAR チャネルが登録されたら、次のようにインストールします。</p>
<div class="highlight-python"><pre>$ pear install -a ethna/ethna</pre>
</div>
<p>このコマンドでは、依存ライブラリである <cite>Smarty</cite> や <cite>simpletest</cite> なども同時にインストールされます。もし依存ライブラリを同時にインストールしたくない場合は、 <tt class="docutils literal"><span class="pre">-a</span></tt> オプションを付けずに、</p>
<div class="highlight-python"><pre>$ pear install ethna/ethna</pre>
</div>
<p>としてください。</p>
<p>インストールが終われば、 <tt class="docutils literal"><span class="pre">ethna</span></tt> コマンドが使えるようになっているはずです。</p>
<div class="highlight-python"><pre>$ ethna -v
Ethna 2.6.0 (using PHP 5.3.6-6~dotdeb.1)
Copyright (c) 2004-2011,
Masaki Fujimoto <fujimoto@php.net>
halt feits <halt.feits@gmail.com>
Takuya Ookubo <sfio@sakura.ai.to>
nozzzzz <nozzzzz@gmail.com>
cocoitiban <cocoiti@comio.info>
Yoshinari Takaoka <takaoka@beatcraft.com>
Sotaro Karasawa <sotaro.k@gmail.com>
http://ethna.jp/</pre>
</div>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p>Ethna 2.6.0 は現在 beta であるため、上記コマンドを実行すると stable である 2.5.0 がインストールされます。
2.6.0 をインストールする場合、以下のように <tt class="docutils literal"><span class="pre">-beta</span></tt> をつけてください。</p>
<div class="last highlight-python"><pre>$ pear install ethna/ethna-beta</pre>
</div>
</div>
</div>
<div class="section" id="id2">
<h2>PEAR コマンドを使ったアップグレード<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
<p>アップデートは、次のコマンドで実行します。</p>
<div class="highlight-python"><pre>$ pear upgrade ethna/ethna</pre>
</div>
<p>ダウンロードしたファイルを利用してアップグレードすることも可能です。</p>
<div class="highlight-python"><pre>$ wget -OEthna-2.6.x.tar.gz https://github.com/ethna/ethna/tarball/2.6.x
$ pear upgrade Ethna-2.x.y.tgz</pre>
</div>
</div>
<div class="section" id="tar-gz-zip">
<h2>アーカイブファイル(tar.gz/zip)を解凍してインストール<a class="headerlink" href="#tar-gz-zip" title="Permalink to this headline">¶</a></h2>
<p>PEARコマンドが使えない場合はこちらの方法でやります。</p>
<div class="section" id="linux">
<h3>Linuxの場合<a class="headerlink" href="#linux" title="Permalink to this headline">¶</a></h3>
<p>GitHub から、ソースコードのアーカイブを取得して解凍します。</p>
<p><a class="reference external" href="https://github.com/ethna/ethna/downloads">Github Downloads for ethna/ethna</a></p>
<div class="highlight-python"><pre>$ wget -OEthna-2.6.x.tar.gz https://github.com/ethna/ethna/tarball/2.6.x
$ tar xvfz Ethna-2.6.x.tar.gz
$ mv ethna-ethna-xxxxxx Ethna
$ php Ethna/bin/ethna_handle.php -v</pre>
</div>
<p><tt class="docutils literal"><span class="pre">include_path</span></tt> の通った場所に置くことを推奨しますが、そうでなくても問題ありません。 <tt class="docutils literal"><span class="pre">ethna</span></tt> コマンドを使うには別途設定が必要です。</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="tutorial.html" title="チュートリアル"
>next</a></li>
<li class="right" >
<a href="index.html" title="Ethna"
>previous</a> |</li>
<li><a href="index.html">Ethna 2.6 documentation</a> »</li>
</ul>
</div>
<div class="footer">
© Copyright 2011, Ethna Project.
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
</div>
</body>
</html>