如何安装/卸载Laravel Supervisor(supervisorctl)?

时间:2018-10-31 00:05:26

标签: laravel amazon-ec2 supervisor amazon-linux

我正在使用Laravel homestead进行开发,但是我的质量检查服务器在Amazon Linux上。这是基于CentOS-7的。

我已经按照Laravel docs

上的说明在开发人员上安装了Supervisor。
sudo apt-get install supervisor 

现在我在堆纸。

它没有说明如何卸载它,也没有说明如何在Amazon Linux上安装它。

如何从Homestead卸载Laravel Supervisor? 以及如何在Amazon Linux上安装/卸载它?

1 个答案:

答案 0 :(得分:1)

如果您是使用apt-get安装的,则应该可以使用相同的软件包管理器将其删除。

https://askubuntu.com/a/1144

例如使用以下命令之一:

sudo apt-get remove supervisor  # remove the package
sudo apt-get purge supervisor   # remove the package and all configs

对于CentOS,请尝试使用yum

yum install supervisor
yum remove supervisor

https://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-yum-useful-commands.html

类似的问题: https://stackoverflow.com/a/47322239/3095084