<?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>おれ最前線ねっと &#187; Tips</title>
	<atom:link href="http://ore.saizensen.net/archives/category/unix/tips/feed" rel="self" type="application/rss+xml" />
	<link>http://ore.saizensen.net</link>
	<description>イェ〜〜ィ。見てる〜〜〜？？</description>
	<lastBuildDate>Tue, 12 Jul 2011 06:31:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/category/unix/tips/feed" />
		<item>
		<title>[Linux]文字化け等で削除できなくなったファイルの削除の仕方[TIPS]</title>
		<link>http://ore.saizensen.net/archives/237</link>
		<comments>http://ore.saizensen.net/archives/237#comments</comments>
		<pubDate>Tue, 28 Jul 2009 16:59:52 +0000</pubDate>
		<dc:creator>bubbkis</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[UNIX]]></category>

		<guid isPermaLink="false">http://ore.saizensen.net/?p=237</guid>
		<description><![CDATA[i-node番号を調べる $ ls -li 名前を読める名前に変更する $ find . -inum 99999 -ok mv '{}' hoge.txt \; 変更してよければ&#8221;y&#8221;で続行。 9 [...]]]></description>
			<content:encoded><![CDATA[				<ol>
				<li>i-node番号を調べる
				<pre>$ ls -li</pre>
</li>
<li>名前を読める名前に変更する
<pre>$ find . -inum 99999 -ok mv '{}' hoge.txt \;</pre>
				<p>変更してよければ&#8221;y&#8221;で続行。<br />
				99999はi-node番号。<br />
				文字化けしたファイルをhoge.txtへ変更する。</p>
				</li>
				<li>削除する
				<pre>$ rm hoge.txt</pre>
</li>
</ol>
<p>以上でちゅ。</p>
]]></content:encoded>
			<wfw:commentRss>http://ore.saizensen.net/archives/237/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/237" />
	</item>
		<item>
		<title>[Linux]Repair filesystem中にReadOnlyモードになっちゃったら。[TIPS]</title>
		<link>http://ore.saizensen.net/archives/234</link>
		<comments>http://ore.saizensen.net/archives/234#comments</comments>
		<pubDate>Tue, 28 Jul 2009 12:21:54 +0000</pubDate>
		<dc:creator>bubbkis</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[UNIX]]></category>

		<guid isPermaLink="false">http://ore.saizensen.net/?p=234</guid>
		<description><![CDATA[# mount -o rw,remount / でファイルへ書き込めるようになる。 新しく買ったHDをサーバーへ追加して、LABEL付けせずに/etc/fstab/へLABEL表記しちゃった。テヘ]]></description>
			<content:encoded><![CDATA[				<pre># mount -o rw,remount /</pre>
<p>でファイルへ書き込めるようになる。</p>
<p>新しく買ったHDをサーバーへ追加して、LABEL付けせずに/etc/fstab/へLABEL表記しちゃった。テヘ</p>
]]></content:encoded>
			<wfw:commentRss>http://ore.saizensen.net/archives/234/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/234" />
	</item>
		<item>
		<title>[Ubuntu]Ubuntu8.10へDropboxをインストールしたよ。真似したんですけどね。[Dropbox]</title>
		<link>http://ore.saizensen.net/archives/135</link>
		<comments>http://ore.saizensen.net/archives/135#comments</comments>
		<pubDate>Thu, 13 Nov 2008 09:21:03 +0000</pubDate>
		<dc:creator>bubbkis</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[インストールメモ]]></category>

		<guid isPermaLink="false">http://ore.saizensen.net/?p=135</guid>
		<description><![CDATA[よくDropboxって文字をweb上では見てたんですけど、今まで使ってなかったんですよね。 おれ最前線ねっとにssh-fuseで繋げて必要なファイルをバックアップしたりリストアしたりしてました。 とまぁそれで何も不自由し [...]]]></description>
			<content:encoded><![CDATA[				<p>よく<a href="https://www.getdropbox.com/">Dropbox</a>って文字をweb上では見てたんですけど、今まで使ってなかったんですよね。<br />
				<a href="http://ore.saizensen.net">おれ最前線ねっと</a>にssh-fuseで繋げて必要なファイルをバックアップしたりリストアしたりしてました。<br />
				とまぁそれで何も不自由してなかったんですけど、なんか他の人が快適すぎてウマーって言ってるのを見るとちょっと真似してみるかと。</p>
				<p>と釣られましたんで以下メモ。インストールはすげー簡単。<strong>ubuntu</strong>ならさらに簡単。<strong>Dropbox</strong>のサイト上に載ってるのそのままやればOK。</p>
				<ol>
				<li>/etc/apt/sources.listへDropboxのリポジトリを追加する。
				<pre>
deb http://linux.getdropbox.com/ubuntu intrepid main
deb-src http://linux.getdropbox.com/ubuntu intrepid main
</pre>
				</li>
				<li>インストールする。
				<pre>
 $ sudo apt-get update
 $ sudo apt-get install nautilus-dropbox
 $ killall nautilus
</pre>
				</li>
				</ol>
				<p>インストールはこんだけ。<br />
				あとは<a href="http://d.hatena.ne.jp/a2c/20081028/1225177946">DropBoxを使って、まっさらな環境から5分で継続的で快適な環境を作る方法</a>を真似する。つーか、これ見て「あ、Dropbox入れよう。」と思いました。<br />
				そのまま載ってるシェルスクリプトをコピペして実行してみたら動かなかったのでちょっと変えた。</p>
				<ol>
				<li>Dropboxディレクトリの中に環境構築用のドットファイルディレクトリを作る。</li>
				<li>作ったディレクトリに.vimrcとか.vimとか.zshrcとか↓のシェルスクリプトとかをぶち込む。</li>
				<li>アップロードしたシェルスクリプトに実行権限与えて実行。</li>
				<li>終わり。</li>
				</ol>
				
				<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
<span style="color: #007800;">path</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">pwd</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #ff0000;">&quot;.vim&quot;</span> <span style="color: #ff0000;">&quot;.vimrc&quot;</span> <span style="color: #ff0000;">&quot;.zshrc&quot;</span> <span style="color: #ff0000;">&quot;.screenrc&quot;</span> <span style="color: #ff0000;">&quot;.vimperatorrc&quot;</span> <span style="color: #ff0000;">&quot;.vimperator&quot;</span> <span style="color: #ff0000;">&quot;.mozilla&quot;</span> <span style="color: #ff0000;">&quot;.inputrc&quot;</span> <span style="color: #ff0000;">&quot;.Xmodmap&quot;</span>
<span style="color: #000000; font-weight: bold;">do</span>
 <span style="color: #c20cb9; font-weight: bold;">mv</span> ~<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$i</span> ~<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$i</span>.org
 <span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #007800;">$path</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$i</span> ~<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$i</span>
<span style="color: #000000; font-weight: bold;">done</span></pre></div></div>
]]></content:encoded>
			<wfw:commentRss>http://ore.saizensen.net/archives/135/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/135" />
	</item>
		<item>
		<title>[PHP]CentOSへXCacheをインストールしたメモ。[XCache]</title>
		<link>http://ore.saizensen.net/archives/113</link>
		<comments>http://ore.saizensen.net/archives/113#comments</comments>
		<pubDate>Fri, 07 Nov 2008 06:24:39 +0000</pubDate>
		<dc:creator>bubbkis</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[インストールメモ]]></category>

		<guid isPermaLink="false">http://ore.saizensen.net/?p=113</guid>
		<description><![CDATA[またインストールメモ。今後、サーバーを作る時用の自分用メモばっか書いてますな、最近。 ということで、CentOS5.2へXCacheをインストールしました。 phpizeの為に、php-deveをインストール。 # yu [...]]]></description>
			<content:encoded><![CDATA[				<p>またインストールメモ。今後、サーバーを作る時用の自分用メモばっか書いてますな、最近。<br />
				ということで、<strong>CentOS5.2</strong>へ<a href="http://xcache.lighttpd.net/">XCache</a>をインストールしました。</p>
				<ol>
				<li>phpizeの為に、php-deveをインストール。
				<pre># yum -y install php-devel</pre>
</li>
<li><strong>Xcache</strong>の取得 &#038;&#038; インストール。
<pre>
# cd /usr/local/src
# wget http://xcache.lighttpd.net/pub/Releases/1.2.2/xcache-1.2.2.tar.gz
# tar zxvf xcache-1.2.2.tar.gz
# cd xcache-1.2.2
# phpize
# ./configure --enable-xcache --enable-xcache-coverager
# make
# make test
# make install
</pre>
				<p>インストール後、表示されるパスをメモしておく。↓みたいな。</p>
				<pre>
Installing shared extensions: /usr/lib64/php/modules/
</pre>
				</li>
				<li><strong>XCache</strong>のWebインタフェースを公開ディレクトリへコピー。
				<pre>
# cp -R admin /var/www/html/
# cp -R coverager /var/www/html/
# mv /var/www/html/admin /var/www/html/xcache
</pre>
				</li>
				<li><strong>XCache</strong>の設定。
				<pre>
# mkdir /tmp/pcov
# chown apache.apache /tmp/pcov ##←Apache実行ユーザーへ
# cat xcache.ini >> /etc/php.ini
# cat /proc/cpuinfo | grep -c processor ##←表示された数値をメモ。
# echo "< ?php echo md5('pass'); ?>" | php ##←表示された文字列をメモ。
# vi /etc/php.ini
</pre>
				<p>以下、/etc/php.ini の<strong>XCache</strong>設定内容。</p>
				<ul>
				<li>zend_extension = インストール後表示されたパスを指定。</li>
				<li>xcache.count = # cat /proc/cpuinfo | grep -c processor で表示された数値。</li>
				<li>xcache.admin.user = &#8220;hoge&#8221; # 適当なユーザーを指定。</li>
				<li>xcache.admin.pass = # echo &#8220;< ?php echo md5('pass'); ?>&#8221; | php で表示された文字列。</li>
				</ul>
				<pre>
[xcache-common]
;; install as zend extension (recommended), normally "$extension_dir/xcache.so"
;zend_extension = /usr/local/lib/php/extensions/non-debug-non-zts-xxx/xcache.so
zend_extension = /usr/lib64/php/modules/xcache.so
; zend_extension_ts = /usr/local/lib/php/extensions/non-debug-zts-xxx/xcache.so
;; For windows users, replace xcache.so with php_xcache.dll
;zend_extension_ts = c:/php/extensions/php_xcache.dll
;; or install as extension, make sure your extension_dir setting is correct
; extension = xcache.so
;; or win32:
; extension = php_xcache.dll

[xcache.admin]
xcache.admin.enable_auth = On
xcache.admin.user = "hoge"
; xcache.admin.pass = md5($your_password)
xcache.admin.pass = "******************************"

[xcache]
; ini only settings, all the values here is default unless explained

; select low level shm/allocator scheme implemenation
xcache.shm_scheme =        "mmap"
; to disable: xcache.size=0
; to enable : xcache.size=64M etc (any size > 0) and your system mmap allows
xcache.size  =                64M
; set to cpu count (cat /proc/cpuinfo |grep -c processor)
xcache.count =                 1
; just a hash hints, you can always store count(items) > slots
xcache.slots =                8K
; ttl of the cache item, 0=forever
xcache.ttl   =                 0
; interval of gc scanning expired items, 0=no scan, other values is in seconds
xcache.gc_interval =           0

; same as aboves but for variable cache
xcache.var_size  =            8M
xcache.var_count =             1
xcache.var_slots =            8K
; default ttl
xcache.var_ttl   =           600
xcache.var_maxttl   =       3600
xcache.var_gc_interval =     300

xcache.test =                Off
; N/A for /dev/zero
xcache.readonly_protection = Off
; for *nix, xcache.mmap_path is a file path, not directory.
; Use something like "/tmp/xcache" if you want to turn on ReadonlyProtection
; 2 group of php won't share the same /tmp/xcache
; for win32, xcache.mmap_path=anonymous map name, not file path
xcache.mmap_path =    "/tmp/xcache"

; leave it blank(disabled) or "/tmp/phpcore/"
; make sure it's writable by php (without checking open_basedir)
xcache.coredump_directory =   ""

; per request settings
xcache.cacher =               On
xcache.stat   =               On
xcache.optimizer =           Off

[xcache.coverager]
; per request settings
; enable coverage data collecting for xcache.coveragedump_directory and xcache_coverager_start/stop/get/clean() functions (will hurt executing performance)
xcache.coverager =          On

; ini only settings
; make sure it's readable (care open_basedir) by coverage viewer script
; requires xcache.coverager=On
xcache.coveragedump_directory = "/tmp/pcov"
</pre>
				</li>
				<li>Apacheを再起動。
				<pre># /etc/rc.d/init.d/httpd restart</pre>
</li>
<li>/var/www/html/coveragerディレクトリへ.htaccessを設置。↓内容。
<pre>
AuthUserFile /etc/httpd/conf/.htpasswd
AuthGroupFile /dev/null
AuthName "XCache Coverage Viewer"
AuthType Basic
#require valid-user
require user hoge
</pre>
				</li>
				</ol>
				<p>以上。</p>
]]></content:encoded>
			<wfw:commentRss>http://ore.saizensen.net/archives/113/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/113" />
	</item>
		<item>
		<title>[CentOS]Apacheアクセスログ解析にVisitorsをインストールしたメモ。[Apache]</title>
		<link>http://ore.saizensen.net/archives/111</link>
		<comments>http://ore.saizensen.net/archives/111#comments</comments>
		<pubDate>Fri, 07 Nov 2008 03:36:25 +0000</pubDate>
		<dc:creator>bubbkis</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[インストールメモ]]></category>

		<guid isPermaLink="false">http://ore.saizensen.net/?p=111</guid>
		<description><![CDATA[このore.saizensen.netでも使ってきてたApacheアクセスログ解析ソフト「Visitors」を別のサーバーにもインストールしたので、ここにメモ書き程度に残しておきます。 グラフ化しても、たいして見ないので [...]]]></description>
			<content:encoded><![CDATA[				<p>この<a href="http://ore.saizensen.net">ore.saizensen.net</a>でも使ってきてたApacheアクセスログ解析ソフト「<a href="http://www.hping.org/visitors/index_jp.php">Visitors</a>」を別のサーバーにもインストールしたので、ここにメモ書き程度に残しておきます。<br />
				グラフ化しても、たいして見ないのでgraphvizはインストールしません、私は。</p>
				<ol>
				<li>日本語対応の為に、<strong>nkf</strong>をインストール。
				<pre># yum -y install nkf</pre>
</li>
<li><strong>Visitors</strong>の取得 &#038;&#038; インストール。
<pre>
# cd /usr/local/src
# wget http://www.hping.org/visitors/visitors-0.7.tar.gz
# tar zxvf visitors-0.7.tar.gz
# cd visitors_0.7
# make
# cp visitors /usr/bin/
# cd
</pre>
				</li>
				<li>アクセスログ解析結果出力ティレクトリ作成。
				<pre>
# mkdir /var/www/html/log
# chown hoge.hoge /var/www/html/log
</pre>
				</li>
				<li>アクセスログ解析スクリプト作成。
				<pre>
# vi accesslog.sh
#!/bin/bash

# ユーザーネームを記載
username=hoge
# アクセス解析用ディレクトリを記載
addlog=/var/www/html/log/
# このスクリプトのログファイル名を記載
logfile=/var/log/logsearch.log

function logsearch
{
date '+%Y/%m/%d(%a) %T'
for a in `find /var/log/httpd/* -mtime -2`
do
log=`basename $a`
  visitors -A -m 30000 $a -o html > $addlog$log
  nkf -w -m0 $addlog$log > $addlog$log.html
  rm -f $addlog$log
done
}
logsearch >> $logfile 2>&#038;1
echo "" >> $logfile; echo "" >> $logfile;
chown -R $username:$username $addlog
</pre>
				</li>
				<li>作成したaccesslog.shを実行 &#038;&#038; cronへ。
				<pre>
# chmod +x accesslog.sh
# ./accesslog.sh
# mv accesslog.sh /etc/cron.daily/
</pre>
				</li>
				<li>アクセスログ公開ティレクトリへ.htaccess設置。↓中身。
				<pre>
Options Indexes Includes ExecCGI FollowSymLinks MultiViews
AuthUserFile /etc/httpd/conf/.htpasswd
AuthGroupFile /dev/null
AuthName "Apache Logs"
AuthType Basic
require user hoge
</pre>
				</li>
				</ol>
				<p>終了です。hogeって書いてる所は適当に直してね。</p>
]]></content:encoded>
			<wfw:commentRss>http://ore.saizensen.net/archives/111/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/111" />
	</item>
		<item>
		<title>[CentOS]CentOS5.2サーバーにTorrentflux-b4rtをインストールした。[BitTorrent]</title>
		<link>http://ore.saizensen.net/archives/108</link>
		<comments>http://ore.saizensen.net/archives/108#comments</comments>
		<pubDate>Thu, 06 Nov 2008 04:17:57 +0000</pubDate>
		<dc:creator>bubbkis</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[BitTorrent]]></category>
		<category><![CDATA[インストールメモ]]></category>

		<guid isPermaLink="false">http://ore.saizensen.net/?p=108</guid>
		<description><![CDATA[家のCentOS5.2サーバーにTorrentflux-b4rtをインストールして、サーバー上にBitTorrentWEBクライアントを設置しました。 動作環境は、 A Unix like OS (Win32 not s [...]]]></description>
			<content:encoded><![CDATA[				<p>家の<strong>CentOS5.2</strong>サーバーに<strong>Torrentflux-b4rt</strong>をインストールして、サーバー上に<strong>BitTorrentWEBクライアント</strong>を設置しました。<br />
				動作環境は、</p>
				<ul>
				<li>A Unix like OS (Win32 not supported) &#8211; current tested OSs include:
				<ul>
				<li>Linux: Debian, Ubuntu, Gentoo, RedHat, Fedora, NSLU2, ClarkConnect &#8211; amongst others!</li>
				<li>BSD: FreeBSD, OpenBSD, NetBSD</li>
				<li>Apple: Mac OS X</li>
				</ul>
				</li>
				<li>A Web Server &#8211; any Unix like webserver that supports PHP should work.  Current supported/tested:
				<ul>
				<li><a href="http://httpd.apache.org" title="Apache HTTP Server" target="_blank">Apache</a></li>
				<li><a href="http://www.lighttpd.net" title="LightTPD" target="_blank">LightTPD</a></li>
				</ul>
				</li>
				<li>An SQL-Database &#8211; current supported db types are:
				<ul>
				<li><a href="http://www.mysql.com" title="MySQL" target="_blank">MySQL</a></li>
				<li><a href="http://www.sqlite.org" title="SQLite" target="_blank">SQLite</a></li>
				<li><a href="http://www.postgresql.org" title="PostgreSQL" target="_blank">PostgreSQL</a></li>
				</ul>
				</li>
				<li><a href="http://www.php.net" title="PHP" target="_blank">PHP</a> 4.3.x or higher.</li>
				<li><a href="http://www.python.org" title="Python" target="_blank">Python</a> 2.2 or higher.</li>
				<li><a href="http://www.perl.org" title="Perl" target="_blank">Perl</a> 5.6 or higher (for the optional fluxd daemon).</li>
				</ul>
				<p>と、なっとります。<br />
				その時のインストールメモ。</p>
				<ol>
				<li>CentOSサーバー上にApache(or Lighttpd)、MySQL(or SQLite or PostgreSQL)、PHPなLAMP環境を整えておきます。今回は既にLAMP環境は構築済ですので省略。PythonもPerlもyumでインストール済。</li>
				<li>
				<ul>
				<li>Torrentflux-b4rtを取って来る。</li>
				<li>展開。</li>
				<li>webrootディレクトリへ移動。</li>
				<li>所有者変更。Apacheユーザーへ</li>
				<li>ダウンロードディレクトリ作成し、Apacheユーザーが書き込めるようにPermission変更。今回はSambaの共有ディレクトリ内へ作りました。</li>
				</ul>
				<pre>
[root@centos ~]# cd /usr/local/src
[root@centos ~]# wget http://download.berlios.de/tf-b4rt/torrentflux-b4rt_1.0-beta2.tar.bz2
[root@centos ~]# tar xjvf torrentflux-b4rt_1.0-beta2.tar.bz2
[root@centos ~]# mv torrentflux-b4rt_1.0-beta2 /var/www/html/torrrentflux
[root@centos ~]# chown -R apache.apache /var/www/html/torrentflux
[root@centos ~]# mkdir /storage_1/downloads
[root@centos ~]# chown -R nobody.nobody /storage_1/downloads
[root@centos ~]# chmod -R 777 /storage_1/downloads
[root@centos ~]# cd
</pre>
				</li>
				<li>ブラウザでsetup.phpへアクセスして指示通りにTorrentfluxのインストール。<br />この時、私の場合だとcksfv、vlc、uudeviewが無いと表示されていたのでyumでインストール。<br />あと、本体のBitTorrentクライアントをインストール。デフォルトのBitTornadoと無いよと表示されていたTransmission。<br />TransmissionはTorrentflux-b4rtのアーカイブ内にTransmission-1.06のパッチファイルが収録されているので、それを使用してインストール。
				<pre>
[root@centos ~]# yum --enablerepo=rpmforge install cksfv
[root@centos ~]# yum --enablerepo=rpmforge install vlc
[root@centos ~]# yum --enablerepo=rpmforge install uudeview
[root@centos ~]# cd /usr/local/src
[root@centos ~]# wget http://download.m0k.org/transmission/files/transmission-1.06.tar.bz2
[root@centos ~]# tar jxvf transmission-1.06.tar.bz2
[root@centos ~]# cd transmission-1.06
[root@centos ~]# tar jxvf /var/www/html/torrentflux/clients/transmission/Transmission-1.06_tfCLI-svn3356.tar.bz2
[root@centos ~]# cp -R /var/www/html/torrentflux/clients/transmission/Transmission-1.06_tfCLI-svn3356/cli ./
[root@centos ~]# ./configure
[root@centos ~]# make
[root@centos ~]# make install
[root@centos ~]# cd /usr/local/src
[root@centos ~]# wget http://download2.bittornado.com/download/BitTornado-0.3.18.tar.gz
[root@centos ~]# tar zxvf BitTornado-0.3.18.tar.gz
[root@centos ~]# cd BitTornado-CVS
[root@centos ~]# python setup.py install
[root@centos ~]# cd
</pre>
				</li>
				<li>iptablesのTCP49160:49300ポートを開ける。</li>
				<li>torrentfluxディレクトリに.htaccessを設置してアクセス制限を掛ける。</li>
				</ol>
				<p>以上です。これでいつでもブラウザ上からtorrentを使ってダウンロード出来るようになりました。</p>
]]></content:encoded>
			<wfw:commentRss>http://ore.saizensen.net/archives/108/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/108" />
	</item>
		<item>
		<title>[CentOS]CentOSへ3ware 9650SE-2LPを差してRAID環境作りましたよ。[RAID]</title>
		<link>http://ore.saizensen.net/archives/106</link>
		<comments>http://ore.saizensen.net/archives/106#comments</comments>
		<pubDate>Wed, 05 Nov 2008 06:11:22 +0000</pubDate>
		<dc:creator>bubbkis</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[RAID]]></category>
		<category><![CDATA[インストールメモ]]></category>

		<guid isPermaLink="false">http://ore.saizensen.net/?p=106</guid>
		<description><![CDATA[タイトル通り、CentOS5.2-64bit版へ3ware 9650SE-2LPを差してRAID環境作りました。その時のメモ。 まず用意したのが3ware 9650SE-2LPというRAIDカード。 お金無いから、RAI [...]]]></description>
			<content:encoded><![CDATA[				<p>タイトル通り、<strong>CentOS5.2-64bit版</strong>へ<strong>3ware 9650SE-2LP</strong>を差して<strong>RAID環境</strong>作りました。その時のメモ。<br />
				まず用意したのが<a href="http://japan.3ware.com/products/serial_ata2-9650.asp">3ware 9650SE-2LP</a>というRAIDカード。<br />
				お金無いから、RAID0かRAID1のみ可能な2portカードです。とりあえずRAID1のミラーリングが目的だからこれでいいんです。<br />
				で、以下作業。</p>
				<ol>
				<li>まず3wareから<a href="http://www.3ware.com/download/Escalade9690SA-Series/9.5.1/driver-redhat-el5_u2-9.5.1.tgz">最新のドライバー</a>を取ってくる。CentOS5だからRedHatEL5用のを。</li>
				<li>取ってきたファイルを展開する。中にdriverとinstalldiskの２種、x86用とx86_64用のアーキテクチャ別にアーカイブされているので、今回はCentOSの64bitを新規インストールするのでinstalldisk-x86_64を選んでさらに展開する。展開された中身を全部フロッピーへ突っ込む。</li>
				<li>RAIDカードをサーバーへ取り付けSATAのHD２台へケーブル接続。この時、別に取り付けてたHDを床に落としてしまいIOエラーでご臨終してしまいました・・・</li>
				<li>サーバー本体の電源投入し、3wareのBIOS画面になったらAlt-3キーで設定画面へ。マニュアル通り設定すれば簡単なので詳細はめんどいので除きます。マニュアル無くても設定できるくらいです。とまぁRAIDユニットの作成を完了させます。</li>
				<li>CentOSのインストールディスクとさっき作ったRAIDカードのおドライバーフロッピーを入れ、インストール開始画面になったら
				<pre>linux dd</pre>
<p>で起動する。すると、「何かハードウェアのドライバーディスク持ってるか？」と聞いてくるので「YES」を選んでドライバーをロードする。この時、正常にロードすると
<pre>Loading 3w-9xxx driver</pre>
				<p>と表示される。ここでどっぷりとハマってしまいましたんですけどね。最初、CentOS5.0のインストールディスクを使っていたら、<strong>Loading 3w-9xxx driver</strong>と全く表示されませんでした。表示されないけどロードしてそうな雰囲気だったので、そのまま作業進めてHD選択画面まで進むとHDが無いみたいなループを約１日続けてました。試しにCentOS5.2のインストールティスクを落とし直して、同作業をするとあっさり終わりましたよと・・・</li>
				<li>あとは、普通にOSのインストールをして完了です。</li>
				</ol>
				<p>インストール完了後、試しにHD１台抜いて電源投入してOS起動させたり、別のHDを取り付けてRAIDユニットの再構築してみたりと弄くってました。現在、全く問題無く動いてます。</p>
]]></content:encoded>
			<wfw:commentRss>http://ore.saizensen.net/archives/106/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/106" />
	</item>
		<item>
		<title>DNSサーバーの指定方法</title>
		<link>http://ore.saizensen.net/archives/67</link>
		<comments>http://ore.saizensen.net/archives/67#comments</comments>
		<pubDate>Thu, 10 Apr 2008 03:15:25 +0000</pubDate>
		<dc:creator>bubbkis</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[DNS]]></category>

		<guid isPermaLink="false">http://ore.saizensen.net/archives/67</guid>
		<description><![CDATA[/etc/resolv.conf nameserver 255.255.255.254　←DNSサーバーのアドレスを記入する nameserver 255.255.255.255　←複数のアドレスを並記してもいい]]></description>
			<content:encoded><![CDATA[				<p>/etc/resolv.conf</p>
				<pre>
nameserver 255.255.255.254　←DNSサーバーのアドレスを記入する
nameserver 255.255.255.255　←複数のアドレスを並記してもいい
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ore.saizensen.net/archives/67/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/67" />
	</item>
		<item>
		<title>デュアルディスプレイ設定 &#8211; xorg.conf</title>
		<link>http://ore.saizensen.net/archives/66</link>
		<comments>http://ore.saizensen.net/archives/66#comments</comments>
		<pubDate>Sun, 06 Apr 2008 14:27:00 +0000</pubDate>
		<dc:creator>bubbkis</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[UNIX]]></category>

		<guid isPermaLink="false">http://ore.saizensen.net/archives/66</guid>
		<description><![CDATA[現状のxorg.confをメモ的に記載しておく。 # File generated by XFdrake (rev 230776) Section "Extensions" Option "Composite" EndS [...]]]></description>
			<content:encoded><![CDATA[				<p>現状のxorg.confをメモ的に記載しておく。</p>
				<pre>
# File generated by XFdrake (rev 230776)

Section "Extensions"
    Option "Composite"
EndSection
# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerFlags"
    #DontZap # disable <Ctrl><Alt><BS> (server abort)
    #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "dri" # direct rendering
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "latin+level3(ralt_switch)"
    Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
EndSection

Section "InputDevice"
    Identifier "Mouse2"
    Driver "mouse"
    Option "Protocol" "PS/2"
    Option "Device" "/dev/psaux"
    Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "Flat Panel 1024x768"
    HorizSync 31.5-55
    VertRefresh 40-70

    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630

    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Monitor"
    Identifier "Secondary Monitor"
    ModelName "My LCD Panel 1680x1050"
    HorizSync 24.0-82.0
    VertRefresh 49.0-86.0
    Modeline "1280x1024" 108.00 1280 1328 1576 1688 1024 1025 1028 1066 +hsync +vsync
    Option "RightOf" "LVDS"
    Option "ReducedBlanking"
    ModeLine "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    ModeLine "1680x1050" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 +hsync -vsync
    Option "dpms"
EndSection

Section "Device"
    Identifier "device1"
    VendorName "Intel Corporation"
    BoardName "Intel 810 and later"
    Driver "intel"
    BusID "PCI:0:2:0"
    Option "DPMS"
    #Option "MonitorLayout" "NONE,CRT+LFP"
    Option "XaaNoOffscreenPixmaps" "1"
    Option "DRI" "true"
    Option "Monitor-VGA" "Secondary Monitor"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24

    Subsection "Display"
        Depth 8
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection

    Subsection "Display"
        Depth 15
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection

    Subsection "Display"
        Depth 16
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection

    Subsection "Display"
        Depth 24
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Mouse2" "SendCoreEvents"
    Screen "screen1"
    Screen 0 "screen1" 0 0
EndSection

Section "Extensions"
    Option "Composite" "Enable"
EndSection

Section "DRI"
    Mode 0666
EndSection
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ore.saizensen.net/archives/66/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/66" />
	</item>
		<item>
		<title>[Linux]キーボードの【CapsLk】と【Ctrl】を入れ替える。[Windows]</title>
		<link>http://ore.saizensen.net/archives/64</link>
		<comments>http://ore.saizensen.net/archives/64#comments</comments>
		<pubDate>Sun, 23 Mar 2008 05:21:27 +0000</pubDate>
		<dc:creator>bubbkis</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[CapsLk←→Ctrl入替え]]></category>

		<guid isPermaLink="false">http://ore.saizensen.net/archives/64</guid>
		<description><![CDATA[・Linuxの場合は、 Homeディレクトリ直下に、「.Xmodmap」というファイルを作成して下記を記述する。 remove Lock = Caps_Lock remove Control = Control_L ke [...]]]></description>
			<content:encoded><![CDATA[				<p>・Linuxの場合は、<br />
				Homeディレクトリ直下に、「<strong>.Xmodmap</strong>」というファイルを作成して下記を記述する。</p>
				<pre>
remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Control = Control_L
add Lock = Caps_Lock
</pre>
				<p>・Windowsの場合は、</p>
				<ol>
				<li>regedit.exeを起動する。</li>
				<li>HKEY_LOCAL_MACHINE\System\CurrentControlSet001\Control\KeyBoard Layoutへ移動する。</li>
				<li>新規作成で「<strong>バイナリ</strong>」を選択し、名前を「<strong>Scancode Map</strong>」に変更</li>
				<li>変更した「Scancode Map」をクリックし、値を以下のように書き変える。</li>
				</ol>
				<pre>
0000  00  00  00  00  00  00  00  00
0008  03  00  00  00  3A  00  1D  00
0010  1D  00  3A  00  00  00  00  00
0018
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ore.saizensen.net/archives/64/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/64" />
	</item>
		<item>
		<title>[Linux]64bit版LinuxへFlashプラグインをインストールする方法[x86_64]</title>
		<link>http://ore.saizensen.net/archives/63</link>
		<comments>http://ore.saizensen.net/archives/63#comments</comments>
		<pubDate>Sun, 16 Mar 2008 06:19:17 +0000</pubDate>
		<dc:creator>bubbkis</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://ore.saizensen.net/archives/63</guid>
		<description><![CDATA[・adobeからまずFlash-pluginをダウンロードする。 ・rpmなら普通にインストールする。 # rpm -Uvh flash-plugin-9.0.115.0-release.i386.rpm tarなら、と [...]]]></description>
			<content:encoded><![CDATA[				<p>・<a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">adobe</a>からまずFlash-pluginをダウンロードする。<br />
				・rpmなら普通にインストールする。</p>
				<pre># rpm -Uvh flash-plugin-9.0.115.0-release.i386.rpm</pre>
<p>tarなら、とりあえず解凍する。<br />
・で、インストールなり解凍なりで出来た<strong>libflashplayer.so</strong>を<br />
<strong>/usr/lib64/firefox-***/plugins</strong>、<strong>/usr/lib64/mozilla/plugins</strong><br />
にリンクを貼る。<br />
・で、nspluginwrapperをインストール (nspluginwrapper.{i386,x86_64} pulseaudio-libs.i386)<br />
・次に、</p>
<pre># nspluginwrapper -v -a -i</pre>
				<p>を実行する。<br />
				・最後にFIrefoxを再起動する。</p>
]]></content:encoded>
			<wfw:commentRss>http://ore.saizensen.net/archives/63/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/63" />
	</item>
		<item>
		<title>[ffmpeg][H.264]H.264動画の作り方。メモメモ</title>
		<link>http://ore.saizensen.net/archives/61</link>
		<comments>http://ore.saizensen.net/archives/61#comments</comments>
		<pubDate>Wed, 12 Mar 2008 04:31:06 +0000</pubDate>
		<dc:creator>bubbkis</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[H.264]]></category>

		<guid isPermaLink="false">http://ore.saizensen.net/archives/61</guid>
		<description><![CDATA[hoge.wmvをfuga.mp4へ変換するには、 ffmpeg -i hoge.wmv -vcodec h264 -b 400k -acodec aac -ac 2 -ar 48000 -ab 64k fuga.mp4 [...]]]></description>
			<content:encoded><![CDATA[				<p>hoge.wmvをfuga.mp4へ変換するには、</p>
				<pre>
ffmpeg -i hoge.wmv -vcodec h264 -b 400k -acodec aac -ac 2 -ar 48000 -ab 64k fuga.mp4
</pre>
				<p>(ffmpegによってはh264とかaacに対応してない場合も。libx264とかlibfaacにすると幸せになれることが)</p>
				<p>メモメモ<br />
				<a href="http://shunirr.org/archives/98">http://shunirr.org/archives/98</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ore.saizensen.net/archives/61/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/61" />
	</item>
		<item>
		<title>[Linux]HD増設メモ。</title>
		<link>http://ore.saizensen.net/archives/57</link>
		<comments>http://ore.saizensen.net/archives/57#comments</comments>
		<pubDate>Wed, 05 Mar 2008 04:15:01 +0000</pubDate>
		<dc:creator>bubbkis</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[HD増設]]></category>

		<guid isPermaLink="false">http://ore.saizensen.net/archives/57</guid>
		<description><![CDATA[1.まず新規に増設したHDにパーティションを作成する。 # fdisk /dev/sdb fdiskの操作方法はm：Helpで詳細に表示されるから、Helpを参照。 2.HDをフォーマットする。 # mkfs.ext3  [...]]]></description>
			<content:encoded><![CDATA[				<p>1.まず新規に増設したHDにパーティションを作成する。</p>
				<pre># fdisk /dev/sdb</pre>
<p>fdiskの操作方法はm：Helpで詳細に表示されるから、Helpを参照。<br />
2.HDをフォーマットする。</p>
<pre># mkfs.ext3 /dev/sdb1</pre>
				<p>3.フォーマットしたHDをマウントする。</p>
				<pre># mkdir /mnt/backup
# mount -t ext3 /dev/sdb1 /mnt/backup</pre>
				<p>システムを起動するたびにmountコマンドでマウントするのは大変。そこで/etc/fstabを編集して、起動時に増設したHDDが自動的にマウントされるように設定する。最後の一行を追加。</p>
				<pre>LABEL=/       /             ext3    defaults       1 1
LABEL=/boot   /boot         ext3    defaults       1 2
none          /dev/pts      devpts  gid=5,mode=620 0 0
none          /proc         proc    defaults       0 0
none          /dev/shm      tmpfs   defaults       0 0
/dev/sda3     swap          swap    defaults       0 0
/dev/cdrom    /mnt/cdrom    iso9660 noauto,owner,kudzu,ro,io...
/dev/fd0      /mnt/floppy   auto    noauto,owner,kudzu,iocha...
/dev/sdb1    /mnt/backup  ext3    defaults     1 2</pre>
				<p>
				LABELを使う場合は、</p>
				<pre># e2label /dev/sdb1 /storage_1</pre>
<p>の様にラベル付けを行ってから/etc/fstabを編集する。</p>
<pre>LABEL=/storage_1　　　/storage_1　　ext3　defaults　　1 2 </pre>
				<p>こんな感じで。</p>
]]></content:encoded>
			<wfw:commentRss>http://ore.saizensen.net/archives/57/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/57" />
	</item>
		<item>
		<title>[Linux]ホスト名を変更するには？</title>
		<link>http://ore.saizensen.net/archives/56</link>
		<comments>http://ore.saizensen.net/archives/56#comments</comments>
		<pubDate>Wed, 05 Mar 2008 02:21:55 +0000</pubDate>
		<dc:creator>bubbkis</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[ホスト名]]></category>

		<guid isPermaLink="false">http://ore.saizensen.net/archives/56</guid>
		<description><![CDATA[/etc/sysconfig/network を編集する。 HOSTNAME=ore.saizensen.net ↓ ↓ ↓ HOSTNAME=hogehoge.saizensen.net 各サーバ(WebサーバやMai [...]]]></description>
			<content:encoded><![CDATA[				<pre>/etc/sysconfig/network</pre>
<p>を編集する。</p>
<pre>
HOSTNAME=ore.saizensen.net

    ↓    ↓    ↓

HOSTNAME=hogehoge.saizensen.net</pre>
				<p>各サーバ(WebサーバやMailサーバ)などを構築後にホスト名を変更すると、そのサーバが正常動作しなくなる場合があるので注意が必要です<br />
				ホスト名を変更したら、各サーバの設定ファイル内に『ホスト名』を指定している部分がありますので、旧ホスト名を新ホスト名に変更してください。<br />
				また、設定ファイルを変更したらそのサーバを<strong>再起動</strong>する必要があります。<br />
				(「/etc/sysconfig/network」の変更 → 「各サーバの設定ファイル内のホスト名変更」<br />
				→ 「OSのリブート」 → 「動作確認」が理想です)</p>
]]></content:encoded>
			<wfw:commentRss>http://ore.saizensen.net/archives/56/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/56" />
	</item>
		<item>
		<title>[Linux]IPアドレスを設定する。</title>
		<link>http://ore.saizensen.net/archives/55</link>
		<comments>http://ore.saizensen.net/archives/55#comments</comments>
		<pubDate>Wed, 05 Mar 2008 02:14:49 +0000</pubDate>
		<dc:creator>bubbkis</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[IPアドレス]]></category>
		<category><![CDATA[固定IP]]></category>

		<guid isPermaLink="false">http://ore.saizensen.net/archives/55</guid>
		<description><![CDATA[/etc/sysconfig/network-scripts/ifcfg-eth0 を編集する。 DEVICE=eth0 ← ネットワーク・インタフェース名 BOOTPROTO=static ← 固定IPアドレスの場合の [...]]]></description>
			<content:encoded><![CDATA[				<pre>/etc/sysconfig/network-scripts/ifcfg-eth0</pre>
<p>を編集する。</p>
<pre>
DEVICE=eth0              ← ネットワーク・インタフェース名
BOOTPROTO=static         ← 固定IPアドレスの場合の指定
BROADCAST=192.168.1.255  ← ブロードキャスト・アドレス
IPADDR=192.168.1.2       ← IPアドレス
NETMASK=255.255.255.0    ← ネット・マスク
NETWORK=192.168.1.0      ← ネットワーク・アドレス
ONBOOT=yes               ← マシン起動時にネットワークを有効にする場合はyes</pre>
				<p>変更後は、</p>
				<pre># /etc/rc.d/init.d/network restart</pre>
<p>をする。</p>
]]></content:encoded>
			<wfw:commentRss>http://ore.saizensen.net/archives/55/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/55" />
	</item>
		<item>
		<title>CentOS5_64bit版のdovecotでメール受信出来ない件。</title>
		<link>http://ore.saizensen.net/archives/54</link>
		<comments>http://ore.saizensen.net/archives/54#comments</comments>
		<pubDate>Fri, 29 Feb 2008 04:57:52 +0000</pubDate>
		<dc:creator>bubbkis</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[dovecot]]></category>
		<category><![CDATA[インストールメモ]]></category>

		<guid isPermaLink="false">http://ore.saizensen.net/archives/54</guid>
		<description><![CDATA[CentOS5_64ビット版のdevecotでメール受信すると下記エラーがログに残る。 dovecot: imap-login: imap-login: error while loading shared librar [...]]]></description>
			<content:encoded><![CDATA[				<p>CentOS5_64ビット版のdevecotでメール受信すると下記エラーがログに残る。</p>
				<pre>
dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
</pre>
				<p><a href="http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.1/Japanese#head-82ee941a12369a892d2d31a364b1cf29f078b65b">http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.1/Japanese#head-82ee941a12369a892d2d31a364b1cf29f078b65b</a><br />
				にある、</p>
				<p>「Dovecotパッケージをx86_64カーネル上で動かす場合、CentOS 5.1にアップグレードした後に、<strong>&#8220;login_process_size=64&#8243;</strong>というパラメーターを設定ファイル /etc/dovecot.conf に追記する必要があります。 」</p>
]]></content:encoded>
			<wfw:commentRss>http://ore.saizensen.net/archives/54/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/54" />
	</item>
		<item>
		<title>HDを丸ごとコピーする方法。</title>
		<link>http://ore.saizensen.net/archives/49</link>
		<comments>http://ore.saizensen.net/archives/49#comments</comments>
		<pubDate>Mon, 18 Feb 2008 03:11:41 +0000</pubDate>
		<dc:creator>bubbkis</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[dd]]></category>
		<category><![CDATA[HD丸ごとコピー]]></category>

		<guid isPermaLink="false">http://ore.saizensen.net/archives/49</guid>
		<description><![CDATA[dd if=/dev/sda of=/dev/sdb conv=sync,noerror bs=4096 count=1 元HDと新HDの容量が同じか新HDの容量がデカイ場合は dd コマンドでコピーすれば、OS 丸ごと [...]]]></description>
			<content:encoded><![CDATA[				<pre>dd if=/dev/sda of=/dev/sdb conv=sync,noerror bs=4096 count=1</pre>
<p>元HDと新HDの容量が同じか新HDの容量がデカイ場合は dd コマンドでコピーすれば、OS 丸ごとコピーできますよと。<br />
　count=1 は最終的には消去しますが、count=10、count=100 と値を増やして、コピーの方向が合っていることを要確認。逆向けにコピーしたら・・・脂肪です。</p>
]]></content:encoded>
			<wfw:commentRss>http://ore.saizensen.net/archives/49/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/49" />
	</item>
		<item>
		<title>FLV→MP3</title>
		<link>http://ore.saizensen.net/archives/45</link>
		<comments>http://ore.saizensen.net/archives/45#comments</comments>
		<pubDate>Wed, 13 Feb 2008 13:18:35 +0000</pubDate>
		<dc:creator>bubbkis</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[mp3]]></category>

		<guid isPermaLink="false">http://ore.saizensen.net/archives/45</guid>
		<description><![CDATA[flvファイルからmp3を抜き取る方法 ffmpegをインストール後、 ffmpeg -i hogehoge.flv -acodec copy hogehoge.mp3]]></description>
			<content:encoded><![CDATA[				<p>flvファイルからmp3を抜き取る方法<br />
				ffmpegをインストール後、</p>
				<pre>
ffmpeg -i hogehoge.flv -acodec copy hogehoge.mp3
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ore.saizensen.net/archives/45/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://ore.saizensen.net/archives/45" />
	</item>
	</channel>
</rss>

