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
>>>> Create symbolic link for it in /usr/local/etc/ | |
[localhost] sudo: ln -s /usr/local/Cellar/php/5.3.9/etc/php-fpm.conf /usr/local/etc/php-fpm.conf | |
>>>> Edit the conf file | |
$ nano /usr/local/etc/php-fpm.conf | |
Add the following line below ;pid = run/php-fpm.pid | |
pid = /usr/local/var/run/php-fpm.pid | |
Update the user and group section as follows | |
user = _www | |
group = _www | |
Remove the ; from the start of the following lines then save using Ctrl+X then Y |
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
core = 7.x | |
api = 2 | |
; Drupal core | |
projects[drupal][type] = 'core' | |
projects[drupal][version] = '7.12' | |
; Install profile | |
projects[sdo][type] = 'profile' | |
projects[sdo][download][type] = 'git' |
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
### BEGIN INIT INFO | |
# Provides: redis-server-gitlab | |
# Required-Start: $syslog $remote_fs | |
# Required-Stop: $syslog $remote_fs | |
# 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 | |
# Description: redis-server - Persistent key-value db |
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
upstream gitlab { | |
server unix:/home/gitlab/gitlab/tmp/sockets/gitlab.socket; | |
} | |
server { | |
listen *:80; | |
server_name gitlab.domain.com; | |
root /home/gitlab/gitlab/public; | |
# individual nginx logs for this gitlab vhost |
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 | |
### BEGIN INIT INFO | |
# Provides: gitlab | |
# Required-Start: $local_fs $remote_fs $network $syslog redis-server | |
# Required-Stop: $local_fs $remote_fs $network $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: GitLab git repository management | |
# Description: GitLab git repository management | |
### END INIT INFO |
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
# Nginx web server main configuration file /usr/local/etc/nginx/nginx.conf | |
# | |
user [username] staff; | |
worker_processes 4; | |
pid /usr/local/var/run/nginx.pid; | |
error_log /var/log/aegir/nginx-error.log info; #debug; | |
events { | |
multi_accept on; | |
} |
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
require 'formula' | |
class Nginx < Formula | |
homepage 'http://nginx.org/' | |
url 'http://nginx.org/download/nginx-1.4.2.tar.gz' | |
sha1 '8f006dc773840b6624a137a584ff8850d5155e3f' | |
devel do | |
url 'http://nginx.org/download/nginx-1.5.5.tar.gz' | |
sha1 '8526d41cdabcd40d4ffa5ae12c8a2cc325255431' |
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
# Example MariaDB config file for very large systems. | |
# | |
# This is for a large system with memory of 1G-2G where the system runs mainly | |
# MariaDB. | |
# | |
# MariaDB programs look for option files in a set of | |
# locations which depend on the deployment platform. | |
# You can copy this option file to one of those | |
# locations. For information about these locations, do: | |
# 'my_print_defaults --help' and see what is printed under |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC | |
"-//Apple Computer//DTD PLIST 1.0//EN" " | |
http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>org.apache.solr</string> | |
<key>ProgramArguments</key> | |
<array> |
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
####################################################### | |
### nginx.conf site wp vhost include start | |
####################################################### | |
### | |
### deny crawlers without 403 response | |
### | |
if ($http_user_agent ~* (HTTrack|HTMLParser|libwww|wget) ) { | |
return 444; | |
} |
OlderNewer