Linux: April 2014 Archives

speedtest-cli

user-pic
Vote 0 Votes

speedtest-cli
wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
chmod +x speedtest-cli

# speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from XXX (XXX.XXX.XXX.XXX)...
Selecting best server based on ping...
Hosted by Far Eastone Telecommunications Co., Ltd. (Taipei) [1.06 km]: 29.325 ms
Testing download speed........................................
Download: 92.40 Mbit/s
Testing upload speed..................................................
Upload: 91.83 Mbit/s

rpm -e openssl-devel # remove old version package

wget https://www.openssl.org/source/openssl-1.0.1g.tar.gz
tar zxf openssl-1.0.1g.tar.gz
cd openssl
./config
make
make test
make install

cd /your/httpd/dir
export LDFLAGS=-ldl
./configure --enable-ssl --with-ssl=/usr/local/ssl
make
make install

/usr/local/apache/bin/httpd -k restart # restart apache

curl -I localhost # using curl to check if OpenSSL updated, you'll see something like this
HTTP/1.1 200 OK
Date: Mon, 14 Apr 2014 07:09:20 GMT
Server: Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1g PHP/5.4.28
Content-Type: text/html; charset=iso-8859-1

ref. The Heartbleed Bug

About this Archive

This page is an archive of entries in the Linux category from April 2014.

Linux: January 2014 is the previous archive.

Linux: May 2014 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Linux: Monthly Archives

Monthly Archives