Skip to content

Instantly share code, notes, and snippets.

View ysaotome's full-sized avatar

Yuichi Saotome ysaotome

View GitHub Profile
@ysaotome
ysaotome / centos56_setup_script_for_niftycloud.sh
Created December 29, 2011 10:28
ニフティクラウド(NiftyCloud)向け初期セットアップスクリプト CentOS 5.6 64bit Plain setup script for NiftyCloud
#!/bin/bash
# CentOS 5.6 64bit Plain setup script for NiftyCloud
# 2012/03/16 @ysaotome
#===============================================
# Settings
#===============================================
##rootのパスワード
ROOT_PASSWORD='hoge##123'
##追加する管理ユーザ名
@fernandoaleman
fernandoaleman / rpm-from-source.sh
Created November 18, 2011 16:34
How to create an RPM from source with spec file
# How to create an RPM from source with spec file
# This is for Redhat versions of linux. Sometimes when you search for an rpm package,
# it is either outdated or not available. The only thing available is the source code.
# You can create a custom RPM package from source.
#
# For this example, I'll be using the latest version of Git, currently v.1.7.7.3
# Step: 1
# Install rpmbuild
@rubysolo
rubysolo / etc_init.d_unicorn_example.co.uk
Created October 27, 2011 20:04 — forked from scottlowe/etc_init.d_unicorn_example.co.uk
Ruby on Rails server setup on Ubuntu 11.04 with Nginx, Unicorn, Rbenv
#! /bin/bash
### BEGIN INIT INFO
# Provides: unicorn
# Required-Start: $local_fs $remote_fs $network $syslog
# Required-Stop: $local_fs $remote_fs $network $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts the unicorn web server
# Description: starts unicorn
@lanius
lanius / install_gitorious.sh
Created April 19, 2011 06:03
Gitorious Installation to Ubuntu Server 10.04
# Gitorious Installation to Ubuntu Server 10.04
# from gitorious mainline:
# commit e2e70edd42ac1c00dab518d61d566ee3fec929db
# Author: Marius Mathiesen <marius@gitorious.org>
# Date: Wed Apr 13 11:43:07 2011 +0200
: << '#COMMENT_OUT'
Ubuntu Server 10.04 に Gitorious をインストールしたときのメモ。