<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>GnjToys</title>
<link>http://gnjtoys.restar.info/</link>
<description></description>
<language>ja</language>
<copyright>Copyright 2008</copyright>
<lastBuildDate>Sun, 02 Jul 2006 15:00:46 +0900</lastBuildDate>
<generator>http://www.movabletype.org/?v=4.1</generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs> 


<item>
<title>3.3にアップデートしてみました。</title>
<description><![CDATA[<p>特に問題なく…と思ったら、月別の中身がでてない！？</p>

<p>日付アーカイブテンプレートの、&lt;MTEntries&gt;とアトリビュート指定されていなかった部分を、&lt;MTEntries sort_by="created_on" sort_order="ascend"&gt;と修正したらとりあえずは正しくでているようです。</p>]]></description>
<link>http://gnjtoys.restar.info/2006/07/33.php</link>
<guid>http://gnjtoys.restar.info/2006/07/33.php</guid>
<category>Movable Type</category>
<pubDate>Sun, 02 Jul 2006 15:00:46 +0900</pubDate>
</item>

<item>
<title>セッション</title>
<description><![CDATA[<p>セッションを使ったCGIに挑戦中。<br />
デフォルトでは　/tmp　にファイルができてしまうため、PHP.iniに<br />
session.save_path = "/home/user/tmp"<br />
を追加。</p>]]></description>
<link>http://gnjtoys.restar.info/2006/05/post_6.php</link>
<guid>http://gnjtoys.restar.info/2006/05/post_6.php</guid>
<category>PHP</category>
<pubDate>Fri, 05 May 2006 18:46:56 +0900</pubDate>
</item>

<item>
<title>NeoSwiff</title>
<description><![CDATA[C#でFlashを作れるらしい。<br />
<br />
<a href="http://www.globfx.com/products/neoswiff/" target="_blank">http://www.globfx.com/products/neoswiff/</a><br />
<br />
ほとんどそのまんまといって良い位のレベルで動きそうな感じ。<br />]]></description>
<link>http://gnjtoys.restar.info/2006/03/neoswiff.php</link>
<guid>http://gnjtoys.restar.info/2006/03/neoswiff.php</guid>
<category>Flash</category>
<pubDate>Sat, 11 Mar 2006 18:12:38 +0900</pubDate>
</item>

<item>
<title>VS2005</title>
<description><![CDATA[<p>MSDNサブスクライバダウンロードでダウンロードしてきてインストールしてみました。<br />
が、インストール失敗…。<br />
どうやら、ダウンロード時にファイルが壊れていた模様。ハッシュ値の確認はするべきですね…。</p>

<p>無償の<a href="http://www.microsoft.com/japan/msdn/vstudio/express/" target="_blank">Visual Studio Express Editions</a>もでてます。<br />
</p>]]></description>
<link>http://gnjtoys.restar.info/2006/01/vs2005.php</link>
<guid>http://gnjtoys.restar.info/2006/01/vs2005.php</guid>
<category>VS2005</category>
<pubDate>Mon, 02 Jan 2006 14:10:56 +0900</pubDate>
</item>

<item>
<title>Apache2</title>
<description><![CDATA[<p>結局、Apacheをやめて、Apache2を入れ直してます。</p>

<p>...PHP、うごかねぇ。<br />
PHP用のモジュールが足りないみたいです。</p>

<p>libapache2-mod-php4が必要でした。</p>]]></description>
<link>http://gnjtoys.restar.info/2005/12/apache2.php</link>
<guid>http://gnjtoys.restar.info/2005/12/apache2.php</guid>
<category>玄箱</category>
<pubDate>Fri, 23 Dec 2005 17:59:32 +0900</pubDate>
</item>

<item>
<title>resolv.conf</title>
<description><![CDATA[<p># aptitude update 等でいつの間にかエラーがでるようになっていた。<br />
ringサーバーが見つけられずにエラーになる。<br />
あちこちいじっているうちに、/etc/resolv.conf が自動で書き換わるようになってしまっているみたい。<br />
とりあえず、再起動のたびに nameserver 192.168.0.xxx を追加して乗り切ることにしておく…。</p>]]></description>
<link>http://gnjtoys.restar.info/2005/11/resolvconf.php</link>
<guid>http://gnjtoys.restar.info/2005/11/resolvconf.php</guid>
<category>玄箱</category>
<pubDate>Thu, 03 Nov 2005 10:03:03 +0900</pubDate>
</item>

<item>
<title>Apache</title>
<description><![CDATA[<p>当初の目的のWebのテスト用サーバーの構築に取りかかることにする。</p>

<p>目標は、現在の環境とほぼ同じことがテストできる環境。<br />
主に、PHP＋MySQLの環境が試せること。</p>]]></description>
<link>http://gnjtoys.restar.info/2005/10/apache.php</link>
<guid>http://gnjtoys.restar.info/2005/10/apache.php</guid>
<category>玄箱</category>
<pubDate>Mon, 24 Oct 2005 21:11:53 +0900</pubDate>
</item>

<item>
<title>ProFtpd</title>
<description><![CDATA[<p>とりあえず、立ち上がるようにはなった。<br />
が、接続してもファイル一覧が見えない？<br />
検索してみると仕様上、FFFTPとの相性問題らしいが、FFFTPもバージョンアップされていて、設定(FFFTP)を変えることで問題なくなった。</p>

<p>次はApacheの設定をいじることにする。</p>]]></description>
<link>http://gnjtoys.restar.info/2005/10/proftpd.php</link>
<guid>http://gnjtoys.restar.info/2005/10/proftpd.php</guid>
<category>玄箱</category>
<pubDate>Mon, 24 Oct 2005 01:20:08 +0900</pubDate>
</item>

<item>
<title>xinetd</title>
<description><![CDATA[<p>ProFtpdを動作させようとするがうまく動かないので、ふらっと # aptitude install xinetd としてみた。<br />
すると、telnetとか動かなくなってしまった…。<br />
SSHで接続していたので、とりあえず、そのままあれこれいじってみる。<br />
ってか、接続切ったら２度と接続できない可能性もあるか…。</p>]]></description>
<link>http://gnjtoys.restar.info/2005/10/xinetd.php</link>
<guid>http://gnjtoys.restar.info/2005/10/xinetd.php</guid>
<category>玄箱</category>
<pubDate>Sun, 23 Oct 2005 02:14:59 +0900</pubDate>
</item>

<item>
<title>sarge化</title>
<description><![CDATA[<p>参考<br />
<a href="http://www.debian.org/doc/manuals/apt-howto/index.ja.html">APT HOWTO</a><br />
<a href="http://www.debian.or.jp/">Debian JP Project</a></p>]]></description>
<link>http://gnjtoys.restar.info/2005/10/sarge.php</link>
<guid>http://gnjtoys.restar.info/2005/10/sarge.php</guid>
<category>玄箱</category>
<pubDate>Wed, 19 Oct 2005 23:03:19 +0900</pubDate>
</item>

<item>
<title>LAMP環境構築</title>
<description><![CDATA[<p>とりあえず、あれこれ適当にインストールしてみる。</p>

<p># apt-get install samba<br />
# apt-get install swat<br />
/etc/inetd.conf<br />
を編集してswapを有効にする。<br />
再起動は # /etc/init.d/inetd restart<br />
接続はhttp://xxxxx:901/</p>

<p># apt-get install apache<br />
# apt-get install php4<br />
# apt-get install mysql-server<br />
# apt-get install php4-mysql</p>

<p># apt-get install webmin<br />
# apt-get install webmin-mysql<br />
# apt-get install webmin-apach<br />
# apt-get install webmin-core<br />
# apt-get install webmin-samba<br />
接続はhttps://xxxxx:10000/</p>

<p># apt-get install php4-pear</p>]]></description>
<link>http://gnjtoys.restar.info/2005/10/lamp.php</link>
<guid>http://gnjtoys.restar.info/2005/10/lamp.php</guid>
<category>玄箱</category>
<pubDate>Mon, 17 Oct 2005 22:13:48 +0900</pubDate>
</item>

<item>
<title>現在のパッケージ一覧</title>
<description><![CDATA[<p>dpkg -l コマンドで現在のパッケージ一覧の取得が可能。<br />
</p>]]></description>
<link>http://gnjtoys.restar.info/2005/10/post_1.php</link>
<guid>http://gnjtoys.restar.info/2005/10/post_1.php</guid>
<category>玄箱</category>
<pubDate>Mon, 17 Oct 2005 00:00:06 +0900</pubDate>
</item>

<item>
<title>apt-get</title>
<description><![CDATA[<p>パッケージ管理をしてくれるものらしい。<br />
Windows Update みたいなものと思えば良さそう。</p>

<p>とりあえず、apt-get update をしてみた。<br />
なにやら、woodyという、文字列があちこち出てくる。</p>

<p>Debianのパッケージには安定版(stable)、テスト版(testing)、不安定版(unstable)とあるらしい。<br />
で、debian_2005_08_21_dist.tgzの時点では、stable(woody)、testing(sarge)、unstable(sid)らしい。<br />
このwoody,sargeはコードネームらしく、Debian3.0が、woody、次のバージョンがsargeみたいです。<br />
なお、現在はsargeがstable(安定版)になったみたいなので、そのうちアップグレードしたいと思う。</p>]]></description>
<link>http://gnjtoys.restar.info/2005/10/aptget.php</link>
<guid>http://gnjtoys.restar.info/2005/10/aptget.php</guid>
<category>玄箱</category>
<pubDate>Sun, 16 Oct 2005 23:47:34 +0900</pubDate>
</item>

<item>
<title>ユーザー/パスワード変更</title>
<description><![CDATA[<p>セキュリティ上、および、自分用にrootのパスワード変更と、一般ユーザーの追加、および、登録済みのユーザー(tmp-kun)の削除。<br />
以降の表記ではユーザー名等はxxxxxで伏せてあります。</p>

<p>rootユーザーのパスワード変更。<br />
passwdで変更。</p>

<p>一般ユーザー(tmp-kun)の変更。<br />
tmp-kunの代わりに通常使用するユーザーを作成します。<br />
<blockquote><br />
tmp-kun@KURO-BOX:~$ su -<br />
Password: xxxxx<br />
KURO-BOX:~# adduser<br />
Enter a username to add: xxxxx<br />
Adding user xxxxx...<br />
Adding new group xxxxx (1001).<br />
Adding new user xxxxx (1001) with group xxxxx.<br />
Creating home directory /home/xxxxx.<br />
Copying files from /etc/skel<br />
Enter new UNIX password: xxxxx<br />
Retype new UNIX password: xxxxx<br />
passwd: password updated successfully<br />
Changing the user information for xxxxx<br />
Enter the new value, or press return for the default<br />
Full Name []: <br />
Room Number []: <br />
Work Phone []: <br />
Home Phone []: <br />
Other []: <br />
Is the information correct? [y/n] y<br />
</blockquote></p>

<p>作成したユーザーでログインできることの確認。<br />
ログインできた場合、デフォルトの一般ユーザー(tmp-kun)の削除を行います。<br />
<blockquote><br />
xxxxx@KURO-BOX:~$ su<br />
Password:xxxxx <br />
KURO-BOX:/home/xxxxx# deluser --remove-all-files tmp-kun<br />
Looking for files to backup/remove...<br />
Removing files...<br />
Removing user tmp-kun...<br />
done.<br />
</blockquote><br />
--remove-all-filesオプションをつけて、関連ファイルを含めてすべて削除。<br />
</p>]]></description>
<link>http://gnjtoys.restar.info/2005/10/post_5.php</link>
<guid>http://gnjtoys.restar.info/2005/10/post_5.php</guid>
<category>玄箱</category>
<pubDate>Sat, 15 Oct 2005 14:27:29 +0900</pubDate>
</item>

<item>
<title>インストール</title>
<description><![CDATA[<p>WEB用のテスト環境を作ってみようと、玄箱HGを購入。<br />
しかし、Linuxの知識がほぼ0に近いので、かなり負け気分。<br />
無印と、HGで手順が異なるのか、途中、FlashROM異常の５回点滅等の状態になって、かなり焦りました。</p>

<p>６時間ほど格闘して、なんとかDebian化の入り口までたどり着いたので寝ることにする。</p>]]></description>
<link>http://gnjtoys.restar.info/2005/10/post_3.php</link>
<guid>http://gnjtoys.restar.info/2005/10/post_3.php</guid>
<category>玄箱</category>
<pubDate>Sat, 15 Oct 2005 03:42:28 +0900</pubDate>
</item>


</channel>
</rss>