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
# 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 をインストールしたときのメモ。 |
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 | |
### 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 |
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 | |
ZONE=<Zone name> | |
ACCESS_KEY_ID=<NIFTY Cloud Access Key ID> | |
SECRET_KEY=<NIFTY Cloud Secret Key> | |
ENDPOINT=https://dns.api.cloud.nifty.com/2012-12-12N2013-12-16/hostedzone | |
# Generate signature version 2 | |
datetime=$(LC_ALL=en TZ='GMT' date "+%a, %d %b %Y %H:%M:%S %Z") |
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 + modify 2016/09/09 kato.yasutaka | |
#=============================================== | |
# Settings | |
#=============================================== | |
## 公開鍵 | |
ACCESS_KEY='XXXX' | |
## 秘密鍵 |
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
# EdgeOS v1.9 Google Fiber Config Script | |
# by Steve Jenkins (http://www.stevejenkins.com/) | |
# Last updated: Aug 14, 2016 | |
# Based on settings & scripts by Atlantisman, TK, and CompTech | |
# RUN THIS SCRIPT AS ROOT ON YOUR EDGEROUTER | |
# Script runs best if you copy and paste in sections | |
#______________________Basic Firewall Setup_______________________________ | |
configure |
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
* メモリはどれくらい載せたほうがよいか | |
16gbがおすすめ | |
8gbだとCPUの性能限界より先にメモリが足りなくなる | |
DBをいくつか載せたりファイルサーバーもVMとして載せたいなら32gbがよい | |
* GPUパススルー方法 | |
下記のカードをつける | |
AMD RADEON HD4xxx系 | |
AMD RADEON HD5xxx系 | |
AMD RADEON HD6xxx系 |
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
# 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 |
OlderNewer