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
defencoding utf-8 | |
#encoding utf-8 utf-8 | |
escape ^z^z | |
#cjkwidth on | |
vbell off | |
defhstatus I^En:^EtI | |
shell -$SHELL | |
autodetach 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
#!/bin/bash | |
# CentOS 5.6 64bit Plain setup script for NiftyCloud | |
# 2012/03/16 @ysaotome | |
#=============================================== | |
# Settings | |
#=============================================== | |
##rootのパスワード | |
ROOT_PASSWORD='hoge##123' | |
##追加する管理ユーザ名 |
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 | |
# Wordpress Automatic Install Script for NiftyCloud(CentOS 5.6 64bit Plain) | |
# 2012/01/01 @ysaotome | |
#=============================================== | |
# Wordpress Settings | |
#=============================================== | |
##MySQL管理ユーザのパスワード | |
MYSQL_ROOT_PASS='mysql##123' | |
##Wordpressデータベース名 |
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 | |
# Wget Api Clinet for NiftyCloud | |
# 2012/01/03 @ysaotome | |
#=============================================== | |
# Settings | |
#=============================================== | |
## 公開鍵 | |
ACCESS_KEY='hoge_accesskey' | |
## 秘密鍵 |
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 | |
# CentOS 6.0/6.2 64bit Plain setup script for NiftyCloud | |
# 2012/04/03 @ysaotome | |
#=============================================== | |
# Settings | |
#=============================================== | |
##rootのパスワード | |
ROOT_PASSWORD='hoge##123' | |
##追加する管理ユーザ名 |
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 | |
# Wordpress Automatic Install Script for NiftyCloud(CentOS 6.2 64bit Plain) | |
# 2012/04/03 @ysaotome | |
#=============================================== | |
# Wordpress Settings | |
#=============================================== | |
##MySQL管理ユーザのパスワード | |
MYSQL_ROOT_PASS='mysql##123' | |
##Wordpressデータベース名 |
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 | |
# Gitlab Automatic Install Script for NiftyCloud(CentOS 6.2 64bit Plain) | |
# 2012/04/04 @ysaotome | |
##パッケージのインストール | |
yum --enablerepo=remi-test,remi,epel,dag -y install apr-devel apr-util-devel byacc db4-devel gcc gcc-c++ gdbm-devel git glibc-devel libcurl-devel libicu-devel libxml2-devel libxslt libxslt-devel libyaml make mysql-devel ncurses-devel openssl-devel pcre-devel python-devel python-setuptools readline-devel redis sqlite-devel tcl-devel lib-devel libtool | |
/sbin/ldconfig | |
/sbin/chkconfig redis on | |
/sbin/service redis start |
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
#!/usr/bin/awk -f | |
BEGIN { | |
FS="##"; | |
print "digraph G {"; | |
print "\t\"0.0.0.0/0\" [label = \"インターネット\"];"; | |
} | |
$7 ~ /CIDR|IP|GRPNAME/ { | |
src = $8; | |
} |
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
<?php | |
//Facebook公式SDK(開発セット)を読み込む | |
require './facebook-php-sdk/src/facebook.php'; | |
//AppIDとAppSecretをFacebook Developer Centerにて取得して下さい。 | |
// https://developers.facebook.com/apps/ | |
//AppIDとAppSecretを設定してください。 | |
$facebook = new Facebook(array( | |
'appId' => 'APP ID', |
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
yum --enablerepo=rpmforge,epel,remi -y install gcc make zlib zlib-devel openssl-devel zsh | |
cd /usr/local | |
git clone git://github.com/sstephenson/rbenv.git rbenv | |
mkdir rbenv/shims rbenv/versions | |
chgrp -R groupname rbenv | |
chmod -R g+rwxXs rbenv | |
git clone git://github.com/sstephenson/ruby-build.git ruby-build | |
cd ruby-build | |
./install.sh |
OlderNewer