<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PHPプログラマのバリ・ポジ情報ブログ &#187; RPMForge</title>
	<atom:link href="http://blog.veryposi.info/tag/rpmforge/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.veryposi.info</link>
	<description>PHP,JavaScriptやサーバーの設定などのプログラミングに関する情報をバリ・ポジティブに発信しているプログラマのブログ、『バリ・ポジ』</description>
	<lastBuildDate>Thu, 10 May 2012 06:23:01 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>CentOSへのRPMForgeリポジトリの追加</title>
		<link>http://blog.veryposi.info/server/server-setup/centos-rpmforge/</link>
		<comments>http://blog.veryposi.info/server/server-setup/centos-rpmforge/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 15:53:59 +0000</pubDate>
		<dc:creator>gensan</dc:creator>
				<category><![CDATA[設定]]></category>
		<category><![CDATA[RPMForge]]></category>

		<guid isPermaLink="false">http://blog.veryposi.info/?p=1331</guid>
		<description><![CDATA[CentOSにRPMForgeのリポジトリの追加する方法です。 1 yum install yum-priorities /etc/yum/pluginconf.d/priorities.confを編集します。 1 2  [...]]]></description>
			<content:encoded><![CDATA[<p>CentOSにRPMForgeのリポジトリの追加する方法です。</p>
<div class="syntax">
<table>
<tbody>
<tr>
<td class="line_numbers">
<pre>
1
</pre>
</td>
<td class="code">
<pre class="bash">
yum <span style="color: rgb(194, 12, 185); font-weight: bold;">install</span> yum-priorities</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>/etc/yum/pluginconf.d/priorities.confを編集します。</p>
<div class="syntax">
<table>
<tbody>
<tr>
<td class="line_numbers">
<pre>
1
2
</pre>
</td>
<td class="code">
<pre class="bash"><span style="color: rgb(122, 8, 116); font-weight: bold;">[</span>main<span style="color: rgb(122, 8, 116); font-weight: bold;">]</span>
<span style="color: rgb(0, 120, 0);">enabled=</span><span style="color: rgb(0, 0, 0);">1</span></pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>/etc/yum.repos.dの中の.repoファイルに以下の設定を追加します。</p>
<div class="syntax">
<table>
<tbody>
<tr>
<td class="line_numbers">
<pre>
1
</pre>
</td>
<td class="code">
<pre class="bash"><span style="color: rgb(0, 120, 0);">priority=</span>N</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>（Nは、1～99の値）</p>
<div class="syntax">
<table>
<tbody>
<tr>
<td class="line_numbers">
<pre>
1
2
3
</pre>
</td>
<td class="code">
<pre class="bash"><span style="color: rgb(122, 8, 116); font-weight: bold;">[</span>base<span style="color: rgb(122, 8, 116); font-weight: bold;">]</span>, <span style="color: rgb(122, 8, 116); font-weight: bold;">[</span>addons<span style="color: rgb(122, 8, 116); font-weight: bold;">]</span>, <span style="color: rgb(122, 8, 116); font-weight: bold;">[</span>updates<span style="color: rgb(122, 8, 116); font-weight: bold;">]</span>, <span style="color: rgb(122, 8, 116); font-weight: bold;">[</span>extras<span style="color: rgb(122, 8, 116); font-weight: bold;">]</span> ... <span style="color: rgb(0, 120, 0);">priority=</span><span style="color: rgb(0, 0, 0);">1</span>
<span style="color: rgb(122, 8, 116); font-weight: bold;">[</span>centosplus<span style="color: rgb(122, 8, 116); font-weight: bold;">]</span>,<span style="color: rgb(122, 8, 116); font-weight: bold;">[</span>contrib<span style="color: rgb(122, 8, 116); font-weight: bold;">]</span> ... <span style="color: rgb(0, 120, 0);">priority=</span><span style="color: rgb(0, 0, 0);">2</span>
Third Party Repos such <span style="color: rgb(194, 12, 185); font-weight: bold;">as</span> rpmforge ... <span style="color: rgb(0, 120, 0);">priority=</span>N  <span style="color: rgb(122, 8, 116); font-weight: bold;">(</span>where N is &gt; <span style="color: rgb(0, 0, 0);">10</span> and based on your preference<span style="color: rgb(122, 8, 116); font-weight: bold;">)</span></pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>一応の設定内容です。</p>
<div class="syntax">
<table>
<tbody>
<tr>
<td class="line_numbers">
<pre>
1
2
</pre>
</td>
<td class="code">
<pre class="bash"><span style="color: rgb(194, 12, 185); font-weight: bold;">wget</span> http://packages.sw.be/rpmforge-release/rpmforge-release<span style="color: rgb(0, 0, 0);">-0.5</span><span style="color: rgb(0, 0, 0);">.1</span><span style="color: rgb(0, 0, 0);">-1</span>.el5.rf.i386.rpm
<span style="color: rgb(194, 12, 185); font-weight: bold;">sudo</span> rpm -Uvh rpmforge-release<span style="color: rgb(0, 0, 0);">-0.5</span><span style="color: rgb(0, 0, 0);">.1</span><span style="color: rgb(0, 0, 0);">-1</span>.el5.rf.i386.rpm</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>GPG-KEYのインストール</p>
<div class="syntax">
<table>
<tbody>
<tr>
<td class="line_numbers">
<pre>
1
</pre>
</td>
<td class="code">
<pre class="bash"><span style="color: rgb(194, 12, 185); font-weight: bold;">sudo</span> rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>チェックする</p>
<div class="syntax">
<table>
<tbody>
<tr>
<td class="line_numbers">
<pre>
1
</pre>
</td>
<td class="code">
<pre class="bash"><span style="color: rgb(194, 12, 185); font-weight: bold;">sudo</span> rpm -K rpmforge-release<span style="color: rgb(0, 0, 0);">-0.5</span><span style="color: rgb(0, 0, 0);">.1</span><span style="color: rgb(0, 0, 0);">-1</span>.el5.rf.*.rpm</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>パッケージのインストール</p>
<div class="syntax">
<table>
<tbody>
<tr>
<td class="line_numbers">
<pre>
1
</pre>
</td>
<td class="code">
<pre class="bash"><span style="color: rgb(194, 12, 185); font-weight: bold;">sudo</span> rpm -i rpmforge-release<span style="color: rgb(0, 0, 0);">-0.5</span><span style="color: rgb(0, 0, 0);">.1</span><span style="color: rgb(0, 0, 0);">-1</span>.el5.rf.*.rpm</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>テスト</p>
<div class="syntax">
<table>
<tbody>
<tr>
<td class="line_numbers">
<pre>
1
</pre>
</td>
<td class="code">
<pre class="bash"><span style="color: rgb(194, 12, 185); font-weight: bold;">sudo</span> yum check-update</pre>
</td>
</tr>
</tbody>
</table>
</div>
<p>&nbsp;</p>
<p>詳しくは本家サイトのこちらのURLを参照してくださいな。</p>
<p><a href="http://wiki.centos.org/AdditionalResources/Repositories/RPMForge?action=show&amp;redirect=Repositories%2FRPMForge#head-b06dd43af4eb366c28879a551701b1b5e4aefccd">wiki.centos.org/AdditionalResources/Repositories/RPMForge</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.veryposi.info/server/server-setup/centos-rpmforge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: blog.veryposi.info @ 2026-04-08 19:58:26 -->