zlb

上一页 1 2 3 4 5 6 7 ··· 21 下一页

2020年6月7日

python 更改pip源至国内镜像

摘要: 经常在使用python的时候需要安装各种模块,而pip是很强大的模块安装工具,但是由于国外官方pypi经常被墙,导致不可用,所以我们最好是将自己使用的pip源更换一下,这样就能解决被墙导致的装不上库的烦恼。 网上有很多可用的源,例如 pip国内的一些镜像 阿里云 http://mirrors.ali 阅读全文

posted @ 2020-06-07 14:52 zlb 阅读(328) 评论(0) 推荐(0) 编辑

docker常用命令

摘要: docker 环境 CentOS 8.1 Docker 修改镜像源地址 Docker 官方中国区 https://registry.docker-cn.com 网易 http://hub-mirror.c.163.com ustc --中国科学技术大学 https://docker.mirrors. 阅读全文

posted @ 2020-06-07 14:48 zlb 阅读(195) 评论(0) 推荐(0) 编辑

docker 安装 ngix vue

摘要: docker 安装 ngix vue 获取 nginx 镜像 docker pull nginx docker 镜像名称由REPOSITORY和TAG组成 [REPOSITORY[:TAG]],TAG默认为latest docker run -p 80:80 --name nginxtest ngi 阅读全文

posted @ 2020-06-07 14:46 zlb 阅读(145) 评论(0) 推荐(0) 编辑

docker 安装 spring boot

摘要: 创建用户定义的网桥网络 使用该docker network create命令。 $ docker network create my-net centos防火墙 开放一个新的端口 firewall-cmd --zone=public --add-port=3306/tcp --permanent 启 阅读全文

posted @ 2020-06-07 14:43 zlb 阅读(213) 评论(0) 推荐(0) 编辑

2020年5月31日

CentOS 防火墙常用命令

摘要: 1.查看防火墙状态 firewall-cmd --state 2.启动防火墙 systemctl start firewalld 3.关闭防火墙 systemctl stop firewalld 4.检查防火墙开放的端口 firewall-cmd --permanent --zone=public 阅读全文

posted @ 2020-05-31 15:14 zlb 阅读(153) 评论(0) 推荐(0) 编辑

CentOS 8.1 安装过程

摘要: 第一步:下载 CentOS 8 ISO 文件 在 CentOS 官方网站 https://www.centos.org/download/ 下载 CentOS 8 ISO 文件。 第二步: 创建 CentOS 8 启动介质(USB 或 DVD) 下载 CentOS 8 ISO 文件之后,将 ISO 阅读全文

posted @ 2020-05-31 11:07 zlb 阅读(1032) 评论(0) 推荐(0) 编辑

2020年5月30日

windows docker安装

摘要: https://docs.microsoft.com/zh-cn/virtualization/windowscontainers/manage-docker/configure-docker-daemon boot2docker 下载地址 https://github.com/boot2docke 阅读全文

posted @ 2020-05-30 16:15 zlb 阅读(487) 评论(0) 推荐(0) 编辑

在docker上安装tomcat8

摘要: docker 环境 CentOS 8.1 拉取镜像 docker pull tomcat:jdk8-openjdk docker pull tomcat:8.5.55-jdk8-openjdk 查看镜像 docker images 显示正在运行的容器: [root@localhost HMK]# d 阅读全文

posted @ 2020-05-30 16:10 zlb 阅读(1018) 评论(0) 推荐(0) 编辑

CentOS 8 安装docker

摘要: 参考 https://juejin.im/post/5e3032575188252c6e182a55 软件更新 把相关软件都更新 yum update 卸载旧版本 yum remove docker \ docker-client \ docker-client-latest \ docker-co 阅读全文

posted @ 2020-05-30 16:03 zlb 阅读(204) 评论(0) 推荐(0) 编辑

docker 安装mysql

摘要: docker 环境 是 CentOS 8.1 拉取镜像 docker pull mysql:8.0.36 在宿主机创建持久化 mysql data 及mysql.cnf 数据目录和配置文件目录 日志目录 mkdir -p /docker-root/mysql_3308/conf.d mkdir -p 阅读全文

posted @ 2020-05-30 15:54 zlb 阅读(148) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 21 下一页

导航