Linux DNS – Microsoft DNS

Posted by support | Bind DNS, Linux, MS DNS (No AD) | Monday 18 February 2008 1:46 pm

Linux Bind 9x and Microsoft 2003 Server DNS (No Active Directory)

Migrating from Bind 4.95 to Bind 9.x has a few changes. One change, the client did not want to use Bind 4 or 9 on a MS Windows Server. So, I did a test install of Microsoft 2003 Server DNS.

Migrate from Bind 4.95 to Microsoft DNS Masters Bind 9.x Slaves.pdf

Restore Virtual Running Image

Posted by support | ESX (VI3), General, Linux, VMWare, Virtual Center | Friday 11 January 2008 10:48 am

Note:

This solution (work around) is for small business. In my opinion I would not do this method, but it can be done.

Restore Using NTBackup VI3 Images.pdf

Daemons:
Samba has to be installed
NFS has to be installed.

Some pictures are distorted and or whited out text to cover names of servers.

VMWare ESX Server — Extending RAID Arrays Dell MD1000

Posted by support | ESX (VI3), Hardware, Linux, RAID, VMWare | Thursday 20 December 2007 12:53 pm

Overview Summary of Extending RAID Arrays in Dell MD1000

MD1000 Extend RAID Array

If anyone sees errors in my testing please contact me.
support@it-manage.com

VI3 DataStorage –Clean Up–

Posted by support | ESX (VI3), Linux, VMWare, Virtual Center | Thursday 29 November 2007 2:25 pm

Clean up from the command line (CLI)

Clean up for the CLI may show a difference between real storage.

After deleting old images from the MD 1000.  I went to the VI3 VC and it showed this much drive space.

ProdC VI3
 

The “Linux Console” showed

Linux Console

after 15 mins the VI3 VC corrected itself showing the same as the CLI.

df -h works but does not show the vmfs file system.  Use vdf -h to show the file system.

Linux Date on File Backups

Posted by support | Linux | Thursday 27 September 2007 6:31 am

I write scripts from time to time for backup to USB or other drives.  This script will help one save older backups in the same folder.

Example:
#!/bin/bash
prefix=$(date +%a-%b%e-%I-%M-%S%p)NameofBak
suffix=tar.gz
filename=$prefix.$suffix
tar -czf $prefix.$suffix /tmp/backups/* (directory path of the folder or file)
mv $filename /Operations (where you want the file moved)
exit 0

The Date commands

CTRL-D shown on console

Posted by support | Linux | Wednesday 19 September 2007 9:07 am

Power or just a bad disk?

If at hit ctrl-d to reboot, means the hard drive is corrupt ala power
failure.

use root password to login, then type :
fsck /dev/hda1 -y
fsck /dev/hda2 -y
fsck /dev/hdb1 -y
fsck /dev/hdb2 -y

if at any point you get a message about it being mounted e.g. WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.

Do you really want to continue (y/n)? no

Answer “n” as shown above, then type umount /dev/hd?? where ?? is
a1,a2,b1,b2 as appropriate

Apache Logs

Posted by support | Apachee, Linux | Thursday 22 March 2007 8:24 am

How to get Apache to show the correct log format

Apache Log PDF

Apache Log FormatFig 1.1 Webmin View

ApacheLogformat.png 

Default Log Format: “%h %l %u %t \”%r\” %>s %b \”%{Referer}i\” \”%{User-Agent}i\”" combined

Access log Files
                Radio Button to (text box) type combined

Write to
                Radio Button to File the /var/log/httpd/nameof file.log

VI httpd.conf (text version)

LogFormat “\”%h %l %u %t \\”%r\\” %>s %b \\”%{Referer}i\\” \\”%{User-Agent}i\\”\” combined”

Put this line in your httpd.conf file usually under /etc/httpd/conf/httpd.conf for Red Hat

Postfix Blocking

Posted by support | Linux MailServer, Postfix | Tuesday 28 November 2006 2:26 pm

Blocking

Postfix can block attachments. There are two ways to do this, Header and Body checks. We have to edit the main.cf file for postfix.

Step 1

add these two lines to the main.cf

header-checks = regexp:/etc/postfix/headers

body_checks = regexp:/etc/postfix/bodycheck

Step 2 Header Checks

vi /etc/postfix/headers

# dxdx Subject
/dxdx/ DISCARD

This will discard and messge with dxdx in the Subject

example,

Nov 28 13:14:17 it-manage postfix/smtpd[23931]: connect from ispmxmta06-srv.windstream.net[166.102.165.167]
Nov 28 13:14:18 it-manage postfix/smtpd[23931]: 3CC178783B0: client=ispmxmta06-srv.windstream.net[166.102.165.167]
Nov 28 13:14:18 it-manage postfix/cleanup[23935]: 3CC178783B0: discard: header Subject: dxdx from ispmxmta06-srv.windstream.net[166.102.165.167]; from= to= proto=SMTP helo=
Nov 28 13:14:18 it-manage postfix/smtpd[23931]: disconnect from ispmxmta06-srv.windstream.net[166.102.165.167]

Email backups PostFix

Posted by support | Postfix | Wednesday 15 November 2006 2:06 pm

Backup email is almost common for companies.

To backup all email for a Postfix server IN and OUT do the following.

vi /etc/postfix/main.cf (Red Hat Linux)
go to bottom of page and add

always_bcc = email address

restart postfix.
This will make all mail sender and recipient have email backup.

This will send all email to the address.

Admins can also use Dovecot and others to run a filtering program to put into folders.
***************************************************************************************

Just a few users for backup.
Adding this to the main.cf will have sender and/or recipient backups.

Hot Swap Drives-Linux To Windows-VMWare Images

Posted by support | GSX, Linux, Microsoft, VMWare | Sunday 10 September 2006 8:03 am

Overview
Servers: 2 Dell 1420SC with 500 Gigs per server SATA Drives (250 Gigs Ea)
Hot Drive: Maxtor IDE USB External Drive
Plan: Complete Virtual Image Backups to an external drive.
Downtime: 1 hour per 60 Gigs if you are using SCSI 320 or USB 2.0

Easy Way:
Lab01: FAT 32 File System.
This is the easiest way to copy the VM images to the external hard drive. Both Windows and Red Hat Enterprise 4 know this file system and will mount it with no issues. The only issue is that FAT32 will only allow 32 Gigs per partition. If security is needed this is not the way to go.

Next Page »