This file contains hidden or 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
./configure \ | |
--conf-path=/etc/nginx/nginx.conf \ | |
--http-log-path=/var/log/nginx/access.log \ | |
--error-log-path=/var/log/nginx/error.log \ | |
--pid-path=/var/run/nginx.pid \ | |
--lock-path=/var/lock/subsys/nginx.lock \ | |
--http-proxy-temp-path=/var/tmp/nginx/proxy/ \ | |
--http-fastcgi-temp-path=/var/tmp/nginx/fcgi/ \ | |
--http-client-body-temp-path=/var/tmp/nginx/client/ \ | |
--with-http_ssl_module \ |
This file contains hidden or 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 | |
. /etc/rc.d/init.d/functions | |
INITLOG_ARGS="" | |
nginx=/usr/local/nginx/sbin/nginx | |
prog=nginx | |
pidfile=${PIDFILE-/var/run/nginx.pid} | |
lockfile=${LOCKFILE-/var/lock/subsys/nginx} | |
RETVAL=0 |
This file contains hidden or 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
server { | |
listen 80; | |
server_name example.com; | |
access_log /var/log/nginx/example.access.log main; | |
location / { | |
root /var/www/example.com/html; | |
index index.php index.html; |
This file contains hidden or 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
user nginx; | |
worker_processes 2; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; | |
This file contains hidden or 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
../configure --with-libdir=lib64 --with-fpm --with-fpm-conf=/etc/php53/php-fpm.conf --with-libevent=/usr/local --with-config-file-path=/etc/php53 --with-config-file-scan-dir=/etc/php53/conf.d --disable-ipv6 --enable-sockets --enable-sqlite-utf8 --enable-zip --enable-sysvmsg --enable-sysvsem --enable-sysvshm --with-zlib --with-gd --with-curl --with-jpeg-dir=/usr --with-png-dir=/usr --with-freetype-dir=/usr --enable-gd-native-ttf --with-ttf --with-mhash --with-mcrypt --disable-safe-mode --enable-mbstring --enable-ftp --enable-calendar --enable-bcmath --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-readline --disable-debug --with-openssl --with-xmlrpc --with-libxml-dir=/usr/local --with-pear=/usr/local/lib64/php53 --enable-soap --disable-rpath |
This file contains hidden or 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
./configure \ | |
--with-libdir=lib64 \ | |
--enable-fpm \ | |
--enable-debug \ | |
--disable-ipv6 \ | |
--enable-bcmath \ | |
--enable-calendar \ | |
--enable-ftp \ | |
--enable-gd-native-ttf \ | |
--enable-mbstring \ |
This file contains hidden or 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: php-fpm | |
# Required-Start: $all | |
# Required-Stop: $all | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: starts php-fpm | |
# Description: starts the PHP FastCGI Process Manager daemon |
This file contains hidden or 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 | |
# | |
# init.d script with LSB support. | |
# | |
# Copyright (c) 2007 Javier Fernandez-Sanguino <[email protected]> | |
# | |
# This is free software; you may redistribute it and/or modify | |
# it under the terms of the GNU General Public License as | |
# published by the Free Software Foundation; either version 2, | |
# or (at your option) any later version. |
This file contains hidden or 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
# Changes to the default path where the databases are stored. By default they are stored in /data/db | |
dbpath = /var/lib/mongodb | |
# Sets the path where the log will be kept | |
logpath = /var/log/mongod.log |
This file contains hidden or 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 | |
# init script for mongodb | |
# chkconfig: 2345 70 11 | |
# description: mongod | |
# processname: mongod | |
# pidfile: /var/run/mongodb.pid | |
# Source function library. | |
. /etc/rc.d/init.d/functions |
OlderNewer