基线安装
yum install wget gcc openssl git autoconf vim screen automake libtool make perl gettext gettext-devel gd gperf ncurses-devel zip unzip net-tools snappy-devel sysstat iftop psmisc ntp logrotate telnet
Linux主机root用户密码修改
linux下修改root密码方法
以root身份登陆,执行:
passwd 用户名
然后根据提示,输入新密码,再次输入新密码,系统会提示成功修改密码。
具体示例如下:
[root@www ~]# passwd root
Changing password for user root.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
注意:Linux修改密码后,窗口不要关闭。用新的密码重新打开一个窗口,检测修改的密码是否可用
基线安装详情
| 序号 | Linux基线 | 安装版本 | 文件大小 |
|---|---|---|---|
| 1 | wget | wget-1.14-18.el7_6.1.x86_64 | |
| 2 | gcc | gcc-4.8.5-44.el7.x86_64 | |
| 3 | openssl | openssl-1.0.2k-22.el7_9.x86_64 | |
| 4 | git | git-1.8.3.1-23.el7_8.x86_64 | |
| 5 | autoconf | autoconf-2.69-11.el7.noarch | |
| 6 | vim | vim-common-7.4.629-8.el7_9.x86_64 | |
| 7 | screen | screen-4.1.0-0.27.20120314git3c2946.el7_9.x86_64 | |
| 8 | automake | automake-1.13.4-3.el7.noarch | |
| 9 | libtool | libtool-2.4.2-22.el7_3.x86_64 | |
| 10 | make | make-3.82-24.el7.x86_64 | |
| 11 | perl | perl-podlators-2.5.1-3.el7.noarch | |
| 12 | gettext | gettext-0.19.8.1-3.el7.x86_64 | |
| 13 | gettext-devel | gettext-devel-0.19.8.1-3.el7.x86_64 | |
| 14 | gd | gd-2.0.35-27.el7_9.x86_64 | |
| 15 | gperf | gperf-3.0.4-8.el7.x86_64 | |
| 16 | ncurses-devel | ncurses-devel-5.9-14.20130511.el7_4.x86_64 | |
| 17 | zip | zip-3.0-11.el7.x86_64 | |
| 18 | unzip | unzip-6.0-22.el7_9.x86_64 | |
| 19 | net-tools | net-tools-2.0-0.25.20131004git.el7.x86_64 | |
| 20 | snappy-devel | snappy-devel-1.1.0-3.el7.x86_64 | |
| 21 | sysstat | sysstat-10.1.5-19.el7.x86_64 | |
| 22 | iftop | iftop-1.0-0.21.pre4.el7.x86_64 | |
| 23 | psmisc | psmisc-22.20-17.el7.x86_64 | |
| 24 | ntp | ntpdate-4.2.6p5-29.el7.centos.2.x86_64ntp-4.2.6p5-29.el7.centos.2.x86_64 | |
| 25 | logrotate | logrotate-3.8.6-19.el7.x86_64 | |
| 26 | telnet | telnet-0.17-66.el7.x86_64 |