Skip to content

Instantly share code, notes, and snippets.

@satoryu
Created September 18, 2012 09:35
Show Gist options
  • Save satoryu/3742255 to your computer and use it in GitHub Desktop.
Save satoryu/3742255 to your computer and use it in GitHub Desktop.
ubuntu
# for ubuntu 11.10
sudo su root
apt-get install aptitude
aptitude install xubuntu-desktop zsh autotools-dev automake libtool \
libevent-dev libncurses5-dev zlib1g-dev libbz2-dev libyaml-dev \
libxml2-dev libxslt1-dev libreadline-dev xsel patch \
chromium-browser \
ibus-mozc mozc-server mozc-utils-gui \
exuberant-ctags \
emacs emacsen-common xfonts-shinonome python-xlib \
libterm-readkey-perl
cd /usr/local/src
wget https://raw.github.com/byplayer/docs/master/git/git-install.sh
chmod a+x git-install.sh
./git-install.sh
# exit root
exit
# config git
# https://github.com/byplayer/docs/blob/master/git/git_config.txt
# relogin xubuntu-session
# change shell to zsh
chsh -s /usr/bin/zsh
export PATH=/usr/local/git/bin:$PATH
cd ~/
git clone https://byplayer@github.com/byplayer/dot.zsh.d.git .zsh.d
cp .zsh.d/example.zshrc .zshrc
mkdir ~/projects/
cd ~/projects/
git clone https://byplayer@github.com/byplayer/dotfiles.git
cp dotfiles/ubuntu/.dir_colors ~/
cp dotfiles/ubuntu/.globalrc ~/
cp dotfiles/ubuntu/.ctags ~/
cp dotfiles/ubuntu/.tmux.conf ~/
mkdir -p ~/.config/Terminal
cp dotfiles/ubuntu/.config/Terminal/terminalrc ~/.config/Terminal/
# reopen terminal
cd ~/projects/
g clone https://byplayer@github.com/byplayer/tmux.git
cd tmux/tags/TMUX_1_6
sh ./autogen.sh
./configure --prefix=/usr/local/tmux
make
sudo make install
# -----------------------------
# global
# https://gist.github.com/1874186
# -----------------------------
# ruby
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
# restart shell
unset GREP_OPTIONS
rvm install ruby 1.9.3
rvm install ruby 1.9.2
rvm install ruby 1.8.7
# ssh key
ssh-keygen -t rsa -C ${USER}@`hostname`
# use mozc via i-bus
# change Input Method Switcher in Setting
# start Keyboard Input Method in Setting menu
# emacs
cd ~/
git clone https://byplayer@github.com/byplayer/dot.emacs.d.git .emacs.d
cd .emacs.d
g sm init
g sm update
cd elisp/rinari
g sm init
g sm update
cd ~/.emacs.d
g co -b local
emacs --batch --eval '(byte-compile-file "~/.emacs.d/elisp/js2/js2.el")'
# for dotcloud
aptitude install postgresql libpq-dev python-setuptools
sudo easy_install pip && sudo pip install dotcloud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment