This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# %W% %E% | |
# | |
# Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved. | |
# | |
# Version | |
version=1 | |
# Component Font Mappings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1、下载PostgreSQL源码包,放在任意目录 | |
http://www.postgresql.org/ftp/source/v9.0.4/ | |
2、解压文件 | |
#tar zxvf postgresql-9.1.3.tar.gz | |
#cd postgresql-9.1.3 | |
3.准备安装前需要确认的库(readline,zlib,openssl),如果没有安装,则运行下面命令进行安装: | |
#yum install readline-devel | |
#yum install zlib-devel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker_processes 2; | |
error_log /var/log/nginx/error.log; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; | |
use epoll; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Install Postgresql9 From Source On Ubuntu 10.04 (Slicehost) | |
# Execute as root | |
# | |
# Author : Carlos Jacobs | |
# Date : 27 Sep 2010 | |
sudo aptitude install libreadline6 libreadline6-dev | |
sudo aptitude install zlib1g zlib1g-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: redis-server | |
# Required-Start: $syslog | |
# Required-Stop: $syslog | |
# Should-Start: $local_fs | |
# Should-Stop: $local_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: redis-server - Persistent key-value db |