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 | |
# Description:EC-CUBE3 Setup with CentOS 7.1 64bit Plain for NiftyCloud (http://cloud.nifty.com/) | |
# DBサーバ用ファイル | |
# 2016/06/01 @ysaotome | |
( | |
#=============================================== | |
# Settings | |
#=============================================== | |
##追加する管理ユーザ名 |
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 | |
# Description:CentOS 7.1 64bit Plain Cloud Init Script for NiftyCloud (http://cloud.nifty.com/) | |
# 2016/09/30 @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
LXC環境セットアップ時のメモ | |
Ubuntu 14.04ホストセットアップ | |
下記を設定 | |
https://gist.github.com/ysaotome/cdc02c05425e01abc500 | |
LXCセットアップ | |
http://www.server-world.info/query?os=Ubuntu_14.04&p=lxc&f=1 |
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 | |
# setup NIFTY Cloud API Tools | |
( | |
USER=${USER} | |
HOME=${HOME} | |
ARC=$(/bin/uname -m) | |
## OpenJDKセットアップ | |
/usr/bin/yum -y install java-1.6.0-openjdk.${ARC} |
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 | |
LOGS_DIR='/var/www/html/logs' | |
THUMBNAIL_BIG_DIR='/var/www/html/thumbnail_big' | |
THUMBNAIL_SMALL_DIR='/var/www/html/thumbnail_small' | |
SCREEN_NUM=${2} | |
for i in `awk '{print $1}' < $1` | |
do |
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 | |
# Description:Ubuntu 14.04 64bit Plain setup script for NiftyCloud (http://cloud.nifty.com/) | |
# File:Ubuntu1404_64bit_Plain_setup_script_for_niftycloud.sh | |
# 2014/07/10 @ysaotome | |
( | |
#=============================================== | |
# Settings | |
#=============================================== | |
##rootのパスワード |
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/zsh | |
# pyenv install for CentOS 6.5 x86_64 | |
yum install -y gcc gcc-c++ make git patch openssl-devel zlib-devel readline-devel sqlite-devel bzip2-devel | |
git clone git://github.com/yyuu/pyenv.git ~/.pyenv | |
export PATH="$HOME/.pyenv/bin:$PATH" | |
eval "$(pyenv init -)" |
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 | |
## install fontforge | |
brew install fontforge | |
##mkdir work | |
mkdir ~/.Trash/ricty | |
cd ~/.Trash/ricty | |
## get fontfiles |
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 -x | |
# Description:L2TP/IPsec for CentOS 6.5 64bit | |
# 2014/01/06 @ysaotome | |
( | |
### setting | |
/bin/cat << _SECRETS_ > /tmp/SECRETS_TMP.txt | |
#============================================== | |
# username auth_server password auth_ipaddress | |
"hoge001" "xl2tpd" "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 -x | |
# Description:PPTP for CentOS 6.4 64bit | |
# 2013/07/28 @ysaotome | |
( | |
### setting | |
/bin/cat << _SECRETS_ > /tmp/SECRETS_TMP.txt | |
#==============================================\n | |
# username auth_server password auth_ipaddress\n | |
"hoge001" "pptpd" "hoge##123" *\n |
NewerOlder