OSDN Git Service

new file insert install-mem.txt.
authormasashi <masashi@ms-n.com>
Tue, 11 Feb 2014 09:49:57 +0000 (18:49 +0900)
committermasashi <masashi@ms-n.com>
Tue, 11 Feb 2014 09:49:57 +0000 (18:49 +0900)
install-memo.txt [new file with mode: 0644]

diff --git a/install-memo.txt b/install-memo.txt
new file mode 100644 (file)
index 0000000..7508a62
--- /dev/null
@@ -0,0 +1,92 @@
+
+
+--- 20140208 ---
+
+--- PostgreSQL ---
+
+./configure
+gmake
+su
+gmake install
+adduser postgres
+mkdir /usr/local/pgsql/data
+chown postgres /usr/local/pgsql/data
+su - postgres
+/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
+/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data >logfile 2>&1 &
+/usr/local/pgsql/bin/createdb test
+/usr/local/pgsql/bin/psql test
+
+-- ubunt 13 --
+configure: error: readline library not found
+configure: error: zlib library not found
+
+-- init proccess --
+
+#!/bin/bash
+#
+# Init file for postgresql server daemon
+#
+# chkconfig: 2345 67 25
+#
+# description: postgreSQL server daemon
+#
+# processname: postgres
+
+PGACCOUNT="postgres"
+PGDATA="/usr/local/pgsql/data"
+PG_CTL="/usr/local/pgsql/bin/pg_ctl"
+
+. /etc/rc.d/init.d/functions
+
+
+start() {
+       su - $PGACCOUNT -c "$PG_CTL -D $PGDATA start"
+}
+
+stop() {
+       su - $PGACCOUNT -c "$PG_CTL -D $PGDATA stop"
+}
+
+case "$1" in
+  start)
+        start
+        ;;
+  stop)
+        stop
+        ;;
+  restart|reload)
+        stop
+        sleep 20
+        start
+        ;;
+  *)
+
+        echo $"Usage: $0 {start|stop|restart}"
+        exit 1
+esac
+exit 0  
+
+
+-- apache24 --
+
+なんかAPRが無いっておこられます 
+
+$ ./configure --prefix=/usr/local/apache2 --enable-so
+
+-- php-596 --
+
+$ ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-pgsql --with-zlib-dir=/usr --enable-mbstring --enable-mbregex
+
+
+--- 20140209 ---
+git  はapt-getした
+--- 20140211 ---
+
+
+
+
+
+
+