一 Nginx yum安装1.1 前置准备 1 [root@nginx01 ~]# systemctl status firewalld.service #检查防火墙 2 [root@nginx01 ~]# getenforce #检查SELinux 3 Disabled提示:建议关闭防火墙,或通过 ...
分类:
其他好文 时间:
2020-07-08 13:31:28
阅读次数:
61
查看防火墙状态 firewall-cmd --state 开放端口 firewall-cmd --zone=public --add-port=2181/tcp --permanent firewall-cmd --zone=public --add-port=9092/tcp --permanen ...
分类:
其他好文 时间:
2020-07-07 17:40:16
阅读次数:
62
1、使用mysqld_safe命令 systemctl stop mariadb # 停止mariadb数据库 mysqld_safe --skip-grant-table & # 进入单机模式 mysql -uroot # 回车,进入数据库 use mysql; # 进入mysql库 update ...
分类:
数据库 时间:
2020-07-06 19:55:28
阅读次数:
67
环境准备 1. 三台服务器 10.1.34.215 10.1.34.216 10.1.34.217 2. 全部关闭防火墙和selinux systemctl stop firewalld && systemctl stop firewalld sed -i 's/=enforcing/=disabl ...
分类:
其他好文 时间:
2020-07-06 16:04:30
阅读次数:
59
centos6中防火墙是iptables,centos7中防火墙是firewalld 在centos7中用service iptables status查看防火墙状态会报错 Redirecting to /bin/systemctl status iptables.service Unit ipta ...
分类:
其他好文 时间:
2020-07-06 10:48:36
阅读次数:
94
1:服务端配置确认 确保 #vi /etc/zabbiz/zabbix-server/zabbix_server.conf ## 确认其中有 StartVMwareCollectors项目 值 > 0 StartVMwareCollectors=5 # systemctl restart zabbi ...
分类:
其他好文 时间:
2020-07-06 00:38:29
阅读次数:
95
启动MySQL mysqld --defaults-file=/etc/my.cnf --user=mysql & mysqld_safe --defaults-file=/etc/my.cnf --user=mysql & service mysql start # systemctl start ...
分类:
数据库 时间:
2020-07-05 00:39:21
阅读次数:
149
OpenStack Train版-2.安装keystone身份认证服务 1. 创建keystone数据库并授权 mysql -u root -proot CREATE DATABASE keystone; GRANT ALL PRIVILEGES ON keystone.* TO 'keystone ...
分类:
其他好文 时间:
2020-07-05 00:24:04
阅读次数:
80
前提:centos7 1、yum -y install sendmail 2、yum install -y mailx 3、systemctl start sendmail.service 4、systemctl enable sendmail.service 5、在/etc/mail.rc 新添加 ...
分类:
系统相关 时间:
2020-07-04 21:04:38
阅读次数:
77
一、基本操作 1、开启防火墙 service firewalld start 2、关闭防火墙 service firewalld stop 3、重启防火墙 service firewalld restart 二、查看: 1、查看防火墙状态 systemctl status firewalld 2、查 ...
分类:
其他好文 时间:
2020-07-04 13:40:47
阅读次数:
55