系统
Rocky Linux
https://rockylinux.org/download
openSUSE
https://www.opensuse.org/
数据库
MySQL
https://dev.mysql.com/downloads/mysql/
https://rockylinux.org/download
https://www.opensuse.org/
https://dev.mysql.com/downloads/mysql/
# yum repolist
# reposync -r <software source> <local directory>
# reposync -r base -p /tmp/repository/
# reposync -r extras -p /tmp/repository/
# reposync -r updates -p /tmp/repository/
# reposync -r epel -p /tmp/repository/
(补充:这里以同步软件源 base、extras、updates 和 epel 分到目录 /tmp/repository/、/tmp/repository/、/tmp/repository/、/tmp/repository/ 为例)
# cd /tmp/repository/base && createrepo ./
# cd /tmp/repository/extras && createrepo ./
# cd /tmp/repository/updates && createrepo ./
# cd /tmp/repository/epel && createrepo ./
(补充:这里以在目录 /tmp/repository/base、/tmp/repository/extras、/tmp/repository/updates 和 /tmp/repository/epel 里创建本地 YUM 源为例)
# reposync -r <software source> <local directory>
# reposync -r base -p /tmp/repository/
# reposync -r extras -p /tmp/repository/
# reposync -r updates -p /tmp/repository/
# reposync -r epel -p /tmp/repository/
(补充:这里以同步软件源 base、extras、updates 和 epel 分到目录 /tmp/repository/、/tmp/repository/、/tmp/repository/、/tmp/repository/ 为例)
# createrepo --update <local directory>
# createrepo --update /tmp/repository/base
# createrepo --update /tmp/repository/extras
# createrepo --update /tmp/repository/updates
# createrepo --update /tmp/repository/epel
(补充:这里以在目录 /tmp/repository/base、/tmp/repository/extras、/tmp/repository/updates 和 /tmp/repository/epel 里更新本地 YUM 源为例)
error: can't create transaction lock on /usr/lib/sysimage/rpm/.rpm.lock (Resource temporarily unavailable)
# rm -rf /var/lib/rpm/_db*
# rpm --rebuilddb
# zypper refresh
# cat /etc/passwd | egrep -v 'shutdown$|halt$|nologin$|false$|sync$'
auditd 只能监控比它后启动的进程,恶意软件如果比它先启动则无法被其监控
在这一行里:
GRUB_CMDLINE_LINUX="......"
添加:
GRUB_CMDLINE_LINUX="...... audit=1"
# grub2-mkconfig -o /boot/grub2/grub.cfg
https://access.redhat.com/solutions/971883