Skip to content

Instantly share code, notes, and snippets.

@zuckercode
zuckercode / phalcon_installer
Created September 12, 2012 11:12
phalcon installer
#!/bin/bash
read -p "do you want to install release or development version of phalcon? [default=release] " typeq
if [ "$typeq" == "" ]; then
TYPE="release"
else
TYPE=$typeq
fi
@zuckercode
zuckercode / issf
Created September 7, 2012 12:39
Debian squeeze init script in lsb style for spawn-fcgi
#! /bin/sh
### BEGIN INIT INFO
# Provides: spawn-fcgi
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start daemon at boot time
# Description: Enable service provided by daemon.
### END INIT INFO
@zuckercode
zuckercode / idsbs
Created September 7, 2012 11:57
install development server by script
#!/bin/bash
#
# These lines installing the complete software for a nginx - php5-fpm - mysql machine
# This script runs on:
# - Hetzner Root EX4 (Debian6 minimal installation)
# - Strato Root Server Linux Level 3 (v1209.1.42) Debian 6.0 64bit
# Installation:
# copy this lines to /root/install.sh
# if vim is not already installed