Q: I had to re-IP a server, as transferring to a new carrier. Followed the DA instructions to convert to new server IP. No errors were noted. When gone into admin found that the old IPs where still in DA and cannot delete them. Also the new server IP was not in the “IP Manager”. All the rest of the IPs were placed into the manager with the Old IPs still visible tried again to delete without success. Tried to re-install new server IP came up message that the old IPs were the server IP and that it would not be installed. Any solutions to this problem? Advice would be appreciated.
R: If they’re out of the admin section, they’d probably still be in Reseller ip.list files.
Just remove them from the /usr/local/directadmin/data/users/*/user_ip.list file.
Where * are all of your resellers and admins.
Hello everyone,
Since there are alot of people asking for it, here is my HowTo about mod_ruid2
This is based on my CentOS server with Apache 2.x.
Installing this module its no longer needed to chmod config files to 666 or upload/attachments directories to 777. Since with this module enabled everything @ HTTP will run under the user itself and not ‘apache’ anymore.
Read the rest of this entry
RPM and DEB packages are both containers for other files. An RPM is some sort of cpio archive. On the other hand, a DEB file is a pure ar archive. So, it should be possible to unpack their contents using standard archiving tools, regardless of your distribution’s package format. Under normal conditions, you should use your distribution’s standard package manager, rpm or dpkg and their frontends, to manage those files. But, if you need to be more generic, here is how to do it.
Read the rest of this entry
As you know, Webalizer stats are usually updated once a day, when using a Directadmin server. What to do, if you need more current stats? Here are some solutions (work good for me on CentOS 5).
If you need to update all server accounts, just type in the following command as root:
echo "action=tally&value=all" >> /usr/local/directadmin/data/task.queue
In order to update stats for a single domain, here is another command:
/usr/bin/webalizer -p -n |DOMAIN| -o /home/|USER|/domains/|DOMAIN|/stats /var/log/httpd/domains/|DOMAIN|.log
Just replace |USER| with domain username and |DOMAIN| with domain itself and have fun!
i have been struggling to find some way or another to transfer my file from one linux server to another using commandline. Before this i was just using cpanel to do backups.
Here is an easy way to accomplish transferring backup files from one server to another in linux. Just simple command using SCP (secure file copy)
Read the rest of this entry