当前位置:网站首页>RHCE Course Summary
RHCE Course Summary
2022-08-09 14:48:00 【palm nine】
DNS, SSH experiment
Requirements:
1. Resolve the host ip address of www.qq.com through dns separation technology, realize the resolution of the internal network host to the internal network service host, and the external network host to resolveTo the external network host;
2. Configure A and B hosts to achieve password-free login;
Task 1 (Note: Only two virtual machines are used in this experiment, and A is used as the dns and test host)
1. Mount and install
Rename:
[[email protected] ~]# hostnameA
[[email protected] ~]# bash
[[email protected] ~]#
[[email protected] ~]# mount /dev/sr0 /mnt
[[email protected] ~]# yum install bind -y
Close the firewall, selinux
[[email protected] ~]# systemctl stop firewalld
[[email protected] ~]# setenforce 0
[[email protected] ~]# systemctl start named
2. Modify the file
[[email protected] ~]# vim /etc/named.conf

Modify the corresponding file of the intranet:
[[email protected] ~]# vim /var/named/named.qq.com

Modify the corresponding file on the external network:
[[email protected] ~]# vim /var/named/named1.qq.com
Modify the corresponding resolution ip of www:

Reboot:
[[email protected] ~]# systemctl restart named
Test:
On the 192.168.43.128 intranet host:
The result of parsing the intranet ip:
On 192.168.43.130 external network host
Parse the result through the external network ip:
Success
Task 2,
A is the client, B is the server
Generate an asymmetric key on A;
Keep pressing Enter without modifying the path or setting the password information:
View:
B:
Create a .ssh directory for receiving public keys
A: Send the public key file to B

B:
Test:
A:
The experiment was successful
边栏推荐
猜你喜欢
随机推荐
spark单机版安装
iptables防火墙
汇编语言学习(一)
小程序模板制作流程,小程序模板制作方便快捷
关于舵机的漂移与不听指挥乱动的问题
使用 compose 的 Canvas 自定义绘制实现 LCD 显示数字效果
System Scalability Thinking
小程序程序开发怎么做?应以突出功能为主
汇编语言学习(二)
三子棋的代码实现
*2-3 OJ 1164 导弹拦截之升级版
元气森林“0糖”背后的百亿推手
*3-3牛客网 重新排列
RHCE课程总结
Talking about CQRS Mode
*1-5 OJ 642 俄式乘法
shell课程总结
11. cuBLAS Development Guide Chinese version--Level-1 functions amax() and amin() in cuBLAS
响应式pbootcms模板建材家居类网站
Xshell建立SSH隧道连接








