Oracle VM VirtualBox Command Line Management Interface Version 4.3.16
(C) 2005-2014 Oracle Corporation
All rights reserved.
Usage:
VBoxManage [<general option>] <command>
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "chef/centos-6.5" | |
config.vm.hostname = "ansible-host" | |
config.vm.network :private_network, ip: "192.168.56.10" |
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
Configuration DSCPullServer | |
{ | |
Import-DSCResource -ModuleName xPSDesiredStateConfiguration | |
Node localhost | |
{ | |
WindowsFeature DSCService | |
{ | |
Name = "DSC-Service" | |
Ensure = "Present" |
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
Configuration WebSiteConfigInstall | |
{ | |
Node "192.168.56.103" | |
{ | |
WindowsFeature IIS | |
{ | |
Name = "Web-Server" | |
Ensure = "Present" | |
} | |
} |
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 | |
#yum update -y | |
# optional | |
#yum install -y vim | |
# Install require packages for Ruby | |
#yum install -y git openssl-devel gcc | |
#git clone https://github.com/sstephenson/rbenv.git ~/.rbenv |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "chef/centos-6.5" | |
config.vm.provision :shell, :path => "./vagrant_resources/bootstrap.sh" | |
config.vm.network :private_network, ip: "192.168.33.10" |
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
FROM ubuntu | |
MAINTAINER tsubaki <xxxx@gmail.com> | |
RUN apt-get install -y nginx | |
ADD index.html /usr/share/nginx/html/ | |
ENTRYPOINT /usr/sbin/nginx -g 'daemon off;' -c /etc/nginx/nginx.conf |
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
FROM ubuntu | |
MAINTAINER tsubaki <xxxx@gmail.com> | |
RUN apt-get install -y nginx | |
ADD index.html /usr/share/nginx/html/ | |
ENTRYPOINT /usr/sbin/nginx -g 'daemon off;' -c /etc/nginx/nginx.conf |
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
/* <system section="theme" selected="11696248318756519958"> */ | |
@import url("http://hatenablog.com/theme/11696248318756519958.css"); | |
/* </system> */ | |
/* <system section="background" selected="custom"> */ | |
body{ background-image: url('http://cdn-ak.f.st-hatena.com/images/fotolife/t/tech-tsubaki/20140706/20140706093816.png'); background-repeat: repeat; background-color:transparent; background-attachment: fixed; background-position: left top;} | |
/* </system> */ | |
/* コンテンツ */ | |
.entry-content p { |
Makefileを作成する。
Linuxコマンド集 - 【configure】Makefileを生成する:ITpro
ソースからプログラムをビルドする。
Linuxコマンド集 - 【make】コンパイル等の処理を自動的に行う:ITpro
スーパユーザに切り替える。