-
-
Save tazjel/5607752 to your computer and use it in GitHub Desktop.
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
# 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://[email protected]/byplayer/dot.zsh.d.git .zsh.d | |
cp .zsh.d/example.zshrc .zshrc | |
mkdir ~/projects/ | |
cd ~/projects/ | |
git clone https://[email protected]/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://[email protected]/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://[email protected]/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