Create the following volumes: /dev/sda1 +64M Partition Boot Sector /dev/sda2 Varies Swap /dev/sda3 Varies / /dev/sda4 Varies Windows (this is optional) Format Drives root@bt:~# mke2fs /dev/sda1 root@bt:~# mkswap /dev/sda2 root@bt:~# swapon /dev/sda2 root@bt:~# mkreiserfs /dev/sda3 Manually Copy OS Files root@bt:~# mkdir /mnt/bt4 root@bt:~# mount /dev/sda3 /mnt/bt4/ root@bt:~# mkdir /mnt/bt4/boot root@bt:~# mount /dev/sda1 /mnt/bt4/boot root@bt:~# cp […]
Month: July 2009
Even a stopped clock is right twice a day
Cyber Security – Password Creation
Passwords are the most common means of authentication, but if you do not choose good passwords or keep them confidential, they are almost as ineffective as not having any password at all. Many systems and services have been successfully broken into due to the use of insecure and inadequate passwords. Some viruses and worms have […]
Linux User Commands
Every user who has access to a Linux system needs a login and a password. Each user must belong to a primary group and for security or access purposes can belong to several secondary groups. In order to create new logins, modify or delete users, you must already be logged in as root. The root […]
Connecting to AWS EC2 (Linux) Instance With PuTTY via SSH
In order to connect to an Amazon Web Services EC2 Linux instance using PuTTY over SSH you must generate a PPK file from your private key, then import the PPK to PuTTY. PuTTY does not natively support the private key format generated by Amazon EC2, therefore PuttyGen must be used to convert keys to its internal format. First, associate the […]
Display Today’s (Current) Date Dynamically in HTML Pages
The Easy Way <script language=”javascript”> <!– document.write(Date()); –> </script> The easy way provides date, time and timezone information. If you want to display the date only, the following way will do that. The Hard Way <script language=”javascript”> <!– Today = new Date(); TodayDay = Today.getDate(); TodayMon = Today.getMonth(); TodayYear = Today.getYear(); if (TodayYear < 2000) […]
How to recover missing, lost, or deleted files from Windows XP, Vista, Server 2003 and 2008 and Windows 7 as well as Apple Macs
Before reviewing the below recommendations and suggestions, verify that the files have actually been deleted; in some cases the files may have simply been moved. You can search the hard disk drive for the files you believe to be missing by running find or search on the computer. Recover file from backupIf the file has […]
How to recover emails, folders or public folders in Outlook
How to recover emails, folders or public folders in Outlook 1. Select parent folder of deleted item by clicking on to it and highlighting it.2. Select Tools at top3. Select Recover Deleted Item Tool4. Right click item to restore and click restore5. Confirm restoration
Exchange 2007 OWA Virtual Directory Creation
HOW TO CREATE OWA Virtual Directory in Exchange 2007 (using MSH)========================================================================================New-OWAVirtualDirectory -OwaVersion:Exchange2007 -Name “owa” -WebSite “Default Web Site” New-OWAVirtualDirectory -OwaVersion:Exchange2007 -Name “owa” -WebSite “Exchange.1701media.com” OUTPUT: Name Server OwaVersion—- —— ———-owa (Default Web Site) 1701DC01 Exchange2007
Linux local content backup and rotation script
### Script by jim ballowe – content.sh can be put into### /etc/cron.dailly on a RH linux box once complete### and will backup to TARGET location on local filesystem ### Define variables for naming the final backup fileDATE=`date +%Y%m%d-%H%M` # Datestamp e.g 20080109-2200DOW=`date +%A` # Day of the week e.g. MondayDNOW=`date +%u` # Day number of […]