General

Jeans & Development 電子ブロック工房 三日坊主 フロントページ

start up scripts [General]

2009年2月28日

次の内容でS19rootstartup.shを作成し、/etc/rc1.d/ /etc/rc2.d/ /etc/rc3.d/ /etc/rc4.d/ /etc/rc5.d/ に置いた。
#!/bin/sh
#chmod 700
/root/startup.sh

新しくLinux serverを構築 [General]

2009年2月22日

我が家のプライベートwebサーバ構築のため、クローゼットで眠っていたマザーボード+CPU(VIA EMIA-M)に256MBのRAMを挿入し、amazonで購入した40GB(およそ$20)のHDDを接続して、サーバとした。

Debianのインストール時のみCD-ROMを接続し、今ははずしてある。その後の管理にはネットを使えばよいので、CD-ROMは必要ない。ただ、この状態でapt-getするとCD-ROMを読みにいこうとするので、/etc/apt/sources.listファイルを編集して、CD-ROMをリストから除外した。

ファイル検索 [General]

2007年5月2日

ファイルの検索には、locateコマンドが便利。ただし、updatedbコマンドでデータベースのアップデートを行わないと、新規追加のファイルが検索結果に反映されない。

序文 [General]

2007年5月2日

これは私のDebian管理ノートにおける最初のアイテムです。

Secure Web server settings [General]

1969年12月31日

http://www.thinkit.co.jp/free/article/0706/3/7/

# apt-get install openssl
# a2enmod ssl
# openssl genrsa -des3 1024 > server.key
# openssl req -new -key server.key > server.csr
# openssl x509 -in server.csr -days 365 -req -signkey server.key > server.crt