Xrdp是Microsoft远程桌面协议(RDP)的开源实现,允许我们以图形方式控制远程系统,我们可以登录到远程计算机并创建真实的桌面会话,如同登录本地服务器一样。 安装Xrdp [root@rhel8-study ~]# dnf install xrdp [root@rhel8-study ~]# systemctl enable xrdp --…
Fail2ban 是一个免费的开放源代码且广泛使用的入侵防御工具,可以扫描日志文件中的IP地址,这些IP地址显示出恶意迹象,例如密码失败过多等等,并禁止它们(更新防火墙规则以拒绝IP地址), 默认情况下,附带用于各种服务的过滤器,包括sshd。 [root@rhel8-study ~]# dnf install https://dl.fedorap…
脚本 [root@rhel8-study ~]# vim system-info.sh #!/bin/bash echo -e "-------------------------------System Information----------------------------" echo -e "Hostnam…
[root@rhel8-study ~]# mkdir -p /data/mirrors [root@rhel8-study ~]# cd /data/mirrors/ [root@rhel8-study mirrors]# wget http://git.ponfey.com:8001/Mirrors/RedHat/rhel-8.2-x86_64…
[root@RHEL8 ~]# yum -y install rubygems [root@RHEL8 ~]# gem install lolcat 使用方法 [root@RHEL8 ~]# ip addr | lolcat # 任何可以输出结果的命令都可以通过管道符传输给nms来实现彩虹效果 效果预览
查看系统环境 [root@rhel8-study ~]# cat /etc/redhat-release Red Hat Enterprise Linux release 8.2 (Ootpa) 部署Zabbix [root@rhel8-study ~]# rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rh…
[root@rhel8 ~]# dnf install -y nginx [root@rhel8 ~]# cat /etc/nginx/nginx.conf ```yaml # For more information on configuration, see: # * Official English Documentation: http:/…
1、配置yum源 vim /etc/yum.repos.d/gitlab-ce.repo [gitlab-ce] name=Gitlab CE Repository baseurl=https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el$releasever/ gpgcheck=0 enabled…
常用查看命令 [xiaoshuai.zhu@localhost ~]$ nmcli device status [xiaoshuai.zhu@localhost ~]$ nmcli connection show [xiaoshuai.zhu@localhost ~]$ sudo nmcli device connect ens3 [xiaoshu…
Network Time Protocol(NTP),NTP协议由在用户空间中运行的守护程序实现,即ntp和chrony。 RHEL7和RHEL8同步系统时间区别 RHEL7中,可以选择ntp或chrony,在RHL8中,不支持ntp,使用chronyd守护进程来实现NTP。 chrony和ntp之间的差异 1.ntp服务器在控制客户端访问方式默认…