ruby – 卸载工头
发布时间:2020-12-17 03:48:14 所属栏目:百科 来源:网络整理
导读:我按照此处的说明在Ubuntu Server 12.04上安装了The Foreman: http://theforeman.org/manuals/1.2/quickstart_guide.html#Installation 我现在已经决定它不适合我 – 但我找不到有关如何卸载的任何说明.宝石卸载工头等各种命令失败,因为它似乎是作为宝石安
我按照此处的说明在Ubuntu Server 12.04上安装了The Foreman:
http://theforeman.org/manuals/1.2/quickstart_guide.html#Installation 我现在已经决定它不适合我 – 但我找不到有关如何卸载的任何说明.宝石卸载工头等各种命令失败,因为它似乎是作为宝石安装的. 任何帮助将不胜感激.谢谢,克里斯蒂亚诺 解决方法
我确定你现在想出了别的东西,但是如果还有其他人坚持这个,那么这些命令对我有用:
sudo apt-get --purge remove foreman foreman-installer foreman-proxy sudo rm -rf /var/lib/foreman /usr/share/foreman /usr/share/foreman-proxy/logs sudo rm /etc/apache2/conf.d/foreman.conf 如果您在安装工头之前没有使用它,您可能还想卸载木偶: sudo apt-get remove --purge puppet puppetmaster puppet-common puppetmaster-common puppetlabs-release sudo rm -rf /usr/lib/ruby/vendor_ruby/puppet /usr/share/puppet /var/lib/puppet /etc/puppet sudo rm /etc/apache2/conf.d/puppet.conf 您还可以运行以下命令以删除已安装且不再需要的任何其他依赖项: sudo apt-get autoremove 最后,重启apache,因为已删除了foreman和puppet配置: sudo service apache2 restart 我可能会遗漏一些东西,但这似乎为我摆脱了大部分. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |