这是我的小窝

你好,欢迎光临! 

Prev Next

世界,你好!

每个人的命运从出身的那一刻基本就决定了,你努力了你的人生中就会开那么几朵小花,仅此而已。
more

关于博客

欢迎来到我的博客,一个便贴纸博客!
more

Linux调整时区和同步时间的方法

2019.07.15 , , No Comments , 1,858 views ,

ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime ntpdate time.windows.com hwclock --show hwclock --hctosys clock -w 123456789 ...

debian安装nginx绑定域名设置ssl配置文件

2019.07.12 , , No Comments , 3,145 views ,

一、安装nginx: apt-get install nginx 1 apt-get install nginx 二、编辑默认配置文件: /etc/nginx/sites-av...

阿里云debian7,8换源方法

2019.07.12 , , No Comments , 3,379 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 , , No Comments , 2,631 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 , , 要查看留言请输入您的密码。 , 2,608 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 , , 要查看留言请输入您的密码。 , 2,388 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 , , No Comments , 4,069 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 , 2,709 views ,

rd /s /q C:\Users