X黑手网

在termux中的centos7无法使用systemctl的解决方法

靠国光的脚本(https://www.sqlsec.com/2020/04/termuxlinux.html)安装了centos7,但发现无法使用systemctl命令,找到了解决方法:

 

项目地址:https://github.com/gdraheim/docker-systemctl-replacement/blob/master/files/docker/systemctl.py

 

mv /usr/bin/systemctl /usr/bin/systemctl.old

curl https://fastly.jsdelivr.net/gh/gdraheim/docker-systemctl-replacement@master/files/docker/systemctl.py > /usr/bin/systemctl

chmod +x /usr/bin/systemctl
© 版权声明
THE END
喜欢就支持一下吧
点赞8 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容