Archive for: 四月 2019

nginx自动部署https证书

date 19 4月 2019 | category 学习笔记

let’s encrypt cd /home/data/app git clone https://github.com/letsencrypt/letsencrypt mkdir -p /home/data/data/html/.well-known/acme-challenge /home/data/app/letsencrypt/letsencrypt-auto certonly –email info@huairen.me -d huairen.me -d www.huairen.me –webroot -w ReadMore

学习笔记

date 13 4月 2019 | category 学习笔记

REDIS cd /home/data/soft wget http://download.redis.io/redis-stable.tar.gz tar zxvf redis-stable.tar.gz cd redis-stable make -j 4 make install PREFIX=/home/data/app/redis cp /home/data/soft/redis-stable/redis.conf /home/data/config/redis.conf cp /home/data/soft/redis-stable/redis.conf ReadMore