一、setting.xml文件配置镜像
找到mirrors镜像节点,增加mirror节点,如下所示:
Xml代码 <id>mirrorId</id> <mirrorOf>repositoryId</mirrorOf> <name>Human Readable Name for this Mirror.</name> …
最近在服务器上部署好的应用突然间连接不上mysql数据库,报错“ERROR 1130: Host xxx.xxx.xxx.xxx is not allowed to connect to this MySQL server” 那么直接运行如下命令:
mysql -u root -p弹出Enter password:输入您的数据库密码
链接到mysql数据库…
Centos8安装 提示:Unit firewalld.service could not be found. 没有安装防火墙,需要安装
yum install firewalld firewall-config重启、关闭、开启firewalld.service服务
service firewalld restart 重启
service firewalld start 开启
service firewalld stop 关闭添加自定…