<?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>Apelog &#187; conf</title>
	<atom:link href="http://blog.apecell.com/tag/conf/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.apecell.com</link>
	<description>Apecell's blog by Design</description>
	<lastBuildDate>Tue, 22 Jun 2010 07:08:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SELinux無効化</title>
		<link>http://blog.apecell.com/2008/03/30/id/36</link>
		<comments>http://blog.apecell.com/2008/03/30/id/36#comments</comments>
		<pubDate>Sat, 29 Mar 2008 15:00:00 +0000</pubDate>
		<dc:creator>design</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[conf]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blog.apecell.com/1970/01/01/36</guid>
		<description><![CDATA[CentOSでSELinuxを無効化するメモ

# getenforce // 確認
Enforcing #有効

# setenforce 0 // 無効化

# getenforce // 確認
Permissive // 無効

// 起動時に無効化
# vi /etc/sysconfig/selinux
SELINUX=enforcing
↓
SELINUX=disabled

]]></description>
			<content:encoded><![CDATA[<p>CentOSでSELinuxを無効化するメモ</p>
<pre>
# getenforce // 確認
Enforcing #有効

# setenforce 0 // 無効化

# getenforce // 確認
Permissive // 無効

// 起動時に無効化
# vi /etc/sysconfig/selinux
SELINUX=enforcing
↓
SELINUX=disabled
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.apecell.com/2008/03/30/id/36/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Emacsのキーバインド割当</title>
		<link>http://blog.apecell.com/2008/03/20/id/35</link>
		<comments>http://blog.apecell.com/2008/03/20/id/35#comments</comments>
		<pubDate>Wed, 19 Mar 2008 15:00:00 +0000</pubDate>
		<dc:creator>design</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[conf]]></category>

		<guid isPermaLink="false">http://blog.apecell.com/1970/01/01/35</guid>
		<description><![CDATA[今anything.elがアツい &#8211; ’(rubikitch wanna be (a . lisper))、という事で導入してみた。
Emacsをバリバリ使いこなせているわけではないので少しの恩恵しか受けれていないなと思いつつバッファ移動が楽なので [C-;] に [M-x anything] を割り当ててみる事にした。

(global-set-key &#91;?&#92;C-&#92;;] &#39;anything)

Reference

キーバインドの指定方法 &#8211; odz buffer
Meadow/キーバインド &#8211; Meadow memo

]]></description>
			<content:encoded><![CDATA[<p><a href="http://d.hatena.ne.jp/rubikitch/20070725/1186048100" target="_blank">今anything.elがアツい &#8211; ’(rubikitch wanna be (a . lisper))</a>、という事で導入してみた。</p>
<p>Emacsをバリバリ使いこなせているわけではないので少しの恩恵しか受けれていないなと思いつつバッファ移動が楽なので [C-;] に [M-x anything] を割り当ててみる事にした。</p>
<pre>
(global-set-key &#91;?&#92;C-&#92;;] &#39;anything)
</pre>
<p>Reference</p>
<ul>
<li><a href="http://d.hatena.ne.jp/odz/20080116/1200464663" target="_blank">キーバインドの指定方法 &#8211; odz buffer</a></li>
<li><a href="http://www.bookshelf.jp/pukiwiki/pukiwiki.php?cmd=read&#038;page=Meadow%2F%A5%AD%A1%BC%A5%D0%A5%A4%A5%F3%A5%C9" target="_blank">Meadow/キーバインド &#8211; Meadow memo</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.apecell.com/2008/03/20/id/35/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.Xmodmapと.vimrc</title>
		<link>http://blog.apecell.com/2007/12/07/id/28</link>
		<comments>http://blog.apecell.com/2007/12/07/id/28#comments</comments>
		<pubDate>Thu, 06 Dec 2007 15:00:00 +0000</pubDate>
		<dc:creator>design</dc:creator>
				<category><![CDATA[Develop]]></category>
		<category><![CDATA[conf]]></category>
		<category><![CDATA[note]]></category>

		<guid isPermaLink="false">http://blog.apecell.com/1970/01/01/28</guid>
		<description><![CDATA[忘れないうちにLinuxでキーバインド変更用の.XmodmapとVimの設定.vimrcを記録。
共にホームディレクトリ以下に配置すればよし。
.Xmodmap
CapslockをCtrlに、無変換キーを全角/半角に。

clear Lock
clear Control

!! 左Ctrl → Super
keycode 37 = Super_L
!! Caps Lock → Ctrl
keycode 66 = Control_L

!! 半角/全角 → Esc
keycode 131 = Zenkaku_Hankaku

add Control = Control_L Control_R

.vimrc
とりあえず切り貼りして使っている感じ。

&#34;--------------------------------------------------------------------------
&#34; Last Change: 2007-11-18
&#34; Maintainer:  Design
&#34;
&#34;- Memo -------------------------------------------------------------------
&#34;
&#34; :set number?      オプションの設定状況を表示
&#34; :set all          全てのオプションの設定状況を表示
&#34; :set [...]]]></description>
			<content:encoded><![CDATA[<p>忘れないうちにLinuxでキーバインド変更用の.XmodmapとVimの設定.vimrcを記録。</p>
<p>共にホームディレクトリ以下に配置すればよし。</p>
<h4>.Xmodmap</h4>
<p>CapslockをCtrlに、無変換キーを全角/半角に。</p>
<pre>
clear Lock
clear Control

!! 左Ctrl → Super
keycode 37 = Super_L
!! Caps Lock → Ctrl
keycode 66 = Control_L

!! 半角/全角 → Esc
keycode 131 = Zenkaku_Hankaku

add Control = Control_L Control_R
</pre>
<h4>.vimrc</h4>
<p>とりあえず切り貼りして使っている感じ。</p>
<pre>
&quot;--------------------------------------------------------------------------
&quot; Last Change: 2007-11-18
&quot; Maintainer:  Design
&quot;
&quot;- Memo -------------------------------------------------------------------
&quot;
&quot; :set number?      オプションの設定状況を表示
&quot; :set all          全てのオプションの設定状況を表示
&quot; :set              デフォルトから変更されたオプションの設定状況を表示
&quot; :mkvimrc          現在のオプションを ~/.vimrc に書き出す(存在すれば無効)
&quot; :source ~/.vimrc  設定ファイルを読み直す

&quot;--------------------------------------------------------------------------
&quot; Global

set nocompatible
syntax on
colorscheme desert

&quot;set number
set nobackup
set autoindent
&quot;set smartindent

&quot; UTF-8, SJIS, EUCの順番に開く
set fileencodings=utf-8,cp932,euc-jp
&quot; デフォルトはUTF-8
set fileencoding=utf-8

&quot;--------------------------------------------------------------------------&quot;
&quot; Edit

&quot; タブ幅
set tabstop=4
&quot; タブの代わりに空白
set expandtab
&quot; バックスペースでインデントや改行を削除できるようにする
set backspace=2
&quot; 括弧入力時に対応する括弧を表示
set showmatch
&quot;カーソルを行頭、行末で止まらないようにする
&quot;set whichwrap=b,s,h,l,&lt;,&gt;,[,]
&quot;全角スペースを視覚化
highlight ZenkakuSpace cterm=underline ctermfg=red guibg=lightgray
au BufNewFile,BufRead * match ZenkakuSpace /　/

&quot;--------------------------------------------------------------------------
&quot; Status bar

&quot; 常にステータスバーを表示
set laststatus=2
&quot; コマンドラインの高さ
set cmdheight=1
&quot; コマンドを表示
set showcmd
&quot; 文字コード・改行コードを表示
set statusline=%&lt;%f\
%m%r%h%w%{'['.(&amp;fenc!=''?&amp;fenc:&amp;enc).']['.&amp;ff.']'}%=%l,%c%V%8P &quot;
&quot; カーソル位置情報を表示
set ruler
&quot; コマンドライン補完するときに強化されたものを使う
set wildmenu

&quot;--------------------------------------------------------------------------
&quot; Search

&quot; サーチをインクリメンタルサーチにする
set incsearch
&quot; 検索文字列が小文字の場合は大文字小文字を区別なく検索する
set ignorecase
&quot; 検索文字列に大文字が含まれている場合は区別して検索する
set smartcase
&quot; 検索時にファイルの最後まで行ったら最初に戻る
set wrapscan
&quot; 検索結果文字列のハイライト
set hlsearch

&quot;--------------------------------------------------------------------------
&quot; Buffer

&quot;変更中のファイルでも保存せず他のファイルを表示
set hidden
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.apecell.com/2007/12/07/id/28/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>上書き出来ないphp.iniの設定方法</title>
		<link>http://blog.apecell.com/2007/10/10/id/15</link>
		<comments>http://blog.apecell.com/2007/10/10/id/15#comments</comments>
		<pubDate>Tue, 09 Oct 2007 15:00:00 +0000</pubDate>
		<dc:creator>design</dc:creator>
				<category><![CDATA[Develop]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[conf]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.apecell.com/1970/01/01/15</guid>
		<description><![CDATA[PHPの設定はphp.ini、 httpd.conf、 .htaccessの順に読み込まれ変更可能なら新しい値で上書きされる。
どのレベルで上書き出来ないかはマニュアルのphp.iniディレクティブ参照。
php.iniディレクティブで書かれているものはPHPで決められているもので、別途httpd.confレベルで変更の可否が指定出来る(.htaccessで変更出来ない)。
httpd.confのphp.ini設定で使用出来る値は以下の4つ。

php_value
php_flag
php_admin_value
php_admin_flag

php_adminが付いた方で指定する事で.htaccessでの変更を制限する。


 php_admin_value name value
指定した設定オプションに値を設定します。このディレクティブは、.htaccess  ファイルでは利用できません。また、 php_admin_value  で設定された設定オプションの値は、.htaccess では上書きできません。 セット済みの値をクリアしたい場合は、none を 値として使用してください。
php_admin_flag name on&#124;off
設定オプションに論理値を設定するために使用します。 このディレクティブは、.htaccess ファイルでは利用できません。 php_admin_value で設定された設定オプションの値は、.htaccess  では上書きできません。

PHP: 設定を変更するには &#8211; Manual
専用サーバーだと設定する事は少なそうなもののインフラとシステムの構築が分かれたりする場合、この方法で制限を掛けれるので(もちろんApache経由での実行に限る)覚えておくと良いかも
]]></description>
			<content:encoded><![CDATA[<p>PHPの設定は<em>php.ini、 httpd.conf、 .htaccess</em>の順に読み込まれ変更可能なら新しい値で上書きされる。</p>
<p>どのレベルで上書き出来ないかはマニュアルの<a href="http://www.php.net/manual/ja/ini.php" target="_blank">php.iniディレクティブ</a>参照。</p>
<p>php.iniディレクティブで書かれているものはPHPで決められているもので、別途httpd.confレベルで変更の可否が指定出来る(.htaccessで変更出来ない)。</p>
<p>httpd.confのphp.ini設定で使用出来る値は以下の4つ。</p>
<ul>
<li>php_value</li>
<li>php_flag</li>
<li>php_admin_value</li>
<li>php_admin_flag</li>
</ul>
<p>php_adminが付いた方で指定する事で.htaccessでの変更を制限する。</p>
<blockquote title="PHP: 設定を変更するには - Manual" cite="http://www.php.net/manual/ja/configuration.changes.php">
<dl>
<dt><em> php_admin_value <var>name</var> <var>value</var></em></dt>
<dd>指定した設定オプションに値を設定します。このディレクティブは、.htaccess  ファイルでは利用できません。また、 php_admin_value  で設定された設定オプションの値は、.htaccess では上書きできません。 セット済みの値をクリアしたい場合は、none を 値として使用してください。</dd>
<dt><em>php_admin_flag <var>name</var> <var>on|off</var></em></dt>
<dd>設定オプションに論理値を設定するために使用します。 このディレクティブは、.htaccess ファイルでは利用できません。 php_admin_value で設定された設定オプションの値は、.htaccess  では上書きできません。</dd>
</dl>
<p><cite><a href="http://www.php.net/manual/ja/configuration.changes.php">PHP: 設定を変更するには &#8211; Manual</a></cite></p></blockquote>
<p>専用サーバーだと設定する事は少なそうなもののインフラとシステムの構築が分かれたりする場合、この方法で制限を掛けれるので(もちろんApache経由での実行に限る)覚えておくと良いかも</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.apecell.com/2007/10/10/id/15/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.svnディレクトリ以下をアクセス拒否にする</title>
		<link>http://blog.apecell.com/2007/10/03/id/12</link>
		<comments>http://blog.apecell.com/2007/10/03/id/12#comments</comments>
		<pubDate>Tue, 02 Oct 2007 15:00:00 +0000</pubDate>
		<dc:creator>design</dc:creator>
				<category><![CDATA[Develop]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[conf]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://blog.apecell.com/1970/01/01/12</guid>
		<description><![CDATA[SVNから直接サイト公開や更新する場合、ステージング環境が整ってたりすればエクスポートで済むけど、チェックアウトして見ながら修正しなければならない場合もあったりする。
たまにApacheの設定（.htaccessでも可）で.svnのディレクトリの拒否を忘れるのでメモがてら。
以下の設定で/path/to/.svn/以下にアクセス拒否。

&#60;DirectoryMatch &#34;/*/.svn&#34;&#62;
deny from all
&#60;/DirectoryMatch&#62;

]]></description>
			<content:encoded><![CDATA[<p>SVNから直接サイト公開や更新する場合、ステージング環境が整ってたりすればエクスポートで済むけど、チェックアウトして見ながら修正しなければならない場合もあったりする。</p>
<p>たまにApacheの設定（.htaccessでも可）で.svnのディレクトリの拒否を忘れるのでメモがてら。</p>
<p>以下の設定で/path/to/.svn/以下にアクセス拒否。</p>
<pre class="syntax-highlight">
<span class="synStatement">&#60;DirectoryMatch</span><span class="synConstant"> &#34;/*/.svn&#34;</span><span class="synStatement">&#62;</span>
<span class="synPreProc">deny from </span><span class="synIdentifier">all</span>
<span class="synStatement">&#60;/DirectoryMatch&#62;</span>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.apecell.com/2007/10/03/id/12/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

