Guest User

Untitled

a guest
Jan 22nd, 2018
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. # install with English
  2. # Language Setting
  3. # VMwareToolsは/tmpを作業ディレクトリにしない。再起動時に消えるので、上手くインストールが完了していない気がする。
  4.  
  5.  
  6. ### basic package
  7. sudo apt-get update
  8. sudo apt-get install --yes aptitude
  9. sudo aptitude -y install \
  10. zsh \
  11. aptitude \
  12. paco \
  13. git \
  14. subversion \
  15. curl
  16.  
  17. # 時刻合わせ
  18. sudo aptitude -y install ntp
  19. sudo perl -i -nle 'if(/server ntp.ubuntu.com/){for(1..3){print"server ntp.nict.jp"}}else{print;}' /etc/ntp.conf
  20.  
  21. # 不要なサービスを切る。
  22. sudo sysv-rc-conf \
  23. bluetooth off \
  24. dns-clean off \
  25. pppd-dns off \
  26. speech-dispatcher off \
  27. usplash off \
  28. saned off
  29.  
  30. ### GNOMEの設定変更
  31. # ディスプレイのスリープをオフにする。
  32. # $HOME/.gconf/apps/gnome-power-maneger/timeout/%gconf.xml の <entry name="sleep_display_ac" mtime="1315356689" type="int" value="0"/> 中の'value="?"'を0にする。
  33.  
  34.  
  35. ### zsh
  36. # rootと作業用ユーザの両方にzshをセットする。
  37. sudo git clone git://gist.github.com/1176191.git gist-1176191
  38. sudo cp ./gist-1176191/.zshrc /root
  39. sudo cp ./gist-1176191/.zshrc /home/hdemon
  40. sudo chown root:root /root/.zshrc
  41. sudo chown hdemon:hdemon /home/hdemon/.zshrc
  42. sudo chsh -s /bin/zsh
  43. chsh -s /bin/zsh
  44. sudo rm -rf gist-1176191
  45.  
  46. reboot
  47.  
  48.  
  49. ### Emacs
  50. sudo aptitude -y install emacs23
  51. # .emacs.d/以下の導入
  52. cd ~
  53. git clone git@github.com:hdemon/my-emacs.git
  54.  
  55.  
  56. ### Ruby
  57. sudo git clone git://gist.github.com/1197384.git gist-1197384
  58. sudo mv ./gist-1197384/ruby-install.sh
  59. sudo rm -rf gist-1197384
  60.  
  61.  
  62. ### MySQL
  63. sudo git clone git://gist.github.com/1197378.git gist-1197378
  64. sudo bash ./gist-1197378/mysql-install.sh
  65. sudo rm -rf ./gist-1197378
  66.  
  67.  
  68. ### EasyStroke マウスジェスチャソフト
  69. sudo aptitude -y install \
  70. g++ \
  71. libboost-serialization-dev \
  72. libgtkmm-2.4-dev \
  73. libxtst-dev \
  74. libdbus-glib-1-dev \
  75. intltool \
  76. xserver-xorg-dev
  77. sudo git clone git://github.com/thjaeger/easystroke.git
  78. cd easystroke
  79. make
  80. sudo paco -D make install
  81. git clone git://gist.github.com/1199606.git gist-1199606
  82. cp ./gist-1199606/easystroke.desktop /usr/share/applications
  83. sudo rm -rf ./gist-*
Add Comment
Please, Sign In to add comment