Old school: Use xcopy to back up your stuff

by Andrew Block Need an easy way to back up your files, but don’t feel like monkeying with expensive or complicated software? Using the xcopy command and a simple text file, you can accomplish this rather easily. Here’s what I do. First, make sure that file extensions are not hidden by going to My Computer…

Create a DNS zone file

by FreeBSD.org An example master zone file for example.org (existing within /etc/namedb/master/example.org) is as follows: $TTL 3600 ; 1 hour default TTL example.org. IN SOA ns1.example.org. admin.example.org. ( 2006051501 ; Serial 10800 ; Refresh 3600 ; Retry 604800 ; Expire 300 ; Negative Response TTL ) ; DNS Servers IN NS ns1.example.org. IN NS ns2.example.org….

CentOS useful commands

To get your CentOS version type: cat /etc/redhat-release To update all your CentOS packages at once: yum update To install nslookup, dig and other network utilities: yum install bind-utils -y  

Show User Library Directory in Mac OS X Lion

Show User ~/Library in OS X Lion Launch Terminal from Spotlight or Launchpad > Utilities, and enter the following command to show the directory: chflags nohidden ~/Library/ The users Library folder will immediately become visible. Reverting this back to the standard Lion setting is simple too: Hide User ~/Library in OS X Lion (default setting)…

Installing a PDF print server on Ubuntu Server

This article was originally written for Ubuntu 7, but we now know it works for Ubuntu 10 as well. Thanks Shooda! To start, install the CUPS service and CUPS-PDF files: sudo apt-get install cupsys sudo apt-get install cups-pdf Now configure CUPS to allow remote administration: sudo nano /etc/cups/cupsd.conf Modify the port where CUPS listens from:…

IIS tips and tricks

Running multiple versions of the .NET framework in IIS When you install a new .NET framework in your IIS server some applications can stop working showing you the following error: Server Application Unavailable   In the event viewer you will find this: It is not possible to run two different versions of ASP.NET in the…