tag : linux

lnmp for ubuntu

nginx123456wget -c http://nginx.org/download/nginx-1.9.3.tar.gztar -zxvf nginx-1.9.3.tar.gzcd nginx-1.9.3./configure --prefix=/usr/local/web/nginxmake sudo make install 配置1sudo vi /usr/local/web/ngin

ubuntu shadowsocks polipo 全局代理

ubuntu+shadowsocks+polipo做全局代理安装shadowsocks123sudo apt-get install python-pipsudo pip install shadowsocks 启动方式123sslocal -s 222.22.2.2 -p 222 -b 127.0.0.1 -l 1080 -k pass -t 600 -m aes-256-cfb# orssl

Complied nodejs in ubuntu

在ubuntu中配置node环境下载123wget https://nodejs.org/dist/v0.12.7/node-v0.12.7.tar.gztar -zxvf node-v0.12.7.tar.gzcd node-v0.12.7 编译123./configuremakesudo make install 测试12node -vnpm -v 当前版本 npm是直接集成在node源文件

解决ubuntu下sublime text 3无法输入中文

can’t input chinese to sublime of ubuntu测试环境 ubuntu 14.04 搜狗输入法 for linux Sublime Text 3 依赖 libgtk2.0-dev 1sudo apt-get install libgtk2.0-dev 编译共享库1vi sublime_imfix.c 讲下面代码写入 sublime_imfix.c 123456