<?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/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>KENCOM.BIZ &#187; LinuxTips</title>
	<atom:link href="http://kencom.biz/archives/category/linux/linuxtips/feed" rel="self" type="application/rss+xml" />
	<link>http://kencom.biz</link>
	<description>Linux Server Memorandum etc.</description>
	<lastBuildDate>Sun, 08 Jan 2012 20:22:34 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://kencom.biz/archives/category/linux/linuxtips/feed" />
		<item>
		<title>一般ユーザ権限での rpmbuild</title>
		<link>http://kencom.biz/archives/2009/0420000958.php</link>
		<comments>http://kencom.biz/archives/2009/0420000958.php#comments</comments>
		<pubDate>Sun, 19 Apr 2009 15:09:58 +0000</pubDate>
		<dc:creator>kencom</dc:creator>
				<category><![CDATA[LinuxTips]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://kencom.biz/?p=411</guid>
		<description><![CDATA[一般ユーザ権限での rpmbuild rpmbuild は、root で実行すると &#8220;/usr/src/redhat/&#8230;..&#8221; 等にファイルが保存されます。 ディレクトリに対して一般ユ [...]]]></description>
			<content:encoded><![CDATA[<p>
<pre>一般ユーザ権限での rpmbuild</pre>
rpmbuild は、root で実行すると &#8220;/usr/src/redhat/&#8230;..&#8221; 等にファイルが保存されます。<br />
ディレクトリに対して一般ユーザーは書き込み権限を持っていないので、rpmbuild が<br />
実行できません。<br />
<br />
一般ユーザー専用のディレクトリを作成する。例：&#8221;$HOME/src/rpms&#8221;←の下に<br />
BUILD, RPMS, SOURCES, SPECS, SRPMS というディレクトリを作成する。<br />
rpmbuild に対する設定は、.rpmmacros　に記入します。<br />
<br />
ビルドしたRPM ファイルは　$HONE/src/rpms/&#8230;以下に保存されます。<br />
<br />
<br />
<br />
１．一般ユーザーでログインします。<br />
２．.rpmmacrosを作成する。<br />
<pre class="brush: bash; title: ; notranslate">
[centos@user ~]$vi .rpmmacros
%_topdir        /home/user/src/rpms
%_specdir       %{_topdir}/SPECS
%_sourcedir     %{_topdir}/SOURCES
%_builddir      %{_topdir}/BUILD
%_srcrpmdir     %{_topdir}/SRPMS
%_rpmdir        %{_topdir}/RPMS
</pre>
<br />
３．ディレクトリを作成<br />
src, rpms,  BUILD, RPMS, SOURCES, SPECS, SRPMS<br />
<pre class="brush: bash; title: ; notranslate">
[centos@user ~]$
mkdir -p $HOME/src/rpms/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
</pre>
<br />
<div class="tmkm-amazon-view">
	<p><a href="http://www.amazon.co.jp/%E3%80%90%E6%94%B9%E8%A8%82%E6%96%B0%E7%89%88%E3%80%91-Linux%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89-%E3%83%9D%E3%82%B1%E3%83%83%E3%83%88%E3%83%AA%E3%83%95%E3%82%A1%E3%83%AC%E3%83%B3%E3%82%B9-Pocket-Reference/dp/4774138169%3FSubscriptionId%3DAKIAI2QS73FTI6TSRWEQ%26tag%3Dkencom0c-22%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D4774138169" target="_blank"><img src="http://ecx.images-amazon.com/images/I/51kWaJRnGVL._SL160_.jpg" border="0" alt="" /></a></p>
	<p><a href="http://www.amazon.co.jp/%E3%80%90%E6%94%B9%E8%A8%82%E6%96%B0%E7%89%88%E3%80%91-Linux%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89-%E3%83%9D%E3%82%B1%E3%83%83%E3%83%88%E3%83%AA%E3%83%95%E3%82%A1%E3%83%AC%E3%83%B3%E3%82%B9-Pocket-Reference/dp/4774138169%3FSubscriptionId%3DAKIAI2QS73FTI6TSRWEQ%26tag%3Dkencom0c-22%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D4774138169" target="_blank">【改訂新版】 Linuxコマンド ポケットリファレンス (Pocket Reference)</a></p>
	<p><em>著者／訳者：</em>沓名 亮典 平山 智恵 </p>
	<p><em>出版社：</em>技術評論社( 2009-04-08 )</p>
	<p><em>定価：</em>￥ 2,394</p>
	<p><em>Amazon価格：</em>￥ 2,394</p>
	<p>単行本（ソフトカバー） ( 576 ページ )</p>
	<p>ISBN-10 : 4774138169</p>
	<p>ISBN-13 : 9784774138169</p>
<hr class="tmkm-amazon-clear" /></div>
]]></content:encoded>
			<wfw:commentRss>http://kencom.biz/archives/2009/0420000958.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://kencom.biz/archives/2009/0420000958.php" />
	</item>
		<item>
		<title>Logwatch 文字化け対策</title>
		<link>http://kencom.biz/archives/2009/0401042704.php</link>
		<comments>http://kencom.biz/archives/2009/0401042704.php#comments</comments>
		<pubDate>Tue, 31 Mar 2009 19:27:04 +0000</pubDate>
		<dc:creator>kencom</dc:creator>
				<category><![CDATA[LinuxTips]]></category>
		<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://kencom.biz/?p=154</guid>
		<description><![CDATA[Logwatchからのメールが 文字コードiso-8859-1で 送られてくるため、ISO-2022-JPに変更]]></description>
			<content:encoded><![CDATA[<p>
Logwatchからのメールが 文字コードiso-8859-1で<br />
送られてくるため、ISO-2022-JPに変更<br />
<br />
<pre class="brush: bash; title: ; notranslate">
#vi /usr/sbin/logwatch

1022行と1024行のcharset=&quot;iso-8859-1&quot;を
charset=&quot;ISO-2022-JP&quot;に変更

</pre></p>
]]></content:encoded>
			<wfw:commentRss>http://kencom.biz/archives/2009/0401042704.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://kencom.biz/archives/2009/0401042704.php" />
	</item>
	</channel>
</rss>

