checking --with-tlib argument... empty: automatic terminal library selection checking for tgetent in -ltinfo... no checking for tgetent in -lncurses... no checking for tgetent in -ltermlib... no checking for tgetent in -ltermcap... no checking for tgetent in -lcurses... no no terminal library found checking for tgetent()... configure: error: NOT FOUND! You need to install a terminal library; for example ncurses. Or specify the name of the librarywith --with-tlib.
wget https://www.openssl.org/source/openssl-1.1.0b.tar.gz tar zxf openssl-1.1.0b.tar.gz cd openssl-1.1.0b ./config --prefix=/usr --shared make make depend make test make install
先查看当前版本情况,做好备份。
1 2
openssl version mv /usr/bin/openssl /root/
替换,查看版本,重启nginx即可,若不行,可能还需要重新安装nginx。
1 2 3
ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl openssl version lnmp nginx reload
var exampleSocket = new WebSocket("ws://119.29.182.88:8000"); exampleSocket.onopen = function (event) { exampleSocket.send("亲爱的服务器!我连上你啦!"); }; exampleSocket.onmessage = function (event) { console.log(event.data); };
ips=("172.16.0.1""172.16.0.2""172.16.0.3") wwwroot=("app1""app2""api1""api2") for ip in${ips[*]} do for www in${wwwroot[*]} do echo$ip-$www; ssh $ip'cd /pathto/'$www'/ && git pull' done done