ubuntu 初始化
sudo add-apt-repository ppa:tualatrix/ppa -y&&sudo add-apt-repository ppa:teejee2008/ppa -y&&sudo add-apt-repository ppa:chris-lea/node.js -y&&
sudo apt-get update&&sudo apt-get install conky-manager&&sudo apt-get install git gitk xchat vim-gnome w3m htop freemind curl ubuntu-tweak libxml2
libxslt1.1
libxml2-dev p7zip-rar
libxslt1-dev
python-libxml2
python-libxslt1
python-dev
python-software-properties python g++ make
nodejs
r-base r-base-dev ruby-bundler rake -y
&&sudo apt-get -y install apache2&&sudo apt-get -y install mysql-server libapache2-mod-auth-mysql php5-mysql&&sudo apt-get -y install php5 libapache2-mod-php5 php5-mcrypt&& sudo apt-get install -y chromium-browser ipython python-pip tree flashplugin-installer&&sudo pip install tornado&& sudo apt-get install build-essential linux-headers-$(uname -r) make gcc autoconf -y &&sudo pip install lxml&&gsettings set org.gnome.gedit.preferences.encodings auto-detected "['UTF-8','GB18030','GB2312','GBK','BIG5','CURRENT','UTF-16']"&¬ify-send 'over'
vim edit the readonly file
:w !sudo tee %