1.检查本地systemd的版本
[[email protected] ~]$ systemctl --version
systemd 208
+PAM +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ
2.获取安装文件
wget http://www.freedesktop.org/software/systemd/systemd-214.tar.xz
3.解压文件
tar xf systemd-214.tar.xz
4.安装环境准备
yum -y install gcc intltool gperf glib2-devel libcap-devel xz-devel
5.编译
./configure
make
make install
6.查看目前版本
systemctl --version
时间: 2024-10-24 16:06:43