Skip to content

Instantly share code, notes, and snippets.

# -*- 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"
Configuration DSCPullServer
{
Import-DSCResource -ModuleName xPSDesiredStateConfiguration
Node localhost
{
WindowsFeature DSCService
{
Name = "DSC-Service"
Ensure = "Present"
Oracle VM VirtualBox Command Line Management Interface Version 4.3.16
(C) 2005-2014 Oracle Corporation
All rights reserved.

Usage:

  VBoxManage [<general option>] <command>
 
 
Configuration WebSiteConfigInstall
{
Node "192.168.56.103"
{
WindowsFeature IIS
{
Name = "Web-Server"
Ensure = "Present"
}
}
#!/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
@tsubakimoto
tsubakimoto / centos-mono-aspx-Vagrantfile
Created July 13, 2014 09:05
連載:MonoでOSSなASP.NET MVCアプリ:第1回 Mono×LinuxでASP.NET MVCを動かすまで (1/2) - @IT - http://www.atmarkit.co.jp/ait/articles/1303/15/news069.html
# -*- 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"
@tsubakimoto
tsubakimoto / centos-docker-Dockerfile
Last active August 29, 2015 14:03
【CentOS版】いまさら聞けないDocker入門(2):ついに1.0がリリース! Dockerのインストールと主なコマンドの使い方 (1/3) - @IT http://www.atmarkit.co.jp/ait/articles/1406/10/news031.html
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
@tsubakimoto
tsubakimoto / ubuntu-docker-Dockerfile
Last active August 29, 2015 14:03
いまさら聞けないDocker入門(2):ついに1.0がリリース! Dockerのインストールと主なコマンドの使い方 (1/3) - @IT http://www.atmarkit.co.jp/ait/articles/1406/10/news031.html
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
/* <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 {