Nuc(D54250WYKH)に CoreOS をインストールし、Docker を触る

Nuc(D54250WYKH)に CoreOS をインストールし、Docker を触る CoreOS インストール ISO イメージダウンロード CoreOS ISO イメージを ここ からダウンロード または、以下コマンドで取得 $ curl -o core-os.iso http://alpha.release.core-os.net/amd64-usr/current/coreos_production_iso_image.iso?__hstc=112362075.27b09ada9633d5c4e4307490970e61ed.1421419603585.1421419603585.1421419603585.1&__hssc=112362075.1.1421419603585&__hsfp=4136096990 USB 起動ディスクの作成 Mac OS からUSB起動ディスク作成を行う場合は、以下コマンドで、ISO イメージを変換 $ hdiutil convert -format UDRW -o out.img coreos_production_iso_image.iso Mac 上の認識デバイスIDを確認 $ diskutil list USB アンマウント $ diskutil unmountDisk /dev/disk2 イメージ書き込み $ sudo dd if=out.img.dmg of=/dev/disk2 bs=1m USB 取り出し $ diskutil eject /dev/disk2 CoreOS を Nuc で起動 USB メモリから起動 insert usb disk. power on F10 連打! 起動した CoreOS の設定 パスワード変更...

2015-01-17 ·  2015-01-17 · 2 分 · 396 文字

Pandoc でマークダウンから docx へ変換する

Pandoc でマークダウンから docx へ変換する方法 pandoc "a.md" -t docx -o "a.docx"

2015-01-07 ·  2015-01-07 · 1 分 · 10 文字

Ubuntu 14.04 terminalからログオフする

Ubuntu 14.04 terminalからログオフする DISPLAY=:0 gnome-session-quit --logout --no-prompt

2014-11-28 ·  2014-11-28 · 1 分 · 7 文字

Ubuntu 14.04 で、ruby on rails passenger をインストールして apache 連携する

passenger インストール cd ~/ rbenv exec gem install passenger rbenv rehash passenger-install-apache2-module実行 rbenv exec passenger-install-apache2-module passenger-install-apache2-module 詳細 This installer will guide you through the entire installation process. It shouldn't take more than 3 minutes in total. Here's what you can expect from the installation process: 1. The Apache 2 module will be installed for you. 2. You'll learn how to configure Apache. 3. You'll learn how to deploy a Ruby on Rails application....

2014-11-14 ·  2014-11-14 · 4 分 · 755 文字

html ファイルから一括で markdown ファイルへ変換する

html から markdown へ変換する 使用したツールは、 html2text 前提条件 python インストール済み git インストール済み 変換する htmlファイルを用意する インストール git clone して実行するのみです。 cd works git clone https://github.com/aaronsw/html2text.git cd html2text ./html2text.py hogehoge.html >> hogehoge.md

2014-11-11 ·  2014-11-11 · 1 分 · 28 文字