在centos7.1上安装systemd

1.检查本地systemd的版本

   [admin@localhost ~]$ 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

原文地址:https://www.cnblogs.com/boshen-hzb/p/6080343.html