1.mysql启动关闭流程 1.启动数据库 1.systemctl start mysql 2./etc/init.d/mysqld start 3.mysqld_safe --defaults-file=/etc/my.cnf 4.mysqld --defaults-file=/etc/my.cn ...
分类:
数据库 时间:
2020-07-13 15:19:36
阅读次数:
73
问题:老是关闭防火墙太麻烦,所以选择彻底关闭防火墙,发现每次都记不住命令! 下面是red hat/CentOs7关闭防火墙的命令! 1:查看防火状态 systemctl status firewalld service iptables status 2:暂时关闭防火墙 systemctl stop ...
分类:
其他好文 时间:
2020-07-13 13:23:13
阅读次数:
87
系统环境要求 centos7,yum源正常使用,ip设置为:192.168.8.201; LAMP环境配置 ###软件环境设置systemctl disable firewalld;systemctl stop firewalld;systemctl status firewalldsetenfor ...
分类:
Web程序 时间:
2020-07-12 16:54:30
阅读次数:
66
重启了centos后,发现k8s没有正常启动 # kubectl get nodes 提示无法正常连接,查看k8s是否正常启动 # systemctl status kubelet 提示:Active: activating (auto-restart) (Result: exit-code) 查看 ...
分类:
其他好文 时间:
2020-07-12 14:43:02
阅读次数:
141
[root@kunpeng82 mininet]# ls /lib/systemd/system/zebra.service /lib/systemd/system/zebra.service [root@kunpeng82 mininet]# vi /lib/systemd/system/zebr ...
分类:
其他好文 时间:
2020-07-12 14:15:10
阅读次数:
68
systemctl命令: 1、启动防火墙 systemctl start firewalld.service 或 systemctl start firewalld 2、关闭防火墙 systemctl stop firewalld.service 或 systemctl stop firewalld ...
分类:
系统相关 时间:
2020-07-12 10:40:13
阅读次数:
90
先要对宿主机增大cpu数量 加到4处理器、2内核、8线程 查看 CPU 物理个数 grep 'physical id' /proc/cpuinfo | sort -u | wc -l 查看 CPU 核心数量 grep 'core id' /proc/cpuinfo | sort -u | wc -l ...
分类:
其他好文 时间:
2020-07-12 10:36:41
阅读次数:
75
###在新安装mysql后进行启动发现报错 mysql启动服务命令 systemctl start mysqld@3306 Starting mysqld (via systemctl): Job for mysqld.service failed because the control proce ...
分类:
数据库 时间:
2020-07-12 00:31:47
阅读次数:
133
一、添加开机自启服务 在centos7中添加开机自启服务非常方便,只需要两条命令(以Jenkins为例): systemctl enable jenkins.service #设置jenkins服务为自启动服务 sysstemctl start jenkins.service #启动jenkins服 ...
分类:
其他好文 时间:
2020-07-11 23:11:48
阅读次数:
89
systemctl list-unit-files会列出开启的和未开启的:使用grep过滤一下开启的grep enabledgrep enabled然后使用systemctl status openresty.service1查看这个.service文件的路径,及内容。禁用开机启动:sudo sys... ...
分类:
系统相关 时间:
2020-07-11 17:38:57
阅读次数:
223