Created
September 6, 2011 09:34
-
-
Save hdemon/1197122 to your computer and use it in GitHub Desktop.
Ubuntu initialize
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
# install with English | |
# Language Setting | |
# VMwareToolsは/tmpを作業ディレクトリにしない。再起動時に消えるので、上手くインストールが完了していない気がする。 | |
### basic package | |
sudo apt-get update | |
sudo apt-get install --yes zsh aptitude paco git subversion curl | |
alias aptt="aptitude" | |
alias g="git" | |
alias s="subversion" | |
alias ls="ls -a --color" | |
# 時刻合わせ | |
sudo apt-get install ntp | |
sudo perl -i -nle 'if(/server ntp.ubuntu.com/){for(1..3){print"server ntp.nict.jp"}}else{print;}' /etc/ntp.conf | |
# 不要なサービスを切る。 | |
sudo sysv-rc-conf bluetooth off | |
sudo sysv-rc-conf dns-clean off | |
sudo sysv-rc-conf pppd-dns off | |
sudo sysv-rc-conf speech-dispatcher off | |
sudo sysv-rc-conf usplash off | |
sudo sysv-rc-conf saned off | |
### GNOMEの設定変更 | |
# ディスプレイのスリープをオフにする。 | |
# $HOME/.gconf/apps/gnome-power-maneger/timeout/%gconf.xml の <entry name="sleep_display_ac" mtime="1315356689" type="int" value="0"/> 中の'value="?"'を0にする。 | |
### zsh | |
sudo git clone git://gist.github.com/1176191.git gist-1176191 | |
sudo mv ./gist-1176191/.zshrc ./ | |
sudo chown hdemon:hdemon ./.zshrc | |
# rootと作業用ユーザの両方にzshをセットする。 | |
sudo chsh -s /bin/zsh | |
chsh -s /bin/zsh | |
sudo rm -rf gist-1176191 | |
### Emacs | |
sudo apt-get install --yes emacs23 | |
alias e="emacs -nw" | |
# 設定 | |
sudo git clone git://gist.github.com/1197114.git gist-1197114 | |
sudo mv ./gist-1197114/e /usr/bin | |
sudo chmod 755 /usr/bin/e | |
sudo rm -rf gist-1197114 | |
# plugin | |
### Ruby | |
sudo git clone git://gist.github.com/1197384.git gist-1197384 | |
sudo mv ./gist-1197384/ruby-install.sh | |
rm -rf gist-1197384 | |
### MySQL | |
sudo git clone git://gist.github.com/1197378.git gist-1197378 | |
sudo bash ./gist-1197378/mysql-install.sh | |
rm -rf ./gist-1197378 | |
### EasyStroke マウスジェスチャソフト | |
sudo apt-get install g++ libboost-serialization-dev libgtkmm-2.4-dev libxtst-dev libdbus-glib-1-dev intltool xserver-xorg-dev | |
git clone git://github.com/thjaeger/easystroke.git | |
cd easystroke | |
make | |
sudo paco -D make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment