Last active
January 6, 2017 05:42
-
-
Save narusemotoki/9700852 to your computer and use it in GitHub Desktop.
wget 'https://gist.github.com/narusemotoki/9700852/raw/vp11_setup_ubuntu.sh'; bash vp11_setup_ubuntu.sh
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
#!/bin/bash | |
cd ~ | |
echo "apt-getを使用するためにパスワードを入力" | |
sudo apt-get update | |
sudo apt-get install -y zsh | |
echo "シェルをzshに変更するためにパスワードを入力" | |
chsh -s /bin/zsh | |
sudo apt-get install -y chromium-browser indicator-multiload guake fonts-vlgothic ibus-mozc unity-tweak-tool compizconfig-settings-manager indicator-cpufreq | |
# ウィンドウ操作 | |
sudo apt-get install -y wmctrl xwit | |
indicator-multiload & | |
indicator-cpufreq & | |
sudo apt-get install -y emacs24 emacs-mozc git byobu python-pip pyflakes bpython sqlite3 curl openssh-server | |
# pythonzでPythonをインストールしたときにSQlite3、SSLを使用できるようにするため | |
sudo apt-get install -y libsqlite3-dev libssl-dev libncurses5-dev | |
# Emacsで使ったり、全体で使ったり、プロジェクトに依存しないPythonパッケージ | |
sudo pip install virtualenv virtualenvwrapper epc jedi | |
# Pythonz | |
curl -kL https://raw.github.com/saghul/pythonz/master/pythonz-install | bash | |
# SSH | |
ssh-keygen -t rsa | |
echo "----------" | |
cat .ssh/id_rsa.pub | |
echo "----------" | |
# git cloneできるようにする | |
echo "GitHubに貼付け" | |
read INPUT | |
git clone [email protected]:narusemotoki/.emacs.d.git | |
git clone [email protected]:narusemotoki/dotfiles.git | |
bash dotfiles/setup.sh | |
sudo apt-get dist-upgrade -y | |
# キーバインドをEmacsにする | |
gsettings set org.gnome.desktop.interface gtk-key-theme Emacs | |
echo "再起動します" | |
read INPUT | |
sudo reboot | |
# guakeの自動起動 | |
# bash -c 'sleep 5s; guake' | |
# CapsLkをCtrlにする | |
# /etc/default/keyboard to: XKBOPTIONS="ctrl:nocaps" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment