Posts tagged install

CentOS の PHP に GD を入れる

2

CentOS5 で PHP5 を使用していたら、GD が入っていないことに気がついた。
(続きを読む…)

Mac OSX で mkpasswd が使えなくても pwgen がある

3

以前 Mac OSX で mkpasswd を使用できるようにするというエントリを書きました。
Mac で mkpasswd コマンドを使用する | Sun Limited Mt.

このエントリに関して以下の記事を書いていただいたの読みました。
[Mac] Mac で pwgen – yano3の日記
(続きを読む…)

Mac にインストールした PHP で PostgreSQL が使えなかったので再インストールした

1

Mac に PostgreSQL をインストール して、さあ PHP から PostgreSQL を使おうとしたら、PHP で PostgreSQL が使えなかった。pg_connect 関数が未定義と怒られた。

改めて PHP を入れた時のエントリを見直してみると

$ sudo port install php5 +apache2 +mysql5 +pear

確かに入れていない。
(続きを読む…)

Mac に pgAdmin をインストール

1

昨日、Mac に PostgreSQL をインストールしたので、ついでに pgAdmin もインストールしてみた。


(続きを読む…)

Mac に PostgreSQL をインストール

1

Mac に MacPorts で PostgreSQL をインストールしてみました。

まず PostgreSQL があるか調べてみる。PostgreSQL8.3 が最新のようです。

$ port search postgresql
postgresql7                    databases/postgresql7 7.4.21       The most advanced open-source database available anywhere
postgresql80                   databases/postgresql80 8.0.17       The most advanced open-source database available anywhere
postgresql80-doc               databases/postgresql80-doc 8.0.17       Documentation for the postgresql database
postgresql80-server            databases/postgresql80-server 8.0.17       run postgresql80 as server
postgresql81                   databases/postgresql81 8.1.13       The most advanced open-source database available anywhere
postgresql81-doc               databases/postgresql81-doc 8.1.13       Documentation for the postgresql database
postgresql81-server            databases/postgresql81-server 8.1.13       run postgresql81 as server
postgresql82                   databases/postgresql82 8.2.9        The most advanced open-source database available anywhere
postgresql82-doc               databases/postgresql82-doc 8.2.9        Documentation for the postgresql database
postgresql82-server            databases/postgresql82-server 8.2.9        run postgresql82 as server
postgresql83                   databases/postgresql83 8.3.3        The most advanced open-source database available anywhere.
postgresql83-doc               databases/postgresql83-doc 8.3.3        Documentation for the postgresql database
postgresql83-server            databases/postgresql83-server 8.3.3        run postgresql83 as server
postgresql_autodoc             databases/postgresql_autodoc 1.25         Automatic documentation generator for postgresql databases
caml-postgresql                devel/caml-postgresql 1.8.2        OCaml-interface to the PostgreSQL-database
postgresql-jdbc                java/postgresql-jdbc 8.0-311      PostgreSQL JDBC driver
py-postgresql-exception        python/py-postgresql-exception 0.2          exceptions for the py-postgresql modules
py-postgresql-greentrunk       python/py-postgresql-greentrunk 0.1          greentrunk interface to postgresql
py-postgresql-layout           python/py-postgresql-layout 0.3          layout for the py-postgresql modules
py-postgresql-pqueue           python/py-postgresql-pqueue 0.1          pure python implementation of the pq protocol
py-postgresql-proboscis        python/py-postgresql-proboscis 0.1          postgresql database connector in pure python

(続きを読む…)

CakePHP で作成したショッピングサイト「BakeSale」

1

MOONGIFT: ? CakePHPを使ったショッピングサイト「BakeSale」:オープンソースを毎日紹介
BakeSale- simply shopping cart
ショッピングサイトが構築できるオープンソースの「BakeSale」。CakePHP RC2 を使用して作成されています。
(続きを読む…)

Mac で mkpasswd コマンドを使用する

1

mkpasswd コマンドは以前から非常によく使用していました。Window XP でも Cygwin を入れて使用していました。そこで Mac でも mkpasswd を使用する方法を調べてみました。
(続きを読む…)

任意の文字数でパスワードをランダム生成する mkpasswd

1

ランダムなパスワードを生成するのに便利なのが mkpasswd です。

インストール方法

Fedora などではインストール時の設定によって入っていないことがある。インストールされていない場合は下記コマンドでインストールする。

# yum install expect

(続きを読む…)

MacPorts で phpMyAdmin をインストール

1

MacPorts で phpMyAdmin をインストールしたメモです。

phpMyAdmin インストール

$ sudo port install phpmyadmin

これで /opt/local/www/phpmyadmin 以下にインストールされます。
(続きを読む…)

MacBook に開発環境を入れる

1

Apache + MySQL + PHP を MacPorts で入れてみました。

Apache のインストール

$ sudo port install apache2

しかし、sqlite3 のインストールでエラーになってしまう。
下記を参考に一度 sqlite3 を削除して入れなおしたらうまくいきました。
Mac Ports で Apache2 のインストールエラー – Get crazy

$ sudo port clean --all sqlite3
$ sudo port install sqlite3

(続きを読む…)

Go to Top