![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
文章平均质量分 54
月亮不亮哎
菜到抠脚的小小白
展开
-
Unit mysqld.service could not be found.
MySQL is not running, but lock file (/var/lock/subsys/mysql) exists ,进入目录删除掉 (/var/lock/subsys/mysql) mysqld 文件即可。云服务器部署mysql 5.7 之后只能使用 mysqld 命令启停,如果使用。4. 关闭之前正在运行的mysql (如果mysql 没启动忽略次步骤)3. 修改mysqld 内的mysql具体文件地址。1.找到mysql的 mysql.server文件。原创 2023-06-23 16:36:37 · 2759 阅读 · 0 评论 -
jenkins +gitlab+maven 持久化集成部署
jenknis +gitlab +springboot 持久化集成发布原创 2023-02-27 14:49:03 · 807 阅读 · 0 评论 -
springCloudAlibaba 整合Nacos
spring原创 2022-11-08 13:15:52 · 246 阅读 · 0 评论 -
xxx.jar中没有主清单属性 没有主清单属性
java -jar xxx.jar. 无法正常运行原创 2022-11-07 18:44:58 · 119 阅读 · 0 评论 -
linux部署 ElasticSearch 踩坑记录
elasticSearch 启动失败问题记录原创 2022-11-04 16:57:09 · 1582 阅读 · 0 评论 -
Nginx 同时运行多个服务
版本: nginx-1.9.9编辑nginx.conf 配置文件,复制出一个新的 server 保证端口不冲突即可服务一:服务二:然后保存,重启nginx 即可。验证成功!!!原创 2022-02-07 17:33:09 · 2857 阅读 · 0 评论 -
linux 部署 k8s 集群
1.关闭防火墙systemctl stop firewalldsystemctl disable firewalld2.关闭selinuxsed ‐i 's/enforcing/disabled/' /etc/selinux/config # 永久关闭setenforce 0 # 临时关闭 3、关闭 swap swapoff ‐a # 临时关闭 vim /etc/fstab # 永久关闭 #注释掉swap这行 # /dev/mapper/centos‐...原创 2021-10-13 17:06:23 · 390 阅读 · 0 评论 -
Linux 部署 rabbitmq 踩坑记录
一:开启管理界面及配置 执行: rabbitmq-plugins enable rabbitmq_managementPlugin configuration unchanged.Applying plugin configuration to rabbit@k8s-node2... failed.* Could not contact node rabbit@k8s-node2. Changes will take effect at broker restar...原创 2021-09-24 16:11:16 · 849 阅读 · 0 评论 -
linux 系统给普通用户添加root权限
第一步:vi /etc/sudoers第二步: 找到root 行 ,往下添加 (devops 用户) ,保存即可 devops ALL=(ALL) ALL原创 2021-08-18 10:04:07 · 257 阅读 · 0 评论 -
kubenetes 集群服务 断电重启--故障解决
一:异常现象:kubeadm reset 之后 , kubectl 所有命令 都报异常The connection to the server 10.168.0.176:6443 was refused - did you specify the right host or port? 解决方案:1.执行以下命令kubeadm init --image-repository=registry.aliyuncs.com/google_containers --pod-...原创 2021-08-10 18:52:30 · 597 阅读 · 0 评论 -
centos7.5 -bash: telnet: 未找到命令
在安装Telnet前先检查系统是否安装了telnet-server和xinetd一:在安装Telnet前先检查系统是否安装了telnet-server和xinetdrpm -qa telnet-serverrpm -qa xinetd二:如果没有安装,则开始安装,安装之前先查找Telnet的安装包yum list | grep telnet-serveryum list | grep xinetd执行安装,由于安装部分不方便截图,因此没有截;正常情况执行以下命令后会安装成功,如不转载 2021-07-31 19:19:22 · 6043 阅读 · 0 评论 -
http://mirrors.aliyun.com/docker‐ce/linux/centos/docker‐ce.repo to [Errno 14]
Could not fetch/save url http://mirrors.aliyun.com/docker‐ce/linux/centos/docker‐ce.repo to file /etc/yum.repos.d/docker‐ce.repo: [Errno 14] HTTP Error 404 - Not Found解决方案步骤:1.cd /etc/yum.repos.d国内无法连接docker默认的境外地址,删除docker相关的repo文件即可2. rm -..转载 2021-07-31 12:08:54 · 2013 阅读 · 0 评论 -
springboot 及mysql数据库时区问题解决方案
一:在appliation.yml 文件中 的url 链接后 添加&serverTimezone=GMT%2B8原创 2021-06-11 11:17:37 · 368 阅读 · 2 评论