各位看官可以关注博主个人博客,了解更多信息。 作者:Surpasser 链接地址:https://surpass.org.cn 前言 接上一篇帖子,博主在CentOS上安装了最新版的MySQL容器(版本为8.0.19),在使用本地springBoot项目连接,启动项目后操作登录系统时报错。 问题 请 ...
分类:
数据库 时间:
2021-05-24 09:06:05
阅读次数:
0
用到的工具 XShell CentOS 7 Docker Docker 是一个开源的应用容器引擎,基于 Go 语言 并遵从 Apache2.0 协议开源。 Docker 可以让开发者打包他们的应用以及依赖包到一个轻量级、可移植的容器中,然后发布到任何流行的 Linux 机器上,也可以实现虚拟化。 容 ...
分类:
其他好文 时间:
2021-05-24 09:04:23
阅读次数:
0
环境准备,一台CentOS7 安装软件```[root@localhost ~]# yum install mariadb-server -y```创建三个实例的目录```[root@localhost ~]# mkdir /mysql/{3306,3307,3308}/{data,etc,sock ...
分类:
数据库 时间:
2021-05-24 08:17:38
阅读次数:
0
1.设置环境变量 # echo 'PATH=/opt/opsmgr/web/components/postgresql96linux64.1/bin/:$PATH' >> /etc/profile # echo 'export PGPASSWORD=ytcmUUNq' >> /etc/profile ...
分类:
数据库 时间:
2021-05-24 08:13:18
阅读次数:
0
主要有两个问题: 1.未打开密码登录方式 输入 vi /etc/ssh/sshd_config 找到 PasswordAuthentication 设置为 yes。 记得重启ssh:输入 systemctl restart sshd 2. 没有创建对应的用户 腾讯云默认的用户是lighthouse, ...
分类:
系统相关 时间:
2021-05-24 08:11:48
阅读次数:
0
环境:Linux centos7.6 +Python 2.7.5+DM8 必须安装dmPython。 安装包可以在1139926252QQ群里的文件中下载,下载好后上传到linux服务器中。 一、安装dmPython Python 有现成的mysql,oracle 等数据库包,可以直接import ...
分类:
数据库 时间:
2021-05-24 08:02:14
阅读次数:
0
运行命令free -h,若swap那一行都是0的话表明没有交换空间。dd if=/dev/zero of=/var/swap bs=1024 count=2048000if 表示infile,of表示outfile,bs=1024代表增加的模块大小,count=2048000代表2048000个模块 ...
分类:
其他好文 时间:
2021-05-24 07:51:25
阅读次数:
0
启动/关闭、启用/禁用服务:启动一个服务:systemctl start postfix.service关闭一个服务:systemctl stop postfix.service重启一个服务:systemctl restart postfix.service显示一个服务的状态:systemctl s ...
分类:
其他好文 时间:
2021-05-24 07:50:03
阅读次数:
0
##1.使用ansible的playbook实现自动化安装httpd 配置ansible主机文件 [root@localhost ~]# vim /etc/ansible/hosts [websrvs] 10.50.100.8 配置ansible与管理端的ssh连接 [root@localhost ...
分类:
Web程序 时间:
2021-05-24 07:09:02
阅读次数:
0
firewall的操作 1.firewalld的基本使用 启动: systemctl start firewalld查状态:systemctl status firewalld 停止: systemctl disable firewalld禁用: systemctl stop firewalld在开 ...
分类:
其他好文 时间:
2021-05-24 06:54:27
阅读次数:
0