![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
其他
码上回来
别走开,码上回来
展开
-
docker安装mysql
安装docker。参考我的docker安装文档。 拉取镜像。 拉取镜像: docker pull mysql:5.7 在本地创建目录(存放数据库文件) 容器中的文件,映射到宿主机。 mkdir -p /root/mysql/data /root/mysql/logs /root/mysql/conf 创建*.cnf 在/root/mysql/conf中创建 *.cnf 文件(叫什么都行) touch my.cnf 启动docker docker run -p 3306:3306 -..原创 2021-01-02 17:05:53 · 1929 阅读 · 2 评论 -
CentOS7安装Docker
docker 卸载已有的docker yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-selinux docker-engine-selinux docker-engine 按装依赖 yum install -y yum-utils device-mapper-persistent-data lvm原创 2021-01-02 13:04:15 · 183 阅读 · 0 评论 -
CentOS7安装Redis
CentOS7安装Redis 安装 ##安装 yum install -y wget cd /usr/local/ wget http://download.redis.io/releases/redis-5.0.3.tar.gz tar -zxvf redis-5.0.3.tar.gz cd redis-5.0.3 yum install -y gcc* make && make install 防火墙 ##使用 ## 关闭防火墙 systemctl stop firewalld #原创 2021-01-02 12:44:00 · 101 阅读 · 0 评论 -
CentOS-7安装
CentOS-7安装 下载镜像 ,个人选择CentOS-7-x86_64-DVD-1810.iso VMWare 安装CentOS-7 1、新建虚拟机 2、自定义安装 3、稍后安装系统 4、版本选择CentOS7 64位 5、处理器1,内核1,内存1024 6、网络选择NAT 7、磁盘大小选择100G 其他默认,最后选择镜像 系统配置 1、时区选择上海 2、选择minimal安装 3、KDUMP 去掉勾选 4、7不需要进行分区,直接done 5、网卡、主机信息:打开开关,自动获取网关 6、设置root密码原创 2021-01-02 11:16:40 · 188 阅读 · 1 评论 -
CentOS-6.5环境准备
CentOS-6.5环境准备 VMWare 安装CentOS-6.5 自定义安装 稍后安装系统 – CentOS 6 64位 – CPU 1G, 处理器数量 1 – 内存 1G (不要小于768M) 网络类型选择 NAT 最大磁盘空间 100G 安装系统 一直下一步 自定义分区 Create Custom Layout sda 分3个区 ,如下: 1、/boot 引导程序区 type = ext4 , size = 200M 2、swap 交换区 type = swap ,原创 2020-12-25 19:03:05 · 102 阅读 · 0 评论