上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 52 下一页
摘要: 一、防火墙的开启、关闭、禁用命令 (1)设置开机启用防火墙:systemctl enable firewalld.service (2)设置开机禁用防火墙:systemctl disable firewalld.service (3)启动防火墙:systemctl start firewalld ( 阅读全文
posted @ 2022-10-13 08:17 创客未来 阅读(299) 评论(0) 推荐(0)
摘要: 参考:https://gitee.com/xuhanga/study_hard 阅读全文
posted @ 2022-10-11 19:24 创客未来 阅读(115) 评论(0) 推荐(0)
摘要: 在linux服务器上运行Jar文件时通常的方法是: java -jar test.jar 这种方式特点是ssh窗口关闭时,程序中止运行.或者是运行时没法切出去执行其他任务,有没有办法让Jar在后台运行呢: 方法一: nohup java -jar test.jar & //nohup 意思是不挂断运 阅读全文
posted @ 2022-10-11 19:23 创客未来 阅读(373) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/weixin_43965143/article/details/107670047 阅读全文
posted @ 2022-10-11 19:12 创客未来 阅读(94) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/m0_51431448/article/details/124101378?spm=1001.2101.3001.6650.4&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault% 阅读全文
posted @ 2022-10-11 19:11 创客未来 阅读(18) 评论(0) 推荐(0)
摘要: 一、创建TCP服务器创建TCP服务器的流程: 使用socket创建一个套接字使用bind绑定IP和端口使用listen让套接字变成可以被动连接使用accept等待客户端的连接使用recv/send接收和发送数据例子:我们实现一个服务器向浏览器发送“Hello World”。创建一个server.py 阅读全文
posted @ 2022-10-05 05:14 创客未来 阅读(152) 评论(0) 推荐(0)
摘要: 本人以下操作是在虚拟机上进行 1.安装依赖包 //一键安装上面四个依赖 yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel 2.下载并解压安装包 //创建一个文件夹 cd /usr/local mkdir nginx 阅读全文
posted @ 2022-09-02 14:05 创客未来 阅读(741) 评论(0) 推荐(0)
摘要: SpringCloud Alibaba引用Nacos配置中心,读取数据源配置,在调试运行都正常,但是打包后在启动运行则会报错,提示读取配置失败巴拉巴拉。 执行运行命令 java -jar -Dserver.port=7002 provider-weather-collection.jar 提示Spr 阅读全文
posted @ 2022-09-02 13:19 创客未来 阅读(1195) 评论(0) 推荐(0)
摘要: 第一个问题: [alert] could not open error log file: CreateFile() “logs/error.log” failed (3: The system cannot find the path specified)(上文大致意思为) 不能打开error日志 阅读全文
posted @ 2022-09-02 13:04 创客未来 阅读(2465) 评论(0) 推荐(0)
摘要: 在开发中以前用的是application.yml是可以注册到nacos服务中的,但是改成bootstrap配置后却注册不了服务了。解决方案就是在pom中引入 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>s 阅读全文
posted @ 2022-08-30 15:14 创客未来 阅读(135) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 52 下一页