Develop and Download Open Source Software

Browse Subversion Repository

Contents of /tags/htdocs/1.6/install.html.ja

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3703 - (show annotations) (download)
Sun May 30 06:08:30 2010 UTC (3 years ago) by kumaneko
File size: 20964 byte(s)
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html lang="ja-JP">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <meta http-equiv="Content-Style-Type" content="text/css">
6 <title>TOMOYO Linux 導入手順書</title>
7 <link rel="stylesheet" href="http://tomoyo.sourceforge.jp/tomoyo.css" media="all" type="text/css">
8 </head>
9 <body>
10 <p>Info: Version <a href="../1.7/">1.7.x</a> is available.</p>
11 <p style="text-align:right;"><a href="install.html.en">English Page</a></p>
12 <p style="text-align:right;">Last modified: $Date$</p>
13 <h1>第1章 TOMOYO Linux 対応カーネルとツールのインストール</h1>
14
15 <p>このページでは、 TOMOYO Linux 対応カーネルとツールをインストールする手順について説明します。</p>
16
17 <hr>
18
19 <p>インストールする方法が3通りあります。あなたの環境や要件に応じてステップ1-A/ステップ1-B/ステップ1-Cのいずれかを選択してください。</p>
20
21 <ul>
22 <li><a href="#install_from_repository">ステップ1-A:バイナリパッケージをレポジトリからインストール</a></li>
23 <li><a href="#install_manually">ステップ1-B:バイナリパッケージを手動でインストール</a></li>
24 <li><a href="#install_from_source">ステップ1-C:ソースからインストール</a></li>
25 </ul>
26
27 <h2><a name="install_from_repository">ステップ1-A:バイナリパッケージをレポジトリからインストール</a></h2>
28
29 <p>TOMOYO Linux では、幾つかの i686 アーキテクチャ向けのバイナリカーネルとツールを提供しています。</p>
30
31 <p>あなたの環境が以下のいずれかであり、かつ、CPUアーキテクチャが i686 である場合、レポジトリからインストールすることができます。</p>
32
33 <ul>
34 <li>Fedora 11</li>
35 <li>CentOS 3.9/4.8/5.5</li>
36 <li>OpenSUSE 11.0/11.1</li>
37 <li>Vine Linux 4.2/5.0</li>
38 <li>Asianux 3.0</li>
39 </ul>
40
41 <p>レポジトリからインストールする場合、以下の操作を行ってください。</p>
42
43 <table border="1">
44 <tr><td>
45 Fedora 11 (for i586 and later)</td><td>
46 [root@tomoyo ~]# wget -O /tmp/key 'http://pgp.nic.ad.jp/pks/lookup?op=get&amp;search=0x4B975A98'<br>
47 [root@tomoyo ~]# rpm --import /tmp/key<br>
48 [root@tomoyo ~]# wget -O /etc/yum.repos.d/ccs.repo http://tomoyo.sourceforge.jp/repos/Fedora11/ccs.repo<br>
49 [root@tomoyo ~]# yum install ccs-kernel ccs-tools
50 </td></tr><tr><td>
51 CentOS 3.9 (for i686 and later)</td><td>
52 [root@tomoyo ~]# wget -O /tmp/key 'http://pgp.nic.ad.jp/pks/lookup?op=get&amp;search=0x4B975A98'<br>
53 [root@tomoyo ~]# rpm --import /tmp/key<br>
54 [root@tomoyo ~]# curl http://tomoyo.sourceforge.jp/repos/CentOS3/ccs.repo >> /etc/yum.conf<br>
55 [root@tomoyo ~]# yum install ccs-kernel-smp ccs-tools
56 </td></tr><tr><td>
57 CentOS 4.8 (for i586 and later)</td><td>
58 [root@tomoyo ~]# wget -O /tmp/key 'http://pgp.nic.ad.jp/pks/lookup?op=get&amp;search=0x4B975A98'<br>
59 [root@tomoyo ~]# rpm --import /tmp/key<br>
60 [root@tomoyo ~]# wget -O /etc/yum.repos.d/ccs.repo http://tomoyo.sourceforge.jp/repos/CentOS4/ccs.repo<br>
61 [root@tomoyo ~]# yum install ccs-kernel-smp ccs-tools
62 </td></tr><tr><td>
63 CentOS 5.5 (for i686 and later)</td><td>
64 [root@tomoyo ~]# wget -O /tmp/key 'http://pgp.nic.ad.jp/pks/lookup?op=get&amp;search=0x4B975A98'<br>
65 [root@tomoyo ~]# rpm --import /tmp/key<br>
66 [root@tomoyo ~]# wget -O /etc/yum.repos.d/ccs.repo http://tomoyo.sourceforge.jp/repos/CentOS5/ccs.repo<br>
67 [root@tomoyo ~]# yum install ccs-kernel ccs-tools
68 </td></tr><tr><td>
69 Asianux 3 (for i686 and later)</td><td>
70 [root@tomoyo ~]# wget -O /tmp/key 'http://pgp.nic.ad.jp/pks/lookup?op=get&amp;search=0x4B975A98'<br>
71 [root@tomoyo ~]# rpm --import /tmp/key<br>
72 [root@tomoyo ~]# wget -O /etc/yum.repos.d/ccs.repo http://tomoyo.sourceforge.jp/repos/Asianux3/ccs.repo<br>
73 [root@tomoyo ~]# yum install ccs-kernel ccs-tools
74 </td></tr><tr><td>
75 Vine Linux 4.2 (for i686 and later)</td><td>
76 [root@tomoyo ~]# wget -O /tmp/key 'http://pgp.nic.ad.jp/pks/lookup?op=get&amp;search=0x4B975A98'<br>
77 [root@tomoyo ~]# rpm --import /tmp/key<br>
78 [root@tomoyo ~]# echo "repomd http://tomoyo.sourceforge.jp/ repos/VineLinux4/" &gt;&gt; /etc/apt/sources.list<br>
79 [root@tomoyo ~]# apt-get update<br>
80 [root@tomoyo ~]# apt-get install ccs-kernel ccs-tools
81 </td></tr><tr><td>
82 Vine Linux 5.0 (for i586 and later)</td><td>
83 [root@tomoyo ~]# wget -O /tmp/key 'http://pgp.nic.ad.jp/pks/lookup?op=get&amp;search=0x4B975A98'<br>
84 [root@tomoyo ~]# rpm --import /tmp/key<br>
85 [root@tomoyo ~]# echo "repomd http://tomoyo.sourceforge.jp/ repos/VineLinux5/" &gt;&gt; /etc/apt/sources.list<br>
86 [root@tomoyo ~]# apt-get update<br>
87 [root@tomoyo ~]# apt-get install ccs-kernel ccs-tools
88 </td></tr><tr><td>
89 OpenSUSE 11.0 (for i586 and later)</td><td>
90 [root@tomoyo ~]# zypper addrepo --type=YUM http://tomoyo.sourceforge.jp/repos/SUSE11.0/ ccs<br>
91 [root@tomoyo ~]# zypper install ccs-kernel-default ccs-tools
92 </td></tr><tr><td>
93 OpenSUSE 11.1 (for i586 and later)</td><td>
94 [root@tomoyo ~]# zypper addrepo --type=YUM http://tomoyo.sourceforge.jp/repos/SUSE11.1/ ccs<br>
95 [root@tomoyo ~]# zypper install ccs-kernel-default ccs-tools
96 </td></tr>
97 </table>
98
99 <hr>
100
101 <h2><a name="install_manually">ステップ1-B:バイナリパッケージを手動でインストール</a></h2>
102
103 <p>あなたの環境が以下のいずれかである場合、手動でバイナリパッケージをインストールすることができます。</p>
104
105 <ul>
106 <li>Debian Etch/Lenny</li>
107 <li>Asianux 2.0</li>
108 <li>Ubuntu 6.06/8.04/8.10/9.04</li>
109 </ul>
110
111 <p>バイナリパッケージをインストールするには、以下のファイルをダウンロードしてインストールしてください。</p>
112
113 <table border="1">
114 <tr><td>
115 Debian Etch</td><td>
116 http://sourceforge.jp/frs/redir.php?f=/tomoyo/32751/linux-image-2.6.18-6-686-ccs1.6.8p3-i686_2.6.18.dfsg.1-26etch2_i386.deb
117 <br>
118 http://sourceforge.jp/frs/redir.php?f=/tomoyo/32751/ccs-tools_1.6.8-4_i386.deb
119 </td></tr><tr><td>
120 Debian Lenny</td><td>
121 http://sourceforge.jp/frs/redir.php?f=/tomoyo/32752/linux-image-2.6.26-2-686-ccs1.6.8p3-i686_2.6.26-22lenny1_i386.deb
122 <br>
123 http://sourceforge.jp/frs/redir.php?f=/tomoyo/32752/ccs-tools_1.6.8-4_i386.deb
124 </td></tr><tr><td>
125 Asianux 2.0</td><td>
126 http://sourceforge.jp/frs/redir.php?f=/tomoyo/32428/ccs-kernel-smp-2.6.9-89.9_tomoyo_1.6.8p3.i686.rpm
127 <br>
128 http://sourceforge.jp/frs/redir.php?f=/tomoyo/32428/ccs-tools-1.6.8-4.i386.rpm
129 </td></tr><tr><td>
130 Ubuntu 6.06</td><td>
131 http://sourceforge.jp/frs/redir.php?f=/tomoyo/32745/linux-image-2.6.15-55-686-ccs1.6.8p3_2.6.15-55.83_i386.deb
132 <br>
133 http://sourceforge.jp/frs/redir.php?f=/tomoyo/32745/linux-headers-2.6.15-55-686-ccs1.6.8p3_2.6.15-55.83_i386.deb
134 <br>
135 http://sourceforge.jp/frs/redir.php?f=/tomoyo/32745/linux-restricted-modules-2.6.15-55-686-ccs1.6.8p3_2.6.15.12-55.6_i386.deb
136 <br>
137 http://sourceforge.jp/frs/redir.php?f=/tomoyo/32745/ccs-tools_1.6.8-4_i386.deb
138 </td></tr><tr><td>
139 Ubuntu 8.04</td><td>
140 http://sourceforge.jp/frs/redir.php?f=/tomoyo/32749/linux-image-2.6.24-27-ccs1.6.8p3_2.6.24-27.68_i386.deb
141 <br>
142 http://sourceforge.jp/frs/redir.php?f=/tomoyo/32749/linux-ubuntu-modules-2.6.24-27-ccs1.6.8p3_2.6.24-27.45_i386.deb
143 <br>
144 http://sourceforge.jp/frs/redir.php?f=/tomoyo/32749/linux-restricted-modules-2.6.24-27-ccs1.6.8p3_2.6.24.18-27.5_i386.deb
145 <br>
146 http://sourceforge.jp/frs/redir.php?f=/tomoyo/32749/linux-headers-2.6.24-27-ccs1.6.8p3_2.6.24-27.65_i386.deb
147 <br>
148 http://sourceforge.jp/frs/redir.php?f=/tomoyo/32749/linux-headers-lum-2.6.24-27-ccs1.6.8p3_2.6.24-27.45_i386.deb
149 <br>
150 http://sourceforge.jp/frs/redir.php?f=/tomoyo/32749/ccs-tools_1.6.8-4_i386.deb
151 </td></tr><tr><td>
152 Ubuntu 8.10</td><td>
153 http://sourceforge.jp/frs/redir.php?f=/tomoyo/33545/linux-image-2.6.27-17-ccs1.6.8p3_2.6.27-17.46_i386.deb
154 <br>
155 http://sourceforge.jp/frs/redir.php?f=/tomoyo/33545/linux-headers-2.6.27-17-ccs1.6.8p3_2.6.27-17.46_i386.deb
156 <br>
157 http://sourceforge.jp/frs/redir.php?f=/tomoyo/33545/linux-restricted-modules-2.6.27-17-ccs1.6.8p3_2.6.27-17.23_i386.deb
158 <br>
159 http://sourceforge.jp/frs/redir.php?f=/tomoyo/33545/ccs-tools_1.6.8-4_i386.deb
160 </td></tr><tr><td>
161 Ubuntu 9.04</td><td>
162 http://sourceforge.jp/frs/redir.php?f=/tomoyo/38843/linux-image-2.6.28-18-ccs1.6.8p3_2.6.28-18.60_i386.deb
163 <br>
164 http://sourceforge.jp/frs/redir.php?f=/tomoyo/38843/linux-headers-2.6.28-18-ccs1.6.8p3_2.6.28-18.60_i386.deb
165 <br>
166 http://sourceforge.jp/frs/redir.php?f=/tomoyo/38843/linux-restricted-modules-2.6.28-18-ccs1.6.8p3_2.6.28-18.23_i386.deb
167 <br>
168 http://sourceforge.jp/frs/redir.php?f=/tomoyo/38843/ccs-tools_1.6.8-4_i386.deb
169 </td></tr>
170 </table>
171
172 <p>あなたの環境が Gentoo の場合、<a href="#Gentoo">Gentoo</a> を参照してください。 Gentoo 用のツールをインストールするには、 emerge ccs-tools を実行してください。</p>
173
174 <hr>
175
176 <h2><a name="install_from_source">ステップ1-C:ソースからインストール</a></h2>
177
178 <p>CPUアーキテクチャが異なる場合やカーネルコンフィグをカスタマイズしたい場合、コンパイルする必要があります。</p>
179
180 <p>ツールパッケージをコンパイルするには以下のコマンドを実行してください。</p>
181
182 <table border="1">
183 <tr><td>
184 [root@tomoyo ~]# wget http://sourceforge.jp/frs/redir.php?f=/tomoyo/30298/ccs-tools-1.6.8-20100115.tar.gz<br>
185 [root@tomoyo ~]# tar -zxf ccs-tools-1.6.8-20100115.tar.gz<br>
186 [root@tomoyo ~]# make -C ccstools/ install
187 </td></tr>
188 </table>
189
190 <p>カーネルをコンパイルするためには、以下のパッケージが必要です。</p>
191
192 <ul>
193 <li>gcc</li>
194 <li>make</li>
195 <li>ncurses</li>
196 </ul>
197
198 <p>make menuconfig を実行し、「File systems」画面の一番下に表示される以下の項目を選択してください。</p>
199
200 <ul>
201 <li>[*] SAKURA (Domain-Free Mandatory Access Control) support</li>
202 <li>[*] TOMOYO (Domain-Based Mandatory Access Control) support</li>
203 <li>(2048) Default maximal count for learning mode</li>
204 <li>(/sbin/modprobe /sbin/hotplug) Built-in domain initializer programs</li>
205 <li>[*]&nbsp;&nbsp;&nbsp;Auditing interface support</li>
206 <li>(1024)&nbsp;&nbsp;Default maximal count for grant log</li>
207 <li>(1024)&nbsp;&nbsp;Default maximal count for reject log</li>
208 <li>&lt;M&gt; SYAORAN (Tamper-Proof Device Filesystem) support</li>
209 </ul>
210
211 <p>カーネル 2.6 には、 CONFIG_DEBUG_INFO という名前のコンパイルオプションが存在します。このオプションが有効である場合、コンパイルされたコードのサイズが約10倍の大きさになります。このオプションを有効にすると、 /usr/src/ ディレクトリで約1GB、 /lib/modules/ ディレクトリで約300MBの余分なディスク領域を消費します。<br>
212 ディスク領域を節約したい場合、以下のオプションを無効にしてください。</p>
213
214 <table border="1">
215 <tr><td>
216 Kernel hacking ---&gt;[&nbsp;] &nbsp;&nbsp;Compile the kernel with debug info
217 </td></tr>
218 </table>
219
220 <p>以下のリストからあなたの使いたいバージョンを選択してください。</p>
221
222 <table border="1">
223 <tr><td>
224 <a name="2.6-vanilla">バニラ 2.6 カーネル</a><br>
225 (2.6.11 以降に対応しています。)
226 </td><td>
227 # ソースディレクトリへ移動する。<br>
228 cd /usr/src/<br>
229 # カーネルのソースをダウンロードする。<br>
230 wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.31.13.tar.bz2<br>
231 # 展開する。<br>
232 tar -jxf linux-2.6.31.13.tar.bz2<br>
233 # 展開されたソースのディレクトリへ移動する。<br>
234 cd linux-2.6.31.13<br>
235 # ソースから world writable 属性を取り除く。<br>
236 find -print0 | xargs -0 chmod go-w --<br>
237 # TOMOYO Linux カーネルパッチをダウンロードする。<br>
238 wget http://sourceforge.jp/frs/redir.php?f=/tomoyo/30297/ccs-patch-1.6.8-20100120.tar.gz<br>
239 # 展開する。<br>
240 tar -zxf ccs-patch-1.6.8-20100120.tar.gz<br>
241 # カーネルパッチを適用する。<br>
242 patch -sp1 &lt; patches/ccs-patch-2.6.31.diff<br>
243 # TOMOYO Linux 用のオプションを選択する。<br>
244 make -s menuconfig<br>
245 # 通常通りコンパイルする。<br>
246 make -s<br>
247 make -s modules modules_install install
248 </td></tr><tr><td>
249 <a name="2.4-vanilla">バニラ 2.4 カーネル</a><br>
250 (2.4.30 以降に対応しています。)
251 </td><td>
252 # ソースディレクトリへ移動する。<br>
253 cd /usr/src/<br>
254 # カーネルのソースをダウンロードする。<br>
255 wget http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.37.9.tar.bz2<br>
256 # 展開する。<br>
257 tar -jxf linux-2.4.37.9.tar.bz2<br>
258 # 展開されたソースのディレクトリへ移動する。<br>
259 cd linux-2.4.37.9<br>
260 # ソースから world writable 属性を取り除く。<br>
261 find -print0 | xargs -0 chmod go-w --<br>
262 # TOMOYO Linux カーネルパッチをダウンロードする。<br>
263 wget http://sourceforge.jp/frs/redir.php?f=/tomoyo/30297/ccs-patch-1.6.8-20100120.tar.gz<br>
264 # 展開する。<br>
265 tar -zxf ccs-patch-1.6.8-20100120.tar.gz<br>
266 # カーネルパッチを適用する。<br>
267 patch -sp1 &lt; patches/ccs-patch-2.4.37.diff<br>
268 # TOMOYO Linux 用のオプションを選択する。<br>
269 make -s menuconfig<br>
270 # 通常通りコンパイルする。<br>
271 make -s dep<br>
272 make -s<br>
273 make -s modules modules_install install
274 </td></tr><tr><td>
275 <a name="Fedora11">Fedora 11</a>
276 </td><td>
277 # ビルドスクリプトをダウンロードする。<br>
278 wget -O build-f11-2.6.30.sh 'http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi/*checkout*/trunk/1.6.x/ccs-patch/specs/build-f11-2.6.30.sh?root=tomoyo'<br>
279 # ビルドスクリプトを実行する。<br>
280 sh build-f11-2.6.30.sh<br>
281 # パッケージを作成する。<br>
282 rpmbuild -bb --target i586 /root/rpmbuild/SPECS/ccs-kernel.spec
283 </td></tr><tr><td>
284 <a name="CentOS3.9">CentOS 3.9</a>
285 </td><td>
286 # ビルドスクリプトをダウンロードする。<br>
287 wget -O build-c3-2.4.21.sh 'http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi/*checkout*/trunk/1.6.x/ccs-patch/specs/build-c3-2.4.21.sh?root=tomoyo'<br>
288 # ビルドスクリプトを実行する。<br>
289 sh build-c3-2.4.21.sh<br>
290 # パッケージを作成する。<br>
291 rpmbuild -bb --target i586 /tmp/ccs-kernel.spec
292 </td></tr><tr><td>
293 <a name="CentOS4.8">CentOS 4.8</a>
294 </td><td>
295 # ビルドスクリプトをダウンロードする。<br>
296 wget -O build-c4-2.6.9.sh 'http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi/*checkout*/trunk/1.6.x/ccs-patch/specs/build-c4-2.6.9.sh?root=tomoyo'<br>
297 # ビルドスクリプトを実行する。<br>
298 sh build-c4-2.6.9.sh<br>
299 # パッケージを作成する。<br>
300 rpmbuild -bb --target i586 /tmp/ccs-kernel.spec
301 </td></tr><tr><td>
302 <a name="CentOS5.5">CentOS 5.5</a>
303 </td><td>
304 # ビルドスクリプトをダウンロードする。<br>
305 wget -O build-c5-2.6.18.sh 'http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi/*checkout*/trunk/1.6.x/ccs-patch/specs/build-c5-2.6.18.sh?root=tomoyo'<br>
306 # ビルドスクリプトを実行する。<br>
307 sh build-c5-2.6.18.sh<br>
308 # パッケージを作成する。<br>
309 rpmbuild -bb --target i686 --without kabichk /tmp/ccs-kernel.spec
310 </td></tr><tr><td>
311 <a name="Etch">Debian Etch</a>
312 </td><td>
313 # ビルドスクリプトをダウンロードする。<br>
314 wget -O build-debian_etch.sh 'http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi/*checkout*/trunk/1.6.x/ccs-patch/specs/build-debian_etch.sh?root=tomoyo'<br>
315 # ビルドスクリプトを実行する。<br>
316 sh build-debian_etch.sh<br>
317 </td></tr><tr><td>
318 <a name="Lenny">Debian Lenny</a>
319 </td><td>
320 # ビルドスクリプトをダウンロードする。<br>
321 wget -O build-debian_lenny.sh 'http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi/*checkout*/trunk/1.6.x/ccs-patch/specs/build-debian_lenny.sh?root=tomoyo'<br>
322 # ビルドスクリプトを実行する。<br>
323 sh build-debian_lenny.sh<br>
324 </td></tr><tr><td>
325 <a name="OpenSUSE11.0">OpenSUSE 11.0</a>
326 </td><td>
327 # ビルドスクリプトをダウンロードする。<br>
328 wget -O build-suse11.0-2.6.25.sh 'http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi/*checkout*/trunk/1.6.x/ccs-patch/specs/build-suse11.0-2.6.25.sh?root=tomoyo'<br>
329 # ビルドスクリプトを実行する。<br>
330 sh build-suse11.0-2.6.25.sh<br>
331 # パッケージを作成する。<br>
332 rpmbuild -bb --target i586 /tmp/ccs-kernel.spec
333 </td></tr><tr><td>
334 <a name="OpenSUSE11.1">OpenSUSE 11.1</a>
335 </td><td>
336 # ビルドスクリプトをダウンロードする。<br>
337 wget -O build-suse11.1-2.6.27.sh 'http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi/*checkout*/trunk/1.6.x/ccs-patch/specs/build-suse11.1-2.6.27.sh?root=tomoyo'<br>
338 # ビルドスクリプトを実行する。<br>
339 sh build-suse11.1-2.6.27.sh<br>
340 # パッケージを作成する。<br>
341 rpmbuild -bb --target i586 /tmp/ccs-kernel.spec
342 </td></tr><tr><td>
343 <a name="Asianux2">Asianux 2.0</a>
344 </td><td>
345 # ビルドスクリプトをダウンロードする。<br>
346 wget -O build-ax2-2.6.9.sh 'http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi/*checkout*/trunk/1.6.x/ccs-patch/specs/build-ax2-2.6.9.sh?root=tomoyo'<br>
347 # ビルドスクリプトを実行する。<br>
348 sh build-ax2-2.6.9.sh<br>
349 # パッケージを作成する。<br>
350 rpmbuild -bb --target i686 /tmp/ccs-kernel.spec
351 </td></tr><tr><td>
352 <a name="Asianux3">Asianux 3.0</a>
353 </td><td>
354 # ビルドスクリプトをダウンロードする。<br>
355 wget -O build-ax3-2.6.18.sh 'http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi/*checkout*/trunk/1.6.x/ccs-patch/specs/build-ax3-2.6.18.sh?root=tomoyo'<br>
356 # ビルドスクリプトを実行する。<br>
357 sh build-ax3-2.6.18.sh<br>
358 # パッケージを作成する。<br>
359 rpmbuild -bb --target i686 --without kabichk /tmp/ccs-kernel.spec
360 </td></tr><tr><td>
361 <a name="Ubuntu6.06">Ubuntu 6.06</a>
362 </td><td>
363 # ビルドスクリプトをダウンロードする。<br>
364 wget -O build-ubuntu_6.06.sh 'http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi/*checkout*/trunk/1.6.x/ccs-patch/specs/build-ubuntu_6.06.sh?root=tomoyo'<br>
365 # ビルドスクリプトを実行する。<br>
366 sh build-ubuntu_6.06.sh<br>
367 </td></tr><tr><td>
368 <a name="Ubuntu8.04">Ubuntu 8.04</a>
369 </td><td>
370 # ビルドスクリプトをダウンロードする。<br>
371 wget -O build-ubuntu_8.04.sh 'http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi/*checkout*/trunk/1.6.x/ccs-patch/specs/build-ubuntu_8.04.sh?root=tomoyo'<br>
372 # ビルドスクリプトを実行する。<br>
373 sh build-ubuntu_8.04.sh<br>
374 </td></tr><tr><td>
375 <a name="Ubuntu8.10">Ubuntu 8.10</a>
376 </td><td>
377 # ビルドスクリプトをダウンロードする。<br>
378 wget -O build-ubuntu_8.10.sh 'http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi/*checkout*/trunk/1.6.x/ccs-patch/specs/build-ubuntu_8.10.sh?root=tomoyo'<br>
379 # ビルドスクリプトを実行する。<br>
380 sh build-ubuntu_8.10.sh<br>
381 </td></tr><tr><td>
382 <a name="Ubuntu9.04">Ubuntu 9.04</a>
383 </td><td>
384 # ビルドスクリプトをダウンロードする。<br>
385 wget -O build-ubuntu_9.04.sh 'http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi/*checkout*/trunk/1.6.x/ccs-patch/specs/build-ubuntu_9.04.sh?root=tomoyo'<br>
386 # ビルドスクリプトを実行する。<br>
387 sh build-ubuntu_9.04.sh<br>
388 </td></tr><tr><td>
389 <a name="VineLinux4.2">VineLinux 4.2</a>
390 </td><td>
391 # ビルドスクリプトをダウンロードする。<br>
392 wget -O build-vl4.2-2.6.16.sh 'http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi/*checkout*/trunk/1.6.x/ccs-patch/specs/build-vl4.2-2.6.16.sh?root=tomoyo'<br>
393 # ビルドスクリプトを実行する。<br>
394 sh build-vl4.2-2.6.16.sh<br>
395 # パッケージを作成する。<br>
396 rpmbuild -bb --target i586 /tmp/ccs-kernel.spec
397 </td></tr><tr><td>
398 <a name="VineLinux5.0">VineLinux 5.0</a>
399 </td><td>
400 # ビルドスクリプトをダウンロードする。<br>
401 wget -O build-vl5.0-2.6.27.sh 'http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi/*checkout*/trunk/1.6.x/ccs-patch/specs/build-vl5.0-2.6.27.sh?root=tomoyo'<br>
402 # ビルドスクリプトを実行する。<br>
403 sh build-vl5.0-2.6.27.sh<br>
404 # パッケージを作成する。<br>
405 rpmbuild -bb --target i586 /tmp/ccs-kernel.spec
406 </td></tr><tr><td>
407 <a name="Gentoo">Gentoo</a>
408 </td><td>
409 # layman パッケージをインストールする。<br>
410 emerge layman<br>
411 # subversion パッケージをインストールする。<br>
412 emerge subversion<br>
413 # レポジトリを登録する。<br>
414 layman -f -a sunrise<br>
415 # layman 用の make.conf を取り込むように /etc/make.conf を設定する。<br>
416 echo "source /usr/local/portage/layman/make.conf" &gt;&gt; /etc/make.conf<br>
417 # カーネルのソースをダウンロードする。<br>
418 emerge ccs-sources<br>
419 # genkernel コマンドを実行する。<br>
420 genkernel --menuconfig all<br>
421 # http://www.gentoo.org/doc/ja/kernel-upgrade.xml を見ながら grub の設定を行う。<br>
422 </td></tr>
423 </table>
424
425 <hr>
426
427 <p><a href="index.html.ja">目次へ戻る</a></p>
428 <p><a href="http://sourceforge.jp/"><img src="http://sourceforge.jp/sflogo.php?group_id=1973" width="96" height="31" alt="SourceForge.jp"></a></p>
429 </body>
430 </html>

Properties

Name Value
svn:keywords Date

SourceForge.JP is a Japanese version of SourceForge.net. For developments that are not related to Japan, we recommend you to use SourceForge.net.