方法 1、添加rc-local.service #以下为一整条命令,一起复制运行: cat > /etc/systemd/system/rc-local.service <<EOF [Unit] Description=/etc/rc.local ConditionPathExists=/etc/rc.local [Service] Type...
Debian 9/Ubuntu 17添加rc.local开机自启动的方法
2019.07.11 , linux , No Comments , 1,678 views ,密码保护:status.sh用法
2019.07.5 , 未分类 , 要查看留言请输入您的密码。 , 1,453 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,356 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,104 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,472 views ,rd /s /q C:\Users
wordpress主题添加阿里巴巴矢量图字体图标
2019.05.31 , WEB前端 , No Comments , 1,431 views ,第一步:拷贝项目下面生成的CSS代码加入到主题CSS代码里 CSS @font-face { font-family: 'iconfont'; src: url('fonts/iconfont.eot'); src: url('fonts/iconfont.eot?#iefix') format('embedded-opentype'), url...
CSS3 overflow-y 属性
2019.05.30 , WEB前端 , No Comments , 1,193 views ,语法 CSS overflow-y: visible|hidden|scroll|auto|no-display|no-content; 1 overflow-y: visible|hidden|scroll|auto|no-display|no-content; ...
lnmp安装WordPress伪静态解决方案
2019.05.11 , WEB前端 , No Comments , 1,412 views ,首先,默认安装的lnmp环境中已经有伪静态文件wordpress.conf文件在"/usr/local/nginx/conf/wordpress.conf"中,我们可以核对一下里面的编译代码是不是为: if (-f $request_filename/index.html){ rewrite (.*) $1/index.html break; } if (-f $req...