With the coming of Windows Server 2008 Core, its time to go back to the good old days of command line. We can add the DNS Server role and add manage DNS Server including setting up Forward and Reverse Lookup zones from the command line.
The following procedure should help you to setup and Configure a DNS server in Windows Server 2008 & Windows Server 2008 Core installation:
Read the rest of this entry
Usually a firewall is used to protect a server from other servers and networks. However, in some cases you may also want to protect a server within a network by using a TCP Wrapper.
The Xinetd super server that comes with most Linux distributions includes a built-in TCP wrapper. It can be used to explicitly define network services to accept incoming connections from specified servers and networks.
Read the rest of this entry
Every time a file is read from your Linux ext3 partition it writes back a attribute to the file detailing the last access time. There are very few programs that actually use this to operate and it slows everything down.
Disabling atime and diratime on your Linux ext3 file systems can improve disk performance up to 40%!
Read the rest of this entry
This tip shows you how to convert files from Windows format to UNIX format and vice versa. This can be handy if you’ve ever opened a file that was created in Windows and found your screen full of of ^M characters at the end of every line.
Code Listing 1: Converting files with tr and sed
// Convert from DOS/windows to unix
% tr -d '\015' win.txt > unix.txt
// Convert from unix to DOS/windows
% sed -e 's/$/\r/' unix.txt > win.txt
This is a list of handy MySQL commands that I use time and time again. At the bottom are statements, clauses, and functions you can use in MySQL. Below that are PHP and Perl API functions you can use to interface with MySQL. To use those you will need to build PHP with MySQL functionality. To use MySQL with Perl you will need to use the Perl modules DBI and DBD::mysql.
Read the rest of this entry