一、安装nginx: apt-get install nginx 1 apt-get install nginx 二、编辑默认配置文件: /etc/nginx/sites-av...
debian安装nginx绑定域名设置ssl配置文件
2019.07.12 , linux , No Comments , 2,595 views ,阿里云debian7,8换源方法
2019.07.12 , linux , No Comments , 2,777 views ,debian7源: deb http://mirrors.ustc.edu.cn/debian/ stable main contrib non-free deb http://mirrors.ustc.edu.cn/debian/ stable-updates main contrib non-free deb http://mirrors.ustc.edu.cn/de...
Debian 9/Ubuntu 17添加rc.local开机自启动的方法
2019.07.11 , linux , No Comments , 2,140 views ,方法 1、添加rc-local.service #以下为一整条命令,一起复制运行: cat > /etc/systemd/system/rc-local.service <<EOF [Unit] Description=/etc/rc.local ConditionPathExists=/etc/rc.local [Service] Type...
密码保护:status.sh用法
2019.07.5 , 未分类 , 要查看留言请输入您的密码。 , 1,843 views ,crontab -e 自动任务加入以下: */5 * * * * /root/xxx/status.sh check_status 开机启动加入以下: bash /root/xxx/status.sh check_status 以下的内容只是备份,不好记就记录标记注明。给脚本改一下权限,执行的时候带上这几个参数中的其中几个。监控的话就在crontab里设置下就行了。 status.sh脚本内容: ...
密码保护:V2+WebSocket+TLS+Web配置模板
2019.07.5 , 未分类 , 要查看留言请输入您的密码。 , 1,690 views ,域名配置文件里 location /ray { proxy_redirect off; proxy_pass http://127.0.0.1:8300; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; pr...
pip安装缺少openssl和libssl解决办法
2019.06.18 , linux , No Comments , 3,537 views ,pip安装最后报错提示: cffi.ffiplatform.VerificationError: importing '/usr/lib/python2.7/dist-packages/cryptography/_Cryptography_cffi_813c10e0x7adb75f8.x86_64-linux-gnu.so': /usr/lib/python2.7/dist-...
windows下使用命令快速有效的删除大文件夹
2019.06.11 , 未分类 , No Comments , 1,822 views ,rd /s /q C:\Users
wordpress主题添加阿里巴巴矢量图字体图标
2019.05.31 , WEB前端 , No Comments , 1,882 views ,第一步:拷贝项目下面生成的CSS代码加入到主题CSS代码里 CSS @font-face { font-family: 'iconfont'; src: url('fonts/iconfont.eot'); src: url('fonts/iconfont.eot?#iefix') format('embedded-opentype'), url...