博文

目前显示的是 一月, 2018的博文

Ubuntu 16.04: Redis installation

Step 1: Install Redis: >sudo apt-get install redis-server Step 2: Configuration >sudo vim /etc/redis/redis.conf Change the following lines maxmemory 128mb maxmemory-policy allkeys-lru Step 3: Restart service sudo service redis restart Step 4: You may try the following commands to see if the redis is working properly Monitor redis-cli monitor Command line tool redis-cli Clean cache flushall

Connecting via shadowsocks socks5h via Linux command line

Please note that here we use socks5h instead of socks5. socks5h is a specified version of socks5 which means solve host name via proxy too. export http_proxy="socks5h://192.168.31.114:1081" export https_proxy=$http_proxy