리눅스

 

sudo apt-get remove –purge php*
sudo apt-get purge php*
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get remove dbconfig-php
sudo apt-get dist-upgrade
 

참고 : 아래 명령의 출력은 설치된 패키지 소프트웨어, 버전, 아키텍처 및 패키지에 대한
 간단한 설명 정보를 제공합니다. grep 명령은 PHP 패키지를 찾는 데 사용됩니다


sudo dpkg --get-selections | grep php | cut -f 1
sudo apt-get remove --purge <package name from the previous command output>
sudo whereis php
sudo rm -rf <directory/file path from the previous command output>

 

 

Apache  제거

sudo service apache2 stop
sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common
sudo apt-get autoremove
 

아래 명령의 출력은 설치된 패키지 소프트웨어, 버전, 아키텍처 및 패키지에 대한 간단한 설명 정보를 제공합니다. 
grep 명령은 MySQL 패키지를 찾는 데 사용됩니다


sudo dpkg --get-selections | grep apache | cut -f 1
sudo apt-get remove --purge <package name from the previous command output>
sudo whereis apache
sudo rm -rf <directory/file path from the previous command output>

MySQL 제거​​​​​​​ 

sudo apt-get remove –purge mysql*
sudo apt-get purge mysql*
sudo apt-get autoremove.
sudo apt-get autoclean.
sudo apt-get remove dbconfig-php.
sudo apt-get dist-upgrade.
 

아래 명령의 출력은 설치된 패키지 소프트웨어, 버전, 아키텍처 및 패키지에 대한 간단한 설명 정보를 제공합니다.
 grep 명령은 MySQL 패키지를 찾는 데 사용됩니다


sudo dpkg --get-selections | grep mysql | cut -f 1
sudo apt-get remove --purge <package name from the previous command output>
sudo whereis mysql
sudo rm -rf <directory/file path from the previous command output

 

 

about author

PHRASE

Level 60  라이트

이모저모로 남을 위하여 살지 아니하는 사람은, 거의 자기 자신을 위하여 사는 사람이 아니다. -몽테뉴

댓글 ( 4)

댓글 남기기

작성
  •    
  •    
  •