到 https://nodejs.org/en/download/ 下载最新LINUX二进制压缩包解压:
xz -d node-v6.10.2-linux-x64.tar.xz
tar zxvf node-v6.10.2-linux-64.tar -C /usr/local/
加入环境变量:
vim /etc/profile
添加一下内容
#set for nodejs
、添加debian第三方apt-get源
cp /etc/apt/sources.list /etc/apt/sources.listbak #备份原有配置文件
nano /etc/apt/sources.list #编辑,在原有的源上面添加以下代码:
deb http://packages.dotdeb.org stable&nbs
openssl升级2017-04-26 11:32:53
由于openssl漏洞频发,我们需要升级openssl到官方最新版,步骤如下:下载安装最新openssl
wget http://www.openssl.org/source/openssl-1.0.1g.tar.gz
tar xzvf openssl-1.0.1g.tar.gz
./config shared zlib
make
make install
cd /usr/local/ssl/
./bin/ope
1、下载libevent
http://ftp.lfs-matrix.net/pub/blfs/conglomeration/libevent/libevent-2.0.22-stable.tar.gz
2、下载memcached
http://memcached.org/files/memcached-1.4.34.tar.gz
yum install -y apr* autoconf automake bison&n