DirectAdmin

There is an easy method to find spammer php script in your home path. Directadmin logs these spammer scripts which are using phpmailer or similar things. To find this: Go to your home path cd /home Find your log files find ./ -type f -size +1k -name “php-mail.log” After this find operation, you can see […]

If you are struggling with millions of SPAM messages like me, you should rather use “find” instead of “rm” while deleting files in a folder. This method is tested to be faster than rm -rf: switch to the folder containing files, in my case: cd /var/spool/exim/ ans start deleting files by typing: find . -maxdepth […]

If you need to connect to an MS Sql Server remotely from your DirectAdmin server via php, you need to rebuild PHP with necessary components. Get the latest stable release of FreeTDS and install it. cd /root wget ftp://ftp.astron.com/pub/freetds/current/freetds-current.tgz tar -xvzf freetds-current.tgz cd freetds-dev.0.92.377 ./configure –prefix=/usr/local/freetds make make install Now we should tell Direct Admin’s […]

Deleting email from the exim queue is unfortunately not that simple. If you have a massive spammer in your system, you can clear the email originating from them with the command below. exim -bpru | tr ‘\n’ + | sed -e “s/++/=/g” | tr -d + | tr = ‘\n’ | grep “spammer@email.com” | awk […]

People using Direct Admin usually do the mistake to install anything new by using the yum repositories. In fact, Direct Admin has a custom build method, so when you want to add something new to your system, you might need to recompile what’s allready installed. The same goes for the PHP-SOAP too. Yet don’t freak […]

DirectAdmin determines the admin password during installation and saves these passwords into the file called setup.txt. If you havent changed this password, you can find it in this file, to see the file contents: less /usr/local/directadmin/scripts/setup.txt adminpass= you can find admin password here, and if you didn’t change it after installing you should be able […]

Before changing MySQL root password you may try to recover default installation password. DirectAdmin MySQL root password is set within the installation process and written down to setup.txt. If you didn’t change this password you can find the default one in the setup.txt, use the command below to see the contents of /usr/local/directadmin/scripts/setup.txt: your password […]

There are some important processes after successfully installation of DirectAdmin and if you miss these steps, the system may not work efficiently. After logged in with the admin user: (default admin password is located at: /usr/local/directadmin/scripts/setup.txt) Add an additional IP for the second DNS Server, to do so, click to the “IP Management” link in […]

If you prepared your server with the directives we mentioned on the previous article, it will be so much easy to install DireactAdmin software. You must download the setup file from DirectAdmin site: Download DirectAdmin setup file & run: mkdir /root/DA cd /root/DA wget http://www.directadmin.com/setup.sh sh setup.sh Steps to follow: DirectAdmin setup will ask you […]

DirectAdmin is one of the mostly used Hosting Control Panels around, for single server installations it is easy to setup and start selling hosting busines, some advantages of DirectAdmin are; Easy to install, can be installed on a VPS or VDS also Less overhead, minimal code Easy to maintain & upgrade Easy to modify wtihout […]