본문 바로가기

리눅스

우분투에서 Ghost 블로그를 삭제하는 방법

728x90

우분투에서 Ghost 블로그를 삭제하는 방법

작업 디렉토리로 이동

cd /var/www/ghost

Ghost 삭제

ghost uninstall

(또는)

echo '' | ghost uninstall

 

$ ghost uninstall

Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org


WARNING: Running this command will delete all of your themes, images, data, any files related to this Ghost instance, and the contents of this folder!
There is no going back!
? Are you sure you want to do this? Yes
+ sudo systemctl is-active ghost_ghost-scbyun-com
ℹ Stopping Ghost [skipped]
+ sudo rm -rf /var/www/ghost/content
✔ Removing content folder
+ sudo rm -f /etc/nginx/sites-available/ghost.scbyun.com.conf
+ sudo rm -f /etc/nginx/sites-enabled/ghost.scbyun.com.conf
+ sudo nginx -s reload
+ sudo rm /lib/systemd/system/ghost_ghost-scbyun-com.service
✔ Removing related configuration
✔ Removing Ghost installation

 

$ ls -l
total 0

 

sudo systemctl daemon-reload

 

728x90