콘텐츠로 이동

삭제

Manager 제거

  • 매니저를 재설치 또는 제거하고자 할 경우 아래의 스크립트를 생성하여 제거합니다.
[root@DeepFinder ~]# vi manager_remove.sh

#!/bin/sh service dfserver-elastic stop service dfserver stop service dfserver-tomcat stop service dfserver-uwsgi stop service dfserver-nginx stop service dfserver-postgres stop
## Service disable chkconfig --del dfserver chkconfig --del dfserver-postgres chkconfig --del dfserver-elastic chkconfig --del dfserver-tomcat chkconfig --del dfserver-uwsgi chkconfig --del dfserver-nginx
## Delete userdel -r elastic userdel -r postgres userdel -r nginx rm -rf /usr/local/dfserver rm -rf /etc/dfserver.conf
find /etc/ -name *df* -exec rm -rf {} \;

[root@DeepFinder ~]# chmod a+x manager_remove.sh [root@DeepFinder ~]# ./manager_remove.sh