上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: 1、如何将 hellodb_innodb.sql导入到数据库中 本机导入:mysql -uroot -p123456 < hellodb_innodb.sql 远程导入: (1)授权root有远程执行权限 mysql -uroot -p123456 grant all privileges on * 阅读全文
posted @ 2020-08-24 15:31 無心的Man 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 1、通过ansible Roles编排实现 httpd 角色的部署 #创建相关角色目录[root@centos8 ~]#mkdir -pv /data/ansible/roles/httpd/{tasks,handlers,files}​#创建相关角色文件[root@centos8 ~]#cd /d 阅读全文
posted @ 2020-08-17 23:34 無心的Man 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 第二阶段考试 一 、判断题10道、一题3分。 1、DNS默认端口号是多少?(D )A、443 B、80 C、25 D、53 2、docker中以下那个命令不正确 ?(B )A、docker run B、docker file C、docker exec D、docker images3、在shell 阅读全文
posted @ 2020-08-11 17:46 無心的Man 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 一、环境准备 host1: 10.0.0.18 os: ubuntu18.04 host2: 10.0.0.200 os: ubuntu18.04 访问测试:10.0.0.7 os : centos 7 以上3台主机均安装 harbor-v1.7.6 二、harbor 配置 1、分别在10.0.0. 阅读全文
posted @ 2020-08-09 16:58 無心的Man 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 1.通过dockerfile 制作centos系统镜像然后再制作 nginx编译镜像 docker pull centos:centos7.7.1908 vim Dockerfile #centos系统镜像 FROM centos:centos7.7.1908 LABEL maintainer="y 阅读全文
posted @ 2020-08-02 22:25 無心的Man 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 1、配置 bind 服务,实现 www.magedu.org 域名解析 yum -y install bind bind-utils systemctl enable --now named vim /etc/named.conf 注释下面两行// listen-on port 53 { local 阅读全文
posted @ 2020-08-02 00:07 無心的Man 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 环境:CentOS 8 主服务器:10.0.0.8 从服务器:10.0.0.28 访问测试主机:10.0.0.6 一、安装DNS服务器软件 bind dnf install bind bind-utils -y ; systemctl enable --now named 二、修改主服务器 bind 阅读全文
posted @ 2020-07-27 00:40 無心的Man 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 1、对称加密过程由那三部分组成加密:发送方将原始信息经过对称密钥加密形成密文数据传输:密文通过网络发送到接收方解密:接收方收到密文后用对称密钥进行解密产生明文 2、使用 openssl 中的 aes 对称加密算法对文件 file.txt 进行加密,然后解密 加密:openssl enc -e -ae 阅读全文
posted @ 2020-07-22 10:09 無心的Man 阅读(88) 评论(0) 推荐(0) 编辑
摘要: Oracle安装后环境变量的配置: NLS_LANG=SIMPLIFIED CHINESE_CHINA.ZHS16GBK 此为Oracle字符集 TNS_ADMIN=D:\clinetwork\instantclient_12_2 该变量的值是指定Oracle连接串文件 tnsnames.ora 的 阅读全文
posted @ 2020-07-19 19:42 無心的Man 阅读(523) 评论(0) 推荐(0) 编辑
摘要: 1、使用netstat和awk统计服务器出现tcp网络状态并按数量排序?netstat -an | awk '/^tcp/{a[$NF]++}END{for(i in a){print i,a[i]}}' | sort -k2 -nr2、ll | awk '{print $3, "owns",$9} 阅读全文
posted @ 2020-07-14 20:04 無心的Man 阅读(80) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页