如何从Linux完全删除jenkins [英] How can I remove jenkins completely from linux

查看:951
本文介绍了如何从Linux完全删除jenkins的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从不同的文件夹中删除了jenkins的所有目录.但是,当我访问URL时,它仍然显示jenkins登录.

I have deleted jenkins all directories from different folders. But still when I access URL it is showing me jenkins login.

我想完全卸载jenkins.已经尝试了许多来自Internet的命令,但是服务器上仍然有jenkins.

I want to uninstall jenkins completely. Have tried many commands from internet but still jenkins is there on server.

我只有通过腻子的命令行访问权限,所以我尝试通过命令删除jenkins.

I have only command line access via putty so I tries whatever is possible via command to remove jenkins.

推荐答案

如果您的詹金斯人以服务而不是进程的身份运行,则应先使用

If your jenkins is running as service instead of process you should stop it first using

sudo service jenkins stop

停止它之后,您可以按照与Linux风格相关的命令按照正常的流程删除它

After stopping it you can follow the normal flow of removing it using commands respective to your linux flavour

对于centos,它将是

For centos it will be

sudo yum remove jenkins

对于ubuntu,它将

For ubuntu it will

sudo apt-get remove --purge jenkins

我希望这能解决您的问题.

I hope this will solve your issue.

这篇关于如何从Linux完全删除jenkins的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆