Skip to content

Instantly share code, notes, and snippets.

@bluerabbit
Created March 4, 2013 14:06
Show Gist options
  • Save bluerabbit/5082434 to your computer and use it in GitHub Desktop.
Save bluerabbit/5082434 to your computer and use it in GitHub Desktop.
Raspberry Piを起動した時のメモ
@bluerabbit
Copy link
Author

sudo apt-get install zsh

@bluerabbit
Copy link
Author

# groupadd <グループ名>
# useradd -m -s /bin/zsh -g <グループ名> <ユーザ名>
# passwd <ユーザ名>
# sudo visudo

@bluerabbit
Copy link
Author

  • sudo apt-get -y install rbenv
  • sudo apt-get -y install ruby-build
  • rbenv install 2.0.0-p481
    • 相当時間かかるよ90分くらい
  • rbenv rehash
  • rbenv global 2.0.0-p481

http://qiita.com/inouet/items/478f4228dbbcd442bfe8
http://blog.pedrocarrico.net/post/29478085586/compiling-and-installing-ruby-on-the-raspberry-pi-using

TMP_SIZE=256m
sudo raspi-configでoverclockしてみた

@bluerabbit
Copy link
Author

無線LANクライアントのアダプタ買えば無線LANもつかえるぽい
http://d.hatena.ne.jp/pasela/20121224/raspi_wlan
http://goo.gl/0HN5f

@bluerabbit
Copy link
Author

sudo apt-get install git

@bluerabbit
Copy link
Author

sudo gem update --system
sudo gem update
sudo gem install bundler

@bluerabbit
Copy link
Author

sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison ruby1.9.1-dev

@bluerabbit
Copy link
Author

%cat Gemfile

source 'https://rubygems.org'

gem 'rake', '0.9.2'
gem 'activesupport'

# scraping
gem 'nokogiri'
gem 'mechanize'

# database
gem 'sqlite3'
gem 'activerecord'
# debug
gem 'pry'

@bluerabbit
Copy link
Author

sudo apt-get install tmux

wget https://raw.github.com/bluerabbit/dotfiles/master/dot.tmux.conf
mv dot.tmux.conf .tmux.conf
vi .tmux.conf

@bluerabbit
Copy link
Author

wget https://raw.github.com/bluerabbit/dotfiles/master/dot.gitconfig
mv dot.gitconfig .gitconfig
vi .gitconfig

@bluerabbit
Copy link
Author

@bluerabbit
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment