练习笔记-CentOS8.0启用邮件功能20210103
1CentOS8.0系统中执行以下命令,其中安装过程中有两次提示,根据需求选择Y or N.
dnf install mailx
代码如下:
1 [root@localhost ~]# dnf install mailx 2 Last metadata expiration check: 2:02:30 ago on Sat 02 Jan 2021 11:41:32 PM PST. 3 Dependencies resolved. 4 ================================================================================ 5 Package Architecture Version Repository Size 6 ================================================================================ 7 Installing: 8 mailx x86_64 12.5-29.el8 BaseOS 257 k 9 10 Transaction Summary 11 ================================================================================ 12 Install 1 Package 13 14 Total download size: 257 k 15 Installed size: 491 k 16 Is this ok [y/N]: y 17 Downloading Packages: 18 mailx-12.5-29.el8.x86_64.rpm 69 kB/s | 257 kB 00:03 19 -------------------------------------------------------------------------------- 20 Total 33 kB/s | 257 kB 00:07 21 warning: /var/cache/dnf/BaseOS-929b586ef1f72f69/packages/mailx-12.5-29.el8.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY 22 CentOS-8 - Base 1.6 MB/s | 1.6 kB 00:00 23 Importing GPG key 0x8483C65D: 24 Userid : "CentOS (CentOS Official Signing Key) <security@centos.org>" 25 Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D 26 From : /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial 27 Is this ok [y/N]: y 28 Key imported successfully 29 Running transaction check 30 Transaction check succeeded. 31 Running transaction test 32 Transaction test succeeded. 33 Running transaction 34 Preparing : 1/1 35 Installing : mailx-12.5-29.el8.x86_64 1/1 36 Running scriptlet: mailx-12.5-29.el8.x86_64 1/1 37 Verifying : mailx-12.5-29.el8.x86_64 1/1 38 Installed products updated. 39 40 Installed: 41 mailx-12.5-29.el8.x86_64 42 43 Complete!