会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Nihaorz
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
14
15
16
17
18
19
20
21
22
···
39
下一页
2020年12月30日
基于嵌入式jetty制作的文件服务器 jetty-file-server.jar
摘要: jar包下载地址:https://files.cnblogs.com/files/nihaorz/jetty-file-server.zip,主要用于局域网内的文件分享,从电脑硬盘下载电影到手机上播放(nginx处理中文目录比较麻烦) # 解压zip包获取 jetty-file-server.jar
阅读全文
posted @ 2020-12-30 09:49 Nihaorz
阅读(172)
评论(0)
推荐(0)
2020年12月29日
firewall 端口转发
摘要: (1) 开启伪装IP # 加 permanent 参数代表reload后永久生效,不加则临时生效不用reload firewall-cmd --add-masquerade --permanent (2) 配置端口转发,将到达本机的33389端口的访问转发到另一台服务器的3389端口。 # 加 pe
阅读全文
posted @ 2020-12-29 21:13 Nihaorz
阅读(1473)
评论(0)
推荐(1)
2020年12月21日
Docker运行nginx文件服务器详细配置
摘要: nginx.conf user root; worker_processes 1; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; events { worker_connections 1024; } http {
阅读全文
posted @ 2020-12-21 12:26 Nihaorz
阅读(1560)
评论(0)
推荐(0)
2020年9月14日
DNS记录
该文被密码保护。
阅读全文
posted @ 2020-09-14 10:30 Nihaorz
阅读(2)
评论(0)
推荐(0)
2020年9月9日
CAS对接华为云SAML,作为idp断言提供者(也称身份提供商)
摘要: 基于cas-overlay-template(https://github.com/apereo/cas-overlay-template)5.3分支代码 1、新增maven依赖 <dependency> <groupId>org.apereo.cas</groupId> <artifactId>c
阅读全文
posted @ 2020-09-09 12:11 Nihaorz
阅读(1792)
评论(0)
推荐(0)
2020年9月1日
nginx上传文件超过限制大小、响应超时、反向代理请求超时等问题解决
摘要: 1、文件大小超过限制 错误信息:413 Request Entity Too Large 错误截图: 相关配置: client_max_body_size: Syntax: client_max_body_size size; Default: client_max_body_size 1m; Co
阅读全文
posted @ 2020-09-01 16:57 Nihaorz
阅读(6971)
评论(1)
推荐(1)
2020年8月26日
SpringBoot程序启动后自动打开浏览器
摘要: package com.nihaorz.docker.console; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplica
阅读全文
posted @ 2020-08-26 13:54 Nihaorz
阅读(2889)
评论(0)
推荐(1)
2020年8月24日
git设置代理模式,仅为github设置代理
摘要: 设置代理: 全局代理 git config --global http.proxy 127.0.0.1:1087 局部代理,在github clone 仓库内执行 git config --local http.proxy 127.0.0.1:1087 (127.0.0.1:1087 这个地址是我翻
阅读全文
posted @ 2020-08-24 16:11 Nihaorz
阅读(2192)
评论(0)
推荐(0)
2020年8月12日
docker镜像处理命令格式化工具 docker-command-format.html
摘要: 使用本工具填入docker镜像的名称,一键生成docker tag、docker push和docker pull命令,适用于单个或者批量的docker指令处理 预览图如下: docker-command-format.html源代码如下: <!DOCTYPE html> <html lang="e
阅读全文
posted @ 2020-08-12 17:26 Nihaorz
阅读(641)
评论(0)
推荐(0)
2020年8月7日
envsubst批量替换环境变量实现配置文件自动修改
摘要: 创建test.txt cat << EOF > test.txt HOME = \${HOME} PATH = \${PATH} API_URL = \${API_URL} EOF 查看test.txt文件内容如下: HOME = ${HOME} PATH = ${PATH} API_URL = $
阅读全文
posted @ 2020-08-07 18:03 Nihaorz
阅读(3581)
评论(0)
推荐(1)
上一页
1
···
14
15
16
17
18
19
20
21
22
···
39
下一页
公告