Archive for the ‘Sysadmin’ Category

Retrieving Files From Backup Archives

Monday, December 15th, 2008

To restore your data on a Plesk 8 machine, use the pleskrestore utility as described in the Restoring Your Data (on page 10) section of this guide. Plesk for Linux stores backup files in compressed GZIP archives. Only the server administrator with access to server shell can unpack these archives. To unpack ...

DIG useful commands

Sunday, December 14th, 2008

Traces starting from root nameservers. Useful for getting the current nameservers set on a domain; dig connexeon.com +trace ; <<>> DiG 9.3.3rc2 <<>> @85.158.106.50 connexeon.be +trace ; (1 server found) ;; global options: printcmd . ...

Open Source Support with public mirrors

Friday, December 12th, 2008

Connexeon provides services based on some open source software solutions. We want to support the open source community with free public mirrors. Following public mirrors are currently available on our network: Centos (full mirror): http://centos.mirror.connexeon.net Putty: http://putty.mirror.connexeon.net Following services are also available on our network: Plesk update mirror (CentOS latest 8 and 9 versions ...

Find largest files on Linux system with sorting

Friday, December 12th, 2008

Finds files larger than 20MB in / and sort from biggest to smallest find / -type f -size +20000k -exec ls -lh {} \; | awk '{ print $5 " " $9 }' | column -t | sort -nr | less

Horde webmail agenda in Plesk is gone

Monday, December 8th, 2008

Suddenly the agenda option in horde (psa-horde) is gone. Cause: If you're using Atomick Rocket Turtle (ART) repository to update your server the agenda will not be available anymore, to solve this you have to remove it and update horde via the plesk updater available in the control panel. Solution: yum remove psa-kronolith Log on ...

Telnet to port 25 to Test SMTP communication

Tuesday, December 2nd, 2008

Basic Testing Test the smtp communication via Telnet (you can use a telnet client like putty). You can start a Telnet session by using the Telnet command in the following format: telnet mail.domainname.tld 25 If the command works, you receive a response from the SMTP server that is similar to the following: Trying 85.000.000.000... Connected to ...

Version control for .NET with Subversion and AnkhSVN

Sunday, November 30th, 2008

Requires a Linux server (CentOS in this case, Subversion also runs on Windows if you want) and Visual Studio (2008 in this case) Install subversion and xinetd yum install subversion xinetd Create the following file /etc/xinetd.d/svnserve # default: on # Subversion server service svn { socket_type = stream protocol = tcp user = root wait = no disable ...

[warn] _default_ VirtualHost overlap on port 80

Wednesday, November 26th, 2008

While creating websites on Linux / apache you can get following messages after restarting httpd: Starting httpd: [Wed Nov 26 09:02:33 2008] [warn] _default_ VirtualHost overlap on port 80, the first has precedence [Wed Nov 26 09:02:33 2008] [warn] _default_ VirtualHost overlap on port 80, the first has precedence When you are creating ...

How do I export zones with Microsoft DNS Server ?

Thursday, November 20th, 2008

You can use following command: dnscmd /enumzones /Primary > c:\zones.csv For more options: dnscmd /enumzones /? or dnscmd /?

Installing PowerDNS with OpenDBX (MySQL backend) on CentOS 5 x64

Wednesday, November 19th, 2008

When switching to PowerDNS for our master zones we needed auto-serial update for an easy way to integrate with our backoffice. This is not possible with the built-in gmysql backend. It is possible with some db adjustments and OpenDBX with PowerDNS 2.9.22 RC1 (no stable release yet when I’m writing ...