![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
rhce
文章平均质量分 50
Major0712
这个作者很懒,什么都没留下…
展开
-
代码20220526
#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<stdlib.h>#include<time.h>typedef struct item{int num; //页号int time; //等待时间,LRU算法会用到这个属性int M; //修改位}Pro;int curmemory; //调入主存中的页面个数int miss原创 2022-05-26 10:10:59 · 88 阅读 · 0 评论 -
无题
**1、安装bind服务2、编辑named.conf**yum install bind -ycp -a /etc/named.conf /etc/named.conf.bakvim /etc/named.conf3编辑文件vim /var/named/named.zuoye.comsystemctl restart namedvim /etc/resolv.confcurl http://www.zuoye.com原创 2021-10-24 20:31:50 · 1297 阅读 · 0 评论 -
硬盘分区并挂载
1.添加一块5G 的硬盘[root@localhost ~]# lsblksda 8:0 0 5G 0 disk2然后创建大小为4G的逻辑卷3配置issc服务包[root@localhost ~]# yum install -y targetcli4然后关闭防火墙,selinux,启动服务[root@localhost ~]# systemctl stop firewalld[root@localhost ~]# setenforce 0[root@l原创 2021-10-24 20:09:14 · 127 阅读 · 0 评论 -
NFS实验作业
服务器1.安装nfs2关闭防火墙[root@localhost nfs]# systemctl stop firewalld[root@localhost nfs]# setenforce 03编辑目录参数信息3.启动服务4.创建共享的目录,重启服务[root@localhost ~]# mkdir /nfs/shared -p[root@localhost yum.repos.d]# systemctl restart nfs-server rpcbind客户端1创建挂载目录原创 2021-10-24 19:51:14 · 133 阅读 · 0 评论 -
RHCE0928作业
作业要求:1、匿名用户可以通过ftp服务上传,下载,删除文件同时上传目录文件的权限是755。作业内容:1关闭防火墙设置SELinux2.写yum源[root@localhost ~]# mount /dev/sr0 /mnt安装包[root@localhost ~]# yum install vsftpd -y启动服务:[root@localhost ~]# systemctl start vsftpd[root@localhost ~]# systemctl enable vsftpd原创 2021-10-04 03:22:44 · 75 阅读 · 0 评论 -
RHCE0925作业
作业要求:使用client的xiaoming用户基于秘钥认证方式通过端口2000使用ssh登录server端的xiaoming用户和xiaohei用户,server端的其他用户都不可被远程登录。作业内容使用两台rhel8的虚拟机,一台做服务器,一台做客户端。1.首先前提是在服务端挂载光盘,写yum源,然后装openssh-server包2.编辑服务端的ssh配置文件[root@localhost ~]# vim /etc/ssh/sshd_config添加使用的2000端口然后配置文件最后原创 2021-10-04 03:12:36 · 73 阅读 · 0 评论 -
搭建一个基于https://www.zuoye.com:4443访问的web网站,网站首页在/www/https/,内容为zuoye
作业要求:搭建一个基于https://www.zuoye.com:4443访问的web网站,网站首页在/www/https/,内容为zuoyenmcli connection modify ens192 ipv4.method manual +ipv4.addresses 192.168.159.13/24 ipv4. gateway 192.168.159.2 ipv4. dns 192.168.159.2 autoconnect yes查看IP地址并连接远程1.安装mod-ssl2挂载在mnt原创 2021-09-28 18:38:03 · 1072 阅读 · 0 评论