康乐_SH

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  47 随笔 :: 0 文章 :: 12 评论 :: 10299 阅读
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

03 2022 档案

摘要:1、ansible-playbook实现MySQL的二进制部署 环境准备:源码包准备:mysql-5.7.36-linux-glibc2.12-x86_64.tar.gz已经实现了ansible主控端基于key验证主机配置清单: [root@ansible ansible]#pwd /data/an 阅读全文
posted @ 2022-03-25 09:49 康乐_SH 阅读(21) 评论(1) 推荐(0) 编辑

摘要:第十二周作业:1、主从复制及主主复制的实现 ###主从复制### #主节点配置 1.安装mysql [root@centos8-hkping ~]#yum -y install mysql-server 2.立即并且开机启动mysqld [root@centos8-hkping ~]#systemc 阅读全文
posted @ 2022-03-16 18:04 康乐_SH 阅读(29) 评论(1) 推荐(0) 编辑

摘要:1、 导入hellodb.sql生成数据库 mysql -uroot -p123456 < hellodb_innodb.sql(1) 在students表中,查询年龄大于25岁,且为男性的同学的名字和年龄 MariaDB [hellodb]> select name,age from studen 阅读全文
posted @ 2022-03-09 19:09 康乐_SH 阅读(24) 评论(1) 推荐(0) 编辑

摘要:#安装前准备:关闭防火墙和SELinux #1 安装相关包 [root@centos8 ~]#dnf install gcc make autoconf apr-devel apr-util-devel pcre-devel openssl-devel redhat-rpm-config #2 下载 阅读全文
posted @ 2022-03-06 16:12 康乐_SH 阅读(74) 评论(0) 推荐(0) 编辑

摘要:仓库服务器配置 [root@centos8-hkping ~]#yum -y install httpd [root@centos8-hkping ~]#systemctl enable --now httpd [root@centos8-hkping ~]#mkdir /var/www/html/ 阅读全文
posted @ 2022-03-06 09:12 康乐_SH 阅读(230) 评论(0) 推荐(0) 编辑

摘要:[root@centos8-hkping /]#vim /etc/yum.repos.d/Centos-8.repo [BaseOS] name=CentOS-$releasever - Base baseurl=http://mirrors.cloud.tencent.com/centos/$re 阅读全文
posted @ 2022-03-05 22:03 康乐_SH 阅读(241) 评论(0) 推荐(0) 编辑

摘要:1.实验目的 Centos7 yum安装mariadb并实现三个实例 2.环境要求 一台系统Centos7.x主机 3.前提准备 关闭SELINUX vim /etc/selinux/config 关闭防火墙 systemctl stop firewalld 时间同步 crontab -e */5 阅读全文
posted @ 2022-03-01 22:35 康乐_SH 阅读(76) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示