Como uma solução simples, você pode usar o comando yum history
. Depois, você pode executar yum history undo <ID>
e reverterá todas as alterações feitas no ID solicitado. Se você fizer isso agora, poderá desfazer o último ID.
Acabei de instalar o link no Centos7 vps executando o Apache. Eu deveria ter lido mais antes de fazer isso, pois está em conflito com o Apache e não quero a edição EE. Como devo removê-lo?
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash
sudo yum install gitlab-ee
sudo gitlab-ctl reconfigure
Eu tentei o seguinte.
sudo gitlab-ctl stop
sudo gitlab-ctl uninstall
rpm -e gitlab
E após a reinicialização, estou longe de ser desinstalado
[michael@vps~]$ ps -ef | grep gitlab
root 730 1 0 13:49 ? 00:00:00 runsvdir -P /opt/gitlab/service log: ...........................................................................................................................................................................................................................................................................................................................................................................................................
root 743 730 0 13:49 ? 00:00:00 runsv gitlab-workhorse
root 750 730 0 13:49 ? 00:00:00 runsv gitlab-monitor
root 751 743 0 13:49 ? 00:00:00 svlogd -tt /var/log/gitlab/gitlab-workhorse
root 752 741 0 13:49 ? 00:00:00 svlogd -tt /var/log/gitlab/sidekiq
git 753 743 0 13:49 ? 00:00:00 /opt/gitlab/embedded/bin/gitlab-workhorse -listenNetwork unix -listenUmask 0 -listenAddr /var/opt/gitlab/gitlab-workhorse/socket -authBackend http://localhost:8080 -authSocket /var/opt/gitlab/gitlab-rails/sockets/gitlab.socket -documentRoot /opt/gitlab/embedded/service/gitlab-rails/public -pprofListenAddr -secretPath /opt/gitlab/embedded/service/gitlab-rails/.gitlab_workhorse_secret -config config.toml
git 754 741 21 13:49 ? 00:00:15 sidekiq 5.0.0 gitlab-rails [0 of 25 busy]
root 755 739 0 13:49 ? 00:00:00 svlogd -tt /var/log/gitlab/postgresql
root 756 738 0 13:49 ? 00:00:00 svlogd -tt /var/log/gitlab/redis
gitlab-+ 757 739 0 13:49 ? 00:00:00 /opt/gitlab/embedded/bin/postgres -D /var/opt/gitlab/postgresql/data
gitlab-+ 758 738 0 13:49 ? 00:00:00 /opt/gitlab/embedded/bin/redis-server 127.0.0.1:0
root 759 740 0 13:49 ? 00:00:00 svlogd -tt /var/log/gitlab/unicorn
git 760 740 0 13:49 ? 00:00:00 /bin/bash /opt/gitlab/embedded/bin/gitlab-unicorn-wrapper
root 761 749 0 13:49 ? 00:00:00 svlogd -tt /var/log/gitlab/postgres-exporter
gitlab-+ 762 749 0 13:49 ? 00:00:00 /opt/gitlab/embedded/bin/postgres_exporter -web.listen-address=localhost:9187
root 763 742 0 13:49 ? 00:00:00 svlogd -tt /var/log/gitlab/gitaly
git 764 742 0 13:49 ? 00:00:00 /opt/gitlab/embedded/bin/gitaly /var/opt/gitlab/gitaly/config.toml
root 765 744 0 13:49 ? 00:00:00 svlogd -tt /var/log/gitlab/nginx
root 766 744 0 13:49 ? 00:00:00 nginx: master process /opt/gitlab/embedded/sbin/nginx -p /var/opt/gitlab/nginx
root 767 745 0 13:49 ? 00:00:00 svlogd -tt /var/log/gitlab/logrotate
root 768 750 0 13:49 ? 00:00:00 svlogd -tt /var/log/gitlab/gitlab-monitor
root 769 745 0 13:49 ? 00:00:00 /bin/sh /opt/gitlab/embedded/bin/gitlab-logrotate-wrapper
git 770 750 0 13:49 ? 00:00:00 /opt/gitlab/embedded/bin/ruby /opt/gitlab/embedded/bin/gitlab-mon web -c /var/opt/gitlab/gitlab-monitor/gitlab-monitor.yml
root 771 746 0 13:49 ? 00:00:00 svlogd -tt /var/log/gitlab/prometheus
gitlab-+ 772 746 0 13:49 ? 00:00:00 /opt/gitlab/embedded/bin/prometheus -web.listen-address=localhost:9090 -storage.local.path=/var/opt/gitlab/prometheus/data -storage.local.chunk-encoding-version=2 -storage.local.target-heap-size=68005724 -config.file=/var/opt/gitlab/prometheus/prometheus.yml
root 773 748 0 13:49 ? 00:00:00 svlogd -tt /var/log/gitlab/redis-exporter
gitlab-+ 774 748 0 13:49 ? 00:00:00 /opt/gitlab/embedded/bin/redis_exporter -web.listen-address=localhost:9121 -redis.addr=unix:///var/opt/gitlab/redis/redis.socket
root 780 747 0 13:49 ? 00:00:00 svlogd -tt /var/log/gitlab/node-exporter
gitlab-+ 781 747 0 13:49 ? 00:00:00 /opt/gitlab/embedded/bin/node_exporter -web.listen-address=localhost:9100 -collector.textfile.directory=/var/opt/gitlab/node-exporter/textfile_collector
gitlab-+ 832 766 0 13:49 ? 00:00:00 nginx: worker process
gitlab-+ 833 766 0 13:49 ? 00:00:00 nginx: worker process
gitlab-+ 834 766 0 13:49 ? 00:00:00 nginx: cache manager process
gitlab-+ 843 757 0 13:49 ? 00:00:00 postgres: checkpointer process
gitlab-+ 844 757 0 13:49 ? 00:00:00 postgres: writer process
gitlab-+ 845 757 0 13:49 ? 00:00:00 postgres: wal writer process
gitlab-+ 846 757 0 13:49 ? 00:00:00 postgres: autovacuum launcher process
gitlab-+ 847 757 0 13:49 ? 00:00:00 postgres: stats collector process
git 939 1 20 13:49 ? 00:00:14 unicorn master -D -E production -c /var/opt/gitlab/gitlab-rails/etc/unicorn.rb /opt/gitlab/embedded/service/gitlab-rails/config.ru
gitlab-+ 997 757 0 13:49 ? 00:00:00 postgres: gitlab-psql postgres [local] idle
git 2631 939 0 13:50 ? 00:00:00 unicorn worker[0] -D -E production -c /var/opt/gitlab/gitlab-rails/etc/unicorn.rb /opt/gitlab/embedded/service/gitlab-rails/config.ru
git 2634 939 0 13:50 ? 00:00:00 unicorn worker[1] -D -E production -c /var/opt/gitlab/gitlab-rails/etc/unicorn.rb /opt/gitlab/embedded/service/gitlab-rails/config.ru
git 2639 939 0 13:50 ? 00:00:00 unicorn worker[2] -D -E production -c /var/opt/gitlab/gitlab-rails/etc/unicorn.rb /opt/gitlab/embedded/service/gitlab-rails/config.ru
gitlab-+ 2685 757 0 13:50 ? 00:00:00 postgres: gitlab gitlabhq_production [local] idle
gitlab-+ 2764 757 0 13:50 ? 00:00:00 postgres: gitlab gitlabhq_production [local] idle
gitlab-+ 2765 757 0 13:50 ? 00:00:00 postgres: gitlab gitlabhq_production [local] idle
gitlab-+ 2766 757 0 13:50 ? 00:00:00 postgres: gitlab gitlabhq_production [local] idle
gitlab-+ 2767 757 0 13:50 ? 00:00:00 postgres: gitlab gitlabhq_production [local] idle
gitlab-+ 2768 757 0 13:50 ? 00:00:00 postgres: gitlab gitlabhq_production [local] idle
gitlab-+ 2769 757 0 13:50 ? 00:00:00 postgres: gitlab gitlabhq_production [local] idle
gitlab-+ 2770 757 0 13:50 ? 00:00:00 postgres: gitlab gitlabhq_production [local] idle
michael 2784 2695 0 13:50 pts/0 00:00:00 grep --color=auto gitlab
[michael@vps~]$
É um VPS. Destrua-o, reconstrua outra VM, se desejar.
Estudar o gerenciamento de pacotes de um appliance e limpá-lo pode ser educacional, mas consome tempo. Alguns appliances preocupam-se apenas com sua aplicação e deixam a configuração não gerenciada por seus pacotes.