์๋
ํ์ธ์, VPS (centos / ubuntu) ์๋ฒ์์ ์กฐ์ข
์์ ์ ๊ฑฐ / ์ ๊ฑฐ ํ ์์๋ ๋ฐฉ๋ฒ์ด ๊ถ๊ธํฉ๋๋ค.
๊ฒ์์ ๋ง์ดํ์ง๋ง How To Do It!์ ๋ํ ๋ฌธ์ ๋ ์ง์นจ์ ์ฐพ์ ์ ์์ต๋๋ค.
๊ฐ์ฌ.
ํน๋ณํ ๊ฒ์ ์์ต๋๋ค- sudo apt purge cockpit
?
์๋ ํ์ธ์, ์ ๋ centos VPS์ ์กฐ์ข ์์ด ์๊ณ ์ด๊ฒ์ ์ ๊ฑฐํ๋ ค๊ณ ์๋ํ์ต๋๋ค.
sudo systemctl stop cockpit
sudo systemctl disable cockpit
sudo yum remove cockpit
๊ทธ๋ฆฌ๊ณ ์ฌ์ง์ด
sudo rpm -e cockpit
ํ์ง๋ง my.public.IP : 9090์ ์ฌ์ฉํ ๋ ์ฌ์ ํ ๋ก๊ทธ์ธ ํ์ด์ง๊ฐ ๋ํ๋ฉ๋๋ค!
firewalld์์ ์๋น์ค๋ฅผ ์ ๊ฑฐํ๊ณ firewalld๋ฅผ ๋ค์๋ก๋ ํ ๋ค์ VM์ ์ฌ๋ถํ
ํฉ๋๋ค.
sudo firewall-cmd --permanent --remove-service=cockpit
์ด์ ๊ด์ฐฎ์.
๊ฒฐ๊ตญ ํ๋ก์ ํธ์ ํ๋ก๊ทธ๋จ์ ์ ๊ฑฐํ๋ ๋ฐฉ๋ฒ์ ๋ํ ๋ฌธ์๊ฐ ์์ด์ผํ๋ค๊ณ ์๊ฐํฉ๋๋ค.
๋ต๋ณ ๊ฐ์ฌํฉ๋๋ค.
sudo systemctl stop cockpit
sudo systemctl stop cockpit.service
๋ฐ๋ก ๊ฐ๊ธฐ์
๋๋ค. cockpit.socket
์ ์ค์งํด์ผํฉ๋๋ค ( sudo systemctl stop cockpit.socket
ํ์ฌ ์ํ ํ ์ ์์ต๋๋ค. (์ฌ์ฉ์ค์ธ systemd
๋ฒ์ ์ ํ์คํ์ง ์์ง๋ง ์๋น์ค๋ฅผ ์ค์ง ํ ๋ ๋ด ์์คํ
์์ ์์ผ์ด ์ฌ์ ํ ์๋น์ค๋ฅผ ํ์ฑํ ํ ์ ์์์ ์๋ ค์ค๋๋ค.)
sudo yum remove cockpit
์๋ํฉ๋๋ค. ๋ํ ์ข
์์ฑ cockpit-ws
๋ก ์ ๊ฑฐํด์ผํฉ๋๋ค.
๊ฐ์ฌ. ์ด ํ๋ก๊ทธ๋จ์ด ๋ง์์ ๋ค์์ง๋ง ์ด์จ๋ ๋ฌธ์์ ์ ๊ฑฐ ์ง์นจ์ด ์์ต๋๋ค. :)
์๋ ํ์ธ์, ์ ๋ centos VPS์ ์กฐ์ข ์์ด ์๊ณ ์ด๊ฒ์ ์ ๊ฑฐํ๋ ค๊ณ ์๋ํ์ต๋๋ค.
sudo systemctl stop cockpit sudo systemctl disable cockpit sudo yum remove cockpit
๊ทธ๋ฆฌ๊ณ ์ฌ์ง์ด
sudo rpm -e cockpit
ํ์ง๋ง my.public.IP : 9090์ ์ฌ์ฉํ ๋ ์ฌ์ ํ ๋ก๊ทธ์ธ ํ์ด์ง๊ฐ ๋ํ๋ฉ๋๋ค!
firewalld์์ ์๋น์ค๋ฅผ ์ ๊ฑฐํ๊ณ firewalld๋ฅผ ๋ค์๋ก๋ ํ ๋ค์ VM์ ์ฌ๋ถํ ํฉ๋๋ค.
sudo firewall-cmd --permanent --remove-service=cockpit
์ด์ ๊ด์ฐฎ์.
๊ฒฐ๊ตญ ํ๋ก์ ํธ์ ํ๋ก๊ทธ๋จ์ ์ ๊ฑฐํ๋ ๋ฐฉ๋ฒ์ ๋ํ ๋ฌธ์๊ฐ ์์ด์ผํ๋ค๊ณ ์๊ฐํฉ๋๋ค.
๋ต๋ณ ๊ฐ์ฌํฉ๋๋ค.
Centos์์ ์ ๊ฑฐํ๋ ค๋ฉด ๋ค์์ ์๋ํด์ผํฉ๋๋ค.
systemctl stop cockpit
rpm -e cockpit-system
rpm -e cockpit-bridge
rpm -e cockpit-ws
rm -R -f /run/cockpit
rm -R -f /etc/cockpit
rm -R -f /usr/share/cockpit
rm -R -f /var/lib/selinux/targeted/active/modules/100/cockpit
rm -R -f /usr/share/selinux/targeted/default/active/modules/100/cockpit
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
Centos์์ ์ ๊ฑฐํ๋ ค๋ฉด ๋ค์์ ์๋ํด์ผํฉ๋๋ค.