--------

スポンサーサイト

上記の広告は1ヶ月以上更新のないブログに表示されています。新しい記事を書く事で広告が消せます。
2009-05-18

mail_mime

pear install Mail_Mime
pear list-files Mail_Mime

mime.php
mimeDecode.php
mimePart.php

theme : 園芸・ガーデニング
genre : ブログ

2008-09-14

postgresql の セットアップ手順(うちのサバ)

■linuxインストール
・ネットワーク経由でパッケージを落としてインストールする。
・netinst.soを落としてisoイメージでCD−ROMに焼く。
・URLを選択しosのディレクトリを入力する
(例:http://ftp.jaist.ac.jp/pub/Linux/Fedora/releases/9/Fedora/i386/os/)
・IPはV6をはずして、あとはV4はマニュアルで設定する。

■ postgresqlのmakeとinstall
・『http://www.postgresql.org/download/』

$ tar xvfz postgresql-8.2.5.tar.gz
$ ./configure --prefix=/****/*
$ make
$ make install

■ postgresqlの設定
・bash_profileにPATHを通す。

$ chown -R pgsql
$ chgrp -R pgsql
$ initdb --encoding=UTF-8 -D databaseファイルのおき場所

■ postgresqlのネットワーク設定
$ vi postgresql.conf
$ # listen_addresses = '*'

$ listen_addresses = '*'
$ # port = 5432

$ port = 5432

$ vi pg_hba.conf
$ host all all 192.168.0.2 255.255.255.255 trust

■ firewallの設定
5432を解除
2008-07-24

ブログ 通信簿

自分のブログを評価して通信簿をつけてくれるサービスが登場!

gooラボ
ブログ通信簿サービス
ブログ通信簿サービス

流行のrubyを使ってるみたいね。
2008-06-05

postfix2

■postfix インストール


useradd -r postfix
groupadd -r postdrop


tar xpvfz /somewhere/postfix-2.1.1.tar.gz
cd postfix-2.1.1
make -f Makefile.init makefiles
make
su
make install
newaliases


/etc/rc.d/init.d/sendmail stop
chkconfig sendmail off


/etc/rc.d/init.d/postfix start
/etc/rc.d/init.d/postfix stop


フリーマーケット
フリマ

theme : インターネットサービス
genre : コンピュータ

2008-05-15

共有メモリ

■共有メモリ「C言語」

(共有メモリのID)
shmget

(共有メモリを割り当てる)
shmat

(共有メモリの開放)
shmdt

(共有メモリのIDの開放)
shmctl

(共有メモリの使用量の確認)
ipcs -ma


フリーマーケット
フリマ

theme : 今日の出来事
genre : 日記