一、搜狗输入法:
- 读取源列表,更新软件本地软件列表:sudo apt-get update
- 安装或更新fcitx,libssh2-1依赖: sudo apt-get install fcitx libssh2-1
- 下载搜狗安装包:
wget "http://pinyin.sogou.com/linux/download.php?f=linux&bit=32" -O "sougou_32.deb"
wget "http://pinyin.sogou.com/linux/download.php?f=linux&bit=64" -O "sougou_64.deb"
- 安装: sudo dpkg -i sougou_64.deb
- 系统设置>语言支持>键盘输入方式系统 选择fcitx
- 注销,确认生效
二、vim & nerdtree & zsh:
- 安装vim:sudo apt-get install vim-gtk
- 安装插件管理工具:
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
- 安装nerdtree:
cd ~/.vim/bundle
git clone https://github.com/scrooloose/nerdtree.git
- 安装zsh&oh my zsh:
- zsh: sudo apt-get install zsh
- oh my zsh:
wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
- 将zsh替换bash:chsh -s /bin/zsh
- 重启生效(reboot)
- 然后就是配置这三个的个性参数了,本人比较懒,直接拷贝的别人的配置文件啦。。。。
- 对应目录:~/.vimrc ; ~/.zshrc ;
三、安装ruby & rails
四、virtualbox:
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib"'
sudo apt-get install virtualbox 4.3
五、安装mysql:
- 更新依赖: sudo apt-get update
- 安装mysql:sudo apt-get install mysql-server & mysql-client
六、安装nginx:
- 安装依赖的pcre:
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre2-10.21.tar.gz
tar -zxvf pcre2-10.21.tar.gz
sudo mv pcre2-10.21/ /usr/local/
cd /usr/local/pcre2-10.21
./configure
make & make install
- 安装nginx:
sudo apt-get install nginx 1.8.0
六、安装mongodb:
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
- echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
- sudo apt-get update
- sudo apt-get install -y mongodb-org
七、安装memcache:
sudo apt-get install memcached
memcached -d -m 128 -p 11211 -u root
八、安装redis:
sudo apt-get install redis-server