![](https://img-blog.csdnimg.cn/20190927151043371.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
其他
其他还没想好的主题
0java
这个作者很懒,什么都没留下…
展开
-
docker离线安装MySQL5.7.35 redis nacos sentinel
1.从能够连接外网的机器上打出镜像包docker save mysql:5.7.35 -o mysql_5.7.35.tar #将mysql:5.7.35的镜像导出成tar文件2.将tar文件上传到需要离线安装docker镜像的系统上[root@localhost images]# pwd/root/docker/images[root@localhost images]# lsmysql_5.7.35.tar[root@localhost images]# docker load -i原创 2021-08-12 17:19:13 · 342 阅读 · 0 评论 -
本地yum源 、阿里yum源、163yum源的配置安装
一.本地yum源(我使用的7.3版本)1…添加一个新的yum源配置文件dvd.repo(文件名字自定义)vi etc/yum.repos.d 添加新的内容: name=rhel_dvd baseurl=file://'/run/media/root/RHEL-7.3 Server.x86_64'(根据实际地址填写) enabled=1原创 2021-08-12 15:56:25 · 330 阅读 · 0 评论 -
centos7离线安装jdk
6.2.3.2 java 环境安装检验系统原版本:[root@localhost /]# java -versionopenjdk version "1.8.0_161" OpenJDK Runtime Environment (build 1.8.0_161-b14) OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)进一步查看JDK信息:[root@localhost /]# rpm -qa | grep javapython-j原创 2021-08-12 10:25:56 · 146 阅读 · 0 评论 -
离线安装docker
1.下载docker安装包在https://download.docker.com/linux/centos/7/x86_64/stable/Packages/下载docker-ce-18.03.1.ce-1.el7.centos.x86_64.rpm2.上传到centos指定目录下面[root@localhost rpm]# pwd/root/docker/rpm[root@localhost rpm]# lsdocker-ce-18.03.1.ce-1.el7.centos.x86_64.r原创 2021-08-11 17:14:14 · 478 阅读 · 0 评论 -
CentOS7使用yum时File contains no section headers.解决办法
安装阿里云yum镜像网络不通导致下载了html页面原创 2021-07-13 10:23:45 · 138 阅读 · 0 评论 -
yum出错解决
[root@linux122 ~]# yum -y install ntp已加载插件:fastestmirrorLoading mirror speeds from cached hostfile One of the configured repositories failed (未知), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is f原创 2021-07-12 15:52:23 · 215 阅读 · 0 评论 -
docker安装MySQL
1.参考链接 (最后一点)https://www.runoob.com/docker/docker-install-mysql.html2.最终参考链接https://blog.csdn.net/socct_yj/article/details/103606173原创 2021-07-13 16:41:31 · 49 阅读 · 0 评论 -
运行中的docker容器修改配置文件
1、先将配置文件复制到相应目录(以mysql为例,容器名为mysql)docker cp mysql:/etc/mysql/my.cnf /home/my.cnf2、修改配置文件3、将修改后的配置文件覆盖原文件docker cp /home/my.cnf mysql:/etc/mysql/my.cnf4、重启容器docker start mysql...原创 2021-06-08 17:36:50 · 370 阅读 · 0 评论