实验8

系统安装之后基操

#关闭SELinux 
sed -i '/^SELINUX=/c SELINUX=disabled' /etc/selinux/config

#关闭防火墙
systemctl disable --now firewalld 

#支持光盘,/m-+9*-8-86------------isc/cd对应就是光盘内容
yum -y install autofs
systemctl enable --now autofs

#修改网卡名称
[root@rocky8 ~]#sed -ri '/GRUB_CMDLINE_LINUX=/s#(.*)"$#\1 ifnames=0"#' /etc/default/grub
[root@rocky8 ~]#grub2-mkconfig -o /boot/grub2/grub.cfg ;reboot

#安装软件

yum -y install lrzsz
yum -y install dos2unix
yum -y install vim
yum -y install httpd


1. 开发工具组:

   yum -y groupinstall "Development Tools"  # CentOS 7 或更早
   dnf -y groupinstall "Development Tools"  # CentOS 8 或更高


2. 文本编辑器:

   yum -y install nano vim  # CentOS 7 或更早
   dnf -y install nano vim  # CentOS 8 或更高


3. 网络工具:

   yum -y install curl wget  # CentOS 7 或更早
   dnf -y install curl wget  # CentOS 8 或更高


4. 进程查看和管理工具:

   yum -y install htop screen  # CentOS 7 或更早
   dnf -y install htop screen  # CentOS 8 或更高


5. YUM/DNF 插件和实用工具:

   yum -y install yum-utils  # CentOS 7 或更早
   dnf -y install dnf-plugins-core  # CentOS 8 或更高


6. SSH 服务端:

   yum -y install openssh-server  # CentOS 7 或更早
   dnf -y install openssh-server  # CentOS 8 或更高


7. 图形界面相关(桌面环境需要):

   yum -y install firefox  # CentOS 7 或更早
   dnf -y install firefox  # CentOS 8 或更高

   yum -y install libreoffice  # CentOS 7 或更早
   dnf -y install libreoffice  # CentOS 8 或更高

   yum -y install gimp  # CentOS 7 或更早
   dnf -y install gimp  # CentOS 8 或更高

8. 系统监控:

   yum -y install glances  # CentOS 7 或更早,可能需要 EPEL 仓库
   dnf -y install glances  # CentOS 8 或更高



#配置仓库
系统源,EPEL源


#最小化安装系统后,建议安装常用软件
yum -y install autofs vim-enhanced tcpdump autofs chrony lrzsz tree telnet ftp lftp redhat-lsb-core bash-completion net-tools postfix wget bzip2 zip unzip xz lsof mlocate man-pages rsync

#

复习挂载

要在Linux系统中将光盘设备`sr0`挂载到 `/misc/cd` 目录,请按照以下步骤操作:

1. 首先,确保 `/misc/cd` 目录存在。如果不存在,则创建它:
   ```bash
   sudo mkdir -p /misc/cd
  1. 然后,使用 mount 命令挂载光盘设备:

    sudo mount /dev/sr0 /misc/cd
  2. 如果光盘是只读的(大部分光盘通常都是只读),则系统会自动以只读方式挂载。如果你想明确指定为只读挂载,可以这样写:

    sudo mount -o ro /dev/sr0 /misc/cd
  3. 挂载完成后,你就可以通过 /misc/cd 访问光盘内容了。

  4. 当不再需要访问光盘时,记得卸载挂载点以便安全弹出光盘或关闭虚拟机:

    sudo umount /misc/cd

请注意,如果你的系统配置了自动挂载或udev规则来处理光盘挂载,可能不需要手动执行上述命令。另外,对于某些特定类型的光盘(如数据光盘、安装光盘等),根据其文件系统类型,可能还需要指定 -t 参数来指定正确的文件系统类型(如iso9660、udf等)。

## 配置本地yum源

mkdir -p /backup/yumbackup/
mv /etc/yum.repos.d/.repo /backup/yumbackup/

如果你发生了yum源错误,你可以在移动回来
mv /backup/yumbackup/.repo /etc/yum.repos.d/

注意原来的配置文件,你可以删掉的,否则可能会影响你的yum安装的

删除这个文件,可以这样删:
find /etc/yum.repos.d/ -name '*test.repo' -print0 | xargs -0 rm -f

或者你进到目录里删 : cd/etc/yum/repos.d/ ------ls----rm-f repos.d

cd /etc/yum.repos.d/

vim test.repo

注意:vim如何发现退出不了,就给我一直按esc 先切换到v模式下 之后就狂按esc 遇事不决esc 使劲按

最终格式
[BaseOS]
name=BaseOS
baseurl=file:///misc/cd/BaseOShttps://mirror.tuna.tsinghua.edu.cn/centos/8/BaseOS/x86_64/os/https://mirrors.huaweicloud.com/centos/8/BaseOS/x86_64/os/https://mirrors.cloud.tencent.com/centos/8/BaseOS/x86_64/os/https://mirrors.aliyun.com/centos/8/BaseOS/x86_64/os/
gpgcheck=0

[AppStream]
name=AppStream
baseurl=file:///misc/cd/AppStreamhttps://mirror.tuna.tsinghua.edu.cn/centos/8/AppStream/x86_64/os/https://mirrors.huaweicloud.com/centos/8/AppStream/x86_64/os/https://mirrors.cloud.tencent.com/centos/8/AppStream/x86_64/os/https://mirrors.aliyun.com/centos/8/AppStream/x86_64/os/
gpgcheck=0

[epel]
name=EPEL
baseurl=https://mirror.tuna.tsinghua.edu.cn/epel/$releasever/Everything/$basearchhttps://mirrors.cloud.tencent.com/epel/$releasever/Everything/$basearchhttps://mirrors.huaweicloud.com/epel/$releasever/Everything/$basearchhttps://mirrors.aliyun.com/epel/$releasever/Everything/$basearch
gpgcheck=0
enabled=1

[extras]
name=extras
baseurl=https://mirror.tuna.tsinghua.edu.cn/centos/$releasever/extras/$basearch/oshttps://mirrors.cloud.tencent.com/centos/$releasever/extras/$basearch/oshttps://mirrors.huaweicloud.com/centos/$releasever/extras/$basearch/oshttps://mirrors.aliyun.com/centos/$releasever/extras/$basearch/os
gpgcheck=0
enabled=1

[PowerTools]
name=CentOS- - PowerTools - mirrors.aliyun.com
baseurl=https://mirror.tuna.tsinghua.edu.cn/centos/$releasever/PowerTools/$basearch/os/https://mirrors.cloud.tencent.com/centos/$releasever/PowerTools/$basearch/os/https://mirrors.huaweicloud.com/centos/$releasever/PowerTools/$basearch/os/https://mirrors.aliyun.com/centos/$releasever/PowerTools/$basearch/os/
gpgcheck=0
enabled=1
gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official

下一步,确认一下yum的文件有没有问题

[root@wang yum.repos.d]# yum repolist
repo id repo name
AppStream AppStream
BaseOS BaseOS
PowerTools CentOS- - PowerTools - mirrors.aliyun.com
epel EPEL
extras extras

一下我就不细说了,直接我的运行过程

[root@wang ~]# ll /misc/cd
total 14
dr-xr-xr-x 4 root root 2048 Nov 14 2021 AppStream
dr-xr-xr-x 4 root root 2048 Nov 14 2021 BaseOS
dr-xr-xr-x 3 root root 2048 Nov 14 2021 EFI
dr-xr-xr-x 3 root root 2048 Nov 14 2021 images
dr-xr-xr-x 2 root root 2048 Nov 14 2021 isolinux
-r--r--r-- 1 root root 2204 Oct 9 2021 LICENSE
-r--r--r-- 1 root root 86 Nov 14 2021 media.repo
-r--r--r-- 1 root root 883 Nov 14 2021 TRANS.TBL
[root@wang ~]# ls /misc/cd
AppStream BaseOS EFI images isolinux LICENSE media.repo TRANS.TBL
[root@wang ~]# mkdir -p /backup/yumbackup/
[root@wang ~]# mv /etc/yum.repos.d/.repo /backup/yumbackup/
[root@wang ~]# cd /etc/yum.repos.d/
[root@wang yum.repos.d]# vim test.repo
[root@wang yum.repos.d]# yum repolist
Warning: failed loading '/etc/yum.repos.d/test.repo', skipping.
No repositories available
[root@wang yum.repos.d]# vim test.repo

[1]+ Stopped vim test.repo
[root@wang yum.repos.d]# las
bash: las: command not found...
Failed to search for file: Failed to load /etc/yum.repos.d/test.repo: Key file contains line “https://mirrors.tuna.tsinghua.edu.cn/epel/$releasever/Everything/$basearch” which is not a key-value pair, group, or comment
[root@wang yum.repos.d]# ls
test.repo
[root@wang yum.repos.d]# rm -f test.repo
[root@wang yum.repos.d]# vim test.repo
[root@wang yum.repos.d]# yum repolist
repo id repo name
AppStream AppStream
BaseOS BaseOS
PowerTools CentOS- - PowerTools - mirrors.aliyun.com
epel EPEL
extras extras
[root@wang yum.repos.d]# cd
[root@wang ~]# yum install httpd
BaseOS 286 MB/s | 2.6 MB 00:00
AppStream 238 MB/s | 7.5 MB 00:00
EPEL 2.7 MB/s | 16 MB 00:05
extras 2.5 kB/s | 11 kB 00:04
CentOS- - PowerTools - mirrors.aliyun.com 236 kB/s | 2.3 MB 00:10
Dependencies resolved.

Package Architecture Version Repository Size

Installing:
httpd x86_64 2.4.37-41.module+el8.5.0+695+1fa8055e AppStream 1.4 M
Installing dependencies:
apr x86_64 1.6.3-12.el8 AppStream 128 k
apr-util x86_64 1.6.1-6.el8.1 AppStream 104 k
httpd-filesystem noarch 2.4.37-41.module+el8.5.0+695+1fa8055e AppStream 38 k
httpd-tools x86_64 2.4.37-41.module+el8.5.0+695+1fa8055e AppStream 105 k
mod_http2 x86_64 1.15.7-3.module+el8.5.0+695+1fa8055e AppStream 153 k
rocky-logos-httpd noarch 85.0-3.el8 BaseOS 22 k
Installing weak dependencies:
apr-util-bdb x86_64 1.6.1-6.el8.1 AppStream 23 k
apr-util-openssl x86_64 1.6.1-6.el8.1 AppStream 26 k
Enabling module streams:
httpd 2.4

Transaction Summary

Install 9 Packages

Total size: 2.0 M
Installed size: 5.4 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : apr-1.6.3-12.el8.x86_64 1/9
Running scriptlet: apr-1.6.3-12.el8.x86_64 1/9
Installing : apr-util-bdb-1.6.1-6.el8.1.x86_64 2/9
Installing : apr-util-openssl-1.6.1-6.el8.1.x86_64 3/9
Installing : apr-util-1.6.1-6.el8.1.x86_64 4/9
Running scriptlet: apr-util-1.6.1-6.el8.1.x86_64 4/9
Installing : httpd-tools-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64 5/9
Running scriptlet: httpd-filesystem-2.4.37-41.module+el8.5.0+695+1fa8055e.noarch 6/9
Installing : httpd-filesystem-2.4.37-41.module+el8.5.0+695+1fa8055e.noarch 6/9
Installing : rocky-logos-httpd-85.0-3.el8.noarch 7/9
Installing : mod_http2-1.15.7-3.module+el8.5.0+695+1fa8055e.x86_64 8/9
Installing : httpd-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64 9/9
Running scriptlet: httpd-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64 9/9
Verifying : rocky-logos-httpd-85.0-3.el8.noarch 1/9
Verifying : apr-1.6.3-12.el8.x86_64 2/9
Verifying : apr-util-1.6.1-6.el8.1.x86_64 3/9
Verifying : apr-util-bdb-1.6.1-6.el8.1.x86_64 4/9
Verifying : apr-util-openssl-1.6.1-6.el8.1.x86_64 5/9
Verifying : httpd-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64 6/9
Verifying : httpd-filesystem-2.4.37-41.module+el8.5.0+695+1fa8055e.noarch 7/9
Verifying : httpd-tools-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64 8/9
Verifying : mod_http2-1.15.7-3.module+el8.5.0+695+1fa8055e.x86_64 9/9

Installed:
apr-1.6.3-12.el8.x86_64
apr-util-1.6.1-6.el8.1.x86_64
apr-util-bdb-1.6.1-6.el8.1.x86_64
apr-util-openssl-1.6.1-6.el8.1.x86_64
httpd-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64
httpd-filesystem-2.4.37-41.module+el8.5.0+695+1fa8055e.noarch
httpd-tools-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64
mod_http2-1.15.7-3.module+el8.5.0+695+1fa8055e.x86_64
rocky-logos-httpd-85.0-3.el8.noarch

Complete!
[root@wang ~]# yum remove httpd
Dependencies resolved.

Package Architecture Version Repository Size

Removing:
httpd x86_64 2.4.37-41.module+el8.5.0+695+1fa8055e @AppStream 4.3 M
Removing unused dependencies:
apr x86_64 1.6.3-12.el8 @AppStream 272 k
apr-util x86_64 1.6.1-6.el8.1 @AppStream 217 k
apr-util-bdb x86_64 1.6.1-6.el8.1 @AppStream 11 k
apr-util-openssl x86_64 1.6.1-6.el8.1 @AppStream 20 k
httpd-filesystem noarch 2.4.37-41.module+el8.5.0+695+1fa8055e @AppStream 400
httpd-tools x86_64 2.4.37-41.module+el8.5.0+695+1fa8055e @AppStream 194 k
mod_http2 x86_64 1.15.7-3.module+el8.5.0+695+1fa8055e @AppStream 394 k
rocky-logos-httpd noarch 85.0-3.el8 @BaseOS 22 k

Transaction Summary

Remove 9 Packages

Freed space: 5.4 M
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: httpd-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64 1/1
Running scriptlet: httpd-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64 1/9
Erasing : httpd-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64 1/9
Running scriptlet: httpd-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64 1/9
Erasing : httpd-filesystem-2.4.37-41.module+el8.5.0+695+1fa8055e.noarch 2/9
Running scriptlet: httpd-filesystem-2.4.37-41.module+el8.5.0+695+1fa8055e.noarch 2/9
Erasing : rocky-logos-httpd-85.0-3.el8.noarch 3/9
Erasing : httpd-tools-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64 4/9
Erasing : apr-util-1.6.1-6.el8.1.x86_64 5/9
Running scriptlet: apr-util-1.6.1-6.el8.1.x86_64 5/9
Erasing : apr-1.6.3-12.el8.x86_64 6/9
Running scriptlet: apr-1.6.3-12.el8.x86_64 6/9
Erasing : apr-util-bdb-1.6.1-6.el8.1.x86_64 7/9
Erasing : apr-util-openssl-1.6.1-6.el8.1.x86_64 8/9
Erasing : mod_http2-1.15.7-3.module+el8.5.0+695+1fa8055e.x86_64 9/9
Running scriptlet: mod_http2-1.15.7-3.module+el8.5.0+695+1fa8055e.x86_64 9/9
Verifying : apr-1.6.3-12.el8.x86_64 1/9
Verifying : apr-util-1.6.1-6.el8.1.x86_64 2/9
Verifying : apr-util-bdb-1.6.1-6.el8.1.x86_64 3/9
Verifying : apr-util-openssl-1.6.1-6.el8.1.x86_64 4/9
Verifying : httpd-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64 5/9
Verifying : httpd-filesystem-2.4.37-41.module+el8.5.0+695+1fa8055e.noarch 6/9
Verifying : httpd-tools-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64 7/9
Verifying : mod_http2-1.15.7-3.module+el8.5.0+695+1fa8055e.x86_64 8/9
Verifying : rocky-logos-httpd-85.0-3.el8.noarch 9/9

Removed:
apr-1.6.3-12.el8.x86_64
apr-util-1.6.1-6.el8.1.x86_64
apr-util-bdb-1.6.1-6.el8.1.x86_64
apr-util-openssl-1.6.1-6.el8.1.x86_64
httpd-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64
httpd-filesystem-2.4.37-41.module+el8.5.0+695+1fa8055e.noarch
httpd-tools-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64
mod_http2-1.15.7-3.module+el8.5.0+695+1fa8055e.x86_64
rocky-logos-httpd-85.0-3.el8.noarch

Complete!
[root@wang ~]# yum repolist -v
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, kpatch, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync
YUM version: 4.7.0
cachedir: /var/cache/dnf
Last metadata expiration check: 0:00:48 ago on Wed 28 Feb 2024 04:46:43 PM CST.
Repo-id : AppStream
Repo-name : AppStream
Repo-revision : 8.5
Repo-distro-tags : [cpe:/o:rocky:rocky:8]: , , 8, L, R, c, i, k, n, o, u, x, y
Repo-updated : Sun 14 Nov 2021 05:25:39 PM CST
Repo-pkgs : 6,163
Repo-available-pkgs: 5,279
Repo-size : 8.0 G
Repo-baseurl : file:///misc/cd/AppStream,
: https://mirror.tuna.tsinghua.edu.cn/centos/8/AppStream/x86_64/os/,
: https://mirrors.huaweicloud.com/centos/8/AppStream/x86_64/os/,
: https://mirrors.cloud.tencent.com/centos/8/AppStream/x86_64/os/,
: https://mirrors.aliyun.com/centos/8/AppStream/x86_64/os/
Repo-expire : 172,800 second(s) (last: Wed 28 Feb 2024 04:46:18 PM CST)
Repo-filename : /etc/yum.repos.d/test.repo

Repo-id : BaseOS
Repo-name : BaseOS
Repo-revision : 8.5
Repo-distro-tags : [cpe:/o:rocky:rocky:8]: , , 8, L, R, c, i, k, n, o, u, x, y
Repo-updated : Sun 14 Nov 2021 05:23:13 PM CST
Repo-pkgs : 1,708
Repo-available-pkgs: 1,706
Repo-size : 1.2 G
Repo-baseurl : file:///misc/cd/BaseOS,
: https://mirror.tuna.tsinghua.edu.cn/centos/8/BaseOS/x86_64/os/,
: https://mirrors.huaweicloud.com/centos/8/BaseOS/x86_64/os/,
: https://mirrors.cloud.tencent.com/centos/8/BaseOS/x86_64/os/,
: https://mirrors.aliyun.com/centos/8/BaseOS/x86_64/os/
Repo-expire : 172,800 second(s) (last: Wed 28 Feb 2024 04:46:18 PM CST)
Repo-filename : /etc/yum.repos.d/test.repo

Repo-id : PowerTools
Repo-name : CentOS- - PowerTools - mirrors.aliyun.com
Repo-revision : 8.5.2111
Repo-distro-tags : [cpe:/o:centos:centos:8]: , 8, C, O, S, e, n, t
Repo-updated : Fri 31 Dec 2021 02:07:04 PM CST
Repo-pkgs : 2,301
Repo-available-pkgs: 1,693
Repo-size : 7.7 G
Repo-baseurl : https://mirror.tuna.tsinghua.edu.cn/centos/8/PowerTools/x86_64/os/,
: https://mirrors.cloud.tencent.com/centos/8/PowerTools/x86_64/os/,
: https://mirrors.huaweicloud.com/centos/8/PowerTools/x86_64/os/,
: https://mirrors.aliyun.com/centos/8/PowerTools/x86_64/os/
Repo-expire : 172,800 second(s) (last: Wed 28 Feb 2024 04:46:43 PM CST)
Repo-filename : /etc/yum.repos.d/test.repo

Repo-id : epel
Repo-name : EPEL
Repo-revision : 1709085377
Repo-updated : Wed 28 Feb 2024 10:06:59 AM CST
Repo-pkgs : 10,042
Repo-available-pkgs: 10,040
Repo-size : 18 G
Repo-baseurl : https://mirror.tuna.tsinghua.edu.cn/epel/8/Everything/x86_64,
: https://mirrors.cloud.tencent.com/epel/8/Everything/x86_64,
: https://mirrors.huaweicloud.com/epel/8/Everything/x86_64,
: https://mirrors.aliyun.com/epel/8/Everything/x86_64
Repo-expire : 172,800 second(s) (last: Wed 28 Feb 2024 04:46:25 PM CST)
Repo-filename : /etc/yum.repos.d/test.repo

Repo-id : extras
Repo-name : extras
Repo-revision : 1646767567
Repo-updated : Wed 09 Mar 2022 03:26:07 AM CST
Repo-pkgs : 39
Repo-available-pkgs: 39
Repo-size : 437 k
Repo-baseurl : https://mirror.tuna.tsinghua.edu.cn/centos/8/extras/x86_64/os,
: https://mirrors.cloud.tencent.com/centos/8/extras/x86_64/os,
: https://mirrors.huaweicloud.com/centos/8/extras/x86_64/os,
: https://mirrors.aliyun.com/centos/8/extras/x86_64/os
Repo-expire : 172,800 second(s) (last: Wed 28 Feb 2024 04:46:33 PM CST)
Repo-filename : /etc/yum.repos.d/test.repo
Total packages: 20,253
[root@wang ~]# yum list sl
Last metadata expiration check: 0:01:29 ago on Wed 28 Feb 2024 04:46:43 PM CST.
Available Packages
sl.x86_64 5.02-1.el8 epel
[root@wang ~]# yum install sl
Last metadata expiration check: 0:01:44 ago on Wed 28 Feb 2024 04:46:43 PM CST.
Dependencies resolved.

Package Architecture Version Repository Size

Installing:
sl x86_64 5.02-1.el8 epel 16 k

Transaction Summary

Install 1 Package

Total download size: 16 k
Installed size: 26 k
Is this ok [y/N]: y
Downloading Packages:
sl-5.02-1.el8.x86_64.rpm 7.4 kB/s | 16 kB 00:02

Total 7.4 kB/s | 16 kB 00:02
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : sl-5.02-1.el8.x86_64 1/1
Running scriptlet: sl-5.02-1.el8.x86_64 1/1
Verifying : sl-5.02-1.el8.x86_64 1/1

Installed:
sl-5.02-1.el8.x86_64

Complete!
[root@wang ~]# yum info sl
Last metadata expiration check: 0:02:06 ago on Wed 28 Feb 2024 04:46:43 PM CST.
Installed Packages
Name : sl
Version : 5.02
Release : 1.el8
Architecture : x86_64
Size : 26 k
Source : sl-5.02-1.el8.src.rpm
Repository : @System
From repo : epel
Summary : Joke command for when you type 'sl' instead of 'ls'
URL : https://github.com/mtoyoda/sl
License : Copyright only
Description : The sl (Steam Locomotive) command is a joke which displays a train on your
: terminal when you accidentally type 'sl' instead of 'ls'.

[root@wang ~]# rpm -q sl
sl-5.02-1.el8.x86_64
[root@wang ~]# rpm -ql sl
/usr/bin/sl
/usr/lib/.build-id
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/664a85114a0cb25cf0460ada9ed86a7b128658
/usr/share/doc/sl
/usr/share/doc/sl/LICENSE
/usr/share/doc/sl/README.ja.md
/usr/share/doc/sl/README.md
/usr/share/man/ja/man1/sl.1.ja.gz
/usr/share/man/man1/sl.1.gz
[root@wang ~]# sl
[root@wang ~]# sl -a
[root@wang ~]# yum -y install cowsays
Last metadata expiration check: 0:03:36 ago on Wed 28 Feb 2024 04:46:43 PM CST.
No match for argument: cowsays
Error: Unable to find a match: cowsays
[root@wang ~]# yum -y install cowsay
Last metadata expiration check: 0:04:16 ago on Wed 28 Feb 2024 04:46:43 PM CST.
Dependencies resolved.

Package Architecture Version Repository Size

Installing:
cowsay noarch 3.7.0-10.el8 epel 47 k

Transaction Summary

Install 1 Package

Total download size: 47 k
Installed size: 72 k
Downloading Packages:
cowsay-3.7.0-10.el8.noarch.rpm 21 kB/s | 47 kB 00:02

Total 21 kB/s | 47 kB 00:02
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : cowsay-3.7.0-10.el8.noarch 1/1
Running scriptlet: cowsay-3.7.0-10.el8.noarch 1/1
Verifying : cowsay-3.7.0-10.el8.noarch 1/1

Installed:
cowsay-3.7.0-10.el8.noarch

Complete!
[root@wang ~]# rpm -ql cowsay
/etc/cowsay
/etc/cowsay/cowpath.d
/usr/bin/animalsay
/usr/bin/cowsay
/usr/bin/cowthink
/usr/share/bash-completion/completions/cowsay
/usr/share/cowsay
/usr/share/cowsay/cows
/usr/share/cowsay/cows/beavis.zen.cow
/usr/share/cowsay/cows/blowfish.cow
/usr/share/cowsay/cows/bud-frogs.cow
/usr/share/cowsay/cows/bunny.cow
/usr/share/cowsay/cows/cheese.cow
/usr/share/cowsay/cows/cower.cow
/usr/share/cowsay/cows/default.cow
/usr/share/cowsay/cows/dragon-and-cow.cow
/usr/share/cowsay/cows/dragon.cow
/usr/share/cowsay/cows/elephant-in-snake.cow
/usr/share/cowsay/cows/elephant.cow
/usr/share/cowsay/cows/eyes.cow
/usr/share/cowsay/cows/flaming-sheep.cow
/usr/share/cowsay/cows/fox.cow
/usr/share/cowsay/cows/ghostbusters.cow
/usr/share/cowsay/cows/hellokitty.cow
/usr/share/cowsay/cows/kiss.cow
/usr/share/cowsay/cows/kitty.cow
/usr/share/cowsay/cows/koala.cow
/usr/share/cowsay/cows/kosh.cow
/usr/share/cowsay/cows/llama.cow
/usr/share/cowsay/cows/luke-koala.cow
/usr/share/cowsay/cows/mech-and-cow
/usr/share/cowsay/cows/meow.cow
/usr/share/cowsay/cows/milk.cow
/usr/share/cowsay/cows/moofasa.cow
/usr/share/cowsay/cows/moose.cow
/usr/share/cowsay/cows/ren.cow
/usr/share/cowsay/cows/sheep.cow
/usr/share/cowsay/cows/skeleton.cow
/usr/share/cowsay/cows/small.cow
/usr/share/cowsay/cows/stegosaurus.cow
/usr/share/cowsay/cows/stimpy.cow
/usr/share/cowsay/cows/supermilker.cow
/usr/share/cowsay/cows/surgery.cow
/usr/share/cowsay/cows/three-eyes.cow
/usr/share/cowsay/cows/turkey.cow
/usr/share/cowsay/cows/turtle.cow
/usr/share/cowsay/cows/tux.cow
/usr/share/cowsay/cows/udder.cow
/usr/share/cowsay/cows/vader-koala.cow
/usr/share/cowsay/cows/vader.cow
/usr/share/cowsay/cows/www.cow
/usr/share/cowsay/site-cows
/usr/share/doc/cowsay
/usr/share/doc/cowsay/ChangeLog
/usr/share/doc/cowsay/LICENSE.txt
/usr/share/doc/cowsay/README
/usr/share/doc/cowsay/README.md
/usr/share/man/man1/cowsay.1.gz
/usr/share/man/man1/cowthink.1.gz
[root@wang ~]# cowsay
hello
^F
<hello ?HHHHHH^Hf
f
f

f^C
[root@wang ~]#
[root@wang ~]# cowsay hello


< hello >

\   ^__^
     \  (oo)\_______
        (__)\       )\/\
            ||----w |
            ||     ||

[root@wang ~]# animalsay hello


< hello >

\    ____
    \  /    \
      | ^__^ |
      | (oo) |______
      | (__) |      )\/\
       \____/|----w |
            ||     ||

         Moofasa

[root@wang ~]# animalsay hello


< hello >

\ . _ .
\ |_|//|
/ / / \ \
/
|O||O|__ \
|/_ _/_/ \ |
| | (
) | ||
/___/_
/ //
(
/ ||
| ||
| ||\
\ //
/
______//
__ || __||
(()
[root@wang ~]# animalsay hello


< hello >

\ . _ .
\ |_|//|
/ / / \ \
/
|O||O|__ \
|/_ _/_/ \ |
| | (
) | ||
/___/_
/ //
(
/ ||
| ||
| ||\
\ //
/
______//
__ || __||
(()
[root@wang ~]# animalsay hello


< hello >

\ __
\ (oo)_______ ________
()\ )/\ |Super |
||----W | |Milker|
|| UDDDDDDDDD|
____|
[root@wang ~]# animalsay hello


< hello >

\           \  / 
       \           \/  
           (__)    /\         
           (oo)   O  O        
           _\/_   //         
     *    (    ) //       
      \  (\\    //       
       \(  \\    )                              
        (   \\   )   /\

[_/^^^^^^^__/) o-)
|_[=======//)\
|
__//|
||| || //|| |||
||| || @.|| |||
|| / ./ ||
. .
'.'.`

COW-OPERATION

[root@wang ~]# animalsay hello


< hello >

\  ^___^
     \ (ooo)\_______
       (___)\       )\/\
            ||----w |
            ||     ||

[root@wang ~]# animalsay hello


< hello >

\ ,+^^++++
\ ,^^^^ )
\ _+
^**+

\ +^ _ ++*++++
, )+^^*+ ( ,+^ ^ +_ )
{ ) ( ,( ,_+--+--, ^) ^
{ (@) } f ,( ,+-^ __
* ^^_ ^\ )
{:;-/ (+-+^^^^^++*< ++)_ ) ) /
( / ( ( ,___ ^+_+ ) < <
U / ) --< ) ^-----++__) ) ) )
( ) _()^)) ) )^^^^))
+/ / /
( / (
))^)) ) ) ))^^^^))^^)/ +^^
( ,/ ()))) ) ) ))^^^^^^))^) _)
*+
+* (
))^) ) ) ))^^^^^))^^^)____*
\ _)^))) ))^^^^^^^^^))^^^)
(
__^^^^^^^^^^))^^^^^^)
^___ __^^^^))^^^^^^^)\
^^^^\uuu/\uuu/^^^^^^^^^^) >) >__ ^______)
^^//\_//\_ ^(___)
^^^ ^^ ^^^ ^
[root@wang ~]# animalsay hello


< hello >

\ ,+^^++++
\ ,^^^^ )
\ _+
^**+

\ +^ _ ++*++++
, )+^^*+ ( ,+^ ^ +_ )
{ ) ( ,( ,_+--+--, ^) ^
{ (@) } f ,( ,+-^ __
* ^^_ ^\ )
{:;-/ (+-+^^^^^++*< ++)_ ) ) /
( / ( ( ,___ ^+_+ ) < <
U / ) --< ) ^-----++__) ) ) )
( ) _()^)) ) )^^^^))
+/ / /
( / (
))^)) ) ) ))^^^^))^^)/ +^^
( ,/ ()))) ) ) ))^^^^^^))^) _)
*+
+* (
))^) ) ) ))^^^^^))^^^)____*
\ _)^))) ))^^^^^^^^^))^^^)
(
__^^^^^^^^^^))^^^^^^)
^___ __^^^^))^^^^^^^)\
^^^^\uuu/\uuu/^^^^^^^^^^) >) >__ ^______)
^^//\_//\_ ^(___)
^^^ ^^ ^^^ ^
[root@wang ~]# animalsay hello


< hello >

\                                  ___-------___
 \                             _-~~             ~~-_
  \                         _-~                    /~-_
         /^\__/^\         /~  \                   /    \
       /|  O|| O|        /      \_______________/        \
      | |___||__|      /       /                \          \
      |          \    /      /                    \          \
      |   (_______) /______/                        \_________ \
      |         / /         \                      /            \
       \         \^\\         \                  /               \     /
         \         ||           \______________/      _-_       //\__//
           \       ||------_-~~-_ ------------- \ --/~   ~\    || __/
             ~-----||====/~     |==================|       |/~~~~~
              (_(__/  ./     /                    \_\      \.
                     (_(___/                         \_____)_)

[root@wang ~]# animalsay hello


< hello >


.--.
|o_o |
|:_/ |
// \
(| | )
/'_ /`
_)=(
/

[root@wang ~]# animalsay hello


< hello >


.--.
|o_o |
|:_/ |
// \
(| | )
/'_ /`
_)=(
/

[root@wang ~]# animalsay hello


< hello >


\ (__)
o o\
('') ---------
\ \
| |\
||---( )_|| *
|| UU ||
== ==
[root@wang ~]# animalsay hello


< hello >

\    ,-^-.
     \   !oYo!
      \ /./=\.\______
           ##        )\/\
            ||-----w||
            ||      ||

           Cowth Vader

[root@wang ~]# animalsay hello


< hello >

\    ,-^-.
     \   !oYo!
      \ /./=\.\______
           ##        )\/\
            ||-----w||
            ||      ||

           Cowth Vader

[root@wang ~]# animalsay hello


< hello >


\ .
.---. //
Y|o o|Y//
/(i=i)K/()*()
(
)-(_)

Darth 
 Vader    
 koala

[root@wang ~]# animalsay hello


< hello >

\   ^__^
     \  (oo)\_______
        (__)\       )\/\
            ||--WWW |
            ||     ||

[root@wang ~]# animalsay hello


< hello >

\ -------,
\ ,' ,
/
/ :
| '
| |
| |
| -- || =-. .-. ||
o|/o/ . |
/ ~ \ |
(
_@) __~ |
|
===
~.` |.--~ |
_
|
\ |/-
-- -
_
/ _
[root@wang ~]#

## 升级内核

升级注意项:

(1) 不要对内核做升级操作;Linux支持多内核版本并存,因此直接安装新版本内核

(2) 如果原程序包的配置文件安装后曾被修改,升级时,新版本提供的同一个配置文件不会直接覆盖老

版本的配置文件,而把新版本文件重命名(FILENAME.rpmnew)后保留

网址:https://elrepo.org/tiki/HomePage

去这个网址选择你要升级的内核,如果你要升级内核版本的话,按需选择

To install ELRepo for RHEL-9:
yum install https://www.elrepo.org/elrepo-release-9.el9.elrepo.noarch.rpm

To install ELRepo for RHEL-8:
yum install https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm

To install ELRepo for RHEL-7, SL-7 or CentOS-7:
yum install https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm

过程:

[root@wang ~]# yum install https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm
Last metadata expiration check: 0:13:08 ago on Wed 28 Feb 2024 04:46:43 PM CST.
elrepo-release-8.el8.elrepo.noarch.rpm 4.6 kB/s | 13 kB 00:02
Dependencies resolved.

Package Architecture Version Repository Size

Installing:
elrepo-release noarch 8.3-1.el8.elrepo @commandline 13 k

Transaction Summary

Install 1 Package

Total size: 13 k
Installed size: 5.0 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : elrepo-release-8.3-1.el8.elrepo.noarch 1/1
Verifying : elrepo-release-8.3-1.el8.elrepo.noarch 1/1

Installed:
elrepo-release-8.3-1.el8.elrepo.noarch

Complete!
[root@wang ~]# ls
anaconda-ks.cfg initial-setup-ks.cfg
[root@wang ~]# cd /etc/yum.repos.d/
[root@wang yum.repos.d]# ls
elrepo.repo test.repo
[root@wang yum.repos.d]# vim elrepo.repo
[root@wang yum.repos.d]# yum list kernel*
Last metadata expiration check: 0:00:24 ago on Wed 28 Feb 2024 05:01:28 PM CST.
Installed Packages
kernel.x86_64 4.18.0-348.el8.0.2 @anaconda
kernel-core.x86_64 4.18.0-348.el8.0.2 @anaconda
kernel-modules.x86_64 4.18.0-348.el8.0.2 @anaconda
kernel-tools.x86_64 4.18.0-348.el8.0.2 @anaconda
kernel-tools-libs.x86_64 4.18.0-348.el8.0.2 @anaconda
Available Packages
kernel-abi-stablelists.noarch 4.18.0-348.el8.0.2 BaseOS
kernel-cross-headers.x86_64 4.18.0-348.el8.0.2 BaseOS
kernel-debug.x86_64 4.18.0-348.el8.0.2 BaseOS
kernel-debug-core.x86_64 4.18.0-348.el8.0.2 BaseOS
kernel-debug-devel.x86_64 4.18.0-348.el8.0.2 BaseOS
kernel-debug-modules.x86_64 4.18.0-348.el8.0.2 BaseOS
kernel-debug-modules-extra.x86_64 4.18.0-348.el8.0.2 BaseOS
kernel-devel.x86_64 4.18.0-348.el8.0.2 BaseOS
kernel-doc.noarch 4.18.0-348.el8.0.2 BaseOS
kernel-headers.x86_64 4.18.0-348.el8.0.2 BaseOS
kernel-modules-extra.x86_64 4.18.0-348.el8.0.2 BaseOS
kernel-rpm-macros.noarch 125-1.el8 AppStream
kernel-tools-libs-devel.x86_64 4.18.0-348.7.1.el8_5 PowerTools
kernelshark.x86_64 2.7-9.el8 AppStream
[root@wang yum.repos.d]# vim elrepo.repo

这里会发现我配置文件的里面的epel kernel的内核仓库没有启用,需要启用一下

就可以了

位置:
[elrepo-kernel]
name=ELRepo.org Community Enterprise Linux Kernel Repository - el8
baseurl=http://elrepo.org/linux/kernel/el8/$basearch/http://mirrors.coreix.net/elrepo/kernel/el8/$basearch/http://mirror.rackspace.com/elrepo/kernel/el8/$basearch/http://linux-mirrors.fnal.gov/linux/elrepo/kernel/el8/$basearch/
mirrorlist=http://mirrors.elrepo.org/mirrors-elrepo-kernel.el8
enabled=1
countme=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org

enabled=0 之前是0 现在给他改成1,保存退出就可以了

[root@wang yum.repos.d]# yum list kernel*
ELRepo.org Community Enterprise Linux Repository - el8 610 B/s | 3.0 kB 00:05
ELRepo.org Community Enterprise Linux Kernel Repository - el8 349 kB/s | 3.2 MB 00:09
Installed Packages
kernel.x86_64 4.18.0-348.el8.0.2 @anaconda
kernel-core.x86_64 4.18.0-348.el8.0.2 @anaconda
kernel-modules.x86_64 4.18.0-348.el8.0.2 @anaconda
kernel-tools.x86_64 4.18.0-348.el8.0.2 @anaconda
kernel-tools-libs.x86_64 4.18.0-348.el8.0.2 @anaconda
Available Packages
kernel-abi-stablelists.noarch 4.18.0-348.el8.0.2 BaseOS
kernel-cross-headers.x86_64 4.18.0-348.el8.0.2 BaseOS
kernel-debug.x86_64 4.18.0-348.el8.0.2 BaseOS
kernel-debug-core.x86_64 4.18.0-348.el8.0.2 BaseOS
kernel-debug-devel.x86_64 4.18.0-348.el8.0.2 BaseOS
kernel-debug-modules.x86_64 4.18.0-348.el8.0.2 BaseOS
kernel-debug-modules-extra.x86_64 4.18.0-348.el8.0.2 BaseOS
kernel-devel.x86_64 4.18.0-348.el8.0.2 BaseOS
kernel-doc.noarch 4.18.0-348.el8.0.2 BaseOS
kernel-headers.x86_64 4.18.0-348.el8.0.2 BaseOS
kernel-lt.x86_64 5.4.269-1.el8.elrepo elrepo-kernel
kernel-lt-core.x86_64 5.4.269-1.el8.elrepo elrepo-kernel
kernel-lt-devel.x86_64 5.4.269-1.el8.elrepo elrepo-kernel
kernel-lt-doc.noarch 5.4.269-1.el8.elrepo elrepo-kernel
kernel-lt-headers.x86_64 5.4.269-1.el8.elrepo elrepo-kernel
kernel-lt-modules.x86_64 5.4.269-1.el8.elrepo elrepo-kernel
kernel-lt-modules-extra.x86_64 5.4.269-1.el8.elrepo elrepo-kernel
kernel-lt-tools.x86_64 5.4.269-1.el8.elrepo elrepo-kernel
kernel-lt-tools-libs.x86_64 5.4.269-1.el8.elrepo elrepo-kernel
kernel-lt-tools-libs-devel.x86_64 5.4.269-1.el8.elrepo elrepo-kernel
kernel-ml.x86_64 6.7.6-1.el8.elrepo elrepo-kernel
kernel-ml-core.x86_64 6.7.6-1.el8.elrepo elrepo-kernel
kernel-ml-devel.x86_64 6.7.6-1.el8.elrepo elrepo-kernel
kernel-ml-doc.noarch 6.7.6-1.el8.elrepo elrepo-kernel
kernel-ml-headers.x86_64 6.7.6-1.el8.elrepo elrepo-kernel
kernel-ml-modules.x86_64 6.7.6-1.el8.elrepo elrepo-kernel
kernel-ml-modules-extra.x86_64 6.7.6-1.el8.elrepo elrepo-kernel
kernel-ml-tools.x86_64 6.7.6-1.el8.elrepo elrepo-kernel
kernel-ml-tools-libs.x86_64 6.7.6-1.el8.elrepo elrepo-kernel
kernel-ml-tools-libs-devel.x86_64 6.7.6-1.el8.elrepo elrepo-kernel
kernel-modules-extra.x86_64 4.18.0-348.el8.0.2 BaseOS
kernel-rpm-macros.noarch 125-1.el8 AppStream
kernel-tools-libs-devel.x86_64 4.18.0-348.7.1.el8_5 PowerTools
kernelshark.x86_64 2.7-9.el8 AppStream
[root@wang yum.repos.d]# yum -y install kernel-lt
Last metadata expiration check: 0:00:39 ago on Wed 28 Feb 2024 05:03:30 PM CST.
Dependencies resolved.

Package Architecture Version Repository Size

Installing:
kernel-lt x86_64 5.4.269-1.el8.elrepo elrepo-kernel 87 k
Installing dependencies:
kernel-lt-core x86_64 5.4.269-1.el8.elrepo elrepo-kernel 30 M
kernel-lt-modules x86_64 5.4.269-1.el8.elrepo elrepo-kernel 26 M

Transaction Summary

Install 3 Packages

Total download size: 56 M
Installed size: 91 M
Downloading Packages:
(1/3): kernel-lt-5.4.269-1.el8.elrepo.x86_64.rpm 27 kB/s | 87 kB 00:03
(2/3): kernel-lt-core-5.4.269-1.el8.elrepo.x86_64.rpm 2.1 MB/s | 30 MB 00:14
(3/3): kernel-lt-modules-5.4.269-1.el8.elrepo.x86_64.rpm 264 kB/s | 26 MB 01:40

Total 555 kB/s | 56 MB 01:42
ELRepo.org Community Enterprise Linux Kernel Repository - el8 1.6 MB/s | 1.7 kB 00:00
Importing GPG key 0xBAADAE52:
Userid : "elrepo.org (RPM Signing Key for elrepo.org) secure@elrepo.org"
Fingerprint: 96C0 104F 6315 4731 1E0B B1AE 309B C305 BAAD AE52
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : kernel-lt-core-5.4.269-1.el8.elrepo.x86_64 1/3
Running scriptlet: kernel-lt-core-5.4.269-1.el8.elrepo.x86_64 1/3
Installing : kernel-lt-modules-5.4.269-1.el8.elrepo.x86_64 2/3
Running scriptlet: kernel-lt-modules-5.4.269-1.el8.elrepo.x86_64 2/3
Installing : kernel-lt-5.4.269-1.el8.elrepo.x86_64 3/3
Running scriptlet: kernel-lt-core-5.4.269-1.el8.elrepo.x86_64 3/3
Running scriptlet: kernel-lt-5.4.269-1.el8.elrepo.x86_64 3/3
Verifying : kernel-lt-5.4.269-1.el8.elrepo.x86_64 1/3
Verifying : kernel-lt-core-5.4.269-1.el8.elrepo.x86_64 2/3
Verifying : kernel-lt-modules-5.4.269-1.el8.elrepo.x86_64 3/3

Installed:
kernel-lt-5.4.269-1.el8.elrepo.x86_64 kernel-lt-core-5.4.269-1.el8.elrepo.x86_64
kernel-lt-modules-5.4.269-1.el8.elrepo.x86_64

Complete!

[root@wang yum.repos.d]# ls /boot
config-4.18.0-348.el8.0.2.x86_64 loader
config-5.4.269-1.el8.elrepo.x86_64 symvers-4.18.0-348.el8.0.2.x86_64.gz
efi symvers-5.4.269-1.el8.elrepo.x86_64.gz
grub2 System.map-4.18.0-348.el8.0.2.x86_64
initramfs-0-rescue-39d699201b4245bd9edd6f5dd0f70b8e.img System.map-5.4.269-1.el8.elrepo.x86_64
initramfs-4.18.0-348.el8.0.2.x86_64.img vmlinuz-0-rescue-39d699201b4245bd9edd6f5dd0f70b8e
initramfs-4.18.0-348.el8.0.2.x86_64kdump.img vmlinuz-4.18.0-348.el8.0.2.x86_64
initramfs-5.4.269-1.el8.elrepo.x86_64.img vmlinuz-5.4.269-1.el8.elrepo.x86_64

这里可以看到已经有刚刚下的内核了 注意我们一般不升级内核,如果要升级内核,必须升级稳定版的内核

kernel-lt-tools-libs-devel.x86_64 #lt是稳定版
kernel-ml.x86_64 # 类似于测试版

reboot

这里就要重启选择了内核版本了

结果:

[root@wang ~]# uname -r
5.4.269-1.el8.elrepo.x86_64

## 卸载内核

注意:这里如果卸载内核的话,在当前的状态中,卸载当前状态的内核这是不可以的,因为你还在用,所以,需要重启选择旧的内核下,去卸载新的内核。

先确认一下是否切换到旧版本了,用uname -r

[root@wang ~]# uname -r
4.18.0-348.el8.0.2.x86_64

[root@wang ~]# yum remove kernel-lt
Dependencies resolved.

Package Architecture Version Repository Size

Removing:
kernel-lt x86_64 5.4.269-1.el8.elrepo @elrepo-kernel 0
Removing unused dependencies:
kernel-lt-core x86_64 5.4.269-1.el8.elrepo @elrepo-kernel 66 M
kernel-lt-modules x86_64 5.4.269-1.el8.elrepo @elrepo-kernel 25 M

Transaction Summary

Remove 3 Packages

Freed space: 91 M
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Erasing : kernel-lt-5.4.269-1.el8.elrepo.x86_64 1/3
Erasing : kernel-lt-modules-5.4.269-1.el8.elrepo.x86_64 2/3
Running scriptlet: kernel-lt-modules-5.4.269-1.el8.elrepo.x86_64 2/3
Running scriptlet: kernel-lt-core-5.4.269-1.el8.elrepo.x86_64 3/3
Erasing : kernel-lt-core-5.4.269-1.el8.elrepo.x86_64 3/3
Running scriptlet: kernel-lt-core-5.4.269-1.el8.elrepo.x86_64 3/3
Verifying : kernel-lt-5.4.269-1.el8.elrepo.x86_64 1/3
Verifying : kernel-lt-core-5.4.269-1.el8.elrepo.x86_64 2/3
Verifying : kernel-lt-modules-5.4.269-1.el8.elrepo.x86_64 3/3

Removed:
kernel-lt-5.4.269-1.el8.elrepo.x86_64 kernel-lt-core-5.4.269-1.el8.elrepo.x86_64
kernel-lt-modules-5.4.269-1.el8.elrepo.x86_64

Complete!

[root@wang ~]# ls /boot
config-4.18.0-348.el8.0.2.x86_64 loader
efi symvers-4.18.0-348.el8.0.2.x86_64.gz
grub2 System.map-4.18.0-348.el8.0.2.x86_64
initramfs-0-rescue-39d699201b4245bd9edd6f5dd0f70b8e.img vmlinuz-0-rescue-39d699201b4245bd9edd6f5dd0f70b8e
initramfs-4.18.0-348.el8.0.2.x86_64.img vmlinuz-4.18.0-348.el8.0.2.x86_64
initramfs-4.18.0-348.el8.0.2.x86_64kdump.img

###  **只下载相关的依赖包****,****而不安装**

比如说生产环境时,都是没有网的,所以,你只能从别处有网的地方把他下载下来,之后安装,下载到对应文件,之后你可以挂载,然后访问他们的文件,进行安装

/data/目录如果不存在,会自动创建

[root@centos8 ~]#yum -y install --downloadonly --downloaddir=/data/httpd httpd
[root@centos8 ~]#ls /data/httpd/
apr-1.6.3-9.el8.x86_64.rpm               httpd-2.4.37-
16.module_el8.1.0+256+ae790463.x86_64.rpm
apr-util-1.6.1-6.el8.x86_64.rpm           httpd-filesystem-2.4.37-
16.module_el8.1.0+256+ae790463.noarch.rpm
apr-util-bdb-1.6.1-6.el8.x86_64.rpm       httpd-tools-2.4.37-
16.module_el8.1.0+256+ae790463.x86_64.rpm
apr-util-openssl-1.6.1-6.el8.x86_64.rpm   mailcap-2.1.48-3.el8.noarch.rpm
centos-logos-httpd-80.5-2.el8.noarch.rpm mod_http2-1.11.3-
3.module_el8.1.0+213+acce2796.x86_64.rpm

## 清楚缓存

如果你安装yum发现错误了,其中可能就是缓存的问题,

需要这样做

过程:
[root@wang ~]# ll /var/cache/dnf
total 64556
drwxr-xr-x. 4 root root 56 Feb 28 16:07 appstream-62ae9a0bbea44fbe
drwxr-xr-x 3 root root 22 Feb 28 16:46 AppStream-adb9c48c67a3a01d
-rw-r--r--. 1 root root 8078946 Feb 28 15:56 appstream-filenames.solvx
-rw-r--r-- 1 root root 5672455 Feb 28 16:46 AppStream-filenames.solvx
-rw-r--r--. 1 root root 3126181 Feb 28 15:57 appstream.solv
-rw-r--r-- 1 root root 2629177 Feb 28 16:46 AppStream.solv
-rw-r--r--. 1 root root 2030359 Feb 28 15:56 appstream-updateinfo.solvx
drwxr-xr-x 3 root root 22 Feb 28 16:46 BaseOS-3a153efcd40744e0
drwxr-xr-x. 4 root root 56 Feb 28 15:57 baseos-3e608afeebc9a90b
-rw-r--r--. 1 root root 3287308 Feb 28 15:56 baseos-filenames.solvx
-rw-r--r-- 1 root root 1353150 Feb 28 16:46 BaseOS-filenames.solvx
-rw-r--r--. 1 root root 2035940 Feb 28 15:57 baseos.solv
-rw-r--r-- 1 root root 1604220 Feb 28 16:46 BaseOS.solv
-rw-r--r--. 1 root root 488612 Feb 28 15:56 baseos-updateinfo.solvx
drwxr-xr-x 3 root root 22 Feb 28 16:59 commandline-a76fe31ae310b0c7
drwxr-xr-x 3 root root 40 Feb 28 17:01 elrepo-f1a1068afed4d133
-rw-r--r-- 1 root root 28380 Feb 28 17:01 elrepo-filenames.solvx
drwxr-xr-x 4 root root 56 Feb 28 17:04 elrepo-kernel-e80375c2d5802dd1
-rw-r--r-- 1 root root 1421976 Feb 28 17:03 elrepo-kernel-filenames.solvx
-rw-r--r-- 1 root root 1677759 Feb 28 17:03 elrepo-kernel.solv
-rw-r--r-- 1 root root 150931 Feb 28 17:01 elrepo.solv
drwxr-xr-x 4 root root 38 Feb 28 16:48 epel-dc2badbde5a8c7e2
-rw-r--r-- 1 root root 13527472 Feb 28 16:46 epel-filenames.solvx
-rw-r--r-- 1 root root 870 Feb 28 16:46 epel-presto.solvx
-rw-r--r-- 1 root root 4142359 Feb 28 16:46 epel.solv
-rw-r--r-- 1 root root 10264500 Feb 28 16:46 epel-updateinfo.solvx
-rw-r--r--. 1 root root 2 Feb 28 17:35 expired_repos.json
drwxr-xr-x 3 root root 22 Feb 28 16:46 extras-06fe753aef5210a0
drwxr-xr-x. 3 root root 40 Feb 28 15:57 extras-b5feef55fd8cf39e
-rw-r--r-- 1 root root 1503 Feb 28 16:46 extras-filenames.solvx
-rw-r--r-- 1 root root 17062 Feb 28 16:46 extras.solv
-rw-r--r-- 1 root root 0 Feb 28 16:33 last_makecache
-rw-r--r--. 1 root root 1916928 Feb 28 17:20 packages.db
drwxr-xr-x 3 root root 22 Feb 28 16:46 PowerTools-8eb1595b74ed7757
-rw-r--r-- 1 root root 1779402 Feb 28 16:46 PowerTools-filenames.solvx
-rw-r--r-- 1 root root 818532 Feb 28 16:46 PowerTools.solv
-rw-r--r--. 1 root root 2 Feb 28 17:20 tempfiles.json
[root@wang ~]# du -sh /var/cache/dnf
114M /var/cache/dnf
[root@wang ~]# dnf clean all
70 files removed
[root@wang ~]# du -sh /var/cache/dnf
1.9M /var/cache/dnf

### yum的问题

1 yum 配置格式有错
2 yum metadata过旧,yum clean all
3 yum 源出问题,网络有问题

### yum历史

想看yum的操作历史吗,怎么办?

[root@wang ~]# yum history
ID | Command line | Date and time | Action(s) | Altered

12 | remove kernel-lt                                     | 2024-02-28 17:20 | Removed        |    3   
11 | -y install kernel-lt                                 | 2024-02-28 17:05 | Install        |    3   
10 | install https://www.elrepo.org/elrepo-release-8.el8. | 2024-02-28 16:59 | Install        |    1   
 9 | -y install cowsay                                    | 2024-02-28 16:51 | Install        |    1   
 8 | install sl                                           | 2024-02-28 16:48 | Install        |    1   
 7 | remove httpd                                         | 2024-02-28 16:47 | Removed        |    9   
 6 | install httpd                                        | 2024-02-28 16:46 | Install        |    9   
 5 | -y install autofs vim-enhanced tcpdump autofs chrony | 2024-02-28 16:07 | I, U           |   23   
 4 | -y install autofs                                    | 2024-02-28 16:06 | Install        |    1   
 3 | -y install lrzsz                                     | 2024-02-28 15:57 | Install        |    1   
 2 | -y install xz                                        | 2024-02-28 15:57 | Upgrade        |    2   
 1 |                                                      | 2024-02-28 15:44 | Install        | 1369 EE

如果你看具体哪个命令的历史,怎么办?

[root@wang ~]# yum history info 12
Transaction ID : 12
Begin time : Wed 28 Feb 2024 05:20:34 PM CST
Begin rpmdb : 1371:1feada959f57602d62e554ca63a37e62d45496a3
End time : Wed 28 Feb 2024 05:20:36 PM CST (2 seconds)
End rpmdb : 1368:423fddcb04e4b4bb8a41486c9d102fb9d1a136f6
User : root
Return-Code : Success
Releasever : 8
Command Line : remove kernel-lt
Comment :
Packages Altered:
Removed kernel-lt-5.4.269-1.el8.elrepo.x86_64 @@System
Removed kernel-lt-core-5.4.269-1.el8.elrepo.x86_64 @@System
Removed kernel-lt-modules-5.4.269-1.el8.elrepo.x86_64 @@System
[root@wang ~]# yum history info 13
[root@wang ~]# yum history info 11
Transaction ID : 11
Begin time : Wed 28 Feb 2024 05:05:52 PM CST
Begin rpmdb : 1368:423fddcb04e4b4bb8a41486c9d102fb9d1a136f6
End time : Wed 28 Feb 2024 05:06:30 PM CST (38 seconds)
End rpmdb : 1371:1feada959f57602d62e554ca63a37e62d45496a3
User : root
Return-Code : Success
Releasever : 8
Command Line : -y install kernel-lt
Comment :
Packages Altered:
Install kernel-lt-5.4.269-1.el8.elrepo.x86_64 @elrepo-kernel
Install kernel-lt-core-5.4.269-1.el8.elrepo.x86_64 @elrepo-kernel
Install kernel-lt-modules-5.4.269-1.el8.elrepo.x86_64 @elrepo-kernel
[root@wang ~]# yum history info 10
Transaction ID : 10
Begin time : Wed 28 Feb 2024 04:59:56 PM CST
Begin rpmdb : 1367:992d4591c9bf12067d28c92c81b55f99cff4b6d6
End time : Wed 28 Feb 2024 04:59:56 PM CST (0 seconds)
End rpmdb : 1368:423fddcb04e4b4bb8a41486c9d102fb9d1a136f6
User : root
Return-Code : Success
Releasever : 8
Command Line : install https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm
Comment :
Packages Altered:
Install elrepo-release-8.3-1.el8.elrepo.noarch @@commandline

## 如何搭建公司内部yum源仓库





###### 注意:命令必须写在一行里,如果是这种命令的话 ,如果换行就会出现报错的

dnf reposync --repoid=epel --download-metadata -p /var/www/html/epel

### 搭建过程

首先安装httpd 这个软件

[root@wang ~]# yum -y install httpd
Last metadata expiration check: 0:05:28 ago on Wed 28 Feb 2024 05:43:48 PM CST.
Dependencies resolved.

Package Architecture Version Repository Size

Installing:
httpd x86_64 2.4.37-41.module+el8.5.0+695+1fa8055e AppStream 1.4 M
Installing dependencies:
apr x86_64 1.6.3-12.el8 AppStream 128 k
apr-util x86_64 1.6.1-6.el8.1 AppStream 104 k
httpd-filesystem noarch 2.4.37-41.module+el8.5.0+695+1fa8055e AppStream 38 k
httpd-tools x86_64 2.4.37-41.module+el8.5.0+695+1fa8055e AppStream 105 k
mod_http2 x86_64 1.15.7-3.module+el8.5.0+695+1fa8055e AppStream 153 k
rocky-logos-httpd noarch 85.0-3.el8 BaseOS 22 k
Installing weak dependencies:
apr-util-bdb x86_64 1.6.1-6.el8.1 AppStream 23 k
apr-util-openssl x86_64 1.6.1-6.el8.1 AppStream 26 k

Transaction Summary

Install 9 Packages

Total size: 2.0 M
Installed size: 5.4 M
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : apr-1.6.3-12.el8.x86_64 1/9
Running scriptlet: apr-1.6.3-12.el8.x86_64 1/9
Installing : apr-util-bdb-1.6.1-6.el8.1.x86_64 2/9
Installing : apr-util-openssl-1.6.1-6.el8.1.x86_64 3/9
Installing : apr-util-1.6.1-6.el8.1.x86_64 4/9
Running scriptlet: apr-util-1.6.1-6.el8.1.x86_64 4/9
Installing : httpd-tools-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64 5/9
Running scriptlet: httpd-filesystem-2.4.37-41.module+el8.5.0+695+1fa8055e.noarch 6/9
Installing : httpd-filesystem-2.4.37-41.module+el8.5.0+695+1fa8055e.noarch 6/9
Installing : rocky-logos-httpd-85.0-3.el8.noarch 7/9
Installing : mod_http2-1.15.7-3.module+el8.5.0+695+1fa8055e.x86_64 8/9
Installing : httpd-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64 9/9
Running scriptlet: httpd-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64 9/9
Verifying : rocky-logos-httpd-85.0-3.el8.noarch 1/9
Verifying : apr-1.6.3-12.el8.x86_64 2/9
Verifying : apr-util-1.6.1-6.el8.1.x86_64 3/9
Verifying : apr-util-bdb-1.6.1-6.el8.1.x86_64 4/9
Verifying : apr-util-openssl-1.6.1-6.el8.1.x86_64 5/9
Verifying : httpd-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64 6/9
Verifying : httpd-filesystem-2.4.37-41.module+el8.5.0+695+1fa8055e.noarch 7/9
Verifying : httpd-tools-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64 8/9
Verifying : mod_http2-1.15.7-3.module+el8.5.0+695+1fa8055e.x86_64 9/9

Installed:
apr-1.6.3-12.el8.x86_64
apr-util-1.6.1-6.el8.1.x86_64
apr-util-bdb-1.6.1-6.el8.1.x86_64
apr-util-openssl-1.6.1-6.el8.1.x86_64
httpd-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64
httpd-filesystem-2.4.37-41.module+el8.5.0+695+1fa8055e.noarch
httpd-tools-2.4.37-41.module+el8.5.0+695+1fa8055e.x86_64
mod_http2-1.15.7-3.module+el8.5.0+695+1fa8055e.x86_64
rocky-logos-httpd-85.0-3.el8.noarch

Complete!
[root@wang ~]# cd /var/www/html
[root@wang html]# ls
[root@wang html]# systemctl enable --now httpd
Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service → /usr/lib/systemd/system/httpd.service.
[root@wang html]# pwd
/var/www/html
[root@wang html]# vim index.html
[root@wang html]# dnf reposync --repoid=epel --download-metadata -p /var/www/html/epel
EPEL 2.2 kB/s | 4.7 kB 00:02
EPEL 4.2 MB/s | 34 MB 00:08
(1/10042): 6tunnel-0.13-1.el8.x86_64.rpm 13 kB/s | 29 kB 00:02
(2/10042): 3proxy-0.8.13-1.el8.x86_64.rpm 76 kB/s | 175 kB 00:02
(3/10042): Agda-2.5.3-14.el8.x86_64.rpm 2.0 MB/s | 79 kB 00:00
(4/10042): AusweisApp2-1.22.3-1.el8.x86_64.rpm 6.2 MB/s | 1.0 MB 00:00
(5/10042): AusweisApp2-data-1.22.3-1.el8.noarch.rpm 8.7 MB/s | 5.2 MB 00:00
(6/10042): AusweisApp2-doc-1.22.3-1.el8.noarch.rpm 9.8 MB/s | 11 MB 00:01
(7/10042): BackupPC-4.4.0-1.el8.x86_64.rpm 6.2 MB/s | 489 kB 00:00
(8/10042): AMF-samples-1.4.33-1.el8.noarch.rpm 364 kB/s | 765 kB 00:02
(9/10042): BackupPC-XS-0.62-1.el8.x86_64.rpm 2.7 MB/s | 107 kB 00:00
(10/10042): CCfits-2.5-14.el8.x86_64.rpm 4.1 MB/s | 226 kB 00:00
(11/10042): CCfits-devel-2.5-14.el8.x86_64.rpm 2.5 MB/s | 97 kB 00:00
(12/10042): CCfits-doc-2.5-14.el8.noarch.rpm 5.1 MB/s | 297 kB 00:00
(13/10042): CFR-0.151-9.el8.noarch.rpm 8.0 MB/s | 1.8 MB 00:00
(14/10042): BibTool-2.68-1.el8.x86_64.rpm 1.5 MB/s | 613 kB 00:00
(15/10042): CFR-javadoc-0.151-9.el8.noarch.rpm 8.5 MB/s | 1.6 MB 00:00
(16/10042): AMF-devel-1.4.33-1.el8.noarch.rpm 585 kB/s | 2.8 MB 00:04
(17/10042): CGSI-gSOAP-1.3.11-7.el8.x86_64.rpm 261 kB/s | 55 kB 00:00
(18/10042): CGSI-gSOAP-devel-1.3.11-7.el8.x86_64.rpm 2.6 MB/s | 101 kB 00:00
(19/10042): CharLS-devel-2.0.0-6.el8.x86_64.rpm 462 kB/s | 15 kB 00:00
(20/10042): DNS-Compliance-Testing-0^20230708git4aea40b-1.el8.x86_64.rpm 1.4 MB/s | 48 kB 00:00
(21/10042): CharLS-2.0.0-6.el8.x86_64.rpm 1.9 MB/s | 106 kB 00:00
(22/10042): Field3D-devel-1.7.2-16.el8.x86_64.rpm 8.3 MB/s | 1.4 MB 00:00
(23/10042): FoXlibf-devel-4.1.2-12.el8.x86_64.rpm 6.8 MB/s | 601 kB 00:00
(24/10042): Field3D-1.7.2-16.el8.x86_64.rpm 1.9 MB/s | 556 kB 00:00
(25/10042): FoXlibf-static-4.1.2-12.el8.x86_64.rpm 6.1 MB/s | 468 kB 00:00
(26/10042): GMT-common-6.1.0-1.el8.noarch.rpm 9.9 MB/s | 28 MB 00:02
(27/10042): FoXlibf-4.1.2-12.el8.x86_64.rpm 202 kB/s | 637 kB 00:03
(28/10042): GMT-devel-6.1.0-1.el8.x86_64.rpm 3.6 MB/s | 171 kB 00:00
(29/10042): GeoIP-1.6.12-7.el8.x86_64.rpm 3.0 MB/s | 124 kB 00:00
(30/10042): GeoIP-GeoLite-data-2018.06-5.el8.noarch.rpm 5.2 MB/s | 552 kB 00:00
(31/10042): GeoIP-GeoLite-data-extra-2018.06-5.el8.noarch.rpm 9.5 MB/s | 26 MB 00:02
(32/10042): GeoIP-devel-1.6.12-7.el8.x86_64.rpm 758 kB/s | 24 kB 00:00
(33/10042): GeographicLib-1.50.1-1.el8.x86_64.rpm 6.4 MB/s | 541 kB 00:00
(34/10042): GeographicLib-devel-1.50.1-1.el8.x86_64.rpm 2.9 MB/s | 124 kB 00:00
(35/10042): GMT-6.1.0-1.el8.x86_64.rpm 401 kB/s | 2.3 MB 00:05
(36/10042): GeographicLib-doc-1.50.1-1.el8.noarch.rpm 7.4 MB/s | 2.9 MB 00:00
(37/10042): GraphicsMagick-c++-1.3.38-1.el8.x86_64.rpm 2.9 MB/s | 119 kB 00:00
(38/10042): GraphicsMagick-c++-devel-1.3.38-1.el8.x86_64.rpm 1.5 MB/s | 53 kB 00:00
(39/10042): GraphicsMagick-devel-1.3.38-1.el8.x86_64.rpm 2.1 MB/s | 74 kB 00:00
(40/10042): GraphicsMagick-doc-1.3.38-1.el8.noarch.rpm 5.8 MB/s | 1.1 MB 00:00
(41/10042): GraphicsMagick-perl-1.3.38-1.el8.x86_64.rpm 3.7 MB/s | 172 kB 00:00
(42/10042): HepMC-2.06.11-1.el8.x86_64.rpm 3.6 MB/s | 167 kB 00:00
(43/10042): HepMC-devel-2.06.11-1.el8.x86_64.rpm 1.5 MB/s | 55 kB 00:00
(44/10042): HepMC-doc-2.06.11-1.el8.noarch.rpm 6.1 MB/s | 1.1 MB 00:00
(45/10042): HepMC3-3.2.7-3.el8.x86_64.rpm 4.8 MB/s | 275 kB 00:00
(46/10042): HepMC3-devel-3.2.7-3.el8.x86_64.rpm 342 kB/s | 84 kB 00:00
(47/10042): HepMC3-doc-3.2.7-3.el8.noarch.rpm 6.9 MB/s | 736 kB 00:00
(48/10042): HepMC3-interfaces-devel-3.2.7-3.el8.noarch.rpm 632 kB/s | 22 kB 00:00
(49/10042): HepMC3-protobufIO-3.2.7-3.el8.x86_64.rpm 1.9 MB/s | 67 kB 00:00
(50/10042): HepMC3-protobufIO-devel-3.2.7-3.el8.x86_64.rpm 537 kB/s | 17 kB 00:00
(51/10042): HepMC3-rootIO-3.2.7-3.el8.x86_64.rpm 1.5 MB/s | 56 kB 00:00
(52/10042): HepMC3-rootIO-devel-3.2.7-3.el8.x86_64.rpm 534 kB/s | 16 kB 00:00
(53/10042): HepMC3-search-3.2.7-3.el8.x86_64.rpm 1.4 MB/s | 46 kB 00:00
(54/10042): HepMC3-search-devel-3.2.7-3.el8.x86_64.rpm 716 kB/s | 22 kB 00:00
(55/10042): IP2Location-8.6.0-7.el8.x86_64.rpm 1.1 MB/s | 36 kB 00:00
(56/10042): IP2Location-data-sample-8.6.0-7.el8.x86_64.rpm 7.3 MB/s | 752 kB 00:00
(57/10042): GraphicsMagick-1.3.38-1.el8.x86_64.rpm 2.6 MB/s | 4.6 MB 00:01
(58/10042): IP2Location-devel-8.6.0-7.el8.x86_64.rpm 457 kB/s | 14 kB 00:00
(59/10042): ImageMagick-6.9.12.93-1.el8.x86_64.rpm 2.6 MB/s | 114 kB 00:00
(60/10042): IP2Location-libs-8.6.0-7.el8.x86_64.rpm 490 kB/s | 23 kB 00:00
(61/10042): ImageMagick-c++-6.9.12.93-1.el8.x86_64.rpm 4.1 MB/s | 199 kB 00:00
(62/10042): ImageMagick-c++-devel-6.9.12.93-1.el8.x86_64.rpm 1.8 MB/s | 128 kB 00:00
(63/10042): ImageMagick-devel-6.9.12.93-1.el8.x86_64.rpm 3.0 MB/s | 133 kB 00:00
(64/10042): ImageMagick-djvu-6.9.12.93-1.el8.x86_64.rpm 1.2 MB/s | 53 kB 00:00
(65/10042): ImageMagick-doc-6.9.12.93-1.el8.x86_64.rpm 9.6 MB/s | 4.9 MB 00:00
(66/10042): ImageMagick-perl-6.9.12.93-1.el8.x86_64.rpm 3.8 MB/s | 177 kB 00:00
(67/10042): Lmod-8.7.32-1.el8.x86_64.rpm 4.7 MB/s | 267 kB 00:00
(68/10042): MUMPS-5.3.5-1.el8.x86_64.rpm 9.2 MB/s | 3.3 MB 00:00
(69/10042): MUMPS-common-5.3.5-1.el8.noarch.rpm 7.3 MB/s | 817 kB 00:00
(70/10042): MUMPS-devel-5.3.5-1.el8.x86_64.rpm 7.4 MB/s | 763 kB 00:00
(71/10042): MUMPS-examples-5.3.5-1.el8.x86_64.rpm 9.5 MB/s | 3.6 MB 00:00
(72/10042): MUMPS-mpich-5.3.5-1.el8.x86_64.rpm 9.4 MB/s | 3.4 MB 00:00
(73/10042): MUMPS-mpich-devel-5.3.5-1.el8.x86_64.rpm 7.3 MB/s | 763 kB 00:00
(74/10042): MUMPS-mpich-examples-5.3.5-1.el8.x86_64.rpm 1.0 MB/s | 32 kB 00:00
(75/10042): MUMPS-openmp-5.3.5-1.el8.x86_64.rpm 9.4 MB/s | 3.5 MB 00:00
(76/10042): MUMPS-openmp-devel-5.3.5-1.el8.x86_64.rpm 7.3 MB/s | 781 kB 00:00
(77/10042): MUMPS-openmp-examples-5.3.5-1.el8.x86_64.rpm 9.5 MB/s | 3.7 MB 00:00
(78/10042): MUMPS-openmpi-5.3.5-1.el8.x86_64.rpm 9.4 MB/s | 3.4 MB 00:00
(79/10042): MUMPS-openmpi-devel-5.3.5-1.el8.x86_64.rpm 7.4 MB/s | 766 kB 00:00
(80/10042): MUMPS-openmpi-examples-5.3.5-1.el8.x86_64.rpm 1.0 MB/s | 32 kB 00:00
(81/10042): MUMPS-srpm-macros-5.3.5-1.el8.noarch.rpm 594 kB/s | 18 kB 00:00
(82/10042): ImageMagick-libs-6.9.12.93-1.el8.x86_64.rpm 704 kB/s | 2.4 MB 00:03
(83/10042): MySQL-zrm-3.0-23.el8.noarch.rpm 3.3 MB/s | 145 kB 00:00
(84/10042): NetworkManager-fortisslvpn-gnome-1.2.10-4.el8.x86_64.rpm 1.1 MB/s | 36 kB 00:00
(85/10042): NetworkManager-l2tp-1.20.8-1.el8.x86_64.rpm 3.9 MB/s | 183 kB 00:00
(86/10042): NetworkManager-fortisslvpn-1.2.10-4.el8.x86_64.rpm 670 kB/s | 89 kB 00:00
(87/10042): NetworkManager-l2tp-gnome-1.20.8-1.el8.x86_64.rpm 1.5 MB/s | 52 kB 00:00
(88/10042): NetworkManager-openconnect-gnome-1.2.6-2.el8.1.x86_64.rpm 1.5 MB/s | 50 kB 00:00
(89/10042): NetworkManager-openvpn-1.8.10-1.el8.1.x86_64.rpm 4.3 MB/s | 265 kB 00:00
(90/10042): NetworkManager-openvpn-gnome-1.8.10-1.el8.1.x86_64.rpm 1.7 MB/s | 67 kB 00:00
(91/10042): NetworkManager-pptp-1.2.8-1.el8.3.x86_64.rpm 3.5 MB/s | 158 kB 00:00
(92/10042): NetworkManager-pptp-gnome-1.2.8-1.el8.3.x86_64.rpm 1.3 MB/s | 45 kB 00:00
(93/10042): NetworkManager-strongswan-1.5.2-1.el8.x86_64.rpm 464 kB/s | 14 kB 00:00
(94/10042): NetworkManager-strongswan-gnome-1.5.2-1.el8.x86_64.rpm 962 kB/s | 30 kB 00:00
(95/10042): OpenColorIO-1.1.1-8.el8.x86_64.rpm 5.6 MB/s | 369 kB 00:00
(96/10042): OpenColorIO-devel-1.1.1-8.el8.x86_64.rpm 1.0 MB/s | 31 kB 00:00
(97/10042): OpenColorIO-doc-1.1.1-8.el8.noarch.rpm 8.6 MB/s | 1.5 MB 00:00
(98/10042): OpenColorIO-tools-1.1.1-8.el8.x86_64.rpm 3.1 MB/s | 130 kB 00:00
(99/10042): OpenImageIO-2.1.20.0-1.el8.x86_64.rpm 9.0 MB/s | 2.2 MB 00:00
(100/10042): NetworkManager-openconnect-1.2.6-2.el8.1.x86_64.rpm 549 kB/s | 464 kB 00:00
(101/10042): OpenImageIO-devel-2.1.20.0-1.el8.x86_64.rpm 5.3 MB/s | 321 kB 00:00
(102/10042): OpenImageIO-utils-2.1.20.0-1.el8.x86_64.rpm 5.7 MB/s | 379 kB 00:00
(103/10042): OpenStego-0.7.4-2.el8.noarch.rpm 3.9 MB/s | 187 kB 00:00
(104/10042): OpenImageIO-iv-2.1.20.0-1.el8.x86_64.rpm 504 kB/s | 97 kB 00:00
(105/10042): OpenStego-javadoc-0.7.4-2.el8.noarch.rpm 2.2 MB/s | 89 kB 00:00
(106/10042): PDAL-devel-2.1.0-8.el8.x86_64.rpm 3.9 MB/s | 183 kB 00:00
(107/10042): PDAL-doc-2.1.0-8.el8.noarch.rpm 379 kB/s | 11 kB 00:00
(108/10042): PDAL-libs-2.1.0-8.el8.x86_64.rpm 8.9 MB/s | 2.1 MB 00:00
(109/10042): PDAL-2.1.0-8.el8.x86_64.rpm 256 kB/s | 88 kB 00:00
(110/10042): PEGTL-devel-2.8.1-1.el8.x86_64.rpm 3.2 MB/s | 134 kB 00:00
(111/10042): PackageKit-Qt5-devel-1.0.2-4.el8.x86_64.rpm 708 kB/s | 30 kB 00:00
(112/10042): Panini-0.73.0-7.el8.x86_64.rpm 4.5 MB/s | 235 kB 00:00
(113/10042): Pound-2.8-1.el8.x86_64.rpm 2.8 MB/s | 116 kB 00:00
(114/10042): PackageKit-Qt5-1.0.2-4.el8.x86_64.rpm 638 kB/s | 113 kB 00:00
(115/10042): PyQt-builder-1.13.0-3.el8.noarch.rpm 2.3 MB/s | 87 kB 00:00
(116/10042): PySolFC-cardsets-2.0-18.el8.noarch.rpm 10 MB/s | 28 MB 00:02
(117/10042): PySolFC-music-4.50-1.el8.noarch.rpm 9.0 MB/s | 2.2 MB 00:00
(118/10042): R-4.3.2-1.el8.x86_64.rpm 1.2 MB/s | 41 kB 00:00
(119/10042): R-RInside-0.2.18-4.el8.x86_64.rpm 2.1 MB/s | 75 kB 00:00
(120/10042): R-RInside-devel-0.2.18-4.el8.x86_64.rpm 474 kB/s | 14 kB 00:00
(121/10042): R-RInside-examples-0.2.18-4.el8.x86_64.rpm 1.8 MB/s | 63 kB 00:00
(122/10042): R-RUnit-0.4.32-5.el8.noarch.rpm 5.2 MB/s | 310 kB 00:00
(123/10042): R-Rcpp-1.0.12-1.el8.x86_64.rpm 8.7 MB/s | 1.6 MB 00:00
(124/10042): R-Rcpp-devel-1.0.12-1.el8.x86_64.rpm 4.9 MB/s | 278 kB 00:00
(125/10042): R-Rcpp-examples-1.0.12-1.el8.x86_64.rpm 1.3 MB/s | 43 kB 00:00
(126/10042): R-core-4.3.2-1.el8.x86_64.rpm 10 MB/s | 63 MB 00:06
(127/10042): R-core-devel-4.3.2-1.el8.x86_64.rpm 2.5 MB/s | 119 kB 00:00
(128/10042): R-devel-4.3.2-1.el8.x86_64.rpm 1.2 MB/s | 40 kB 00:00
(129/10042): R-highlight-0.5.1-4.el8.x86_64.rpm 6.5 MB/s | 547 kB 00:00
(130/10042): R-inline-0.3.19-9.el8.noarch.rpm 3.3 MB/s | 150 kB 00:00
(131/10042): R-java-4.3.2-1.el8.x86_64.rpm 1.1 MB/s | 41 kB 00:00
(132/10042): R-java-devel-4.3.2-1.el8.x86_64.rpm 1.2 MB/s | 41 kB 00:00
(133/10042): R-littler-0.3.19-1.el8.x86_64.rpm 2.0 MB/s | 72 kB 00:00
(134/10042): R-littler-examples-0.3.19-1.el8.x86_64.rpm 1.2 MB/s | 38 kB 00:00
(135/10042): R-qtl-1.66-1.el8.x86_64.rpm 9.7 MB/s | 5.4 MB 00:00
(136/10042): R-rJava-1.0.6-5.el8.x86_64.rpm 7.3 MB/s | 779 kB 00:00
(137/10042): R-rJava-javadoc-1.0.6-5.el8.noarch.rpm 5.1 MB/s | 298 kB 00:00
(138/10042): R-rlecuyer-0.3.5-14.el8.x86_64.rpm 2.3 MB/s | 89 kB 00:00
(139/10042): GMT-doc-6.1.0-1.el8.noarch.rpm 1.1 MB/s | 24 MB 00:21
(140/10042): R-rpm-macros-1.1.0-2.el8.noarch.rpm 218 kB/s | 11 kB 00:00
(141/10042): RBTools-2.0.1-0.1.el8.noarch.rpm 6.0 MB/s | 435 kB 00:00
(142/10042): RdRand-2.1.2-2.el8.x86_64.rpm 575 kB/s | 43 kB 00:00
(143/10042): RdRand-devel-2.1.2-2.el8.x86_64.rpm 500 kB/s | 15 kB 00:00
(144/10042): SDL2_gfx-1.0.4-10.el8.x86_64.rpm 1.3 MB/s | 41 kB 00:00
(145/10042): SDL2_gfx-devel-1.0.4-10.el8.x86_64.rpm 634 kB/s | 19 kB 00:00
(146/10042): Rex-1.14.2-0.el8.noarch.rpm 5.2 MB/s | 494 kB 00:00
(147/10042): SDL2_gfx-docs-1.0.4-10.el8.noarch.rpm 4.8 MB/s | 258 kB 00:00
(148/10042): SDL2_image-2.6.3-1.el8.x86_64.rpm 1.7 MB/s | 104 kB 00:00
(149/10042): SDL2_image-devel-2.6.3-1.el8.x86_64.rpm 703 kB/s | 21 kB 00:00
(150/10042): SDL2_mixer-devel-2.6.3-1.el8.x86_64.rpm 1.1 MB/s | 35 kB 00:00
(151/10042): SDL2_mixer-2.6.3-1.el8.x86_64.rpm 2.9 MB/s | 163 kB 00:00
(152/10042): SDL2_net-2.0.1-15.el8.x86_64.rpm 693 kB/s | 21 kB 00:00
(153/10042): SDL2_net-devel-2.0.1-15.el8.x86_64.rpm 453 kB/s | 14 kB 00:00
(154/10042): SDL2_ttf-2.20.2-1.el8.x86_64.rpm 1.1 MB/s | 38 kB 00:00
(155/10042): SDL2_ttf-devel-2.20.2-1.el8.x86_64.rpm 713 kB/s | 24 kB 00:00
(156/10042): SDL_gfx-2.0.26-1.el8.x86_64.rpm 1.6 MB/s | 57 kB 00:00
(157/10042): SDL_gfx-devel-2.0.26-1.el8.x86_64.rpm 682 kB/s | 22 kB 00:00
(158/10042): SDL_image-1.2.12-31.el8.x86_64.rpm 1.5 MB/s | 50 kB 00:00
(159/10042): SDL_image-devel-1.2.12-31.el8.x86_64.rpm 530 kB/s | 17 kB 00:00
(160/10042): SDL_net-1.2.8-16.el8.x86_64.rpm 792 kB/s | 24 kB 00:00
(161/10042): SDL_net-devel-1.2.8-16.el8.x86_64.rpm 542 kB/s | 17 kB 00:00
(162/10042): ShellCheck-0.6.0-3.el8.x86_64.rpm 1.6 MB/s | 58 kB 00:00
(163/10042): SoapySDR-0.8.1-3.el8.x86_64.rpm 3.0 MB/s | 161 kB 00:00
(164/10042): SoapySDR-devel-0.8.1-3.el8.x86_64.rpm 1.2 MB/s | 40 kB 00:00
(165/10042): SuperLUMT-3.1.0-24.el8.x86_64.rpm 2.3 MB/s | 85 kB 00:00
(166/10042): SoapySDR-doc-0.8.1-3.el8.noarch.rpm 3.4 MB/s | 240 kB 00:00
(167/10042): SuperLUMT-common-3.1.0-24.el8.noarch.rpm 7.0 MB/s | 649 kB 00:00
(168/10042): SuperLUMT-complex-3.1.0-24.el8.x86_64.rpm 1.0 MB/s | 89 kB 00:00
(169/10042): SuperLUMT-complex16-3.1.0-24.el8.x86_64.rpm 2.4 MB/s | 89 kB 00:00
(170/10042): SuperLUMT-devel-3.1.0-24.el8.x86_64.rpm 873 kB/s | 29 kB 00:00
(171/10042): SuperLUMT-double-3.1.0-24.el8.x86_64.rpm 2.3 MB/s | 85 kB 00:00
(172/10042): SuperLUMT64-3.1.0-24.el8.x86_64.rpm 2.0 MB/s | 82 kB 00:00
(173/10042): SuperLUMT64-complex-3.1.0-24.el8.x86_64.rpm 2.3 MB/s | 86 kB 00:00
(174/10042): SuperLUMT64-complex16-3.1.0-24.el8.x86_64.rpm 2.1 MB/s | 86 kB 00:00
(175/10042): SuperLUMT64-devel-3.1.0-24.el8.x86_64.rpm 904 kB/s | 29 kB 00:00
(176/10042): SuperLUMT64-double-3.1.0-24.el8.x86_64.rpm 1.9 MB/s | 82 kB 00:00
(177/10042): TeXmacs-devel-2.1-1.el8.x86_64.rpm 7.6 kB/s | 40 kB 00:05
(178/10042): TeXmacs-2.1-1.el8.x86_64.rpm 9.9 MB/s | 63 MB 00:06
(179/10042): Thunar-devel-4.16.8-1.el8.x86_64.rpm 1.2 MB/s | 54 kB 00:00
(180/10042): Thunar-docs-4.16.8-1.el8.x86_64.rpm 3.4 MB/s | 154 kB 00:00
(181/10042): aalib-1.4.0-0.37.rc5.el8.x86_64.rpm 851 kB/s | 28 kB 00:00
(182/10042): aalib-devel-1.4.0-0.37.rc5.el8.x86_64.rpm 2.6 MB/s | 103 kB 00:00
(183/10042): aalib-libs-1.4.0-0.37.rc5.el8.x86_64.rpm 1.8 MB/s | 72 kB 00:00
(184/10042): abcMIDI-2020.06.29-1.el8.x86_64.rpm 6.1 MB/s | 439 kB 00:00
(185/10042): abcm2ps-8.14.13-1.el8.x86_64.rpm 8.9 MB/s | 1.9 MB 00:00
(186/10042): abcm2ps-doc-8.14.13-1.el8.noarch.rpm 9.7 MB/s | 5.6 MB 00:00
(187/10042): abduco-0.6-8.el8.x86_64.rpm 851 kB/s | 26 kB 00:00
(188/10042): abi-compliance-checker-2.3-4.el8.noarch.rpm 4.1 MB/s | 213 kB 00:00
(189/10042): abi-dumper-1.2-1.el8.noarch.rpm 1.6 MB/s | 53 kB 00:00
(190/10042): Thunar-4.16.8-1.el8.x86_64.rpm 743 kB/s | 1.6 MB 00:02
(191/10042): abrt-server-info-page-1.8-1.el8.noarch.rpm 8.5 MB/s | 1.4 MB 00:00
(192/10042): abseil-cpp-devel-20200923.3-1.el8.x86_64.rpm 6.7 MB/s | 576 kB 00:00
(193/10042): accounts-qml-module-0.7-7.el8.x86_64.rpm 2.3 MB/s | 88 kB 00:00
(194/10042): accounts-qml-module-doc-0.7-7.el8.noarch.rpm 778 kB/s | 24 kB 00:00
(195/10042): ack-3.0.3-1.el8.noarch.rpm 2.2 MB/s | 81 kB 00:00
(196/10042): abseil-cpp-20200923.3-1.el8.x86_64.rpm 1.3 MB/s | 485 kB 00:00
(197/10042): acme-tiny-4.1.0-7.el8.noarch.rpm 666 kB/s | 21 kB 00:00
(198/10042): acme-tiny-core-4.1.0-7.el8.noarch.rpm 505 kB/s | 19 kB 00:00
(199/10042): adb-enhanced-2.5.7-1.el8.noarch.rpm 9.6 MB/s | 7.4 MB 00:00
(200/10042): adobe-source-sans-pro-fonts-3.028-1.el8.noarch.rpm 8.0 MB/s | 1.1 MB 00:00
(201/10042): adplug-2.3.3-1.el8.x86_64.rpm 4.9 MB/s | 272 kB 00:00
(202/10042): adplug-devel-2.3.3-1.el8.x86_64.rpm 2.3 MB/s | 88 kB 00:00
(203/10042): advancecomp-2.5-1.el8.x86_64.rpm 4.5 MB/s | 244 kB 00:00
(204/10042): aeskeyfind-1.0-16.el8.x86_64.rpm 614 kB/s | 18 kB 00:00
(205/10042): aespipe-2.4e-4.el8.x86_64.rpm 1.4 MB/s | 49 kB 00:00
(206/10042): afetch-2.2.0-2.el8.x86_64.rpm 930 kB/s | 29 kB 00:00
(207/10042): afflib-3.7.20-1.el8.x86_64.rpm 3.8 MB/s | 219 kB 00:00
(208/10042): afflib-devel-3.7.20-1.el8.x86_64.rpm 1.2 MB/s | 40 kB 00:00
(209/10042): afftools-3.7.20-1.el8.x86_64.rpm 3.7 MB/s | 172 kB 00:00
(210/10042): afpfs-ng-0.8.1-35.el8.x86_64.rpm 2.2 MB/s | 100 kB 00:00
(211/10042): afpfs-ng-devel-0.8.1-35.el8.x86_64.rpm 693 kB/s | 21 kB 00:00
(212/10042): aggregate6-1.0.12-2.el8.noarch.rpm 308 kB/s | 11 kB 00:00
(213/10042): agrep-0.8.0-27.20140228gitc2f5d13.el8.x86_64.rpm 832 kB/s | 25 kB 00:00
(214/10042): aha-0.5.1-2.el8.x86_64.rpm 723 kB/s | 22 kB 00:00
(215/10042): aiodnsbrute-0.3.2-2.el8.noarch.rpm 9.6 MB/s | 19 MB 00:02
(216/10042): airinv-1.00.8-1.el8.x86_64.rpm 6.1 MB/s | 464 kB 00:00
(217/10042): airinv-devel-1.00.8-1.el8.x86_64.rpm 676 kB/s | 20 kB 00:00
(218/10042): airinv-doc-1.00.8-1.el8.noarch.rpm 6.2 MB/s | 1.2 MB 00:00
(219/10042): airrac-1.00.3-1.el8.x86_64.rpm 3.6 MB/s | 164 kB 00:00
(220/10042): airrac-devel-1.00.3-1.el8.x86_64.rpm 578 kB/s | 17 kB 00:00
(221/10042): airrac-doc-1.00.3-1.el8.noarch.rpm 5.3 MB/s | 355 kB 00:00
(222/10042): airtsp-1.01.5-1.el8.x86_64.rpm 5.1 MB/s | 292 kB 00:00
(223/10042): airtsp-devel-1.01.5-1.el8.x86_64.rpm 554 kB/s | 17 kB 00:00
(224/10042): airtsp-doc-1.01.5-1.el8.noarch.rpm 7.6 MB/s | 1.0 MB 00:00
(225/10042): akmods-0.5.6-24.el8.noarch.rpm 866 kB/s | 27 kB 00:00
(226/10042): akonadi-calendar-tools-21.08.3-1.el8.x86_64.rpm 6.0 MB/s | 449 kB 00:00
(227/10042): akonadi-import-wizard-21.08.3-1.el8.x86_64.rpm 7.4 MB/s | 815 kB 00:00
(228/10042): akonadi-import-wizard-devel-21.08.3-1.el8.x86_64.rpm 663 kB/s | 20 kB 00:00
(229/10042): akonadiconsole-21.08.3-1.el8.x86_64.rpm 6.2 MB/s | 447 kB 00:00
(230/10042): akregator-21.08.3-1.el8.x86_64.rpm 9.0 MB/s | 2.1 MB 00:00
(231/10042): akregator-libs-21.08.3-1.el8.x86_64.rpm 6.9 MB/s | 614 kB 00:00
(232/10042): alacarte-3.36.0-1.el8.noarch.rpm 3.2 MB/s | 136 kB 00:00
(233/10042): alex-3.2.4-1.el8.x86_64.rpm 3.6 MB/s | 187 kB 00:00
(234/10042): algobox-1.1.1-1.el8.x86_64.rpm 7.6 MB/s | 899 kB 00:00
(235/10042): alien-8.95-14.el8.noarch.rpm 2.4 MB/s | 91 kB 00:00
(236/10042): alpine-2.24-1.el8.x86_64.rpm 9.1 MB/s | 2.5 MB 00:00
(237/10042): altermime-0.3.10-21.el8.x86_64.rpm 1.8 MB/s | 66 kB 00:00
(238/10042): am-utils-6.2.0-38.el8.x86_64.rpm 8.0 MB/s | 1.1 MB 00:00
(239/10042): amavis-2.12.1-5.el8.noarch.rpm 6.0 MB/s | 413 kB 00:00
(240/10042): amavis-doc-2.12.1-5.el8.noarch.rpm 6.4 MB/s | 488 kB 00:00
(241/10042): amavis-snmp-2.12.1-5.el8.noarch.rpm 1.3 MB/s | 43 kB 00:00
(242/10042): amavisd-milter-1.7.2-1.el8.x86_64.rpm 1.2 MB/s | 38 kB 00:00
(243/10042): amg4psblas-doc-1.0.0-2.el8.noarch.rpm 5.7 MB/s | 377 kB 00:00
(244/10042): amg4psblas-mpich-1.0.0-2.el8.x86_64.rpm 6.7 MB/s | 581 kB 00:00
(245/10042): amg4psblas-mpich-devel-1.0.0-2.el8.x86_64.rpm 9.9 MB/s | 90 MB 00:09
(246/10042): amg4psblas-openmpi-1.0.0-2.el8.x86_64.rpm 6.8 MB/s | 592 kB 00:00
(247/10042): amg4psblas-openmpi-devel-1.0.0-2.el8.x86_64.rpm 10 MB/s | 90 MB 00:08
(248/10042): amg4psblas-serial-1.0.0-2.el8.x86_64.rpm 6.5 MB/s | 532 kB 00:00
(249/10042): amg4psblas-serial-devel-1.0.0-2.el8.x86_64.rpm 10 MB/s | 89 MB 00:08
(250/10042): amiri-fonts-1.000-1.el8.noarch.rpm 6.1 MB/s | 500 kB 00:00
(251/10042): amiri-fonts-common-1.000-1.el8.noarch.rpm 1.1 MB/s | 38 kB 00:00
(252/10042): amiri-quran-fonts-1.000-1.el8.noarch.rpm 2.5 MB/s | 95 kB 00:00
(253/10042): aml-0.3.0-2.el8.x86_64.rpm 657 kB/s | 20 kB 00:00
(254/10042): aml-devel-0.3.0-2.el8.x86_64.rpm 339 kB/s | 11 kB 00:00
(255/10042): ampache_browser-1.0.6-1.el8.x86_64.rpm 4.0 MB/s | 194 kB 00:00
(256/10042): ampache_browser-devel-1.0.6-1.el8.x86_64.rpm 529 kB/s | 16 kB 00:00
(257/10042): analitza-22.04.1-1.el8.x86_64.rpm 6.8 MB/s | 598 kB 00:00
(258/10042): analitza-devel-22.04.1-1.el8.x86_64.rpm 1.6 MB/s | 56 kB 00:00
(259/10042): android-tools-33.0.3p1-3.el8.x86_64.rpm 9.2 MB/s | 2.8 MB 00:00
(260/10042): anope-2.1.2-1.el8.x86_64.rpm 9.5 MB/s | 3.9 MB 00:00
(261/10042): anope-gnutls-2.1.2-1.el8.x86_64.rpm 1.1 MB/s | 41 kB 00:00
(262/10042): anope-ldap-2.1.2-1.el8.x86_64.rpm 2.5 MB/s | 93 kB 00:00
(263/10042): anope-mysql-2.1.2-1.el8.x86_64.rpm 3.8 MB/s | 183 kB 00:00
(264/10042): anope-openssl-2.1.2-1.el8.x86_64.rpm 1.1 MB/s | 37 kB 00:00
(265/10042): anope-pcre2-2.1.2-1.el8.x86_64.rpm 1.0 MB/s | 33 kB 00:00
(266/10042): anope-sqlite-2.1.2-1.el8.x86_64.rpm 1.4 MB/s | 47 kB 00:00
(267/10042): anope-tre-2.1.2-1.el8.x86_64.rpm 978 kB/s | 30 kB 00:00
(268/10042): ansible-8.3.0-1.el8.noarch.rpm 10 MB/s | 41 MB 00:04
(269/10042): ansible-collection-ansible-posix-1.5.4-1.el8.noarch.rpm 2.7 MB/s | 117 kB 00:00
(270/10042): ansible-collection-ansible-utils-2.6.1-1.el8.noarch.rpm 3.3 MB/s | 142 kB 00:00
(271/10042): ansible-collection-awx-awx-23.7.0-1.el8.noarch.rpm 2.6 MB/s | 101 kB 00:00
(272/10042): ansible-collection-chocolatey-chocolatey-1.4.0-1.el8.noarch.r 1.4 MB/s | 49 kB 00:00
(273/10042): ansible-collection-community-docker-2.6.0-1.el8.noarch.rpm 3.6 MB/s | 175 kB 00:00
(274/10042): ansible-collection-community-general-7.0.0-1.el8.noarch.rpm 8.6 MB/s | 1.6 MB 00:00
(275/10042): ansible-collection-community-libvirt-1.2.0-1.el8.noarch.rpm 1.4 MB/s | 47 kB 00:00
(276/10042): ansible-collection-community-mysql-3.5.1-1.el8.noarch.rpm 2.2 MB/s | 81 kB 00:00
(277/10042): ansible-collection-community-rabbitmq-1.2.3-1.el8.noarch.rpm 1.7 MB/s | 59 kB 00:00
(278/10042): ansible-collection-containers-podman-1.12.0-5.el8.noarch.rpm 2.7 MB/s | 105 kB 00:00
(279/10042): ansible-collection-netbox-netbox-3.7.1-1.el8.noarch.rpm 7.1 MB/s | 663 kB 00:00
(280/10042): ansible-packaging-1-12.el8.noarch.rpm 419 kB/s | 12 kB 00:00
(281/10042): ansible-srpm-macros-1-12.el8.noarch.rpm 693 kB/s | 21 kB 00:00
(282/10042): ansifilter-2.20-1.el8.x86_64.rpm 2.8 MB/s | 110 kB 00:00
(283/10042): ansifilter-gui-2.20-1.el8.x86_64.rpm 3.6 MB/s | 160 kB 00:00
(284/10042): anthy-unicode-1.0.0.20201109-10.el8.x86_64.rpm 9.7 MB/s | 6.1 MB 00:00
(285/10042): anthy-unicode-devel-1.0.0.20201109-10.el8.x86_64.rpm 959 kB/s | 31 kB 00:00
(286/10042): aom-3.6.1-1.el8.x86_64.rpm 5.0 MB/s | 282 kB 00:00
(287/10042): apache-commons-digester-2.1-19.el8.noarch.rpm 4.0 MB/s | 192 kB 00:00
(288/10042): apache-commons-digester-javadoc-2.1-19.el8.noarch.rpm 5.0 MB/s | 283 kB 00:00
(289/10042): apachetop-0.23.2-1.el8.x86_64.rpm 1.3 MB/s | 45 kB 00:00
(290/10042): apcupsd-3.14.14-18.el8.x86_64.rpm 5.2 MB/s | 311 kB 00:00
(291/10042): apcupsd-cgi-3.14.14-18.el8.x86_64.rpm 1.6 MB/s | 55 kB 00:00
(292/10042): apcupsd-gui-3.14.14-18.el8.x86_64.rpm 2.1 MB/s | 77 kB 00:00
(293/10042): apg-2.3.0b-37.el8.x86_64.rpm 2.5 MB/s | 93 kB 00:00
(294/10042): appliance-tools-011.2-1.el8.noarch.rpm 1.9 MB/s | 72 kB 00:00
(295/10042): apprise-1.7.2-1.el8.noarch.rpm 693 kB/s | 22 kB 00:00
(296/10042): appstream-0.12.9-4.el8.x86_64.rpm 5.6 MB/s | 364 kB 00:00
(297/10042): appstream-devel-0.12.9-4.el8.x86_64.rpm 8.7 MB/s | 1.7 MB 00:00
(298/10042): appstream-qt-0.12.9-4.el8.x86_64.rpm 2.0 MB/s | 74 kB 00:00
(299/10042): appstream-qt-devel-0.12.9-4.el8.x86_64.rpm 825 kB/s | 26 kB 00:00
(300/10042): apptainer-1.2.5-1.el8.x86_64.rpm 9.5 MB/s | 38 MB 00:04
(301/10042): apptainer-suid-1.2.5-1.el8.x86_64.rpm 9.6 MB/s | 5.7 MB 00:00
(302/10042): appx-util-0.5-2.el8.x86_64.rpm 1.9 MB/s | 66 kB 00:00
(303/10042): apt-cacher-ng-3.6.4-1.el8.x86_64.rpm 6.6 MB/s | 541 kB 00:00
(304/10042): aqbanking-6.1.4-1.el8.x86_64.rpm 8.3 MB/s | 1.3 MB 00:00
(305/10042): aqbanking-devel-6.1.4-1.el8.x86_64.rpm 1.9 MB/s | 68 kB 00:00
(306/10042): ara-1.5.3-1.el8.noarch.rpm 746 kB/s | 23 kB 00:00
(307/10042): arch-install-scripts-28-2.el8.noarch.rpm 1.0 MB/s | 31 kB 00:00
(308/10042): argbash-2.10.0-1.el8.noarch.rpm 1.7 MB/s | 61 kB 00:00
(309/10042): argon2-20171227-3.el8.x86_64.rpm 858 kB/s | 26 kB 00:00
(310/10042): argparse-manpage-4.5-1.el8.noarch.rpm 587 kB/s | 18 kB 00:00
(311/10042): aria2-1.35.0-2.el8.x86_64.rpm 8.5 MB/s | 1.4 MB 00:00
(312/10042): arj-3.10.22-30.el8.x86_64.rpm 3.8 MB/s | 184 kB 00:00
(313/10042): ark-22.04.1-1.el8.x86_64.rpm 8.0 MB/s | 1.1 MB 00:00
(314/10042): ark-libs-22.04.1-1.el8.x86_64.rpm 6.2 MB/s | 479 kB 00:00
(315/10042): arm-none-eabi-binutils-cs-2.39-1.el8.x86_64.rpm 9.2 MB/s | 2.7 MB 00:00
^C[root@wang html]# be-source-han- 5% [=- ] 10 MB/s | 1.0 GB 27:33 ETA
[root@wang html]# ls
centos epel index.html
[root@wang html]# rm -rf centos
[root@wang html]# ls
epel index.html
[root@wang html]# ls epel/
epel
[root@wang html]# ls epel/epel
Packages repodata
[root@wang html]# ls epel/epel/ /opt
epel/epel/:
Packages repodata

/opt:
[root@wang html]# ls
epel index.html
[root@wang html]# ls epel
epel
[root@wang html]# ls epel/epel/
Packages repodata
[root@wang html]# mv epel/epel/ /opt/
[root@wang html]# ls epel
[root@wang html]# rm -rf epel/
[root@wang html]# mv /opt/epel/ .
[root@wang html]# pwd
/var/www/html
[root@wang html]# ls
epel index.html
[root@wang html]# ls epel/
Packages repodata
[root@wang html]# tree
.
├── epel
│   ├── Packages
│   │   ├── 3
│   │   │   └── 3proxy-0.8.13-1.el8.x86_64.rpm
│   │   ├── 6
│   │   │   └── 6tunnel-0.13-1.el8.x86_64.rpm
│   │   ├── a
│   │   │   ├── aalib-1.4.0-0.37.rc5.el8.x86_64.rpm
│   │   │   ├── aalib-devel-1.4.0-0.37.rc5.el8.x86_64.rpm
│   │   │   ├── aalib-libs-1.4.0-0.37.rc5.el8.x86_64.rpm
│   │   │   ├── abcm2ps-8.14.13-1.el8.x86_64.rpm
│   │   │   ├── abcm2ps-doc-8.14.13-1.el8.noarch.rpm
│   │   │   ├── abcMIDI-2020.06.29-1.el8.x86_64.rpm
│   │   │   ├── abduco-0.6-8.el8.x86_64.rpm
│   │   │   ├── abi-compliance-checker-2.3-4.el8.noarch.rpm
│   │   │   ├── abi-dumper-1.2-1.el8.noarch.rpm
│   │   │   ├── abrt-server-info-page-1.8-1.el8.noarch.rpm
│   │   │   ├── abseil-cpp-20200923.3-1.el8.x86_64.rpm
│   │   │   ├── abseil-cpp-devel-20200923.3-1.el8.x86_64.rpm
│   │   │   ├── accounts-qml-module-0.7-7.el8.x86_64.rpm
│   │   │   ├── accounts-qml-module-doc-0.7-7.el8.noarch.rpm
│   │   │   ├── ack-3.0.3-1.el8.noarch.rpm
│   │   │   ├── acme-tiny-4.1.0-7.el8.noarch.rpm
│   │   │   ├── acme-tiny-core-4.1.0-7.el8.noarch.rpm
│   │   │   ├── adb-enhanced-2.5.7-1.el8.noarch.rpm
│   │   │   ├── adobe-source-sans-pro-fonts-3.028-1.el8.noarch.rpm
│   │   │   ├── adplug-2.3.3-1.el8.x86_64.rpm
│   │   │   ├── adplug-devel-2.3.3-1.el8.x86_64.rpm
│   │   │   ├── advancecomp-2.5-1.el8.x86_64.rpm
│   │   │   ├── aeskeyfind-1.0-16.el8.x86_64.rpm
│   │   │   ├── aespipe-2.4e-4.el8.x86_64.rpm
│   │   │   ├── afetch-2.2.0-2.el8.x86_64.rpm
│   │   │   ├── afflib-3.7.20-1.el8.x86_64.rpm
│   │   │   ├── afflib-devel-3.7.20-1.el8.x86_64.rpm
│   │   │   ├── afftools-3.7.20-1.el8.x86_64.rpm
│   │   │   ├── afpfs-ng-0.8.1-35.el8.x86_64.rpm
│   │   │   ├── afpfs-ng-devel-0.8.1-35.el8.x86_64.rpm
│   │   │   ├── Agda-2.5.3-14.el8.x86_64.rpm
│   │   │   ├── aggregate6-1.0.12-2.el8.noarch.rpm
│   │   │   ├── agrep-0.8.0-27.20140228gitc2f5d13.el8.x86_64.rpm
│   │   │   ├── aha-0.5.1-2.el8.x86_64.rpm
│   │   │   ├── aiodnsbrute-0.3.2-2.el8.noarch.rpm
│   │   │   ├── airinv-1.00.8-1.el8.x86_64.rpm
│   │   │   ├── airinv-devel-1.00.8-1.el8.x86_64.rpm
│   │   │   ├── airinv-doc-1.00.8-1.el8.noarch.rpm
│   │   │   ├── airrac-1.00.3-1.el8.x86_64.rpm
│   │   │   ├── airrac-devel-1.00.3-1.el8.x86_64.rpm
│   │   │   ├── airrac-doc-1.00.3-1.el8.noarch.rpm
│   │   │   ├── airtsp-1.01.5-1.el8.x86_64.rpm
│   │   │   ├── airtsp-devel-1.01.5-1.el8.x86_64.rpm
│   │   │   ├── airtsp-doc-1.01.5-1.el8.noarch.rpm
│   │   │   ├── akmods-0.5.6-24.el8.noarch.rpm
│   │   │   ├── akonadi-calendar-tools-21.08.3-1.el8.x86_64.rpm
│   │   │   ├── akonadiconsole-21.08.3-1.el8.x86_64.rpm
│   │   │   ├── akonadi-import-wizard-21.08.3-1.el8.x86_64.rpm
│   │   │   ├── akonadi-import-wizard-devel-21.08.3-1.el8.x86_64.rpm
│   │   │   ├── akregator-21.08.3-1.el8.x86_64.rpm
│   │   │   ├── akregator-libs-21.08.3-1.el8.x86_64.rpm
│   │   │   ├── alacarte-3.36.0-1.el8.noarch.rpm
│   │   │   ├── alex-3.2.4-1.el8.x86_64.rpm
│   │   │   ├── algobox-1.1.1-1.el8.x86_64.rpm
│   │   │   ├── alien-8.95-14.el8.noarch.rpm
│   │   │   ├── alpine-2.24-1.el8.x86_64.rpm
│   │   │   ├── altermime-0.3.10-21.el8.x86_64.rpm
│   │   │   ├── amavis-2.12.1-5.el8.noarch.rpm
│   │   │   ├── amavisd-milter-1.7.2-1.el8.x86_64.rpm
│   │   │   ├── amavis-doc-2.12.1-5.el8.noarch.rpm
│   │   │   ├── amavis-snmp-2.12.1-5.el8.noarch.rpm
│   │   │   ├── AMF-devel-1.4.33-1.el8.noarch.rpm
│   │   │   ├── AMF-samples-1.4.33-1.el8.noarch.rpm
│   │   │   ├── amg4psblas-doc-1.0.0-2.el8.noarch.rpm
│   │   │   ├── amg4psblas-mpich-1.0.0-2.el8.x86_64.rpm
│   │   │   ├── amg4psblas-mpich-devel-1.0.0-2.el8.x86_64.rpm
│   │   │   ├── amg4psblas-openmpi-1.0.0-2.el8.x86_64.rpm
│   │   │   ├── amg4psblas-openmpi-devel-1.0.0-2.el8.x86_64.rpm
│   │   │   ├── amg4psblas-serial-1.0.0-2.el8.x86_64.rpm
│   │   │   ├── amg4psblas-serial-devel-1.0.0-2.el8.x86_64.rpm
│   │   │   ├── amiri-fonts-1.000-1.el8.noarch.rpm
│   │   │   ├── amiri-fonts-common-1.000-1.el8.noarch.rpm
│   │   │   ├── amiri-quran-fonts-1.000-1.el8.noarch.rpm
│   │   │   ├── aml-0.3.0-2.el8.x86_64.rpm
│   │   │   ├── aml-devel-0.3.0-2.el8.x86_64.rpm
│   │   │   ├── ampache_browser-1.0.6-1.el8.x86_64.rpm
│   │   │   ├── ampache_browser-devel-1.0.6-1.el8.x86_64.rpm
│   │   │   ├── am-utils-6.2.0-38.el8.x86_64.rpm
│   │   │   ├── analitza-22.04.1-1.el8.x86_64.rpm
│   │   │   ├── analitza-devel-22.04.1-1.el8.x86_64.rpm
│   │   │   ├── android-tools-33.0.3p1-3.el8.x86_64.rpm
│   │   │   ├── anope-2.1.2-1.el8.x86_64.rpm
│   │   │   ├── anope-gnutls-2.1.2-1.el8.x86_64.rpm
│   │   │   ├── anope-ldap-2.1.2-1.el8.x86_64.rpm
│   │   │   ├── anope-mysql-2.1.2-1.el8.x86_64.rpm
│   │   │   ├── anope-openssl-2.1.2-1.el8.x86_64.rpm
│   │   │   ├── anope-pcre2-2.1.2-1.el8.x86_64.rpm
│   │   │   ├── anope-sqlite-2.1.2-1.el8.x86_64.rpm
│   │   │   ├── anope-tre-2.1.2-1.el8.x86_64.rpm
│   │   │   ├── ansible-8.3.0-1.el8.noarch.rpm
│   │   │   ├── ansible-collection-ansible-posix-1.5.4-1.el8.noarch.rpm
│   │   │   ├── ansible-collection-ansible-utils-2.6.1-1.el8.noarch.rpm
│   │   │   ├── ansible-collection-awx-awx-23.7.0-1.el8.noarch.rpm
│   │   │   ├── ansible-collection-chocolatey-chocolatey-1.4.0-1.el8.noarch.rpm
│   │   │   ├── ansible-collection-community-docker-2.6.0-1.el8.noarch.rpm
│   │   │   ├── ansible-collection-community-general-7.0.0-1.el8.noarch.rpm
│   │   │   ├── ansible-collection-community-libvirt-1.2.0-1.el8.noarch.rpm
│   │   │   ├── ansible-collection-community-mysql-3.5.1-1.el8.noarch.rpm
│   │   │   ├── ansible-collection-community-rabbitmq-1.2.3-1.el8.noarch.rpm
│   │   │   ├── ansible-collection-containers-podman-1.12.0-5.el8.noarch.rpm
│   │   │   ├── ansible-collection-netbox-netbox-3.7.1-1.el8.noarch.rpm
│   │   │   ├── ansible-packaging-1-12.el8.noarch.rpm
│   │   │   ├── ansible-srpm-macros-1-12.el8.noarch.rpm
│   │   │   ├── ansifilter-2.20-1.el8.x86_64.rpm
│   │   │   ├── ansifilter-gui-2.20-1.el8.x86_64.rpm
│   │   │   ├── anthy-unicode-1.0.0.20201109-10.el8.x86_64.rpm
│   │   │   ├── anthy-unicode-devel-1.0.0.20201109-10.el8.x86_64.rpm
│   │   │   ├── aom-3.6.1-1.el8.x86_64.rpm
│   │   │   ├── apache-commons-digester-2.1-19.el8.noarch.rpm
│   │   │   ├── apache-commons-digester-javadoc-2.1-19.el8.noarch.rpm
│   │   │   ├── apachetop-0.23.2-1.el8.x86_64.rpm
│   │   │   ├── apcupsd-3.14.14-18.el8.x86_64.rpm
│   │   │   ├── apcupsd-cgi-3.14.14-18.el8.x86_64.rpm
│   │   │   ├── apcupsd-gui-3.14.14-18.el8.x86_64.rpm
│   │   │   ├── apg-2.3.0b-37.el8.x86_64.rpm
│   │   │   ├── appliance-tools-011.2-1.el8.noarch.rpm
│   │   │   ├── apprise-1.7.2-1.el8.noarch.rpm
│   │   │   ├── appstream-0.12.9-4.el8.x86_64.rpm
│   │   │   ├── appstream-devel-0.12.9-4.el8.x86_64.rpm
│   │   │   ├── appstream-qt-0.12.9-4.el8.x86_64.rpm
│   │   │   ├── appstream-qt-devel-0.12.9-4.el8.x86_64.rpm
│   │   │   ├── apptainer-1.2.5-1.el8.x86_64.rpm
│   │   │   ├── apptainer-suid-1.2.5-1.el8.x86_64.rpm
│   │   │   ├── appx-util-0.5-2.el8.x86_64.rpm
│   │   │   ├── apt-cacher-ng-3.6.4-1.el8.x86_64.rpm
│   │   │   ├── aqbanking-6.1.4-1.el8.x86_64.rpm
│   │   │   ├── aqbanking-devel-6.1.4-1.el8.x86_64.rpm
│   │   │   ├── ara-1.5.3-1.el8.noarch.rpm
│   │   │   ├── arch-install-scripts-28-2.el8.noarch.rpm
│   │   │   ├── argbash-2.10.0-1.el8.noarch.rpm
│   │   │   ├── argon2-20171227-3.el8.x86_64.rpm
│   │   │   ├── argparse-manpage-4.5-1.el8.noarch.rpm
│   │   │   ├── aria2-1.35.0-2.el8.x86_64.rpm
│   │   │   ├── arj-3.10.22-30.el8.x86_64.rpm
│   │   │   ├── ark-22.04.1-1.el8.x86_64.rpm
│   │   │   ├── ark-libs-22.04.1-1.el8.x86_64.rpm
│   │   │   ├── arm-none-eabi-binutils-cs-2.39-1.el8.x86_64.rpm
│   │   │   ├── AusweisApp2-1.22.3-1.el8.x86_64.rpm
│   │   │   ├── AusweisApp2-data-1.22.3-1.el8.noarch.rpm
│   │   │   └── AusweisApp2-doc-1.22.3-1.el8.noarch.rpm
│   │   ├── b
│   │   │   ├── BackupPC-4.4.0-1.el8.x86_64.rpm
│   │   │   ├── BackupPC-XS-0.62-1.el8.x86_64.rpm
│   │   │   └── BibTool-2.68-1.el8.x86_64.rpm
│   │   ├── c
│   │   │   ├── CCfits-2.5-14.el8.x86_64.rpm
│   │   │   ├── CCfits-devel-2.5-14.el8.x86_64.rpm
│   │   │   ├── CCfits-doc-2.5-14.el8.noarch.rpm
│   │   │   ├── CFR-0.151-9.el8.noarch.rpm
│   │   │   ├── CFR-javadoc-0.151-9.el8.noarch.rpm
│   │   │   ├── CGSI-gSOAP-1.3.11-7.el8.x86_64.rpm
│   │   │   ├── CGSI-gSOAP-devel-1.3.11-7.el8.x86_64.rpm
│   │   │   ├── CharLS-2.0.0-6.el8.x86_64.rpm
│   │   │   └── CharLS-devel-2.0.0-6.el8.x86_64.rpm
│   │   ├── d
│   │   │   └── DNS-Compliance-Testing-0^20230708git4aea40b-1.el8.x86_64.rpm
│   │   ├── e
│   │   ├── f
│   │   │   ├── Field3D-1.7.2-16.el8.x86_64.rpm
│   │   │   ├── Field3D-devel-1.7.2-16.el8.x86_64.rpm
│   │   │   ├── FoXlibf-4.1.2-12.el8.x86_64.rpm
│   │   │   ├── FoXlibf-devel-4.1.2-12.el8.x86_64.rpm
│   │   │   └── FoXlibf-static-4.1.2-12.el8.x86_64.rpm
│   │   ├── g
│   │   │   ├── GeographicLib-1.50.1-1.el8.x86_64.rpm
│   │   │   ├── GeographicLib-devel-1.50.1-1.el8.x86_64.rpm
│   │   │   ├── GeographicLib-doc-1.50.1-1.el8.noarch.rpm
│   │   │   ├── GeoIP-1.6.12-7.el8.x86_64.rpm
│   │   │   ├── GeoIP-devel-1.6.12-7.el8.x86_64.rpm
│   │   │   ├── GeoIP-GeoLite-data-2018.06-5.el8.noarch.rpm
│   │   │   ├── GeoIP-GeoLite-data-extra-2018.06-5.el8.noarch.rpm
│   │   │   ├── GMT-6.1.0-1.el8.x86_64.rpm
│   │   │   ├── GMT-common-6.1.0-1.el8.noarch.rpm
│   │   │   ├── GMT-devel-6.1.0-1.el8.x86_64.rpm
│   │   │   ├── GMT-doc-6.1.0-1.el8.noarch.rpm
│   │   │   ├── GraphicsMagick-1.3.38-1.el8.x86_64.rpm
│   │   │   ├── GraphicsMagick-c++-1.3.38-1.el8.x86_64.rpm
│   │   │   ├── GraphicsMagick-c++-devel-1.3.38-1.el8.x86_64.rpm
│   │   │   ├── GraphicsMagick-devel-1.3.38-1.el8.x86_64.rpm
│   │   │   ├── GraphicsMagick-doc-1.3.38-1.el8.noarch.rpm
│   │   │   └── GraphicsMagick-perl-1.3.38-1.el8.x86_64.rpm
│   │   ├── h
│   │   │   ├── HepMC-2.06.11-1.el8.x86_64.rpm
│   │   │   ├── HepMC3-3.2.7-3.el8.x86_64.rpm
│   │   │   ├── HepMC3-devel-3.2.7-3.el8.x86_64.rpm
│   │   │   ├── HepMC3-doc-3.2.7-3.el8.noarch.rpm
│   │   │   ├── HepMC3-interfaces-devel-3.2.7-3.el8.noarch.rpm
│   │   │   ├── HepMC3-protobufIO-3.2.7-3.el8.x86_64.rpm
│   │   │   ├── HepMC3-protobufIO-devel-3.2.7-3.el8.x86_64.rpm
│   │   │   ├── HepMC3-rootIO-3.2.7-3.el8.x86_64.rpm
│   │   │   ├── HepMC3-rootIO-devel-3.2.7-3.el8.x86_64.rpm
│   │   │   ├── HepMC3-search-3.2.7-3.el8.x86_64.rpm
│   │   │   ├── HepMC3-search-devel-3.2.7-3.el8.x86_64.rpm
│   │   │   ├── HepMC-devel-2.06.11-1.el8.x86_64.rpm
│   │   │   └── HepMC-doc-2.06.11-1.el8.noarch.rpm
│   │   ├── i
│   │   │   ├── ImageMagick-6.9.12.93-1.el8.x86_64.rpm
│   │   │   ├── ImageMagick-c++-6.9.12.93-1.el8.x86_64.rpm
│   │   │   ├── ImageMagick-c++-devel-6.9.12.93-1.el8.x86_64.rpm
│   │   │   ├── ImageMagick-devel-6.9.12.93-1.el8.x86_64.rpm
│   │   │   ├── ImageMagick-djvu-6.9.12.93-1.el8.x86_64.rpm
│   │   │   ├── ImageMagick-doc-6.9.12.93-1.el8.x86_64.rpm
│   │   │   ├── ImageMagick-libs-6.9.12.93-1.el8.x86_64.rpm
│   │   │   ├── ImageMagick-perl-6.9.12.93-1.el8.x86_64.rpm
│   │   │   ├── IP2Location-8.6.0-7.el8.x86_64.rpm
│   │   │   ├── IP2Location-data-sample-8.6.0-7.el8.x86_64.rpm
│   │   │   ├── IP2Location-devel-8.6.0-7.el8.x86_64.rpm
│   │   │   └── IP2Location-libs-8.6.0-7.el8.x86_64.rpm
│   │   ├── j
│   │   ├── k
│   │   ├── l
│   │   │   └── Lmod-8.7.32-1.el8.x86_64.rpm
│   │   ├── m
│   │   │   ├── MUMPS-5.3.5-1.el8.x86_64.rpm
│   │   │   ├── MUMPS-common-5.3.5-1.el8.noarch.rpm
│   │   │   ├── MUMPS-devel-5.3.5-1.el8.x86_64.rpm
│   │   │   ├── MUMPS-examples-5.3.5-1.el8.x86_64.rpm
│   │   │   ├── MUMPS-mpich-5.3.5-1.el8.x86_64.rpm
│   │   │   ├── MUMPS-mpich-devel-5.3.5-1.el8.x86_64.rpm
│   │   │   ├── MUMPS-mpich-examples-5.3.5-1.el8.x86_64.rpm
│   │   │   ├── MUMPS-openmp-5.3.5-1.el8.x86_64.rpm
│   │   │   ├── MUMPS-openmp-devel-5.3.5-1.el8.x86_64.rpm
│   │   │   ├── MUMPS-openmp-examples-5.3.5-1.el8.x86_64.rpm
│   │   │   ├── MUMPS-openmpi-5.3.5-1.el8.x86_64.rpm
│   │   │   ├── MUMPS-openmpi-devel-5.3.5-1.el8.x86_64.rpm
│   │   │   ├── MUMPS-openmpi-examples-5.3.5-1.el8.x86_64.rpm
│   │   │   ├── MUMPS-srpm-macros-5.3.5-1.el8.noarch.rpm
│   │   │   └── MySQL-zrm-3.0-23.el8.noarch.rpm
│   │   ├── n
│   │   │   ├── NetworkManager-fortisslvpn-1.2.10-4.el8.x86_64.rpm
│   │   │   ├── NetworkManager-fortisslvpn-gnome-1.2.10-4.el8.x86_64.rpm
│   │   │   ├── NetworkManager-l2tp-1.20.8-1.el8.x86_64.rpm
│   │   │   ├── NetworkManager-l2tp-gnome-1.20.8-1.el8.x86_64.rpm
│   │   │   ├── NetworkManager-openconnect-1.2.6-2.el8.1.x86_64.rpm
│   │   │   ├── NetworkManager-openconnect-gnome-1.2.6-2.el8.1.x86_64.rpm
│   │   │   ├── NetworkManager-openvpn-1.8.10-1.el8.1.x86_64.rpm
│   │   │   ├── NetworkManager-openvpn-gnome-1.8.10-1.el8.1.x86_64.rpm
│   │   │   ├── NetworkManager-pptp-1.2.8-1.el8.3.x86_64.rpm
│   │   │   ├── NetworkManager-pptp-gnome-1.2.8-1.el8.3.x86_64.rpm
│   │   │   ├── NetworkManager-strongswan-1.5.2-1.el8.x86_64.rpm
│   │   │   └── NetworkManager-strongswan-gnome-1.5.2-1.el8.x86_64.rpm
│   │   ├── o
│   │   │   ├── OpenColorIO-1.1.1-8.el8.x86_64.rpm
│   │   │   ├── OpenColorIO-devel-1.1.1-8.el8.x86_64.rpm
│   │   │   ├── OpenColorIO-doc-1.1.1-8.el8.noarch.rpm
│   │   │   ├── OpenColorIO-tools-1.1.1-8.el8.x86_64.rpm
│   │   │   ├── OpenImageIO-2.1.20.0-1.el8.x86_64.rpm
│   │   │   ├── OpenImageIO-devel-2.1.20.0-1.el8.x86_64.rpm
│   │   │   ├── OpenImageIO-iv-2.1.20.0-1.el8.x86_64.rpm
│   │   │   ├── OpenImageIO-utils-2.1.20.0-1.el8.x86_64.rpm
│   │   │   ├── OpenStego-0.7.4-2.el8.noarch.rpm
│   │   │   └── OpenStego-javadoc-0.7.4-2.el8.noarch.rpm
│   │   ├── p
│   │   │   ├── PackageKit-Qt5-1.0.2-4.el8.x86_64.rpm
│   │   │   ├── PackageKit-Qt5-devel-1.0.2-4.el8.x86_64.rpm
│   │   │   ├── Panini-0.73.0-7.el8.x86_64.rpm
│   │   │   ├── PDAL-2.1.0-8.el8.x86_64.rpm
│   │   │   ├── PDAL-devel-2.1.0-8.el8.x86_64.rpm
│   │   │   ├── PDAL-doc-2.1.0-8.el8.noarch.rpm
│   │   │   ├── PDAL-libs-2.1.0-8.el8.x86_64.rpm
│   │   │   ├── PEGTL-devel-2.8.1-1.el8.x86_64.rpm
│   │   │   ├── Pound-2.8-1.el8.x86_64.rpm
│   │   │   ├── PyQt-builder-1.13.0-3.el8.noarch.rpm
│   │   │   ├── PySolFC-cardsets-2.0-18.el8.noarch.rpm
│   │   │   └── PySolFC-music-4.50-1.el8.noarch.rpm
│   │   ├── q
│   │   ├── r
│   │   │   ├── R-4.3.2-1.el8.x86_64.rpm
│   │   │   ├── RBTools-2.0.1-0.1.el8.noarch.rpm
│   │   │   ├── R-core-4.3.2-1.el8.x86_64.rpm
│   │   │   ├── R-core-devel-4.3.2-1.el8.x86_64.rpm
│   │   │   ├── R-devel-4.3.2-1.el8.x86_64.rpm
│   │   │   ├── RdRand-2.1.2-2.el8.x86_64.rpm
│   │   │   ├── RdRand-devel-2.1.2-2.el8.x86_64.rpm
│   │   │   ├── Rex-1.14.2-0.el8.noarch.rpm
│   │   │   ├── R-highlight-0.5.1-4.el8.x86_64.rpm
│   │   │   ├── R-inline-0.3.19-9.el8.noarch.rpm
│   │   │   ├── R-java-4.3.2-1.el8.x86_64.rpm
│   │   │   ├── R-java-devel-4.3.2-1.el8.x86_64.rpm
│   │   │   ├── R-littler-0.3.19-1.el8.x86_64.rpm
│   │   │   ├── R-littler-examples-0.3.19-1.el8.x86_64.rpm
│   │   │   ├── R-qtl-1.66-1.el8.x86_64.rpm
│   │   │   ├── R-Rcpp-1.0.12-1.el8.x86_64.rpm
│   │   │   ├── R-Rcpp-devel-1.0.12-1.el8.x86_64.rpm
│   │   │   ├── R-Rcpp-examples-1.0.12-1.el8.x86_64.rpm
│   │   │   ├── R-RInside-0.2.18-4.el8.x86_64.rpm
│   │   │   ├── R-RInside-devel-0.2.18-4.el8.x86_64.rpm
│   │   │   ├── R-RInside-examples-0.2.18-4.el8.x86_64.rpm
│   │   │   ├── R-rJava-1.0.6-5.el8.x86_64.rpm
│   │   │   ├── R-rJava-javadoc-1.0.6-5.el8.noarch.rpm
│   │   │   ├── R-rlecuyer-0.3.5-14.el8.x86_64.rpm
│   │   │   ├── R-rpm-macros-1.1.0-2.el8.noarch.rpm
│   │   │   └── R-RUnit-0.4.32-5.el8.noarch.rpm
│   │   ├── s
│   │   │   ├── SDL2_gfx-1.0.4-10.el8.x86_64.rpm
│   │   │   ├── SDL2_gfx-devel-1.0.4-10.el8.x86_64.rpm
│   │   │   ├── SDL2_gfx-docs-1.0.4-10.el8.noarch.rpm
│   │   │   ├── SDL2_image-2.6.3-1.el8.x86_64.rpm
│   │   │   ├── SDL2_image-devel-2.6.3-1.el8.x86_64.rpm
│   │   │   ├── SDL2_mixer-2.6.3-1.el8.x86_64.rpm
│   │   │   ├── SDL2_mixer-devel-2.6.3-1.el8.x86_64.rpm
│   │   │   ├── SDL2_net-2.0.1-15.el8.x86_64.rpm
│   │   │   ├── SDL2_net-devel-2.0.1-15.el8.x86_64.rpm
│   │   │   ├── SDL2_ttf-2.20.2-1.el8.x86_64.rpm
│   │   │   ├── SDL2_ttf-devel-2.20.2-1.el8.x86_64.rpm
│   │   │   ├── SDL_gfx-2.0.26-1.el8.x86_64.rpm
│   │   │   ├── SDL_gfx-devel-2.0.26-1.el8.x86_64.rpm
│   │   │   ├── SDL_image-1.2.12-31.el8.x86_64.rpm
│   │   │   ├── SDL_image-devel-1.2.12-31.el8.x86_64.rpm
│   │   │   ├── SDL_net-1.2.8-16.el8.x86_64.rpm
│   │   │   ├── SDL_net-devel-1.2.8-16.el8.x86_64.rpm
│   │   │   ├── ShellCheck-0.6.0-3.el8.x86_64.rpm
│   │   │   ├── SoapySDR-0.8.1-3.el8.x86_64.rpm
│   │   │   ├── SoapySDR-devel-0.8.1-3.el8.x86_64.rpm
│   │   │   ├── SoapySDR-doc-0.8.1-3.el8.noarch.rpm
│   │   │   ├── SuperLUMT-3.1.0-24.el8.x86_64.rpm
│   │   │   ├── SuperLUMT64-3.1.0-24.el8.x86_64.rpm
│   │   │   ├── SuperLUMT64-complex16-3.1.0-24.el8.x86_64.rpm
│   │   │   ├── SuperLUMT64-complex-3.1.0-24.el8.x86_64.rpm
│   │   │   ├── SuperLUMT64-devel-3.1.0-24.el8.x86_64.rpm
│   │   │   ├── SuperLUMT64-double-3.1.0-24.el8.x86_64.rpm
│   │   │   ├── SuperLUMT-common-3.1.0-24.el8.noarch.rpm
│   │   │   ├── SuperLUMT-complex16-3.1.0-24.el8.x86_64.rpm
│   │   │   ├── SuperLUMT-complex-3.1.0-24.el8.x86_64.rpm
│   │   │   ├── SuperLUMT-devel-3.1.0-24.el8.x86_64.rpm
│   │   │   └── SuperLUMT-double-3.1.0-24.el8.x86_64.rpm
│   │   ├── t
│   │   │   ├── TeXmacs-2.1-1.el8.x86_64.rpm
│   │   │   ├── TeXmacs-devel-2.1-1.el8.x86_64.rpm
│   │   │   ├── Thunar-4.16.8-1.el8.x86_64.rpm
│   │   │   ├── Thunar-devel-4.16.8-1.el8.x86_64.rpm
│   │   │   └── Thunar-docs-4.16.8-1.el8.x86_64.rpm
│   │   ├── u
│   │   ├── v
│   │   ├── w
│   │   ├── x
│   │   ├── y
│   │   └── z
│   └── repodata
│   ├── 2974a14b4f0ebb5b987c63e8c4f15c56999b1c0bf87ef161991785a3c167dce2-primary.xml.gz
│   ├── 3920c5d6cc84c22710c6853341df89477250a56c67f45b7e78881e67676ec9d8-prestodelta.xml.xz
│   ├── 47ffc2b7fa1cbe532d4928096e3fd8e12619811e55355e58a29f905a7d350fdc-updateinfo.xml.bz2
│   ├── 492b24d3441ec914580cd0c865d82ad52023a7ec146b16c748e320e0c2901c49-primary.sqlite.xz
│   ├── 92e88f04a255689ae099e6b0b4608bc562fbcc3998ac2136a9bbaf76c20ba7a1-other.sqlite.xz
│   ├── a508f187b4568bf23355757ea79eef65327ca6ab01a128175bdf48f0e59af9f2-filelists.xml.gz
│   ├── b3c4416ce481fc571b6500701fbf2a24c7b2dec695d891ffaeb66433dd7d9574-comps-Everything.x86_64.xml
│   ├── bf709fb08f3d17b368ee8820f873efb612d41144479bad8bcbed39e194db29bf-other.xml.gz
│   ├── c020d35d4914ba4a19bbb4cc5d773c89ab8c55ae6b9eaea8b93796631e8c073b-filelists.sqlite.xz
│   ├── ee2d96b462897c9e8df05f6b5f0a38ef5828f64bd8e3edd7a982135edbabd3f8-comps-Everything.x86_64.xml.xz
│   └── repomd.xml
└── index.html

过程解释

这个输出显示您在 CentOS 8 系统上成功使用 yum 安装了 Apache HTTP 服务器(httpd),并且启用了 httpd 服务。安装过程中,系统自动处理了相关的依赖包,并且所有包都已经成功验证。

接着,您切换到了 /var/www/html 目录下,并尝试使用 dnf reposync 命令同步 EPEL 仓库的元数据和软件包到 /var/www/html/epel 目录中。该命令执行后,开始下载并存储 EPEL 仓库中的多个 RPM 包。

整个过程顺利进行,根据提供的部分输出,可以看到已下载的部分软件包列表。如果您希望完全同步 EPEL 仓库的所有软件包,请等待 dnf reposync 命令完成其工作,它会将指定仓库中的所有软件包及其元数据下载到指定的本地路径。

初始时,/var/www/html 目录下有 centosepelindex.html
您删除了 centos 目录 (rm -rf centos)。
然后,/var/www/html 下只剩余 epelindex.html
当前的 epel 是一个目录,其中包含另一个子目录 epel,该子目录内存放着 EPEL 仓库的包信息(Packagesrepodata)。
您将内部的 epel 子目录移动到了 /opt (mv epel/epel/ /opt/)。
删除了原空的 epel 目录 (rm -rf epel/)。
/opt/epel 移动回 /var/www/html (mv /opt/epel .),现在 /var/www/html 再次有了包含 EPEL 包信息的 epel 目录。
最后,使用 tree 命令展示了当前 /var/www/html 目录结构,证实 epel 目录下包含了完整的 EPEL 仓库包列表。

##### 最终搭建效果

![image-20240228181229039](C:\Users\Administrator\AppData\Roaming\Typora\typora-user-images\image-20240228181229039.png)

##### 测试

开另一台机器测试

配置需要获取yum源的机器,然后,修改里面的这个位置

yum的配置文件路径
/etc/yum.conf #为所有仓库提供公共配置
/etc/yum.repos.d/*.repo: #为每个仓库的提供配置文件

看下图修改一下,按照自己的需要就可以了
保存退出

![image-20240228181744957](C:\Users\Administrator\AppData\Roaming\Typora\typora-user-images\image-20240228181744957.png)















### 编译

##### **编译安装** **cmatrix**

利用编译工具,通常只需要三个大的步骤
./configure
(1) 通过选项传递参数,指定安装路径、启用特性等;执行时会参考用户的指定以及Makefile.in文
件生成Makefile
(2) 检查依赖到的外部环境,如依赖的软件包
make 根据Makefile文件,会检测依赖的环境,进行构建应用程序
make install 复制文件到相应路径
注意:安装前可以通过查看README,INSTALL获取帮助

过程

```sh
 wget https://github.com/abishekvashok/cmatrix/releases/download/v2.0/cmatrix-v2.0-Butterscotch.tar
[root@localhost cmatrix]# pwd
/root/cmatrix
[root@localhost cmatrix]# wc -l ./configure
6486 ./configure
[root@localhost cmatrix]# ls
aclocal.m4      cmatrix.c           config.h.in      COPYING            Makefile.am    README
AUTHORS         cmatrix.o           config.h.in~     data               Makefile.in    README.md
autom4te.cache  cmatrix.spec        config.log       depcomp            matrix.fnt     stamp-h1
ChangeLog       cmatrix.spec.in     config.status    INSTALL            matrix.psf.gz  takeScreenshots
CMakeLists.txt  CODE_OF_CONDUCT.md  configure        install-sh         missing
cmatrix         compile             configure.ac     ISSUE_TEMPLATE.md  mtx.pcf
cmatrix.1       config.h            CONTRIBUTING.md  Makefile           NEWS
[root@localhost cmatrix]# vim configure
[root@localhost cmatrix]# ./configure --help
`configure' configures cmatrix 2.0 to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking ...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR            user executables [EPREFIX/bin]
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  --libexecdir=DIR        program executables [EPREFIX/libexec]
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
  --libdir=DIR            object code libraries [EPREFIX/lib]
  --includedir=DIR        C header files [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR           info documentation [DATAROOTDIR/info]
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR            man documentation [DATAROOTDIR/man]
  --docdir=DIR            documentation root [DATAROOTDIR/doc/cmatrix]
  --htmldir=DIR           html documentation [DOCDIR]
  --dvidir=DIR            dvi documentation [DOCDIR]
  --pdfdir=DIR            pdf documentation [DOCDIR]
  --psdir=DIR             ps documentation [DOCDIR]

Program names:
  --program-prefix=PREFIX            prepend PREFIX to installed program names
  --program-suffix=SUFFIX            append SUFFIX to installed program names
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names

Optional Features:
  --disable-option-checking  ignore unrecognized --enable/--with options
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --enable-silent-rules   less verbose build output (undo: "make V=1")
  --disable-silent-rules  verbose build output (undo: "make V=0")
  --enable-dependency-tracking
                          do not reject slow dependency extractors
  --disable-dependency-tracking
                          speeds up one-time build
  --enable-debug          Enable debugging (def disabled)

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --without-fonts         Install cmatrix without cmatrix font

Some influential environment variables:
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  LIBS        libraries to pass to the linker, e.g. -l<library>
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
              you have headers in a nonstandard directory <include dir>
  CPP         C preprocessor

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

Report bugs to <abishekvashok@gmail.com>.
[root@localhost cmatrix]# ./configure --prefix=/apps/cmatrix 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for main in -lncurses... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for unistd.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking return type of signal handlers... void
checking for putenv... yes
checking curses.h usability... no
checking curses.h presence... no
checking for curses.h... no
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for tgetent in -ltinfo... no
configure: WARNING:
*** No termcap lib available, consider getting the official ncurses
*** distribution from ftp://ftp.gnu.org/pub/gnu/ncurses if you get
*** errors compiling nano.
checking for use_default_colors in -l... no
checking for resizeterm in -l... no
checking for wresize in -l... no
checking for consolechars... no
checking for setfont... /usr/bin/setfont
checking for /usr/lib/kbd/consolefonts... yes
checking for /usr/share/consolefonts... no
checking for mkfontdir... no
checking for /usr/lib/X11/fonts/misc... no
checking for /usr/X11R6/lib/X11/fonts/misc... no
configure: WARNING:

*** You do not appear to have an X window fonts directory in the standard
*** locations (/usr/lib/X11/fonts/misc or /usr/X11R6/lib/X11/fonts/misc). The
*** mtx.pcf font will not be installed.  This means you will probably not
*** be able to use the mtx fonts in your x terminals, and hence be unable
*** to use the -x command line switch.  Sorry about that...

checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cmatrix.spec
config.status: creating config.h
config.status: executing depfiles commands
[root@localhost cmatrix]# make -j 2
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /root/cmatrix/missing autoheader)
/root/cmatrix/missing: line 81: autoheader: command not found
WARNING: 'autoheader' is missing on your system.
         You should only need it if you modified 'acconfig.h' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'autoheader' program is part of the GNU Autoconf package:
         <https://www.gnu.org/software/autoconf/>
         It also requires GNU m4 and Perl in order to run:
         <https://www.gnu.org/software/m4/>
         <https://www.perl.org/>
make: *** [Makefile:363: config.h.in] Error 127
[root@localhost cmatrix]# make -j 1
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /root/cmatrix/missing autoheader)
/root/cmatrix/missing: line 81: autoheader: command not found
WARNING: 'autoheader' is missing on your system.
         You should only need it if you modified 'acconfig.h' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'autoheader' program is part of the GNU Autoconf package:
         <https://www.gnu.org/software/autoconf/>
         It also requires GNU m4 and Perl in order to run:
         <https://www.gnu.org/software/m4/>
         <https://www.perl.org/>
make: *** [Makefile:363: config.h.in] Error 127
[root@localhost cmatrix]# make -j 
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /root/cmatrix/missing autoheader)
/root/cmatrix/missing: line 81: autoheader: command not found
WARNING: 'autoheader' is missing on your system.
         You should only need it if you modified 'acconfig.h' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'autoheader' program is part of the GNU Autoconf package:
         <https://www.gnu.org/software/autoconf/>
         It also requires GNU m4 and Perl in order to run:
         <https://www.gnu.org/software/m4/>
         <https://www.perl.org/>
make: *** [Makefile:363: config.h.in] Error 127
[root@localhost cmatrix]# yum provides autoheader
Last metadata expiration check: 2:59:11 ago on Wed 28 Feb 2024 04:21:27 PM CST.
autoconf-2.69-29.el8.noarch : A GNU tool for automatically configuring source code
Repo        : appstream
Matched from:
Filename    : /usr/bin/autoheader

[root@localhost cmatrix]# yum -y install autoconf
Last metadata expiration check: 2:59:34 ago on Wed 28 Feb 2024 04:21:27 PM CST.
Dependencies resolved.
====================================================================================================================
 Package                       Architecture  Version                                         Repository        Size
====================================================================================================================
Installing:
 autoconf                      noarch        2.69-29.el8                                     appstream        709 k
Installing dependencies:
 emacs-filesystem              noarch        1:26.1-11.el8                                   baseos            69 k
 perl-Carp                     noarch        1.42-396.el8                                    baseos            29 k
 perl-Data-Dumper              x86_64        2.167-399.el8                                   baseos            57 k
 perl-Digest                   noarch        1.17-395.el8                                    appstream         26 k
 perl-Digest-MD5               x86_64        2.55-396.el8                                    appstream         36 k
 perl-Encode                   x86_64        4:2.97-3.el8                                    baseos           1.5 M
 perl-Errno                    x86_64        1.28-422.el8                                    baseos            75 k
 perl-Exporter                 noarch        5.72-396.el8                                    baseos            33 k
 perl-File-Path                noarch        2.15-2.el8                                      baseos            37 k
 perl-File-Temp                noarch        0.230.600-1.el8                                 baseos            62 k
 perl-Getopt-Long              noarch        1:2.50-4.el8                                    baseos            62 k
 perl-HTTP-Tiny                noarch        0.074-2.el8                                     baseos            57 k
 perl-IO                       x86_64        1.38-422.el8                                    baseos           141 k
 perl-IO-Socket-IP             noarch        0.39-5.el8                                      appstream         46 k
 perl-IO-Socket-SSL            noarch        2.066-4.module+el8.9.0+1517+e71a7a62            appstream        297 k
 perl-MIME-Base64              x86_64        3.15-396.el8                                    baseos            30 k
 perl-Mozilla-CA               noarch        20160104-7.module+el8.9.0+1521+0101edce         appstream         14 k
 perl-Net-SSLeay               x86_64        1.88-2.module+el8.9.0+1517+e71a7a62             appstream        378 k
 perl-PathTools                x86_64        3.74-1.el8                                      baseos            89 k
 perl-Pod-Escapes              noarch        1:1.07-395.el8                                  baseos            19 k
 perl-Pod-Perldoc              noarch        3.28-396.el8                                    baseos            85 k
 perl-Pod-Simple               noarch        1:3.35-395.el8                                  baseos           212 k
 perl-Pod-Usage                noarch        4:1.69-395.el8                                  baseos            33 k
 perl-Scalar-List-Utils        x86_64        3:1.49-2.el8                                    baseos            67 k
 perl-Socket                   x86_64        4:2.027-3.el8                                   baseos            58 k
 perl-Storable                 x86_64        1:3.11-3.el8                                    baseos            97 k
 perl-Term-ANSIColor           noarch        4.06-396.el8                                    baseos            45 k
 perl-Term-Cap                 noarch        1.17-395.el8                                    baseos            22 k
 perl-Text-ParseWords          noarch        3.30-395.el8                                    baseos            17 k
 perl-Text-Tabs+Wrap           noarch        2013.0523-395.el8                               baseos            23 k
 perl-Time-Local               noarch        1:1.280-1.el8                                   baseos            32 k
 perl-URI                      noarch        1.73-3.el8                                      appstream        115 k
 perl-Unicode-Normalize        x86_64        1.25-396.el8                                    baseos            81 k
 perl-constant                 noarch        1.33-396.el8                                    baseos            24 k
 perl-interpreter              x86_64        4:5.26.3-422.el8                                baseos           6.3 M
 perl-libnet                   noarch        3.11-3.el8                                      appstream        120 k
 perl-libs                     x86_64        4:5.26.3-422.el8                                baseos           1.6 M
 perl-macros                   x86_64        4:5.26.3-422.el8                                baseos            71 k
 perl-parent                   noarch        1:0.237-1.el8                                   baseos            19 k
 perl-podlators                noarch        4.11-1.el8                                      baseos           117 k
 perl-threads                  x86_64        1:2.21-2.el8                                    baseos            60 k
 perl-threads-shared           x86_64        1.58-2.el8                                      baseos            47 k
Enabling module streams:
 perl                                        5.26                                                                  
 perl-IO-Socket-SSL                          2.066                                                                 
 perl-libwww-perl                            6.34                                                                  

Transaction Summary
====================================================================================================================
Install  43 Packages

Total download size: 13 M
Installed size: 38 M
Downloading Packages:
(1/43): perl-Digest-MD5-2.55-396.el8.x86_64.rpm                                      13 kB/s |  36 kB     00:02    
(2/43): perl-Digest-1.17-395.el8.noarch.rpm                                         9.0 kB/s |  26 kB     00:02    
(3/43): perl-IO-Socket-IP-0.39-5.el8.noarch.rpm                                     332 kB/s |  46 kB     00:00    
(4/43): perl-Mozilla-CA-20160104-7.module+el8.9.0+1521+0101edce.noarch.rpm          106 kB/s |  14 kB     00:00    
(5/43): autoconf-2.69-29.el8.noarch.rpm                                             215 kB/s | 709 kB     00:03    
(6/43): perl-IO-Socket-SSL-2.066-4.module+el8.9.0+1517+e71a7a62.noarch.rpm          691 kB/s | 297 kB     00:00    
(7/43): perl-URI-1.73-3.el8.noarch.rpm                                              760 kB/s | 115 kB     00:00    
(8/43): perl-libnet-3.11-3.el8.noarch.rpm                                           808 kB/s | 120 kB     00:00    
(9/43): perl-Net-SSLeay-1.88-2.module+el8.9.0+1517+e71a7a62.x86_64.rpm              881 kB/s | 378 kB     00:00    
(10/43): emacs-filesystem-26.1-11.el8.noarch.rpm                                    475 kB/s |  69 kB     00:00    
(11/43): perl-Carp-1.42-396.el8.noarch.rpm                                          207 kB/s |  29 kB     00:00    
(12/43): perl-Data-Dumper-2.167-399.el8.x86_64.rpm                                  405 kB/s |  57 kB     00:00    
(13/43): perl-Errno-1.28-422.el8.x86_64.rpm                                         486 kB/s |  75 kB     00:00    
(14/43): perl-Encode-2.97-3.el8.x86_64.rpm                                          4.5 MB/s | 1.5 MB     00:00    
(15/43): perl-File-Path-2.15-2.el8.noarch.rpm                                       224 kB/s |  37 kB     00:00    
(16/43): perl-Exporter-5.72-396.el8.noarch.rpm                                      154 kB/s |  33 kB     00:00    
(17/43): perl-Getopt-Long-2.50-4.el8.noarch.rpm                                     428 kB/s |  62 kB     00:00    
(18/43): perl-File-Temp-0.230.600-1.el8.noarch.rpm                                  414 kB/s |  62 kB     00:00    
(19/43): perl-HTTP-Tiny-0.074-2.el8.noarch.rpm                                      387 kB/s |  57 kB     00:00    
(20/43): perl-IO-1.38-422.el8.x86_64.rpm                                            921 kB/s | 141 kB     00:00    
(21/43): perl-MIME-Base64-3.15-396.el8.x86_64.rpm                                   192 kB/s |  30 kB     00:00    
(22/43): perl-PathTools-3.74-1.el8.x86_64.rpm                                       563 kB/s |  89 kB     00:00    
(23/43): perl-Pod-Escapes-1.07-395.el8.noarch.rpm                                   139 kB/s |  19 kB     00:00    
(24/43): perl-Pod-Perldoc-3.28-396.el8.noarch.rpm                                   575 kB/s |  85 kB     00:00    
(25/43): perl-Pod-Simple-3.35-395.el8.noarch.rpm                                    1.2 MB/s | 212 kB     00:00    
(26/43): perl-Pod-Usage-1.69-395.el8.noarch.rpm                                     225 kB/s |  33 kB     00:00    
(27/43): perl-Scalar-List-Utils-1.49-2.el8.x86_64.rpm                               455 kB/s |  67 kB     00:00    
(28/43): perl-Socket-2.027-3.el8.x86_64.rpm                                         418 kB/s |  58 kB     00:00    
(29/43): perl-Storable-3.11-3.el8.x86_64.rpm                                        648 kB/s |  97 kB     00:00    
(30/43): perl-Term-ANSIColor-4.06-396.el8.noarch.rpm                                309 kB/s |  45 kB     00:00    
(31/43): perl-Term-Cap-1.17-395.el8.noarch.rpm                                      149 kB/s |  22 kB     00:00    
(32/43): perl-Text-ParseWords-3.30-395.el8.noarch.rpm                               121 kB/s |  17 kB     00:00    
(33/43): perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch.rpm                           159 kB/s |  23 kB     00:00    
(34/43): perl-Time-Local-1.280-1.el8.noarch.rpm                                     239 kB/s |  32 kB     00:00    
(35/43): perl-Unicode-Normalize-1.25-396.el8.x86_64.rpm                             504 kB/s |  81 kB     00:00    
(36/43): perl-constant-1.33-396.el8.noarch.rpm                                      158 kB/s |  24 kB     00:00    
(37/43): perl-macros-5.26.3-422.el8.x86_64.rpm                                      495 kB/s |  71 kB     00:00    
(38/43): perl-parent-0.237-1.el8.noarch.rpm                                         135 kB/s |  19 kB     00:00    
(39/43): perl-podlators-4.11-1.el8.noarch.rpm                                       761 kB/s | 117 kB     00:00    
(40/43): perl-libs-5.26.3-422.el8.x86_64.rpm                                        2.7 MB/s | 1.6 MB     00:00    
(41/43): perl-threads-2.21-2.el8.x86_64.rpm                                         414 kB/s |  60 kB     00:00    
(42/43): perl-threads-shared-1.58-2.el8.x86_64.rpm                                  328 kB/s |  47 kB     00:00    
(43/43): perl-interpreter-5.26.3-422.el8.x86_64.rpm                                 4.2 MB/s | 6.3 MB     00:01    
--------------------------------------------------------------------------------------------------------------------
Total                                                                               965 kB/s |  13 MB     00:13     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                            1/1 
  Installing       : perl-Digest-1.17-395.el8.noarch                                                           1/43 
  Installing       : perl-Digest-MD5-2.55-396.el8.x86_64                                                       2/43 
  Installing       : perl-Data-Dumper-2.167-399.el8.x86_64                                                     3/43 
  Installing       : perl-libnet-3.11-3.el8.noarch                                                             4/43 
  Installing       : perl-URI-1.73-3.el8.noarch                                                                5/43 
  Installing       : perl-Pod-Escapes-1:1.07-395.el8.noarch                                                    6/43 
  Installing       : perl-Net-SSLeay-1.88-2.module+el8.9.0+1517+e71a7a62.x86_64                                7/43 
  Installing       : perl-Mozilla-CA-20160104-7.module+el8.9.0+1521+0101edce.noarch                            8/43 
  Installing       : perl-IO-Socket-IP-0.39-5.el8.noarch                                                       9/43 
  Installing       : perl-Time-Local-1:1.280-1.el8.noarch                                                     10/43 
  Installing       : perl-IO-Socket-SSL-2.066-4.module+el8.9.0+1517+e71a7a62.noarch                           11/43 
  Installing       : perl-Term-ANSIColor-4.06-396.el8.noarch                                                  12/43 
  Installing       : perl-Term-Cap-1.17-395.el8.noarch                                                        13/43 
  Installing       : perl-File-Temp-0.230.600-1.el8.noarch                                                    14/43 
  Installing       : perl-Pod-Simple-1:3.35-395.el8.noarch                                                    15/43 
  Installing       : perl-HTTP-Tiny-0.074-2.el8.noarch                                                        16/43 
  Installing       : perl-podlators-4.11-1.el8.noarch                                                         17/43 
  Installing       : perl-Pod-Perldoc-3.28-396.el8.noarch                                                     18/43 
  Installing       : perl-Text-ParseWords-3.30-395.el8.noarch                                                 19/43 
  Installing       : perl-Pod-Usage-4:1.69-395.el8.noarch                                                     20/43 
  Installing       : perl-MIME-Base64-3.15-396.el8.x86_64                                                     21/43 
  Installing       : perl-Storable-1:3.11-3.el8.x86_64                                                        22/43 
  Installing       : perl-Getopt-Long-1:2.50-4.el8.noarch                                                     23/43 
  Installing       : perl-Errno-1.28-422.el8.x86_64                                                           24/43 
  Installing       : perl-Socket-4:2.027-3.el8.x86_64                                                         25/43 
  Installing       : perl-Encode-4:2.97-3.el8.x86_64                                                          26/43 
  Installing       : perl-Carp-1.42-396.el8.noarch                                                            27/43 
  Installing       : perl-Exporter-5.72-396.el8.noarch                                                        28/43 
  Installing       : perl-libs-4:5.26.3-422.el8.x86_64                                                        29/43 
  Installing       : perl-Scalar-List-Utils-3:1.49-2.el8.x86_64                                               30/43 
  Installing       : perl-parent-1:0.237-1.el8.noarch                                                         31/43 
  Installing       : perl-macros-4:5.26.3-422.el8.x86_64                                                      32/43 
  Installing       : perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch                                             33/43 
  Installing       : perl-Unicode-Normalize-1.25-396.el8.x86_64                                               34/43 
  Installing       : perl-File-Path-2.15-2.el8.noarch                                                         35/43 
  Installing       : perl-IO-1.38-422.el8.x86_64                                                              36/43 
  Installing       : perl-PathTools-3.74-1.el8.x86_64                                                         37/43 
  Installing       : perl-constant-1.33-396.el8.noarch                                                        38/43 
  Installing       : perl-threads-1:2.21-2.el8.x86_64                                                         39/43 
  Installing       : perl-threads-shared-1.58-2.el8.x86_64                                                    40/43 
  Installing       : perl-interpreter-4:5.26.3-422.el8.x86_64                                                 41/43 
  Installing       : emacs-filesystem-1:26.1-11.el8.noarch                                                    42/43 
  Installing       : autoconf-2.69-29.el8.noarch                                                              43/43 
  Running scriptlet: autoconf-2.69-29.el8.noarch                                                              43/43 
  Verifying        : autoconf-2.69-29.el8.noarch                                                               1/43 
  Verifying        : perl-Digest-1.17-395.el8.noarch                                                           2/43 
  Verifying        : perl-Digest-MD5-2.55-396.el8.x86_64                                                       3/43 
  Verifying        : perl-IO-Socket-IP-0.39-5.el8.noarch                                                       4/43 
  Verifying        : perl-IO-Socket-SSL-2.066-4.module+el8.9.0+1517+e71a7a62.noarch                            5/43 
  Verifying        : perl-Mozilla-CA-20160104-7.module+el8.9.0+1521+0101edce.noarch                            6/43 
  Verifying        : perl-Net-SSLeay-1.88-2.module+el8.9.0+1517+e71a7a62.x86_64                                7/43 
  Verifying        : perl-URI-1.73-3.el8.noarch                                                                8/43 
  Verifying        : perl-libnet-3.11-3.el8.noarch                                                             9/43 
  Verifying        : emacs-filesystem-1:26.1-11.el8.noarch                                                    10/43 
  Verifying        : perl-Carp-1.42-396.el8.noarch                                                            11/43 
  Verifying        : perl-Data-Dumper-2.167-399.el8.x86_64                                                    12/43 
  Verifying        : perl-Encode-4:2.97-3.el8.x86_64                                                          13/43 
  Verifying        : perl-Errno-1.28-422.el8.x86_64                                                           14/43 
  Verifying        : perl-Exporter-5.72-396.el8.noarch                                                        15/43 
  Verifying        : perl-File-Path-2.15-2.el8.noarch                                                         16/43 
  Verifying        : perl-File-Temp-0.230.600-1.el8.noarch                                                    17/43 
  Verifying        : perl-Getopt-Long-1:2.50-4.el8.noarch                                                     18/43 
  Verifying        : perl-HTTP-Tiny-0.074-2.el8.noarch                                                        19/43 
  Verifying        : perl-IO-1.38-422.el8.x86_64                                                              20/43 
  Verifying        : perl-MIME-Base64-3.15-396.el8.x86_64                                                     21/43 
  Verifying        : perl-PathTools-3.74-1.el8.x86_64                                                         22/43 
  Verifying        : perl-Pod-Escapes-1:1.07-395.el8.noarch                                                   23/43 
  Verifying        : perl-Pod-Perldoc-3.28-396.el8.noarch                                                     24/43 
  Verifying        : perl-Pod-Simple-1:3.35-395.el8.noarch                                                    25/43 
  Verifying        : perl-Pod-Usage-4:1.69-395.el8.noarch                                                     26/43 
  Verifying        : perl-Scalar-List-Utils-3:1.49-2.el8.x86_64                                               27/43 
  Verifying        : perl-Socket-4:2.027-3.el8.x86_64                                                         28/43 
  Verifying        : perl-Storable-1:3.11-3.el8.x86_64                                                        29/43 
  Verifying        : perl-Term-ANSIColor-4.06-396.el8.noarch                                                  30/43 
  Verifying        : perl-Term-Cap-1.17-395.el8.noarch                                                        31/43 
  Verifying        : perl-Text-ParseWords-3.30-395.el8.noarch                                                 32/43 
  Verifying        : perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch                                             33/43 
  Verifying        : perl-Time-Local-1:1.280-1.el8.noarch                                                     34/43 
  Verifying        : perl-Unicode-Normalize-1.25-396.el8.x86_64                                               35/43 
  Verifying        : perl-constant-1.33-396.el8.noarch                                                        36/43 
  Verifying        : perl-interpreter-4:5.26.3-422.el8.x86_64                                                 37/43 
  Verifying        : perl-libs-4:5.26.3-422.el8.x86_64                                                        38/43 
  Verifying        : perl-macros-4:5.26.3-422.el8.x86_64                                                      39/43 
  Verifying        : perl-parent-1:0.237-1.el8.noarch                                                         40/43 
  Verifying        : perl-podlators-4.11-1.el8.noarch                                                         41/43 
  Verifying        : perl-threads-1:2.21-2.el8.x86_64                                                         42/43 
  Verifying        : perl-threads-shared-1.58-2.el8.x86_64                                                    43/43 

Installed:
  autoconf-2.69-29.el8.noarch                                                                                       
  emacs-filesystem-1:26.1-11.el8.noarch                                                                             
  perl-Carp-1.42-396.el8.noarch                                                                                     
  perl-Data-Dumper-2.167-399.el8.x86_64                                                                             
  perl-Digest-1.17-395.el8.noarch                                                                                   
  perl-Digest-MD5-2.55-396.el8.x86_64                                                                               
  perl-Encode-4:2.97-3.el8.x86_64                                                                                   
  perl-Errno-1.28-422.el8.x86_64                                                                                    
  perl-Exporter-5.72-396.el8.noarch                                                                                 
  perl-File-Path-2.15-2.el8.noarch                                                                                  
  perl-File-Temp-0.230.600-1.el8.noarch                                                                             
  perl-Getopt-Long-1:2.50-4.el8.noarch                                                                              
  perl-HTTP-Tiny-0.074-2.el8.noarch                                                                                 
  perl-IO-1.38-422.el8.x86_64                                                                                       
  perl-IO-Socket-IP-0.39-5.el8.noarch                                                                               
  perl-IO-Socket-SSL-2.066-4.module+el8.9.0+1517+e71a7a62.noarch                                                    
  perl-MIME-Base64-3.15-396.el8.x86_64                                                                              
  perl-Mozilla-CA-20160104-7.module+el8.9.0+1521+0101edce.noarch                                                    
  perl-Net-SSLeay-1.88-2.module+el8.9.0+1517+e71a7a62.x86_64                                                        
  perl-PathTools-3.74-1.el8.x86_64                                                                                  
  perl-Pod-Escapes-1:1.07-395.el8.noarch                                                                            
  perl-Pod-Perldoc-3.28-396.el8.noarch                                                                              
  perl-Pod-Simple-1:3.35-395.el8.noarch                                                                             
  perl-Pod-Usage-4:1.69-395.el8.noarch                                                                              
  perl-Scalar-List-Utils-3:1.49-2.el8.x86_64                                                                        
  perl-Socket-4:2.027-3.el8.x86_64                                                                                  
  perl-Storable-1:3.11-3.el8.x86_64                                                                                 
  perl-Term-ANSIColor-4.06-396.el8.noarch                                                                           
  perl-Term-Cap-1.17-395.el8.noarch                                                                                 
  perl-Text-ParseWords-3.30-395.el8.noarch                                                                          
  perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch                                                                      
  perl-Time-Local-1:1.280-1.el8.noarch                                                                              
  perl-URI-1.73-3.el8.noarch                                                                                        
  perl-Unicode-Normalize-1.25-396.el8.x86_64                                                                        
  perl-constant-1.33-396.el8.noarch                                                                                 
  perl-interpreter-4:5.26.3-422.el8.x86_64                                                                          
  perl-libnet-3.11-3.el8.noarch                                                                                     
  perl-libs-4:5.26.3-422.el8.x86_64                                                                                 
  perl-macros-4:5.26.3-422.el8.x86_64                                                                               
  perl-parent-1:0.237-1.el8.noarch                                                                                  
  perl-podlators-4.11-1.el8.noarch                                                                                  
  perl-threads-1:2.21-2.el8.x86_64                                                                                  
  perl-threads-shared-1.58-2.el8.x86_64                                                                             

Complete!
[root@localhost cmatrix]# make -j 2
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /root/cmatrix/missing autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-am
make[1]: Entering directory '/root/cmatrix'
gcc -DHAVE_CONFIG_H -I.     -g -O2 -MT cmatrix.o -MD -MP -MF .deps/cmatrix.Tpo -c -o cmatrix.o cmatrix.c
cmatrix.c:43:10: fatal error: curses.h: No such file or directory
 #include <curses.h>
          ^~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:433: cmatrix.o] Error 1
make[1]: Leaving directory '/root/cmatrix'
make: *** [Makefile:317: all] Error 2
[root@localhost cmatrix]# yum provides curses.h
Last metadata expiration check: 3:00:25 ago on Wed 28 Feb 2024 04:21:27 PM CST.
Error: No Matches found
[root@localhost cmatrix]# yum provides */curses.h
Last metadata expiration check: 3:00:39 ago on Wed 28 Feb 2024 04:21:27 PM CST.
ncurses-devel-6.1-10.20180224.el8.i686 : Development files for the ncurses library
Repo        : baseos
Matched from:
Filename    : /usr/include/curses.h
Filename    : /usr/include/ncurses/curses.h
Filename    : /usr/include/ncursesw/curses.h

ncurses-devel-6.1-10.20180224.el8.x86_64 : Development files for the ncurses library
Repo        : baseos
Matched from:
Filename    : /usr/include/curses.h
Filename    : /usr/include/ncurses/curses.h
Filename    : /usr/include/ncursesw/curses.h

[root@localhost cmatrix]# yum -y install ncurses-devel
Last metadata expiration check: 3:01:14 ago on Wed 28 Feb 2024 04:21:27 PM CST.
Dependencies resolved.
====================================================================================================================
 Package                        Architecture         Version                             Repository            Size
====================================================================================================================
Installing:
 ncurses-devel                  x86_64               6.1-10.20180224.el8                 baseos               527 k
Installing dependencies:
 ncurses-c++-libs               x86_64               6.1-10.20180224.el8                 baseos                57 k

Transaction Summary
====================================================================================================================
Install  2 Packages

Total download size: 584 k
Installed size: 960 k
Downloading Packages:
(1/2): ncurses-c++-libs-6.1-10.20180224.el8.x86_64.rpm                               20 kB/s |  57 kB     00:02    
(2/2): ncurses-devel-6.1-10.20180224.el8.x86_64.rpm                                  82 kB/s | 527 kB     00:06    
--------------------------------------------------------------------------------------------------------------------
Total                                                                                58 kB/s | 584 kB     00:10     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                            1/1 
  Installing       : ncurses-c++-libs-6.1-10.20180224.el8.x86_64                                                1/2 
  Installing       : ncurses-devel-6.1-10.20180224.el8.x86_64                                                   2/2 
  Running scriptlet: ncurses-devel-6.1-10.20180224.el8.x86_64                                                   2/2 
  Verifying        : ncurses-c++-libs-6.1-10.20180224.el8.x86_64                                                1/2 
  Verifying        : ncurses-devel-6.1-10.20180224.el8.x86_64                                                   2/2 

Installed:
  ncurses-c++-libs-6.1-10.20180224.el8.x86_64                ncurses-devel-6.1-10.20180224.el8.x86_64               

Complete!
[root@localhost cmatrix]# make -j 2
make  all-am
make[1]: Entering directory '/root/cmatrix'
gcc -DHAVE_CONFIG_H -I.     -g -O2 -MT cmatrix.o -MD -MP -MF .deps/cmatrix.Tpo -c -o cmatrix.o cmatrix.c
mv -f .deps/cmatrix.Tpo .deps/cmatrix.Po
gcc  -g -O2   -o cmatrix cmatrix.o  
cmatrix.o: In function `finish':
/root/cmatrix/cmatrix.c:89: undefined reference to `curs_set'
/root/cmatrix/cmatrix.c:90: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:90: undefined reference to `wclear'
/root/cmatrix/cmatrix.c:91: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:91: undefined reference to `wrefresh'
/root/cmatrix/cmatrix.c:92: undefined reference to `resetty'
/root/cmatrix/cmatrix.c:93: undefined reference to `endwin'
cmatrix.o: In function `c_die':
/root/cmatrix/cmatrix.c:109: undefined reference to `curs_set'
/root/cmatrix/cmatrix.c:110: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:110: undefined reference to `wclear'
/root/cmatrix/cmatrix.c:111: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:111: undefined reference to `wrefresh'
/root/cmatrix/cmatrix.c:112: undefined reference to `resetty'
/root/cmatrix/cmatrix.c:113: undefined reference to `endwin'
cmatrix.o: In function `var_init':
/root/cmatrix/cmatrix.c:178: undefined reference to `LINES'
/root/cmatrix/cmatrix.c:179: undefined reference to `LINES'
/root/cmatrix/cmatrix.c:179: undefined reference to `COLS'
/root/cmatrix/cmatrix.c:180: undefined reference to `LINES'
/root/cmatrix/cmatrix.c:181: undefined reference to `COLS'
/root/cmatrix/cmatrix.c:187: undefined reference to `COLS'
/root/cmatrix/cmatrix.c:192: undefined reference to `COLS'
/root/cmatrix/cmatrix.c:197: undefined reference to `COLS'
/root/cmatrix/cmatrix.c:200: undefined reference to `LINES'
/root/cmatrix/cmatrix.c:200: undefined reference to `COLS'
/root/cmatrix/cmatrix.c:208: undefined reference to `LINES'
/root/cmatrix/cmatrix.c:211: undefined reference to `LINES'
/root/cmatrix/cmatrix.c:206: undefined reference to `COLS'
cmatrix.o: In function `resize_screen':
/root/cmatrix/cmatrix.c:246: undefined reference to `LINES'
/root/cmatrix/cmatrix.c:252: undefined reference to `COLS'
/root/cmatrix/cmatrix.c:266: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:266: undefined reference to `wclear'
/root/cmatrix/cmatrix.c:267: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:267: undefined reference to `wrefresh'
cmatrix.o: In function `main':
/root/cmatrix/cmatrix.c:379: undefined reference to `initscr'
/root/cmatrix/cmatrix.c:380: undefined reference to `savetty'
/root/cmatrix/cmatrix.c:381: undefined reference to `nonl'
/root/cmatrix/cmatrix.c:382: undefined reference to `cbreak'
/root/cmatrix/cmatrix.c:383: undefined reference to `noecho'
/root/cmatrix/cmatrix.c:384: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:384: undefined reference to `wtimeout'
/root/cmatrix/cmatrix.c:385: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:385: undefined reference to `leaveok'
/root/cmatrix/cmatrix.c:386: undefined reference to `curs_set'
/root/cmatrix/cmatrix.c:409: undefined reference to `has_colors'
/root/cmatrix/cmatrix.c:475: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:475: undefined reference to `wgetch'
/root/cmatrix/cmatrix.c:565: undefined reference to `COLS'
/root/cmatrix/cmatrix.c:570: undefined reference to `LINES'
/root/cmatrix/cmatrix.c:576: undefined reference to `LINES'
/root/cmatrix/cmatrix.c:671: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:672: undefined reference to `wattr_on'
/root/cmatrix/cmatrix.c:672: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:674: undefined reference to `wattr_on'
/root/cmatrix/cmatrix.c:678: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:680: undefined reference to `waddch'
/root/cmatrix/cmatrix.c:688: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:688: undefined reference to `wattr_off'
/root/cmatrix/cmatrix.c:693: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:693: undefined reference to `wattr_off'
/root/cmatrix/cmatrix.c:668: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:668: undefined reference to `wmove'
/root/cmatrix/cmatrix.c:720: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:720: undefined reference to `wattr_on'
/root/cmatrix/cmatrix.c:721: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:731: undefined reference to `wattr_on'
/root/cmatrix/cmatrix.c:731: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:740: undefined reference to `waddnstr'
/root/cmatrix/cmatrix.c:748: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:749: undefined reference to `wattr_off'
/root/cmatrix/cmatrix.c:749: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:752: undefined reference to `wattr_off'
/root/cmatrix/cmatrix.c:565: undefined reference to `COLS'
/root/cmatrix/cmatrix.c:785: undefined reference to `napms'
/root/cmatrix/cmatrix.c:565: undefined reference to `COLS'
/root/cmatrix/cmatrix.c:762: undefined reference to `LINES'
/root/cmatrix/cmatrix.c:767: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:767: undefined reference to `wmove'
/root/cmatrix/cmatrix.c:769: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:769: undefined reference to `waddch'
/root/cmatrix/cmatrix.c:772: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:772: undefined reference to `wmove'
/root/cmatrix/cmatrix.c:773: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:773: undefined reference to `waddch'
/root/cmatrix/cmatrix.c:774: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:774: undefined reference to `waddch'
/root/cmatrix/cmatrix.c:775: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:775: undefined reference to `waddnstr'
/root/cmatrix/cmatrix.c:776: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:776: undefined reference to `waddch'
/root/cmatrix/cmatrix.c:777: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:777: undefined reference to `waddch'
/root/cmatrix/cmatrix.c:780: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:780: undefined reference to `wmove'
/root/cmatrix/cmatrix.c:782: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:782: undefined reference to `waddch'
/root/cmatrix/cmatrix.c:742: undefined reference to `waddch'
/root/cmatrix/cmatrix.c:746: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:746: undefined reference to `wattr_off'
/root/cmatrix/cmatrix.c:725: undefined reference to `waddch'
/root/cmatrix/cmatrix.c:726: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:735: undefined reference to `wattr_on'
/root/cmatrix/cmatrix.c:735: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:738: undefined reference to `waddch'
/root/cmatrix/cmatrix.c:723: undefined reference to `wattr_on'
/root/cmatrix/cmatrix.c:725: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:725: undefined reference to `waddch'
/root/cmatrix/cmatrix.c:727: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:727: undefined reference to `wattr_off'
/root/cmatrix/cmatrix.c:727: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:685: undefined reference to `waddch'
/root/cmatrix/cmatrix.c:676: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:676: undefined reference to `wattr_on'
/root/cmatrix/cmatrix.c:690: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:690: undefined reference to `wattr_off'
/root/cmatrix/cmatrix.c:660: undefined reference to `LINES'
/root/cmatrix/cmatrix.c:682: undefined reference to `waddch'
/root/cmatrix/cmatrix.c:654: undefined reference to `LINES'
/root/cmatrix/cmatrix.c:655: undefined reference to `LINES'
/root/cmatrix/cmatrix.c:595: undefined reference to `LINES'
/root/cmatrix/cmatrix.c:581: undefined reference to `LINES'
/root/cmatrix/cmatrix.c:597: undefined reference to `LINES'
cmatrix.o:/root/cmatrix/cmatrix.c:607: more undefined references to `LINES' follow
cmatrix.o: In function `main':
/root/cmatrix/cmatrix.c:410: undefined reference to `start_color'
/root/cmatrix/cmatrix.c:426: undefined reference to `init_pair'
/root/cmatrix/cmatrix.c:427: undefined reference to `init_pair'
/root/cmatrix/cmatrix.c:428: undefined reference to `init_pair'
/root/cmatrix/cmatrix.c:429: undefined reference to `init_pair'
/root/cmatrix/cmatrix.c:430: undefined reference to `init_pair'
cmatrix.o:/root/cmatrix/cmatrix.c:431: more undefined references to `init_pair' follow
cmatrix.o: In function `main':
/root/cmatrix/cmatrix.c:483: undefined reference to `stdscr'
/root/cmatrix/cmatrix.c:483: undefined reference to `wgetch'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:416: cmatrix] Error 1
make[1]: Leaving directory '/root/cmatrix'
make: *** [Makefile:317: all] Error 2
[root@localhost cmatrix]# pwd
/root/cmatrix
[root@localhost cmatrix]# ls
aclocal.m4      cmatrix.o           config.h.in~     data               Makefile.in    README.md
AUTHORS         cmatrix.spec        config.log       depcomp            matrix.fnt     stamp-h1
autom4te.cache  cmatrix.spec.in     config.status    INSTALL            matrix.psf.gz  takeScreenshots
ChangeLog       CODE_OF_CONDUCT.md  configure        install-sh         missing
CMakeLists.txt  compile             configure.ac     ISSUE_TEMPLATE.md  mtx.pcf
cmatrix.1       config.h            CONTRIBUTING.md  Makefile           NEWS
cmatrix.c       config.h.in         COPYING          Makefile.am        README
[root@localhost cmatrix]# rm -rf cmatrix
[root@localhost cmatrix]# ls
aclocal.m4      cmatrix.o           config.h.in~     data               Makefile.in    README.md
AUTHORS         cmatrix.spec        config.log       depcomp            matrix.fnt     stamp-h1
autom4te.cache  cmatrix.spec.in     config.status    INSTALL            matrix.psf.gz  takeScreenshots
ChangeLog       CODE_OF_CONDUCT.md  configure        install-sh         missing
CMakeLists.txt  compile             configure.ac     ISSUE_TEMPLATE.md  mtx.pcf
cmatrix.1       config.h            CONTRIBUTING.md  Makefile           NEWS
cmatrix.c       config.h.in         COPYING          Makefile.am        README
[root@localhost cmatrix]# cd ..
[root@localhost ~]# ls
anaconda-ks.cfg  cmatrix  cmatrix-v2.0-Butterscotch.tar
[root@localhost ~]# rm -rf cmatrix
[root@localhost ~]# ls
anaconda-ks.cfg  cmatrix-v2.0-Butterscotch.tar
[root@localhost ~]# tar xf cmatrix-v2.0-Butterscotch.tar
[root@localhost ~]# cd cmatrix
[root@localhost cmatrix]# ./configure --prefix=/apps/cmatrix 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for main in -lncurses... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for unistd.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking return type of signal handlers... void
checking for putenv... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for tgetent in -lncurses... yes
"Using ncurses as the termcap library"
checking for use_default_colors in -lncurses... yes
checking for resizeterm in -lncurses... yes
checking for wresize in -lncurses... yes
checking for consolechars... no
checking for setfont... /usr/bin/setfont
checking for /usr/lib/kbd/consolefonts... yes
checking for /usr/share/consolefonts... no
checking for mkfontdir... no
checking for /usr/lib/X11/fonts/misc... no
checking for /usr/X11R6/lib/X11/fonts/misc... no
configure: WARNING:

*** You do not appear to have an X window fonts directory in the standard
*** locations (/usr/lib/X11/fonts/misc or /usr/X11R6/lib/X11/fonts/misc). The
*** mtx.pcf font will not be installed.  This means you will probably not
*** be able to use the mtx fonts in your x terminals, and hence be unable
*** to use the -x command line switch.  Sorry about that...

checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cmatrix.spec
config.status: creating config.h
config.status: executing depfiles commands
[root@localhost cmatrix]# make -j 2
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /root/cmatrix/missing autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-am
make[1]: Entering directory '/root/cmatrix'
gcc -DHAVE_CONFIG_H -I.     -g -O2 -MT cmatrix.o -MD -MP -MF .deps/cmatrix.Tpo -c -o cmatrix.o cmatrix.c
mv -f .deps/cmatrix.Tpo .deps/cmatrix.Po
gcc  -g -O2   -o cmatrix cmatrix.o  -lncurses  -lncurses
make[1]: Leaving directory '/root/cmatrix'
[root@localhost cmatrix]# make install
make[1]: Entering directory '/root/cmatrix'
 /usr/bin/mkdir -p '/apps/cmatrix/bin'
  /usr/bin/install -c cmatrix '/apps/cmatrix/bin'
 Installing matrix fonts in /usr/lib/kbd/consolefonts...
 /usr/bin/mkdir -p '/apps/cmatrix/share/man/man1'
 /usr/bin/install -c -m 644 cmatrix.1 '/apps/cmatrix/share/man/man1'
make[1]: Leaving directory '/root/cmatrix'
[root@localhost cmatrix]# tree /apps/cmatrix
/apps/cmatrix
├── bin
│   └── cmatrix
└── share
    └── man
        └── man1
            └── cmatrix.1

4 directories, 2 files
[root@localhost cmatrix]# ln -s /apps/cmatrix/bin/cmatrix /usr/local/bin/
[root@localhost cmatrix]# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
[root@localhost cmatrix]# cmatrix
[root@localhost cmatrix]# cmatrix --help
 Usage: cmatrix -[abBcfhlsmVx] [-u delay] [-C color]
 -a: Asynchronous scroll
 -b: Bold characters on
 -B: All bold characters (overrides -b)
 -c: Use Japanese characters as seen in the original matrix. Requires appropriate fonts
 -f: Force the linux $TERM type to be on
 -l: Linux mode (uses matrix console font)
 -L: Lock mode (can be closed from another terminal)
 -o: Use old-style scrolling
 -h: Print usage and exit
 -n: No bold characters (overrides -b and -B, default)
 -s: "Screensaver" mode, exits on first keystroke
 -x: X window mode, use if your xterm is using mtx.pcf
 -V: Print version information and exit
 -u delay (0 - 10, default 4): Screen update delay
 -C [color]: Use this color for matrix (default green)
 -r: rainbow mode
 -m: lambda mode
[root@localhost cmatrix]# cmatrix -b
[root@localhost cmatrix]# cmatrix -a
[root@localhost cmatrix]# cmatrix -f
  d $ i   Y       " B   L 3 < & M @ 2 P     y   x K x B 6 w 9 C     3       O         k       c   ] r V     E   S  
  0 ! l   -       Z C   5 G \ d B , 8       J   B e g G p G 9 j     s       r         F       1   3 G u     V   K  
  ! [ W   Q   h   v .   ? " S y   ] q       x   U   4 U $ B p g     =       0         %   M   b   O 2 n     B   ! %
  e e a   z   8   g .   g l L <   z E       W   r   3 P A P c S     >                 C   c   2   D r /     9   R A
  N q K   `   P   [ Y   m ' + "   4 !       @   '   F " x i M 2     B                 j   T       K q @     ;   ) o
  ! ) p   h   +   ` f     " P .   1 U       I   d   8 Y i @ / ,     ' I               . 9 /       A : x     G   j T
  t G o   `   /   @ r     X v c   a <           =   $ \ 6 o a       j z           W   A q !       G j Q     Z   5 x
  D ^ S   Z   W   ` d     H # q   s             "   q O A L R         d           "   Z T b h     b V a 7   #   t t
  X h V   %   K   G s     W k J   %             D   1 ( G   (         "       e   )   : G ! h     ] d ; ]       d 5
    " /   v   5   > k     = G $   1             "     # w   "         J       :   @   ; N > V     , j [ n       o t
    / l Y 8   P 2 T T     ` K w   h             r     1 P             R       m   2 ? Z \ & 7     f % - Y       Y m
    k y j #   K Q l :     y 8 M   2             V     + 1             L       W   h s & k W '     N P 3 \       K F
    / \ [ p   R S e C     G n j m F             m     D 4             ^       ,   ` S &   S S     V   ] p       ` F
    g R 9 g   6 v , ^     w r ; $ m     y             E 4             $       c   + )     h 1         ^ *       ` [
u   > Q Z     3 V 4 b +   S G ) = <     1             @ , E     X     3       Y   W p     u I         ' g       R y
%   + z N     l k ' + q   R ^ 9 > ;     )   W           i @     5 Q   u       R   c p     3 :         R m       5 @
Z     e Y   1 s m H ] &   Z > r ! r     &   2           ) 5     t /   T       F   q y     Q P         % D       X n
T     4 Q   f O O 7 n [     y ^ : w     Q   m           C %     T 7   6 3     b   c +     J 6         +         Z 0
K     M @   : n A H $ 0     % ? v j     %   4             f     1 ^   f ;   T X   ) r     < H         y         f A
K     H P   < w S   [ o     5 ! - X     F   B             ]     L V   ] Q   F     L 9     O N         Z           D
= 6     Q     E H   G 7     " x W       m @ M x           L     $ r   ) u   K     ? $     O T         -   .       w
l f     #       5   ' J     C U P       R f A =         * n     z o   V t   3     a ^     : e         <   (       l
G \             &     z     o   ,       > V m 5         D F     w X   ; 7   L     ?       J *         6   +        
( r             o     =     Y   L       + 6 ) R         * h     = -   r M   N     \       ` p             A   t    
* <             !     p     `   6       4 x / R         , *     J S   i p   T     2       P )             \   h    
+ <             I   y >     ]   N       ] n l M L       3 i     _ F   r q   `   & ,       P P             a   7    
# [       +     7   Z (     =   /       7 x J Y C     Q 5 f     : 3 T ) Z   %   I ] A     z x   i     M   M   #    
- (       ,     B   I P     a   I       5 a J ; <   8 b *   0   7 4 Y F 3 r @   Y n 1     2 A   Y     o   1   z    
^ 6       \     P   o E         z       0 y % o :   # = e   (   3   9 . x k 1   O # W     @ 3   K     3   m   _    
x S       f     T   ^ p       o m       N ! - p !   / " $   e   o   9 b ] / (   4 W Y     y 6   b     N   Y   -    
/ 0       =     6   , Q       : $       * o 0 K :   w B l   &   <   7 c Q 6 X       n       4   :     3   .   x    
F F     ! 8     n   a G       & U       n p Q p y ! y f d   p     D e   ;   7       (           .     `   ]   8    































[root@localhost cmatrix]# 
[root@localhost cmatrix]# cmatrix -C
 Usage: cmatrix -[abBcfhlsmVx] [-u delay] [-C color]
 -a: Asynchronous scroll
 -b: Bold characters on
 -B: All bold characters (overrides -b)
 -c: Use Japanese characters as seen in the original matrix. Requires appropriate fonts
 -f: Force the linux $TERM type to be on
 -l: Linux mode (uses matrix console font)
 -L: Lock mode (can be closed from another terminal)
 -o: Use old-style scrolling
 -h: Print usage and exit
 -n: No bold characters (overrides -b and -B, default)
 -s: "Screensaver" mode, exits on first keystroke
 -x: X window mode, use if your xterm is using mtx.pcf
 -V: Print version information and exit
 -u delay (0 - 10, default 4): Screen update delay
 -C [color]: Use this color for matrix (default green)
 -r: rainbow mode
 -m: lambda mode
[root@localhost cmatrix]# cmatrix -C blue
[root@localhost cmatrix]# ^C
[root@localhost cmatrix]# cd
[root@localhost ~]# history
    1  vim
    2  install vim
    3  yum install vim
    4  vim
    5  vim
    6  yum  install vim
    7  vim
    8  ip a
    9  vim
   10  sed -i '/^SELINUX=/c SELINUX=disabled' /etc/selinux/config
   11  systemctl disable --now firewalld 
   12  yum -y install autofs
   13  systemctl enable --now autofs
   14  yum -y install lrzsz
   15  yum -y install dos2unix
   16  vim
   17  shutdown
   18  shutdown -h
   19  shutdown -h now
   20  ip a
   21  sed -i '/^SELINUX=/c SELINUX=disabled' /etc/selinux/config
   22  systemctl disable --now firewalld 
   23  yum -y install autofs
   24  systemctl enable --now autofs
   25  sed -ri '/GRUB_CMDLINE_LINUX=/s#(.*)"$#\1 ifnames=0"#' /etc/default/grub
   26  grub2-mkconfig -o /boot/grub2/grub.cfg ;reboot
   27  yum -y install autofs vim-enhanced tcpdump autofs chrony lrzsz tree telnet ftp lftp redhat-lsb-core bash-completion net-tools postfix wget bzip2 zip unzip xz lsof mlocate man-pages rsync
   28  vim
   29  ll /misc/cd
   30  cd /etc/yum.repos.d/
   31  ls
   32  yum -y install gcc
   33  #wget 
   34  https://github.com/abishekvashok/cmatrix/releases/download/v2.0/cmatrix-v2.0-
   35  Butterscotch.tarwget 
   36  https://github.com/abishekvashok/cmatrix/releases/download/v2.0/cmatrix-v2.0-
   37  Butterscotch.tarwget 
   38  https://github.com/abishekvashok/cmatrix/releases/download/v2.0/cmatrix-v2.0-
   39  cd
   40  wget https://github.com/abishekvashok/cmatrix/releases/download/v2.0/cmatrix-v2.0-
   41  wget https://github.com/abishekvashok/cmatrix/releases/download/v2.0/cmatrix-v2.0
   42  wget https://github.com/abishekvashok/cmatrix/releases/download/v2.0/cmatrix-v2.0-
   43  wget https://github.com/abishekvashok/cmatrix/releases/download/v2.0/cmatrix-v2.0-Butterscotch.tar
   44  ls
   45  tar xf cmatrix-v2.0-Butterscotch.tar
   46  ls
   47  cd cmatrix/
   48  ls
   49  cat README
   50  cat INSTAKK
   51  cat INSTALL
   52  pwd
   53  wc -l ./configure
   54  ls
   55  vim configure
   56  ./configure --help
   57  ./configure --prefix=/apps/cmatrix 
   58  make -j 2
   59  make -j 1
   60  make -j 
   61  yum provides autoheader
   62  yum -y install autoconf
   63  make -j 2
   64  yum provides curses.h
   65  yum provides */curses.h
   66  yum -y install ncurses-devel
   67  make -j 2
   68  pwd
   69  ls
   70  rm -rf cmatrix
   71  ls
   72  cd ..
   73  ls
   74  rm -rf cmatrix
   75  ls
   76  tar xf cmatrix-v2.0-Butterscotch.tar
   77  cd cmatrix
   78  ./configure --prefix=/apps/cmatrix 
   79  make -j 2
   80  make install
   81  tree /apps/cmatrix
   82  ln -s /apps/cmatrix/bin/cmatrix /usr/local/bin/
   83  echo $PATH
   84  cmatrix
   85  cmatrix --help
   86  cmatrix -b
   87  cmatrix -a
   88  cmatrix -f
   89  cmatrix -C
   90  cmatrix -C blue
   91  cd
   92  history
[root@localhost ~]#
编译安装httpd
│   │   ├── mod_autoindex.html.ko.euc-kr
│   │   ├── mod_autoindex.html.tr.utf8
│   │   ├── mod_brotli.html
│   │   ├── mod_brotli.html.en
│   │   ├── mod_brotli.html.fr.utf8
│   │   ├── mod_buffer.html
│   │   ├── mod_buffer.html.en
│   │   ├── mod_buffer.html.fr.utf8
│   │   ├── mod_cache_disk.html
│   │   ├── mod_cache_disk.html.en
│   │   ├── mod_cache_disk.html.fr.utf8
│   │   ├── mod_cache_disk.html.ja.utf8
│   │   ├── mod_cache_disk.html.ko.euc-kr
│   │   ├── mod_cache.html
│   │   ├── mod_cache.html.en
│   │   ├── mod_cache.html.fr.utf8
│   │   ├── mod_cache.html.ja.utf8
│   │   ├── mod_cache.html.ko.euc-kr
│   │   ├── mod_cache_socache.html
│   │   ├── mod_cache_socache.html.en
│   │   ├── mod_cache_socache.html.fr.utf8
│   │   ├── mod_cern_meta.html
│   │   ├── mod_cern_meta.html.en
│   │   ├── mod_cern_meta.html.fr.utf8
│   │   ├── mod_cern_meta.html.ko.euc-kr
│   │   ├── mod_cgid.html
│   │   ├── mod_cgid.html.en
│   │   ├── mod_cgid.html.fr.utf8
│   │   ├── mod_cgid.html.ja.utf8
│   │   ├── mod_cgid.html.ko.euc-kr
│   │   ├── mod_cgi.html
│   │   ├── mod_cgi.html.en
│   │   ├── mod_cgi.html.fr.utf8
│   │   ├── mod_cgi.html.ja.utf8
│   │   ├── mod_cgi.html.ko.euc-kr
│   │   ├── mod_charset_lite.html
│   │   ├── mod_charset_lite.html.en
│   │   ├── mod_charset_lite.html.fr.utf8
│   │   ├── mod_charset_lite.html.ko.euc-kr
│   │   ├── mod_data.html
│   │   ├── mod_data.html.en
│   │   ├── mod_data.html.fr.utf8
│   │   ├── mod_dav_fs.html
│   │   ├── mod_dav_fs.html.en
│   │   ├── mod_dav_fs.html.fr.utf8
│   │   ├── mod_dav_fs.html.ja.utf8
│   │   ├── mod_dav_fs.html.ko.euc-kr
│   │   ├── mod_dav.html
│   │   ├── mod_dav.html.en
│   │   ├── mod_dav.html.fr.utf8
│   │   ├── mod_dav.html.ja.utf8
│   │   ├── mod_dav.html.ko.euc-kr
│   │   ├── mod_dav_lock.html
│   │   ├── mod_dav_lock.html.en
│   │   ├── mod_dav_lock.html.fr.utf8
│   │   ├── mod_dav_lock.html.ja.utf8
│   │   ├── mod_dbd.html
│   │   ├── mod_dbd.html.en
│   │   ├── mod_dbd.html.fr.utf8
│   │   ├── mod_deflate.html
│   │   ├── mod_deflate.html.en
│   │   ├── mod_deflate.html.fr.utf8
│   │   ├── mod_deflate.html.ja.utf8
│   │   ├── mod_deflate.html.ko.euc-kr
│   │   ├── mod_dialup.html
│   │   ├── mod_dialup.html.en
│   │   ├── mod_dialup.html.fr.utf8
│   │   ├── mod_dir.html
│   │   ├── mod_dir.html.en
│   │   ├── mod_dir.html.fr.utf8
│   │   ├── mod_dir.html.ja.utf8
│   │   ├── mod_dir.html.ko.euc-kr
│   │   ├── mod_dir.html.tr.utf8
│   │   ├── mod_dumpio.html
│   │   ├── mod_dumpio.html.en
│   │   ├── mod_dumpio.html.fr.utf8
│   │   ├── mod_dumpio.html.ja.utf8
│   │   ├── mod_echo.html
│   │   ├── mod_echo.html.en
│   │   ├── mod_echo.html.fr.utf8
│   │   ├── mod_echo.html.ja.utf8
│   │   ├── mod_echo.html.ko.euc-kr
│   │   ├── mod_env.html
│   │   ├── mod_env.html.en
│   │   ├── mod_env.html.fr.utf8
│   │   ├── mod_env.html.ja.utf8
│   │   ├── mod_env.html.ko.euc-kr
│   │   ├── mod_env.html.tr.utf8
│   │   ├── mod_example_hooks.html
│   │   ├── mod_example_hooks.html.en
│   │   ├── mod_example_hooks.html.fr.utf8
│   │   ├── mod_example_hooks.html.ko.euc-kr
│   │   ├── mod_expires.html
│   │   ├── mod_expires.html.en
│   │   ├── mod_expires.html.fr.utf8
│   │   ├── mod_expires.html.ja.utf8
│   │   ├── mod_expires.html.ko.euc-kr
│   │   ├── mod_ext_filter.html
│   │   ├── mod_ext_filter.html.en
│   │   ├── mod_ext_filter.html.fr.utf8
│   │   ├── mod_ext_filter.html.ja.utf8
│   │   ├── mod_ext_filter.html.ko.euc-kr
│   │   ├── mod_file_cache.html
│   │   ├── mod_file_cache.html.en
│   │   ├── mod_file_cache.html.fr.utf8
│   │   ├── mod_file_cache.html.ko.euc-kr
│   │   ├── mod_filter.html
│   │   ├── mod_filter.html.en
│   │   ├── mod_filter.html.fr.utf8
│   │   ├── mod_headers.html
│   │   ├── mod_headers.html.en
│   │   ├── mod_headers.html.fr.utf8
│   │   ├── mod_headers.html.ja.utf8
│   │   ├── mod_headers.html.ko.euc-kr
│   │   ├── mod_heartbeat.html
│   │   ├── mod_heartbeat.html.en
│   │   ├── mod_heartbeat.html.fr.utf8
│   │   ├── mod_heartmonitor.html
│   │   ├── mod_heartmonitor.html.en
│   │   ├── mod_heartmonitor.html.fr.utf8
│   │   ├── mod_http2.html
│   │   ├── mod_http2.html.en
│   │   ├── mod_http2.html.fr.utf8
│   │   ├── mod_ident.html
│   │   ├── mod_ident.html.en
│   │   ├── mod_ident.html.fr.utf8
│   │   ├── mod_ident.html.ja.utf8
│   │   ├── mod_ident.html.ko.euc-kr
│   │   ├── mod_imagemap.html
│   │   ├── mod_imagemap.html.en
│   │   ├── mod_imagemap.html.fr.utf8
│   │   ├── mod_imagemap.html.ko.euc-kr
│   │   ├── mod_include.html
│   │   ├── mod_include.html.en
│   │   ├── mod_include.html.fr.utf8
│   │   ├── mod_include.html.ja.utf8
│   │   ├── mod_info.html
│   │   ├── mod_info.html.en
│   │   ├── mod_info.html.fr.utf8
│   │   ├── mod_info.html.ja.utf8
│   │   ├── mod_info.html.ko.euc-kr
│   │   ├── mod_isapi.html
│   │   ├── mod_isapi.html.en
│   │   ├── mod_isapi.html.fr.utf8
│   │   ├── mod_isapi.html.ko.euc-kr
│   │   ├── mod_lbmethod_bybusyness.html
│   │   ├── mod_lbmethod_bybusyness.html.en
│   │   ├── mod_lbmethod_bybusyness.html.fr.utf8
│   │   ├── mod_lbmethod_byrequests.html
│   │   ├── mod_lbmethod_byrequests.html.en
│   │   ├── mod_lbmethod_byrequests.html.fr.utf8
│   │   ├── mod_lbmethod_bytraffic.html
│   │   ├── mod_lbmethod_bytraffic.html.en
│   │   ├── mod_lbmethod_bytraffic.html.fr.utf8
│   │   ├── mod_lbmethod_heartbeat.html
│   │   ├── mod_lbmethod_heartbeat.html.en
│   │   ├── mod_lbmethod_heartbeat.html.fr.utf8
│   │   ├── mod_ldap.html
│   │   ├── mod_ldap.html.en
│   │   ├── mod_ldap.html.fr.utf8
│   │   ├── mod_log_config.html
│   │   ├── mod_log_config.html.en
│   │   ├── mod_log_config.html.fr.utf8
│   │   ├── mod_log_config.html.ja.utf8
│   │   ├── mod_log_config.html.ko.euc-kr
│   │   ├── mod_log_config.html.tr.utf8
│   │   ├── mod_log_debug.html
│   │   ├── mod_log_debug.html.en
│   │   ├── mod_log_debug.html.fr.utf8
│   │   ├── mod_log_forensic.html
│   │   ├── mod_log_forensic.html.en
│   │   ├── mod_log_forensic.html.fr.utf8
│   │   ├── mod_log_forensic.html.ja.utf8
│   │   ├── mod_log_forensic.html.tr.utf8
│   │   ├── mod_logio.html
│   │   ├── mod_logio.html.en
│   │   ├── mod_logio.html.fr.utf8
│   │   ├── mod_logio.html.ja.utf8
│   │   ├── mod_logio.html.ko.euc-kr
│   │   ├── mod_logio.html.tr.utf8
│   │   ├── mod_lua.html
│   │   ├── mod_lua.html.en
│   │   ├── mod_lua.html.fr.utf8
│   │   ├── mod_macro.html
│   │   ├── mod_macro.html.en
│   │   ├── mod_macro.html.fr.utf8
│   │   ├── mod_md.html
│   │   ├── mod_md.html.en
│   │   ├── mod_md.html.fr.utf8
│   │   ├── mod_mime.html
│   │   ├── mod_mime.html.en
│   │   ├── mod_mime.html.fr.utf8
│   │   ├── mod_mime.html.ja.utf8
│   │   ├── mod_mime_magic.html
│   │   ├── mod_mime_magic.html.en
│   │   ├── mod_mime_magic.html.fr.utf8
│   │   ├── mod_negotiation.html
│   │   ├── mod_negotiation.html.en
│   │   ├── mod_negotiation.html.fr.utf8
│   │   ├── mod_negotiation.html.ja.utf8
│   │   ├── mod_nw_ssl.html
│   │   ├── mod_nw_ssl.html.en
│   │   ├── mod_nw_ssl.html.fr.utf8
│   │   ├── mod_privileges.html
│   │   ├── mod_privileges.html.en
│   │   ├── mod_privileges.html.fr.utf8
│   │   ├── mod_proxy_ajp.html
│   │   ├── mod_proxy_ajp.html.en
│   │   ├── mod_proxy_ajp.html.fr.utf8
│   │   ├── mod_proxy_ajp.html.ja.utf8
│   │   ├── mod_proxy_balancer.html
│   │   ├── mod_proxy_balancer.html.en
│   │   ├── mod_proxy_balancer.html.fr.utf8
│   │   ├── mod_proxy_balancer.html.ja.utf8
│   │   ├── mod_proxy_connect.html
│   │   ├── mod_proxy_connect.html.en
│   │   ├── mod_proxy_connect.html.fr.utf8
│   │   ├── mod_proxy_connect.html.ja.utf8
│   │   ├── mod_proxy_express.html
│   │   ├── mod_proxy_express.html.en
│   │   ├── mod_proxy_express.html.fr.utf8
│   │   ├── mod_proxy_fcgi.html
│   │   ├── mod_proxy_fcgi.html.en
│   │   ├── mod_proxy_fcgi.html.fr.utf8
│   │   ├── mod_proxy_fdpass.html
│   │   ├── mod_proxy_fdpass.html.en
│   │   ├── mod_proxy_fdpass.html.fr.utf8
│   │   ├── mod_proxy_ftp.html
│   │   ├── mod_proxy_ftp.html.en
│   │   ├── mod_proxy_ftp.html.fr.utf8
│   │   ├── mod_proxy_hcheck.html
│   │   ├── mod_proxy_hcheck.html.en
│   │   ├── mod_proxy_hcheck.html.fr.utf8
│   │   ├── mod_proxy.html
│   │   ├── mod_proxy.html.en
│   │   ├── mod_proxy.html.fr.utf8
│   │   ├── mod_proxy_html.html
│   │   ├── mod_proxy_html.html.en
│   │   ├── mod_proxy_html.html.fr.utf8
│   │   ├── mod_proxy.html.ja.utf8
│   │   ├── mod_proxy_http2.html
│   │   ├── mod_proxy_http2.html.en
│   │   ├── mod_proxy_http2.html.fr.utf8
│   │   ├── mod_proxy_http.html
│   │   ├── mod_proxy_http.html.en
│   │   ├── mod_proxy_http.html.fr.utf8
│   │   ├── mod_proxy_scgi.html
│   │   ├── mod_proxy_scgi.html.en
│   │   ├── mod_proxy_scgi.html.fr.utf8
│   │   ├── mod_proxy_uwsgi.html
│   │   ├── mod_proxy_uwsgi.html.en
│   │   ├── mod_proxy_uwsgi.html.fr.utf8
│   │   ├── mod_proxy_wstunnel.html
│   │   ├── mod_proxy_wstunnel.html.en
│   │   ├── mod_proxy_wstunnel.html.fr.utf8
│   │   ├── mod_ratelimit.html
│   │   ├── mod_ratelimit.html.en
│   │   ├── mod_ratelimit.html.fr.utf8
│   │   ├── mod_reflector.html
│   │   ├── mod_reflector.html.en
│   │   ├── mod_reflector.html.fr.utf8
│   │   ├── mod_remoteip.html
│   │   ├── mod_remoteip.html.en
│   │   ├── mod_remoteip.html.fr.utf8
│   │   ├── mod_reqtimeout.html
│   │   ├── mod_reqtimeout.html.en
│   │   ├── mod_reqtimeout.html.fr.utf8
│   │   ├── mod_request.html
│   │   ├── mod_request.html.en
│   │   ├── mod_request.html.fr.utf8
│   │   ├── mod_request.html.tr.utf8
│   │   ├── mod_rewrite.html
│   │   ├── mod_rewrite.html.en
│   │   ├── mod_rewrite.html.fr.utf8
│   │   ├── mod_sed.html
│   │   ├── mod_sed.html.en
│   │   ├── mod_sed.html.fr.utf8
│   │   ├── mod_session_cookie.html
│   │   ├── mod_session_cookie.html.en
│   │   ├── mod_session_cookie.html.fr.utf8
│   │   ├── mod_session_crypto.html
│   │   ├── mod_session_crypto.html.en
│   │   ├── mod_session_crypto.html.fr.utf8
│   │   ├── mod_session_dbd.html
│   │   ├── mod_session_dbd.html.en
│   │   ├── mod_session_dbd.html.fr.utf8
│   │   ├── mod_session.html
│   │   ├── mod_session.html.en
│   │   ├── mod_session.html.fr.utf8
│   │   ├── mod_setenvif.html
│   │   ├── mod_setenvif.html.en
│   │   ├── mod_setenvif.html.fr.utf8
│   │   ├── mod_setenvif.html.ja.utf8
│   │   ├── mod_setenvif.html.ko.euc-kr
│   │   ├── mod_setenvif.html.tr.utf8
│   │   ├── mod_slotmem_plain.html
│   │   ├── mod_slotmem_plain.html.en
│   │   ├── mod_slotmem_plain.html.fr.utf8
│   │   ├── mod_slotmem_shm.html
│   │   ├── mod_slotmem_shm.html.en
│   │   ├── mod_slotmem_shm.html.fr.utf8
│   │   ├── mod_socache_dbm.html
│   │   ├── mod_socache_dbm.html.en
│   │   ├── mod_socache_dbm.html.fr.utf8
│   │   ├── mod_socache_dc.html
│   │   ├── mod_socache_dc.html.en
│   │   ├── mod_socache_dc.html.fr.utf8
│   │   ├── mod_socache_memcache.html
│   │   ├── mod_socache_memcache.html.en
│   │   ├── mod_socache_memcache.html.fr.utf8
│   │   ├── mod_socache_redis.html
│   │   ├── mod_socache_redis.html.en
│   │   ├── mod_socache_redis.html.fr.utf8
│   │   ├── mod_socache_shmcb.html
│   │   ├── mod_socache_shmcb.html.en
│   │   ├── mod_socache_shmcb.html.fr.utf8
│   │   ├── mod_so.html
│   │   ├── mod_so.html.en
│   │   ├── mod_so.html.fr.utf8
│   │   ├── mod_so.html.ja.utf8
│   │   ├── mod_so.html.ko.euc-kr
│   │   ├── mod_so.html.tr.utf8
│   │   ├── mod_speling.html
│   │   ├── mod_speling.html.en
│   │   ├── mod_speling.html.fr.utf8
│   │   ├── mod_speling.html.ja.utf8
│   │   ├── mod_speling.html.ko.euc-kr
│   │   ├── mod_ssl.html
│   │   ├── mod_ssl.html.en
│   │   ├── mod_ssl.html.fr.utf8
│   │   ├── mod_status.html
│   │   ├── mod_status.html.en
│   │   ├── mod_status.html.fr.utf8
│   │   ├── mod_status.html.ja.utf8
│   │   ├── mod_status.html.ko.euc-kr
│   │   ├── mod_status.html.tr.utf8
│   │   ├── mod_substitute.html
│   │   ├── mod_substitute.html.en
│   │   ├── mod_substitute.html.fr.utf8
│   │   ├── mod_suexec.html
│   │   ├── mod_suexec.html.en
│   │   ├── mod_suexec.html.fr.utf8
│   │   ├── mod_suexec.html.ja.utf8
│   │   ├── mod_suexec.html.ko.euc-kr
│   │   ├── mod_suexec.html.tr.utf8
│   │   ├── mod_systemd.html
│   │   ├── mod_systemd.html.en
│   │   ├── mod_systemd.html.fr.utf8
│   │   ├── mod_tls.html
│   │   ├── mod_tls.html.en
│   │   ├── module-dict.html
│   │   ├── module-dict.html.en
│   │   ├── module-dict.html.fr.utf8
│   │   ├── module-dict.html.ja.utf8
│   │   ├── module-dict.html.ko.euc-kr
│   │   ├── module-dict.html.tr.utf8
│   │   ├── mod_unique_id.html
│   │   ├── mod_unique_id.html.en
│   │   ├── mod_unique_id.html.fr.utf8
│   │   ├── mod_unique_id.html.ja.utf8
│   │   ├── mod_unique_id.html.ko.euc-kr
│   │   ├── mod_unixd.html
│   │   ├── mod_unixd.html.en
│   │   ├── mod_unixd.html.fr.utf8
│   │   ├── mod_unixd.html.tr.utf8
│   │   ├── mod_userdir.html
│   │   ├── mod_userdir.html.en
│   │   ├── mod_userdir.html.fr.utf8
│   │   ├── mod_userdir.html.ja.utf8
│   │   ├── mod_userdir.html.ko.euc-kr
│   │   ├── mod_userdir.html.tr.utf8
│   │   ├── mod_usertrack.html
│   │   ├── mod_usertrack.html.en
│   │   ├── mod_usertrack.html.fr.utf8
│   │   ├── mod_version.html
│   │   ├── mod_version.html.en
│   │   ├── mod_version.html.fr.utf8
│   │   ├── mod_version.html.ja.utf8
│   │   ├── mod_version.html.ko.euc-kr
│   │   ├── mod_vhost_alias.html
│   │   ├── mod_vhost_alias.html.en
│   │   ├── mod_vhost_alias.html.fr.utf8
│   │   ├── mod_vhost_alias.html.tr.utf8
│   │   ├── mod_watchdog.html
│   │   ├── mod_watchdog.html.en
│   │   ├── mod_watchdog.html.fr.utf8
│   │   ├── mod_xml2enc.html
│   │   ├── mod_xml2enc.html.en
│   │   ├── mod_xml2enc.html.fr.utf8
│   │   ├── mpm_common.html
│   │   ├── mpm_common.html.de
│   │   ├── mpm_common.html.en
│   │   ├── mpm_common.html.fr.utf8
│   │   ├── mpm_common.html.ja.utf8
│   │   ├── mpm_common.html.tr.utf8
│   │   ├── mpm_netware.html
│   │   ├── mpm_netware.html.en
│   │   ├── mpm_netware.html.fr.utf8
│   │   ├── mpmt_os2.html
│   │   ├── mpmt_os2.html.en
│   │   ├── mpmt_os2.html.fr.utf8
│   │   ├── mpm_winnt.html
│   │   ├── mpm_winnt.html.de
│   │   ├── mpm_winnt.html.en
│   │   ├── mpm_winnt.html.fr.utf8
│   │   ├── mpm_winnt.html.ja.utf8
│   │   ├── overrides.html
│   │   ├── overrides.html.en
│   │   ├── overrides.html.fr.utf8
│   │   ├── prefork.html
│   │   ├── prefork.html.de
│   │   ├── prefork.html.en
│   │   ├── prefork.html.fr.utf8
│   │   ├── prefork.html.ja.utf8
│   │   ├── prefork.html.tr.utf8
│   │   ├── quickreference.html
│   │   ├── quickreference.html.de
│   │   ├── quickreference.html.en
│   │   ├── quickreference.html.es
│   │   ├── quickreference.html.fr.utf8
│   │   ├── quickreference.html.ja.utf8
│   │   ├── quickreference.html.ko.euc-kr
│   │   ├── quickreference.html.tr.utf8
│   │   ├── quickreference.html.zh-cn.utf8
│   │   ├── worker.html
│   │   ├── worker.html.de
│   │   ├── worker.html.en
│   │   ├── worker.html.fr.utf8
│   │   ├── worker.html.ja.utf8
│   │   └── worker.html.tr.utf8
│   ├── mpm.html
│   ├── mpm.html.de
│   ├── mpm.html.en
│   ├── mpm.html.es
│   ├── mpm.html.fr.utf8
│   ├── mpm.html.ja.utf8
│   ├── mpm.html.ko.euc-kr
│   ├── mpm.html.tr.utf8
│   ├── mpm.html.zh-cn.utf8
│   ├── new_features_2_0.html
│   ├── new_features_2_0.html.de
│   ├── new_features_2_0.html.en
│   ├── new_features_2_0.html.fr.utf8
│   ├── new_features_2_0.html.ja.utf8
│   ├── new_features_2_0.html.ko.euc-kr
│   ├── new_features_2_0.html.pt-br
│   ├── new_features_2_0.html.tr.utf8
│   ├── new_features_2_2.html
│   ├── new_features_2_2.html.en
│   ├── new_features_2_2.html.fr.utf8
│   ├── new_features_2_2.html.ko.euc-kr
│   ├── new_features_2_2.html.pt-br
│   ├── new_features_2_2.html.tr.utf8
│   ├── new_features_2_4.html
│   ├── new_features_2_4.html.en
│   ├── new_features_2_4.html.fr.utf8
│   ├── new_features_2_4.html.tr.utf8
│   ├── platform
│   │   ├── ebcdic.html
│   │   ├── ebcdic.html.en
│   │   ├── ebcdic.html.ko.euc-kr
│   │   ├── index.html
│   │   ├── index.html.en
│   │   ├── index.html.fr.utf8
│   │   ├── index.html.ko.euc-kr
│   │   ├── index.html.zh-cn.utf8
│   │   ├── netware.html
│   │   ├── netware.html.en
│   │   ├── netware.html.fr.utf8
│   │   ├── netware.html.ko.euc-kr
│   │   ├── perf-hp.html
│   │   ├── perf-hp.html.en
│   │   ├── perf-hp.html.fr.utf8
│   │   ├── perf-hp.html.ko.euc-kr
│   │   ├── rpm.html
│   │   ├── rpm.html.en
│   │   ├── rpm.html.fr.utf8
│   │   ├── win_compiling.html
│   │   ├── win_compiling.html.en
│   │   ├── win_compiling.html.fr.utf8
│   │   ├── win_compiling.html.ko.euc-kr
│   │   ├── windows.html
│   │   ├── windows.html.en
│   │   ├── windows.html.fr.utf8
│   │   └── windows.html.ko.euc-kr
│   ├── programs
│   │   ├── ab.html
│   │   ├── ab.html.en
│   │   ├── ab.html.fr.utf8
│   │   ├── ab.html.ko.euc-kr
│   │   ├── ab.html.tr.utf8
│   │   ├── apachectl.html
│   │   ├── apachectl.html.en
│   │   ├── apachectl.html.fr.utf8
│   │   ├── apachectl.html.ko.euc-kr
│   │   ├── apachectl.html.tr.utf8
│   │   ├── apxs.html
│   │   ├── apxs.html.en
│   │   ├── apxs.html.fr.utf8
│   │   ├── apxs.html.ko.euc-kr
│   │   ├── apxs.html.tr.utf8
│   │   ├── configure.html
│   │   ├── configure.html.en
│   │   ├── configure.html.fr.utf8
│   │   ├── configure.html.ko.euc-kr
│   │   ├── configure.html.tr.utf8
│   │   ├── dbmmanage.html
│   │   ├── dbmmanage.html.en
│   │   ├── dbmmanage.html.fr.utf8
│   │   ├── dbmmanage.html.ko.euc-kr
│   │   ├── dbmmanage.html.tr.utf8
│   │   ├── fcgistarter.html
│   │   ├── fcgistarter.html.en
│   │   ├── fcgistarter.html.fr.utf8
│   │   ├── fcgistarter.html.tr.utf8
│   │   ├── htcacheclean.html
│   │   ├── htcacheclean.html.en
│   │   ├── htcacheclean.html.fr.utf8
│   │   ├── htcacheclean.html.ko.euc-kr
│   │   ├── htcacheclean.html.tr.utf8
│   │   ├── htdbm.html
│   │   ├── htdbm.html.en
│   │   ├── htdbm.html.fr.utf8
│   │   ├── htdbm.html.tr.utf8
│   │   ├── htdigest.html
│   │   ├── htdigest.html.en
│   │   ├── htdigest.html.fr.utf8
│   │   ├── htdigest.html.ko.euc-kr
│   │   ├── htdigest.html.tr.utf8
│   │   ├── htpasswd.html
│   │   ├── htpasswd.html.en
│   │   ├── htpasswd.html.fr.utf8
│   │   ├── htpasswd.html.ko.euc-kr
│   │   ├── htpasswd.html.tr.utf8
│   │   ├── httpd.html
│   │   ├── httpd.html.en
│   │   ├── httpd.html.fr.utf8
│   │   ├── httpd.html.ko.euc-kr
│   │   ├── httpd.html.tr.utf8
│   │   ├── httxt2dbm.html
│   │   ├── httxt2dbm.html.en
│   │   ├── httxt2dbm.html.fr.utf8
│   │   ├── httxt2dbm.html.tr.utf8
│   │   ├── index.html
│   │   ├── index.html.en
│   │   ├── index.html.es
│   │   ├── index.html.fr.utf8
│   │   ├── index.html.ko.euc-kr
│   │   ├── index.html.tr.utf8
│   │   ├── index.html.zh-cn.utf8
│   │   ├── logresolve.html
│   │   ├── logresolve.html.en
│   │   ├── logresolve.html.fr.utf8
│   │   ├── logresolve.html.ko.euc-kr
│   │   ├── logresolve.html.tr.utf8
│   │   ├── log_server_status.html
│   │   ├── log_server_status.html.en
│   │   ├── log_server_status.html.fr.utf8
│   │   ├── other.html
│   │   ├── other.html.en
│   │   ├── other.html.fr.utf8
│   │   ├── other.html.ko.euc-kr
│   │   ├── other.html.tr.utf8
│   │   ├── rotatelogs.html
│   │   ├── rotatelogs.html.en
│   │   ├── rotatelogs.html.fr.utf8
│   │   ├── rotatelogs.html.ko.euc-kr
│   │   ├── rotatelogs.html.tr.utf8
│   │   ├── split-logfile.html
│   │   ├── split-logfile.html.en
│   │   ├── split-logfile.html.fr.utf8
│   │   ├── suexec.html
│   │   ├── suexec.html.en
│   │   ├── suexec.html.fr.utf8
│   │   ├── suexec.html.ko.euc-kr
│   │   └── suexec.html.tr.utf8
│   ├── rewrite
│   │   ├── access.html
│   │   ├── access.html.en
│   │   ├── access.html.fr.utf8
│   │   ├── advanced.html
│   │   ├── advanced.html.en
│   │   ├── advanced.html.fr.utf8
│   │   ├── avoid.html
│   │   ├── avoid.html.en
│   │   ├── avoid.html.fr.utf8
│   │   ├── flags.html
│   │   ├── flags.html.en
│   │   ├── flags.html.fr.utf8
│   │   ├── htaccess.html
│   │   ├── htaccess.html.en
│   │   ├── htaccess.html.fr.utf8
│   │   ├── index.html
│   │   ├── index.html.en
│   │   ├── index.html.fr.utf8
│   │   ├── index.html.tr.utf8
│   │   ├── index.html.zh-cn.utf8
│   │   ├── intro.html
│   │   ├── intro.html.en
│   │   ├── intro.html.fr.utf8
│   │   ├── proxy.html
│   │   ├── proxy.html.en
│   │   ├── proxy.html.fr.utf8
│   │   ├── remapping.html
│   │   ├── remapping.html.en
│   │   ├── remapping.html.fr.utf8
│   │   ├── rewritemap.html
│   │   ├── rewritemap.html.en
│   │   ├── rewritemap.html.fr.utf8
│   │   ├── tech.html
│   │   ├── tech.html.en
│   │   ├── tech.html.fr.utf8
│   │   ├── vhosts.html
│   │   ├── vhosts.html.en
│   │   └── vhosts.html.fr.utf8
│   ├── sections.html
│   ├── sections.html.en
│   ├── sections.html.fr.utf8
│   ├── sections.html.ja.utf8
│   ├── sections.html.ko.euc-kr
│   ├── sections.html.tr.utf8
│   ├── server-wide.html
│   ├── server-wide.html.en
│   ├── server-wide.html.fr.utf8
│   ├── server-wide.html.ja.utf8
│   ├── server-wide.html.ko.euc-kr
│   ├── server-wide.html.tr.utf8
│   ├── sitemap.html
│   ├── sitemap.html.de
│   ├── sitemap.html.en
│   ├── sitemap.html.es
│   ├── sitemap.html.fr.utf8
│   ├── sitemap.html.ja.utf8
│   ├── sitemap.html.ko.euc-kr
│   ├── sitemap.html.tr.utf8
│   ├── sitemap.html.zh-cn.utf8
│   ├── socache.html
│   ├── socache.html.en
│   ├── socache.html.fr.utf8
│   ├── ssl
│   │   ├── index.html
│   │   ├── index.html.en
│   │   ├── index.html.fr.utf8
│   │   ├── index.html.ja.utf8
│   │   ├── index.html.tr.utf8
│   │   ├── index.html.zh-cn.utf8
│   │   ├── ssl_compat.html
│   │   ├── ssl_compat.html.en
│   │   ├── ssl_compat.html.fr.utf8
│   │   ├── ssl_faq.html
│   │   ├── ssl_faq.html.en
│   │   ├── ssl_faq.html.fr.utf8
│   │   ├── ssl_howto.html
│   │   ├── ssl_howto.html.en
│   │   ├── ssl_howto.html.fr.utf8
│   │   ├── ssl_intro.html
│   │   ├── ssl_intro.html.en
│   │   ├── ssl_intro.html.fr.utf8
│   │   └── ssl_intro.html.ja.utf8
│   ├── stopping.html
│   ├── stopping.html.de
│   ├── stopping.html.en
│   ├── stopping.html.es
│   ├── stopping.html.fr.utf8
│   ├── stopping.html.ja.utf8
│   ├── stopping.html.ko.euc-kr
│   ├── stopping.html.tr.utf8
│   ├── style
│   │   ├── build.properties
│   │   ├── common.dtd
│   │   ├── css
│   │   │   ├── manual-chm.css
│   │   │   ├── manual.css
│   │   │   ├── manual-loose-100pc.css
│   │   │   ├── manual-print.css
│   │   │   ├── manual-zip-100pc.css
│   │   │   ├── manual-zip.css
│   │   │   └── prettify.css
│   │   ├── faq.dtd
│   │   ├── lang
│   │   ├── lang.dtd
│   │   ├── latex
│   │   │   └── atbeginend.sty
│   │   ├── manualpage.dtd
│   │   ├── modulesynopsis.dtd
│   │   ├── scripts
│   │   │   ├── MINIFY
│   │   │   ├── prettify.js
│   │   │   └── prettify.min.js
│   │   ├── sitemap.dtd
│   │   ├── version.ent
│   │   └── xsl
│   │       └── util
│   ├── suexec.html
│   ├── suexec.html.en
│   ├── suexec.html.fr.utf8
│   ├── suexec.html.ja.utf8
│   ├── suexec.html.ko.euc-kr
│   ├── suexec.html.tr.utf8
│   ├── upgrading.html
│   ├── upgrading.html.en
│   ├── upgrading.html.fr.utf8
│   ├── urlmapping.html
│   ├── urlmapping.html.en
│   ├── urlmapping.html.fr.utf8
│   ├── urlmapping.html.ja.utf8
│   ├── urlmapping.html.ko.euc-kr
│   ├── urlmapping.html.tr.utf8
│   └── vhosts
│       ├── details.html
│       ├── details.html.en
│       ├── details.html.fr.utf8
│       ├── details.html.ko.euc-kr
│       ├── details.html.tr.utf8
│       ├── examples.html
│       ├── examples.html.en
│       ├── examples.html.fr.utf8
│       ├── examples.html.ja.utf8
│       ├── examples.html.ko.euc-kr
│       ├── examples.html.tr.utf8
│       ├── fd-limits.html
│       ├── fd-limits.html.en
│       ├── fd-limits.html.fr.utf8
│       ├── fd-limits.html.ja.utf8
│       ├── fd-limits.html.ko.euc-kr
│       ├── fd-limits.html.tr.utf8
│       ├── index.html
│       ├── index.html.de
│       ├── index.html.en
│       ├── index.html.fr.utf8
│       ├── index.html.ja.utf8
│       ├── index.html.ko.euc-kr
│       ├── index.html.tr.utf8
│       ├── index.html.zh-cn.utf8
│       ├── ip-based.html
│       ├── ip-based.html.en
│       ├── ip-based.html.fr.utf8
│       ├── ip-based.html.ja.utf8
│       ├── ip-based.html.ko.euc-kr
│       ├── ip-based.html.tr.utf8
│       ├── mass.html
│       ├── mass.html.en
│       ├── mass.html.fr.utf8
│       ├── mass.html.ko.euc-kr
│       ├── mass.html.tr.utf8
│       ├── name-based.html
│       ├── name-based.html.de
│       ├── name-based.html.en
│       ├── name-based.html.fr.utf8
│       ├── name-based.html.ja.utf8
│       ├── name-based.html.ko.euc-kr
│       └── name-based.html.tr.utf8
└── modules
    ├── httpd.exp
    ├── mod_access_compat.so
    ├── mod_actions.so
    ├── mod_alias.so
    ├── mod_allowmethods.so
    ├── mod_auth_basic.so
    ├── mod_auth_digest.so
    ├── mod_auth_form.so
    ├── mod_authn_anon.so
    ├── mod_authn_core.so
    ├── mod_authn_dbd.so
    ├── mod_authn_dbm.so
    ├── mod_authn_file.so
    ├── mod_authn_socache.so
    ├── mod_authnz_ldap.so
    ├── mod_authz_core.so
    ├── mod_authz_dbd.so
    ├── mod_authz_dbm.so
    ├── mod_authz_groupfile.so
    ├── mod_authz_host.so
    ├── mod_authz_owner.so
    ├── mod_authz_user.so
    ├── mod_autoindex.so
    ├── mod_buffer.so
    ├── mod_cache_disk.so
    ├── mod_cache.so
    ├── mod_cache_socache.so
    ├── mod_cgid.so
    ├── mod_dav_fs.so
    ├── mod_dav.so
    ├── mod_dbd.so
    ├── mod_dir.so
    ├── mod_dumpio.so
    ├── mod_env.so
    ├── mod_expires.so
    ├── mod_ext_filter.so
    ├── mod_file_cache.so
    ├── mod_filter.so
    ├── mod_headers.so
    ├── mod_include.so
    ├── mod_info.so
    ├── mod_lbmethod_bybusyness.so
    ├── mod_lbmethod_byrequests.so
    ├── mod_lbmethod_bytraffic.so
    ├── mod_lbmethod_heartbeat.so
    ├── mod_ldap.so
    ├── mod_log_config.so
    ├── mod_log_debug.so
    ├── mod_logio.so
    ├── mod_macro.so
    ├── mod_mime.so
    ├── mod_negotiation.so
    ├── mod_proxy_ajp.so
    ├── mod_proxy_balancer.so
    ├── mod_proxy_connect.so
    ├── mod_proxy_express.so
    ├── mod_proxy_fcgi.so
    ├── mod_proxy_fdpass.so
    ├── mod_proxy_ftp.so
    ├── mod_proxy_hcheck.so
    ├── mod_proxy_http.so
    ├── mod_proxy_scgi.so
    ├── mod_proxy.so
    ├── mod_proxy_uwsgi.so
    ├── mod_proxy_wstunnel.so
    ├── mod_ratelimit.so
    ├── mod_remoteip.so
    ├── mod_reqtimeout.so
    ├── mod_request.so
    ├── mod_rewrite.so
    ├── mod_sed.so
    ├── mod_session_cookie.so
    ├── mod_session_crypto.so
    ├── mod_session_dbd.so
    ├── mod_session.so
    ├── mod_setenvif.so
    ├── mod_slotmem_shm.so
    ├── mod_socache_dbm.so
    ├── mod_socache_memcache.so
    ├── mod_socache_redis.so
    ├── mod_socache_shmcb.so
    ├── mod_speling.so
    ├── mod_substitute.so
    ├── mod_unique_id.so
    ├── mod_unixd.so
    ├── mod_userdir.so
    ├── mod_version.so
    ├── mod_vhost_alias.so
    └── mod_watchdog.so

33 directories, 1604 files
[root@wang httpd-2.4.58]# cat README

                          Apache HTTP Server

  What is it?
  -----------

  The Apache HTTP Server is a powerful and flexible HTTP/1.1 compliant
  web server.  Originally designed as a replacement for the NCSA HTTP
  Server, it has grown to be the most popular web server on the
  Internet.  As a project of the Apache Software Foundation, the
  developers aim to collaboratively develop and maintain a robust,
  commercial-grade, standards-based server with freely available
  source code.

  The Latest Version
  ------------------

  Details of the latest version can be found on the Apache HTTP
  server project page under https://httpd.apache.org/.

  Documentation
  -------------

  The documentation available as of the date of this release is
  included in HTML format in the docs/manual/ directory.  The most
  up-to-date documentation can be found at
  https://httpd.apache.org/docs/2.4/.

  Installation
  ------------

  Please see the file called INSTALL.  Platform specific notes can be
  found in README.platforms.

  Licensing
  ---------

  Please see the file called LICENSE.

  Cryptographic Software Notice
  -----------------------------

  This distribution may include software that has been designed for use
  with cryptographic software.  The country in which you currently reside
  may have restrictions on the import, possession, use, and/or re-export
  to another country, of encryption software.  BEFORE using any encryption
  software, please check your country's laws, regulations and policies
  concerning the import, possession, or use, and re-export of encryption
  software, to see if this is permitted.  See <https://www.wassenaar.org/>
  for more information.

  The U.S. Government Department of Commerce, Bureau of Industry and
  Security (BIS), has classified this software as Export Commodity 
  Control Number (ECCN) 5D002.C.1, which includes information security
  software using or performing cryptographic functions with asymmetric
  algorithms.  The form and manner of this Apache Software Foundation
  distribution makes it eligible for export under the License Exception
  ENC Technology Software Unrestricted (TSU) exception (see the BIS 
  Export Administration Regulations, Section 740.13) for both object 
  code and source code.

  The following provides more details on the included files that
  may be subject to export controls on cryptographic software:

    Apache httpd 2.0 and later versions include the mod_ssl module under
       modules/ssl/
    for configuring and listening to connections over SSL encrypted
    network sockets by performing calls to a general-purpose encryption
    library, such as OpenSSL or the operating system's platform-specific
    SSL facilities.

    In addition, some versions of apr-util provide an abstract interface
    for symmetrical cryptographic functions that make use of a
    general-purpose encryption library, such as OpenSSL, NSS, or the
    operating system's platform-specific facilities. This interface is
    known as the apr_crypto interface, with implementation beneath the
    /crypto directory. The apr_crypto interface is used by the
    mod_session_crypto module available under
      modules/session
    for optional encryption of session information.

    Some object code distributions of Apache httpd, indicated with the
    word "crypto" in the package name, may include object code for the
    OpenSSL encryption library as distributed in open source form from
    <https://www.openssl.org/source/>.

  The above files are optional and may be removed if the cryptographic
  functionality is not desired or needs to be excluded from redistribution.
  Distribution packages of Apache httpd that include the word "nossl"
  in the package name have been created without the above files and are
  therefore not subject to this notice.

  Contacts
  --------

     o If you want to be informed about new code releases, bug fixes,
       security fixes, general news and information about the Apache server
       subscribe to the apache-announce mailing list as described under
       <https://httpd.apache.org/lists.html#http-announce>

     o If you want freely available support for running Apache please see the
       resources at <https://httpd.apache.org/support.html>

     o If you have a concrete bug report for Apache please see the instructions
       for bug reporting at <https://httpd.apache.org/bug_report.html>

     o If you want to participate in actively developing Apache please
       subscribe to the `dev@httpd.apache.org' mailing list as described at
       <https://httpd.apache.org/lists.html#http-dev>

[root@wang httpd-2.4.58]# head INSTALL

  APACHE INSTALLATION OVERVIEW

  Quick Start - Unix
  ------------------

  For complete installation documentation, see [ht]docs/manual/install.html or
  http://httpd.apache.org/docs/2.4/install.html

     $ ./configure --prefix=PREFIX
[root@wang httpd-2.4.58]# head INSTALL -20
head: invalid trailing option -- 2
Try 'head --help' for more information.
[root@wang httpd-2.4.58]# head INSTALL -n20

  APACHE INSTALLATION OVERVIEW

  Quick Start - Unix
  ------------------

  For complete installation documentation, see [ht]docs/manual/install.html or
  http://httpd.apache.org/docs/2.4/install.html

     $ ./configure --prefix=PREFIX
     $ make
     $ make install
     $ PREFIX/bin/apachectl start

     NOTES: * Replace PREFIX with the filesystem path under which 
              Apache should be installed.  A typical installation
              might use "/usr/local/apache2" for PREFIX (without the
              quotes).

            * Consider if you want to use a previously installed APR and
[root@wang httpd-2.4.58]# ls /apps/httpd/bin/
ab         apxs      dbmmanage  envvars-std  htcacheclean  htdigest  httpd      logresolve
apachectl  checkgid  envvars    fcgistarter  htdbm         htpasswd  httxt2dbm  rotatelogs
[root@wang httpd-2.4.58]# /apps/httpd/bin/apachectl start
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
[root@wang httpd-2.4.58]# rpm -q httpd
httpd-2.4.37-62.module+el8.9.0+1436+2b7d5021.x86_64
[root@wang httpd-2.4.58]# yum -y remove httpd
Dependencies resolved.
====================================================================================================================
 Package                   Architecture   Version                                          Repository          Size
====================================================================================================================
Removing:
 httpd                     x86_64         2.4.37-62.module+el8.9.0+1436+2b7d5021           @appstream         4.3 M
Removing unused dependencies:
 httpd-filesystem          noarch         2.4.37-62.module+el8.9.0+1436+2b7d5021           @appstream         400  
 httpd-tools               x86_64         2.4.37-62.module+el8.9.0+1436+2b7d5021           @appstream         194 k
 mod_http2                 x86_64         1.15.7-8.module+el8.9.0+1370+89cc8ad5.3          @appstream         394 k
 rocky-logos-httpd         noarch         86.3-1.el8                                       @baseos             24 k

Transaction Summary
====================================================================================================================
Remove  5 Packages

Freed space: 4.9 M
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                            1/1 
  Running scriptlet: httpd-2.4.37-62.module+el8.9.0+1436+2b7d5021.x86_64                                        1/1 
  Running scriptlet: httpd-2.4.37-62.module+el8.9.0+1436+2b7d5021.x86_64                                        1/5 
  Erasing          : httpd-2.4.37-62.module+el8.9.0+1436+2b7d5021.x86_64                                        1/5 
  Running scriptlet: httpd-2.4.37-62.module+el8.9.0+1436+2b7d5021.x86_64                                        1/5 
  Erasing          : httpd-filesystem-2.4.37-62.module+el8.9.0+1436+2b7d5021.noarch                             2/5 
  Running scriptlet: httpd-filesystem-2.4.37-62.module+el8.9.0+1436+2b7d5021.noarch                             2/5 
  Erasing          : rocky-logos-httpd-86.3-1.el8.noarch                                                        3/5 
  Erasing          : httpd-tools-2.4.37-62.module+el8.9.0+1436+2b7d5021.x86_64                                  4/5 
  Erasing          : mod_http2-1.15.7-8.module+el8.9.0+1370+89cc8ad5.3.x86_64                                   5/5 
  Running scriptlet: mod_http2-1.15.7-8.module+el8.9.0+1370+89cc8ad5.3.x86_64                                   5/5 
  Verifying        : httpd-2.4.37-62.module+el8.9.0+1436+2b7d5021.x86_64                                        1/5 
  Verifying        : httpd-filesystem-2.4.37-62.module+el8.9.0+1436+2b7d5021.noarch                             2/5 
  Verifying        : httpd-tools-2.4.37-62.module+el8.9.0+1436+2b7d5021.x86_64                                  3/5 
  Verifying        : mod_http2-1.15.7-8.module+el8.9.0+1370+89cc8ad5.3.x86_64                                   4/5 
  Verifying        : rocky-logos-httpd-86.3-1.el8.noarch                                                        5/5 

Removed:
  httpd-2.4.37-62.module+el8.9.0+1436+2b7d5021.x86_64                                                               
  httpd-filesystem-2.4.37-62.module+el8.9.0+1436+2b7d5021.noarch                                                    
  httpd-tools-2.4.37-62.module+el8.9.0+1436+2b7d5021.x86_64                                                         
  mod_http2-1.15.7-8.module+el8.9.0+1370+89cc8ad5.3.x86_64                                                          
  rocky-logos-httpd-86.3-1.el8.noarch                                                                               

Complete!
[root@wang httpd-2.4.58]# /apps/httpd/bin/apachectl start
[root@wang httpd-2.4.58]# ls /apps/httpd/
bin  build  cgi-bin  error  htdocs  icons  include  logs  man  manual  modules
[root@wang httpd-2.4.58]# ls /apps/httpd/htdocs/
index.html
[root@wang httpd-2.4.58]# vim /apps/httpd/htdocs/index.html





命令

   25  yum -y install httpd
   26  systemctl enable httpd
   27  ip a
   28  reboot
   29  yum info httpd
   30  yum -y install wget
   31  wget https://dlcdn.apache.org/httpd/httpd-2.4.58.tar.bz2
   32  wget https://dlcdn.apache.org/httpd/httpd-2.4.58.tar.bz2 -P /usr/local/src
   33  cd /usr/local/src
   34  ls
   35  tar xf httpd-2.4.58.tar.bz2
   36  ls
   37  cd httpd-2.4.58/
   38  ks
   39  ls
   40  cat README
   41  less INSTALL
   42  LS
   43  ls
   44  ./configure --help
   45  ./configure --prefix=/apps/httpd --sysconfdir=/etc/httpd/ --disable-status
   46  yum -y install apr-devel
   47  ./configure --prefix=/apps/httpd --sysconfdir=/etc/httpd/ --disable-status
   48  yum -y install apr-util
   49  ./configure --prefix=/apps/httpd --sysconfdir=/etc/httpd/ --disable-status
   50  yum -y install apr-util-devel
   51  ./configure --prefix=/apps/httpd --sysconfdir=/etc/httpd/ --disable-status
   52  yum -y install pcre-devel
   53  ./configure --prefix=/apps/httpd --sysconfdir=/etc/httpd/ --disable-status
   54  make -j 2
   55  yum provides /usr/lib/rpm/redhat/redhat-hardened-ld
   56  yum -y install redhat-rpm-config
   57  make -j 2
   58  make install
   59  tree /apps/httpd
   60  tree /apps/httpd/
   61  cat README
   62  head INSTALL
   63  head INSTALL -20
   64  head INSTALL -n20
   65  ls /apps/httpd/bin/
   66  /apps/httpd/bin/apachectl start
   67  rpm -q httpd
   68  yum -y remove httpd
   69  /apps/httpd/bin/apachectl start
   70  ls /apps/httpd/
   71  ls /apps/httpd/htdocs/
   72  vim /apps/httpd/htdocs/index.html
效果
image-20240228205934363

http://10.0.0.156/epel/baseos/Packages/h/

相关yum源

Rocky 系统的yum源
#南京大学
https://mirror.nju.edu.cn/rocky/$releasever/
#上海交大
https://mirrors.sjtug.sjtu.edu.cn/rocky/$releasever/
#山东大学
https://mirrors.sdu.edu.cn/rocky/$releasever/


CentOS系统的yum源
#阿里云
https://mirrors.aliyun.com/centos/$releasever/
#腾讯云
https://mirrors.cloud.tencent.com/centos/$releasever/
#华为云
https://repo.huaweicloud.com/centos/$releasever/
#清华大学
https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/
EPEL的yum源
#阿里云
https://mirrors.aliyun.com/epel/$releasever/x86_64
#腾讯云
https://mirrors.cloud.tencent.com/epel/$releasever/x86_64
#华为云
https://mirrors.huaweicloud.com/epel/$releasever/x86_64
#清华大学
https://mirrors.tuna.tsinghua.edu.cn/epel/$releasever/x86_64
阿里的
https://mirrors.aliyun.com/epel/8/Everything/x86_64/?spm=a2c6h.25603864.0.0.a19827f6CXdfnB




清华的
https://mirrors.tuna.tsinghua.edu.cn/epel/8/Everything/x86_64/

南京大学的
https://mirror.nju.edu.cn/epel/8/Everything/x86_64/



baseos的源

https://mirror.nju.edu.cn/rocky/8.9/BaseOS/x86_64/os/







[BaseOS]
name=BaseOS
baseurl=file:///misc/cd/BaseOS
        https://mirror.nju.edu.cn/rocky/$releasever/BaseOS/$basearch/os/
       
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial


[AppStream]
name=AppStream
baseurl=file:///misc/cd/AppStream
        https://mirror.nju.edu.cn/rocky/$releasever/AppStream/$basearch/os/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial



[epel]
name=epel repo
baseurl=https://mirrors.aliyun.com/epel/$releasever/Everything/$basearch
https://mirrors.tuna.tsinghua.edu.cn/epel/$releasever/Everything/$basearch
https://mirror.nju.edu.cn/epel/$releasever/Everything/$basearch
gpgcheck=1
gpgkey=https://mirrors.aliyun.com/epel/RPM-GPG-KEY-EPEL-8


注意:需要用到这两个变量,他是yum配置文件的变量,主要如果是一个版本一个版本去配置yum源,不太现实,没效率的

$releasever: 当前OS的发行版的主版本号,如:8,7,6
$basearch:系统基础平台;i386, x86_64

image-20240228081627847

image-20240228082325099

epel的版本key

image-20240228083804120

如果需要本地的epelkey
/etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial


从这里找到
[root@rocky8 ~]# ls /etc/pki
ca-trust  java  rpm-gpg  tls
[root@rocky8 ~]# ls /etc/pki/rpm-gpg
RPM-GPG-KEY-rockyofficial  RPM-GPG-KEY-rockytesting
[root@rocky8 ~]# ls /etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial
/etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial

如果与要配置baseos的源,也可以用网上的,担心如果如果本地文件没有的话

https://mirror.nju.edu.cn/rocky/8.9/BaseOS/x86_64/os/

image-20240228084840788

如果遇到了配置文件如何不起作用,显示是全白的话,这里就要记住,是在yum的配置目录下创建yum盘配置文件,否则是没有用的

image-20240228093649174

相关变量
yum的repo配置文件中可用的变量:
$releasever: 当前OS的发行版的主版本号,如:8,7,6
$arch: CPU架构,如:aarch64, i586, i686,x86_64等
$basearch:系统基础平台;i386, x86_64
$contentdir:表示目录,比如:centos-8,centos-7
$YUM0-$YUM9:自定义变量

Ubuntu

查看文件来自于哪个包
范例: 查找不存在的文件存在于哪个包

#dpkg -S filename :在当前安装的包里查找文件
[root@ubuntu1804 ~]#dpkg -S /bin/ls
coreutils: /bin/ls
查找不存在的文件存在于哪个包
[root@ubuntu1804 ~]#apt -y install apt-file
[root@ubuntu1804 ~]#apt update
[root@ubuntu1804 ~]#apt-file search -x '/sl$'
espeak-data: /usr/lib/x86_64-linux-gnu/espeak-data/voices/test/sl
espeak-ng-data: /usr/lib/x86_64-linux-gnu/espeak-ng-data/lang/zls/sl
language-pack-sl-base: /var/lib/locales/supported.d/sl
python-langdetect: /usr/lib/python2.7/dist-packages/langdetect/profiles/sl
python3-langdetect: /usr/lib/python3/dist-packages/langdetect/profiles/sl
qemu-system-common: /usr/share/qemu/keymaps/sl
rdesktop: /usr/share/rdesktop/keymaps/sl
sl: /usr/games/sl
virtualbox: /usr/share/virtualbox/rdesktop-vrdp-keymaps/sl
[root@ubuntu1804 ~]#apt-file search -F /usr/games/sl
sl: /usr/games/sl
查看包相关信息
#显示系统安装包的统计信息,可以统计已经安装包的数量,大小,占用空间等
#apt-cache stats
[root@ubuntu1804 ~]#apt-cache stats
Total package names: 84873 (1,697 k)
Total package structures: 126998 (5,588 k)
 Normal packages: 91623
 Pure virtual packages: 2648
 Single virtual packages: 10275
 Mixed virtual packages: 5110
 Missing: 17342
Total distinct versions: 115114 (9,209 k)
Total distinct descriptions: 182818 (4,388 k)
Total dependencies: 905746/262881 (22.3 M)
Total ver/file relations: 39954 (959 k)
Total Desc/File relations: 51746 (1,242 k)
Total Provides mappings: 44540 (1,069 k)
Total globbed strings: 188808 (4,354 k)
Total slack space: 25.8 k
Total space accounted for: 51.3 M
Total buckets in PkgHashTable: 50503
 Unused: 9337
 Used: 41166
 Utilization: 81.512%
 Average entries: 3.08502
 Longest: 60
 Shortest: 1
Total buckets in GrpHashTable: 50503
 Unused: 9337
 Used: 41166
 Utilization: 81.512%
 Average entries: 2.06173
 Longest: 12
 Shortest: 1
#显示xxx包的信息,可以看到某个包的源、版本等信息
#apt-cache show xxx #更详细
#apt show xxx
[root@ubuntu1804 ~]#apt show keepalived
Package: keepalived
Version: 1:1.3.9-1ubuntu0.18.04.2
Priority: optional
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Alexander Wirt <formorer@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 844 kB
Depends: iproute2, libc6 (>= 2.27), libglib2.0-0 (>= 2.26.0), libip4tc0 (>=
1.6.0+snapshot20161117), libip6tc0 (>= 1.6.0+snapshot20161117), libnl-3-200 (>=
3.2.27), libnl-genl-3-200 (>= 3.2.7), libnl-route-3-200 (>= 3.2.7), libsnmp30 
(>= 5.7.3+dfsg-1.8ubuntu3.1~dfsg), libssl1.1 (>= 1.1.0), libxtables12 (>=
1.6.0+snapshot20161117)
Recommends: ipvsadm
Homepage: http://keepalived.org
Supported: 5y
Download-Size: 244 kB
APT-Manual-Installed: yes
APT-Sources: http://mirrors.aliyun.com/ubuntu bionic-security/main amd64 
Packages
Description: Failover and monitoring daemon for LVS clusters
 keepalived is used for monitoring real servers within a Linux
 Virtual Server (LVS) cluster. keepalived can be configured to
 remove real servers from the cluster pool if it stops responding,
 as well as send a notification email to make the admin aware of
 the service failure.
 .
 In addition, keepalived implements an independent Virtual Router
 Redundancy Protocol (VRRPv2; see rfc2338 for additional info)
 framework for director failover.
 .
 You need a kernel >= 2.4.28 or >= 2.6.11 for keepalived.
 See README.Debian for more information.
N: There is 1 additional record. Please use the '-a' switch to see it
[root@ubuntu1804 ~]#apt-cache show keepalived
Package: keepalived
Architecture: amd64
Version: 1:1.3.9-1ubuntu0.18.04.2
Priority: optional
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Alexander Wirt <formorer@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 824
Depends: iproute2, libc6 (>= 2.27), libglib2.0-0 (>= 2.26.0), libip4tc0 (>=
1.6.0+snapshot20161117), libip6tc0 (>= 1.6.0+snapshot20161117), libnl-3-200 (>=
3.2.27), libnl-genl-3-200 (>= 3.2.7), libnl-route-3-200 (>= 3.2.7), libsnmp30 
(>= 5.7.3+dfsg-1.8ubuntu3.1~dfsg), libssl1.1 (>= 1.1.0), libxtables12 (>=
1.6.0+snapshot20161117)
Recommends: ipvsadm
Filename: pool/main/k/keepalived/keepalived_1.3.9-1ubuntu0.18.04.2_amd64.deb
Size: 243520
MD5sum: 27586893f35660b2a130f344c4b7fcff
SHA1: 36b232cb39ff9179e7197d02c0bd252e32543e97
SHA256: fedef32d748fd4c5180531d1076b254f4705b46523ed61d51eb789f2441dfd56
Homepage: http://keepalived.org
Description-en: Failover and monitoring daemon for LVS clusters
 keepalived is used for monitoring real servers within a Linux
 Virtual Server (LVS) cluster. keepalived can be configured to
 remove real servers from the cluster pool if it stops responding,
 as well as send a notification email to make the admin aware of
 the service failure.
 .
 In addition, keepalived implements an independent Virtual Router
 Redundancy Protocol (VRRPv2; see rfc2338 for additional info)
 framework for director failover.
 .
 You need a kernel >= 2.4.28 or >= 2.6.11 for keepalived.
 See README.Debian for more information.
Description-md5: e2d2506352721e77c2c351de4714ddd6
Supported: 5y
Package: keepalived
Architecture: amd64
Version: 1:1.3.9-1build1
Priority: optional
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Alexander Wirt <formorer@debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 824
Depends: iproute2, libc6 (>= 2.17), libglib2.0-0 (>= 2.26.0), libip4tc0 (>=
1.6.0+snapshot20161117), libip6tc0 (>= 1.6.0+snapshot20161117), libnl-3-200 (>=
3.2.27), libnl-genl-3-200 (>= 3.2.7), libnl-route-3-200 (>= 3.2.7), libsnmp30 
(>= 5.7.3+dfsg-1.8ubuntu1~dfsg), libssl1.1 (>= 1.1.0), libxtables12 (>=
1.6.0+snapshot20161117)
Recommends: ipvsadm
Filename: pool/main/k/keepalived/keepalived_1.3.9-1build1_amd64.deb
Size: 243368
MD5sum: 9998fcf3c2769effd8664b838f144bd6
SHA1: 1f22181adff9f47fdd9b08691817df4ac5d486bc
SHA256: 3d72f7e6cd09b7b903faf07c06c3c0d0883a33648a9e33af27b1909aeaf2b77f
Homepage: http://keepalived.org
Description-en: Failover and monitoring daemon for LVS clusters
 keepalived is used for monitoring real servers within a Linux
 Virtual Server (LVS) cluster. keepalived can be configured to
 remove real servers from the cluster pool if it stops responding,
 as well as send a notification email to make the admin aware of
 the service failure.
 .
 In addition, keepalived implements an independent Virtual Router
 Redundancy Protocol (VRRPv2; see rfc2338 for additional info)
 framework for director failover.
 .
 You need a kernel >= 2.4.28 or >= 2.6.11 for keepalived.
 See README.Debian for more information.
Description-md5: e2d2506352721e77c2c351de4714ddd6
Supported: 5y
[root@ubuntu1804 ~]#
查看仓库中的指定软件的所有版本
[root@ubuntu1804 ~]#apt-cache madison docker-ce
 docker-ce | 5:19.03.13~3-0~ubuntu-bionic | https://mirrors.aliyun.com/dockerce/linux/ubuntu bionic/stable amd64 Packages
 docker-ce | 5:19.03.12~3-0~ubuntu-bionic | https://mirrors.aliyun.com/dockerce/linux/ubuntu bionic/stable amd64 Packages
 docker-ce | 5:19.03.11~3-0~ubuntu-bionic | https://mirrors.aliyun.com/dockerce/linux/ubuntu bionic/stable amd64 Packages
 docker-ce | 5:19.03.10~3-0~ubuntu-bionic | https://mirrors.aliyun.com/dockerce/linux/ubuntu bionic/stable amd64 Packages
#安装指定版本
[root@ubuntu1804 ~]#apt -y install docker-ce=5:19.03.13~3-0~ubuntu-bionic
查看文件的依赖
#查询软件xxx依赖哪些包
#apt   depends xxx
#apt-cache depends xxx
[root@ubuntu1804 ~]#apt depends keepalived
keepalived
 Depends: iproute2
   iproute2:i386
 Depends: libc6 (>= 2.27)
 Depends: libglib2.0-0 (>= 2.26.0)
 Depends: libip4tc0 (>= 1.6.0+snapshot20161117)
 Depends: libip6tc0 (>= 1.6.0+snapshot20161117)
 Depends: libnl-3-200 (>= 3.2.27)
 Depends: libnl-genl-3-200 (>= 3.2.7)
 Depends: libnl-route-3-200 (>= 3.2.7)
 Depends: libsnmp30 (>= 5.7.3+dfsg-1.8ubuntu3.1~dfsg)
 Depends: libssl1.1 (>= 1.1.0)
 Depends: libxtables12 (>= 1.6.0+snapshot20161117)
 Recommends: ipvsadm
[root@ubuntu1804 ~]#
#查询软件xxx被哪些包依赖
#apt rdepends xxx
#apt-cache rdepends xxx
[root@ubuntu1804 ~]#apt rdepends bash
bash
Reverse Depends:
 Depends: bash-builtins (= 4.4.18-2ubuntu1.2)
    bash:i386
 Recommends: plasma-sdk (>= 4.3)
    bash:i386
 PreDepends: foomatic-db-engine (>= 2.05)
    bash:i386
 Replaces: bash-doc (<< 4.3-2)
 Depends: chromium-browser (>= 4)
    bash:i386
 Depends: gdm3 (>= 4.3)
    bash:i386
 Depends: votca-csg-tutorials (>= 4)
    bash:i386
 Depends: votca-csg-scripts (>= 4)
    bash:i386
 Depends: uck (>= 3.0)
    bash:i386
 Depends: txt2regex (>> 2.04)
    bash:i386
安装桌面
[root@ubuntu1804 ~]#apt install ubuntu-desktop -y
[root@ubuntu1804 ~]#init 5
ubuntu 建议安装的常用包
[root@ubuntu1804 ~]#apt purge ufw lxd lxd-client lxcfs liblxc-common
[root@ubuntu1804 ~]#apt install iproute2 ntpdate tcpdump telnet traceroute nfskernel-server nfs-common lrzsz tree openssl libssl-dev libpcre3 libpcre3-dev 
zlib1g-dev gcc openssh-server iotop unzip zip

Ubuntu编译apache

APT包索引配置文件

/etc/apt/sources.list

/etc/apt/sources.list.d


vim  /etc/apt/sources.list


在里面把所有的都删了,直接替换阿里云的,或者其他的都可以的

阿里云:https://developer.aliyun.com/mirror/ubuntu

先关一下防火墙
sudo ufw disable


我自己的是2204

deb https://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse

# deb https://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse

可以修改上面文件为国内的安装源,提高速度

root@ubuntu2004:~# sed -i 's/mirrors.aliyun.com/mirrors.tuna.tsinghua.edu.cn/' 

/etc/apt/sources.list
1.下载编译包
wget -P /usr/local/src  https://dlcdn.apache.org/httpd/httpd-2.4.58.tar.bz2
2.解压
tar xf httpd-2.4.58.tar.bz2
3.这一步就是找软件的依赖包,只能慢慢找,哭死

由于篇幅原因,所以我直接粘贴历史命令了

23  apt update
   24  wget -P /usr/local/src  https://dlcdn.apache.org/httpd/httpd-2.4.58.tar.bz2
   25  cd /usr/local/src
   26  ls
   27  tar xf httpd-2.4.58.tar.bz2
   28  ls
   29  cd httpd-2.4.58.tar.bz2/
   30  cd httpd-2.4.58/
   31  ls
   32  cat README
   33  less INSTALL
   34  ./configure --prefix=/apps/httpd --enable-ssl --disable-status
   35  apt install apr-devel
   36  apt list par*
   37  apt list *par*
   38  apt install libapr1-dev
   39  apt install apr-devel
   40  ./configure --prefix=/apps/httpd --enable-ssl --disable-status
   41  apt search apr
   42  apt list apr*
   43  apt list *apr
   44  apt list "*apr*"
   45  apt install libapr1
   46  apt list libapr*
   47  apt install libapr*
   48  apt update
   49  ./configure --prefix=/apps/httpd --enable-ssl --disable-status
   50  apt list pcre*
   51  apt list libpcre*
   52  apt install libpcre3*
   53  ./configure --prefix=/apps/httpd --enable-ssl --disable-status
   54  apt list openssl*
   55  apt list *openssl*
   56  apt -y install libcrypt-openssl
   57  apt -y install libcrypt-openssl*
   58  ./configure --prefix=/apps/httpd --enable-ssl --disable-status
   59  apt install openssl
   60  ./configure --prefix=/apps/httpd --enable-ssl --disable-status
   61  apt install libssl-dev
   62  ./configure --prefix=/apps/httpd --enable-ssl --disable-status
   63  make -j 2
   64  apt -y install make
   65  make -j 2
   66  make install
   67  tree
   68  tree /apps/httpd
   69  tree /apps/httpd/
   70  apt -y install tree
   71  tree /apps/httpd
   72  tree /apps/httpd/bin/
   73  ln -s /apps/httpd/bin/apachectl /usr/local/bin
   74  cd
   75  apachectl start
   76  ip a
   77  history



最终测试出需要这几个依赖包


apt install  libapr*  libpcre3* libssl-dev make

问题

[root@centos8 ~]#ldd /bin/ls

 linux-vdso.so.1 (0x00007ffc509fd000)

 libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fc6ef24a000)

 libcap.so.2 => /lib64/libcap.so.2 (0x00007fc6ef044000)

 libc.so.6 => /lib64/libc.so.6 (0x00007fc6eec81000)

 libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007fc6ee9fd000)

 libdl.so.2 => /lib64/libdl.so.2 (0x00007fc6ee7f9000)

 /lib64/ld-linux-x86-64.so.2 (0x00007fc6ef698000)

 libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fc6ee5d9000)

[root@centos8 ~]#ldd /bin/cat

 linux-vdso.so.1 (0x00007ffe335dd000)

 libc.so.6 => /lib64/libc.so.6 (0x00007fa34749e000)

 /lib64/ld-linux-x86-64.so.2 (0x00007fa347a6b000)

[root@centos8 ~]#mv /lib64/libc.so.6 /tmp

[root@centos8 ~]#ls 

ls: error while loading shared libraries: libc.so.6: cannot open shared object 

file: No such file or directory

[root@centos8 ~]#cat 

cat: error while loading shared libraries: libc.so.6: cannot open shared object 

file: No such file or directory
删除了lib依赖库,命令都不能执行了,开机也进不去了系统了

万事做备份,如果你有备份的话

解决:

image-20240227210042714

yum源的问题
如果linux系统防火墙没有关的话,yum的服务也是无法用的,因为打不开的

作业

1、查询命令java来自于哪个rpm包

2、yum的配置和使用,包括yum仓库的创建

3、编写系统初始化脚本 reset.sh,包括别名,提示符颜色,yum仓库配置文件,安装tree,ftp,lftp,telnet

等包

4、在CentOS 8上编译安装 apache 2.4.43 源码包,并启动此服务

答案

1. 查询命令`java`来自于哪个rpm包

在CentOS系统中,可以使用`rpm -qf`命令查询`java`可执行文件属于哪个RPM包:

```bash
rpm -qf $(which java)
```

2. yum的配置和使用,包括yum仓库的创建

**配置Yum仓库**:
- 创建一个新的Yum仓库,通常是在 `/etc/yum.repos.d/` 目录下创建一个`.repo`文件。例如创建名为`myrepo.repo`的文件,并添加以下内容(请根据实际地址替换URL):

```ini
[my-repo]
name=My Repository
baseurl=http://example.com/path/to/repo/
enabled=1
gpgcheck=0 # 如果有GPG密钥签名则设置为1,并提供正确的GPG key URL
gpgkey=http://example.com/path/to/gpgkey

# 对于HTTPS或FTP等其他协议,请相应更改baseurl
```

**使用Yum进行软件安装与管理**:
- 更新所有软件包:`sudo yum update`
- 安装软件包:`sudo yum install <package-name>`
- 搜索软件包:`sudo yum search <keyword>`
- 删除软件包:`sudo yum remove <package-name>`
- 清理缓存:`sudo yum clean all`

3. 编写系统初始化脚本 `reset.sh`

下面是一个示例脚本,包含别名、提示符颜色设置、配置yum仓库以及安装指定软件包:

```bash
#!/bin/bash

# 设置别名
echo 'alias l="ls -lAh"' >> ~/.bashrc
echo 'export PS1="\[\e[0;32m\]\u@\h:\w\$ \[\e[0m\]"' >> ~/.bash_profile

# 配置新的yum仓库
cat << EOF > /etc/yum.repos.d/myrepo.repo
[my-repo]
name=My Custom Repository
baseurl=http://example.com/repos/myrepo/
enabled=1
gpgcheck=0
EOF

# 安装tree, ftp, lftp, telnet 等软件包
sudo yum install -y tree ftp lftp telnet

# 使新配置生效
source ~/.bashrc
source ~/.bash_profile

exit 0
```

4. 在CentOS 8上编译安装 Apache 2.4.43 源码包并启动服务

首先下载Apache源码包并安装依赖:

```bash
wget https://archive.apache.org/dist/httpd/httpd-2.4.43.tar.bz2
tar xjf httpd-2.4.43.tar.bz2
cd httpd-2.4.43

# 安装必要的编译工具和库
sudo yum groupinstall 'Development Tools'
sudo yum install apr-devel apr-util-devel

# 配置、编译和安装Apache
./configure --prefix=/usr/local/apache2 --enable-so
make
sudo make install

# 创建系统服务单元文件
cat << EOF > /usr/lib/systemd/system/httpd.service
[Unit]
Description=The Apache HTTP Server
After=network.target

[Service]
ExecStart=/usr/local/apache2/bin/apachectl start
Restart=on-abort

[Install]
WantedBy=multi-user.target
EOF

# 加载新服务并启动Apache
sudo systemctl daemon-reload
sudo systemctl enable --now httpd
sudo systemctl start httpd

# 开放防火墙端口(如果适用)
sudo firewall-cmd --permanent --add-service=http
sudo firewall-cmd --reload
```

请注意,在实际操作时,您需要将上述步骤中的版本号、URL和其他相关路径调整为您所需要的实际情况。同时,对于CentOS 8,建议使用Systemd来管理Apache服务,而不是旧版的SysVinit脚本。
  • 29
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值