首页
关于
Search
1
一个好用的OneDrive网盘上传工具,支持文件和文件夹上传
882 阅读
2
MySQL数据库查看锁表解锁命令
856 阅读
3
在Ubuntu Linux上使用端口敲门保护SSH服务器
723 阅读
4
多种功能强大的BT离线下载程序Docker镜像及安装
553 阅读
5
unlock-music:支持解密网易云/QQ音乐的加密文件和ID3信息补全
537 阅读
默认
文档
资源
授权
登录
Search
标签搜索
Linux
Ubuntu
Nginx
SSL
Centos
OpenSSL
Git
Windows
Let’s Encrypt
acme.sh
Microsoft
KMS
qcloud
腾讯云
Docker
GOLANG
BBR
MySQL
HiYae.
累计撰写
42
篇文章
累计收到
0
条评论
首页
栏目
默认
文档
资源
授权
页面
关于
搜索到
29
篇与
文档
的结果
2022-04-20
Ubuntu 18.04源
1、阿里云源##阿里源 deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse2、中科大源##中科大源 deb https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse3、163源##163源 deb http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse4、清华源##清华源 deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse替换源cp /etc/apt/sources.list /etc/apt/sources.list.bak vim /etc/apt/sources.list sudo apt-get update
2022年04月20日
16 阅读
0 评论
0 点赞
2022-04-19
Nginx 访问控制
1、限制指定目录扩展名后缀location ~ ^/images/.*\.(php|php5|sh|pl|py)$ { deny all; } location ~ ^/static/.*\.(php|php5|sh|pl|py)$ { deny all; }2、禁止直接访问txt和doc文件location ~* \.(txt|doc)$ { if (-f $request_filename) { root /data/www/www; rewrite ^(.*) https://hiyae.com/ break; #可以重定向到某个URL; } } location ~* \.(txt|doc)$ { root /data/www/www; deny all; }3、禁止访问文件和目录#禁止访问的文件或目录 location ~ ^/(\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md) { return 404; }4、排除某个目录不受限制location ~ \.well-known{ allow all; }5、禁止访问单个目录的命令location ~ ^/(static)/ { deny all; } location ~ ^/static { deny all; }6、禁止访问多个目录的配置location ~ ^/(static|js) { deny all; }7、禁止目录让外界访问location ~ ^/mysql_loging/ { allow 192.168.1.2; deny all; } location ~ .*\.(php|php5)?$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } # 说明:该配置只允许IP 192.168.1.2 访问mysql_loging目录8、限制IP和IP段location / { deny 192.168.0.1; allow 192.168.1.0/16; allow 10.0.0.0/24; deny all; } # 说明:此限制是对某些IP做整个网站的限制访问。9、非指定域名访问跳转if ($host !~ ^www/.hiyae/.com$) { rewrite ^(.*) https://www.hiyae.com$1 permanent; }
2022年04月19日
19 阅读
0 评论
0 点赞
2022-04-18
1ZB、1EB、1PB 存储单位换算标准
1 Byte (B字节) = 8 bit1KB (Kilobyte千字节)= 1024 B1MB (Megabyte兆字节简称“兆”) = 1024 KB1GB (Gigabyte吉字节又称“千兆”) =1024 MB1TB ( Trillionbyte万亿字节太字节)= 1024 GB1PB(Petabyte千万亿字节拍字节)=1024 TB1EB (Exabyte百亿亿字节艾字节)= 1024 PB1ZB (Zettabyte 十万亿亿字节泽字节)= 1024 EB1YB (Yottabyte—亿亿亿字节尧字节)= 1024 ZB1BB (Brontobyte一千亿亿亿字节) = 1024 YB
2022年04月18日
51 阅读
0 评论
0 点赞
2022-04-15
设置Nginx referer实现重定向跳转和屏蔽跳转
1.禁止BING来路,直接404if ($http_referer ~ 'bing.com') { return 404; }2.百度和谷歌来路的都跳转到首页if ($http_referer ~* "www.baidu.com") { rewrite ^/(.*)$ https://hiyae.com redirect; } if ($http_referer ~* "www.google.com") { rewrite ^/(.*)$ https://hiyae.com redirect; }
2022年04月15日
22 阅读
0 评论
0 点赞
2022-04-14
Linux MySQL服务控制
1.重启MYSQL服务service mysqld restart2./etc/inint.d/mysqld restart2、停止MYSQL服务service mysqld stop或者/etc/inint.d/mysqld stop3、启动MYSQL服务service mysqld start或者/etc/inint.d/mysqld start4、重载MYSQL配置/etc/init.d/mysqld reload
2022年04月14日
37 阅读
0 评论
0 点赞
1
2
3
4
...
6