How to remove permanently DirectAdmin without re-install OS?
i want to remove DA from my server. but "Google" say better to re-OS.
anyone? according to directadmin staff its virtually not possible however since it build all all software from source and put each software in its individual folder you can try remove them.
1- this command will remove all directadmin files including license,templates,user data, apache vrtual hosts.
rm -rf /usr/local/directadmin
2- to remove mysql completely from system do this commands
rpm -qa "MySQL*"
this will show you something like this
MySQL-devel-5.1.61-1.glibc23
MySQL-shared-5.1.61-1.glibc23
MySQL-client-5.1.61-1.glibc23
MySQL-server-5.1.61-1.glibc23
you will need to remove all those with this command :
rpm -e MySQL-devel-5.1.61-1.glibc23 MySQL-shared-5.1.61-1.glibc23 MySQL-client-5.1.61-1.glibc23 MySQL-server-5.1.61-1.glibc23
please be aware versions may vary between my current example and your VPS.
then you will need to remove mysql directory where it save mysql databases, mysql logins, etc... with this command :
rm -rf /var/lib/mysql
and then remove init script
rm -rf /etc/init.d/mysqld
3- you will need to remove apache configuration and files with this command :
rm -rf /etc/httpd
4- also you will need to remove php directory with this command according to your current php version :
rm -rf /usr/local/php5
or
rm -rf /usr/local/php4
this should make your system clean to install cpanel, kloxo, or other thing you will like.
Highest Regards
Mohammed H
i want to remove DA from my server. but "Google" say better to re-OS.
anyone? according to directadmin staff its virtually not possible however since it build all all software from source and put each software in its individual folder you can try remove them.
1- this command will remove all directadmin files including license,templates,user data, apache vrtual hosts.
rm -rf /usr/local/directadmin
2- to remove mysql completely from system do this commands
rpm -qa "MySQL*"
this will show you something like this
MySQL-devel-5.1.61-1.glibc23
MySQL-shared-5.1.61-1.glibc23
MySQL-client-5.1.61-1.glibc23
MySQL-server-5.1.61-1.glibc23
you will need to remove all those with this command :
rpm -e MySQL-devel-5.1.61-1.glibc23 MySQL-shared-5.1.61-1.glibc23 MySQL-client-5.1.61-1.glibc23 MySQL-server-5.1.61-1.glibc23
please be aware versions may vary between my current example and your VPS.
then you will need to remove mysql directory where it save mysql databases, mysql logins, etc... with this command :
rm -rf /var/lib/mysql
and then remove init script
rm -rf /etc/init.d/mysqld
3- you will need to remove apache configuration and files with this command :
rm -rf /etc/httpd
4- also you will need to remove php directory with this command according to your current php version :
rm -rf /usr/local/php5
or
rm -rf /usr/local/php4
this should make your system clean to install cpanel, kloxo, or other thing you will like.
Highest Regards
Mohammed H