July 2013
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  

Categories

July 2013
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  

HOW TO SEND MAIL FROM SHELL SCRIPT

! /bin/bash #Use: To Send Mail From Shell Script in Linux #Prepared By: Online cyber Study Group TO_ADDRESS=”testusr@yourdomain.com” FROM_ADDRESS=”root@ yourdomain.com” SUBJECT=”HOW TO SEND MAIL FROM SHELL SCRIPT” BODY=” This is free webmail server we also called it open source mail server and we have write a bash script that have title HOW TO SEND MAIL […]

How to check mailbox size of all accounts in Zimbra mail server

I would like to check a mailbox size of all users in my Zimbra mail server and I can check these sizes by create a shell script which has 2 commands for query.

1. zmprov gaa => I use this command for query all accounts in my Zimbra server. 2. zmmailbox -z -m your-account […]

Run WinRM Commands on the Target Computer

use WinRM commands on the installer computer

Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

In the command prompt window, type the following command, pressing Enter after each command:

winrm set winrm/config/client/auth @{CredSSP=”True”}winrm set winrm/config/client @{TrustedHosts=”*”}

Type exit, and then press Enter.

[…]

Active Directory

Scope of AD Design

Provide Compliance, Governance and Oversee Network Authentication Secure Servers, Users and Computers Provide DNS Resolution Create central repository of all IT objects and assets

What are the elements of Active Directory Design?

Forest Plan Domain Plan Organizational Unit Plan Site and Services Plan

1. Key Consideration for Forest Plan

[…]

Dynamic Disks and Volumes

Like basic disks, which are the most commonly used storage type found on computers running Microsoft Windows, dynamic disks can use the master boot record (MBR) or GUID partition table (GPT) partitioning scheme. All volumes on dynamic disks are known as dynamic volumes. Dynamic disks were first introduced with Windows 2000 and provide features that […]

Hyper-V Resource Metering in Windows server 2012

IT organizations need tools to charge back business units that they support while providing the business units with the right amount of resources to match their needs. For hosting providers, it is equally important to issue chargebacks based on the amount of usage by each customer.

To implement advanced billing strategies that measure both the […]

Singnals in Linux

Singnals in Linux Terminate or send a signal with kill or killall

# kill -s TERM 4712 ——– same as kill -15 4712 # killall -1 httpd ——– Kill HUP processes by exact name # pkill -9 http ——– Kill TERM processes by (part of) name # pkill -TERM -u www ——- Kill TERM processes […]

Booting Process of Linux Redhat & Centos

You have to keep in mind when you installed Linux that the installation process prompted you for a list of partitions & the sizes of each in which your filesystems would be placed.

1. When apportioning disk space for the partitions, the first sector, or knowledge unit, for each partition is always reserved for programmable […]

open files in linux

This is useful to find out which file is blocking a partition which has to be unmounted and gives a typical error of:

# umount /home/ umount: unmount of /home failed: Device busy

umount impossible because a file is locking home

Find opened files on a mount point with fuser or lsof:

# fuser […]

iostat / vmstat / mpstat

iostat / vmstat / mpstat are some tools to monitor server performance.

* iostat reports CPU, disk I/O, and NFS statistics.

* vmstat reports virtual memory statistics.

* mpstat reports processors statictics.

iostat

Iostat without any argument displays information about the CPU usage, and I/O statistics about all the partitions […]