giovedì 21 febbraio 2013

RedHat Use CDROM as repository

Try the following To install using yum / DVD:

Mount Redhat 5 DVD on your server/workstation. 

Create a new file xxx.repo in /etc/yum.repos.d/ with the following contents to update directly from the RPMs on the disk:

[dvdmedia]
name=Red Hat 5 DVD
baseurl=file:///path/to/mounted/DVD/rpms/
enabled=1


yum groupinstall "GNOME Desktop Environment"

After the installation either remove the created file from /etc/yum.repod.d  or disable it with "enabled=0"

Let me know if this worked for you.


For future use I recommend you to get the license for RHEL (for updates), or installing Fedora Core which is in all ways same product without the paid(license)  support from Red Hat.

in case you get a problem with public key:

In case someone hit this thread like I did:

The provider of your .rpm signed it with its private key to proove it is a genuine file from them.
We can verify it with the public key (but not sign, see wikipedia RSA PKI about public/private keys FYI)

Practically that means you need to find the public key and import it
in my case it was a file named: RPM-GPG-KEY ( from Red HAt distro)

suggestion: find / -name "*GPG*" 

then import the public key with: rpm --import *GPG*
and it should be ok.


In my case:
Public key for openoffice.org-libs-1.1.5-10.6.0.2.EL4.i386.rpm is not installed
[root@taz isoCDs]# rpm --import /mounted_RHEL4.6-i386-ES-disc4/RPM-GPG-KEY
[root@taz isoCDs]# yum install openoffice.org.i386

giovedì 14 febbraio 2013

Configure the Router to Cisco ios 12.0 Automatically Boot from an Image in Flash Memory


Router# configure terminal
Router(config)# boot system flash gsnew-image
Router(config)# config-register 0x010F
Router(config)# end
Router# copy system:running-config nvram:startup-config
[ok]
Router# reload
[confirm]

%SYS-5-RELOAD: Reload requested
System Bootstrap, Version 4.6(0.16), BETA SOFTWARE
Copyright (c) 1986-1995 by cisco Systems
RP1 processor with 16384 Kbytes of memory
F3: 1871404+45476+167028 at 0x1000

giovedì 8 novembre 2012

Memory Limits on Microsoft OS


Physical Memory Limits: Windows 8

The following table specifies the limits on physical memory for Windows 8.
VersionLimit on X86Limit on X64
Windows 8 Enterprise
4 GB
512 GB
Windows 8 Professional
4 GB
512 GB
Windows 8
4 GB
128 GB

Physical Memory Limits: Windows Server 2012

The following table specifies the limits on physical memory for Windows Server 2012. Windows Server 2012 is available only in X64 editions.
VersionLimit on X64
Windows Server 2012 Datacenter
4 TB
Windows Server 2012 Standard
4 TB
Windows Server 2012 Essentials
64 GB
Windows Server 2012 Foundation
32 GB
Windows Storage Server 2012 Workgroup
32 GB
Windows Storage Server 2012 Standard
4 TB
Hyper-V Server 2012
4 TB

Physical Memory Limits: Windows 7

The following table specifies the limits on physical memory for Windows 7.
VersionLimit on X86Limit on X64
Windows 7 Ultimate
4 GB
192 GB
Windows 7 Enterprise
4 GB
192 GB
Windows 7 Professional
4 GB
192 GB
Windows 7 Home Premium
4 GB
16 GB
Windows 7 Home Basic
4 GB
8 GB
Windows 7 Starter
2 GB
N/A

Physical Memory Limits: Windows Server 2008 R2

The following table specifies the limits on physical memory for Windows Server 2008 R2. Windows Server 2008 R2 is available only in 64-bit editions.
VersionLimit on X64Limit on IA64
Windows Server 2008 R2 Datacenter
2 TB
Windows Server 2008 R2 Enterprise
2 TB
Windows Server 2008 R2 for Itanium-Based Systems
2 TB
Windows Server 2008 R2 Foundation
8 GB
Windows Server 2008 R2 Standard
32 GB
Windows HPC Server 2008 R2
128 GB
Windows Web Server 2008 R2
32 GB

Physical Memory Limits: Windows Server 2008

The following table specifies the limits on physical memory for Windows Server 2008. Limits greater than 4 GB for 32-bit Windows assume that PAE is enabled.
VersionLimit on X86Limit on X64Limit on IA64
Windows Server 2008 Datacenter
64 GB
1 TB
Windows Server 2008 Enterprise
64 GB
1 TB
Windows Server 2008 HPC Edition
128 GB
Windows Server 2008 Standard
4 GB
32 GB
Windows Server 2008 for Itanium-Based Systems
2 TB
Windows Small Business Server 2008
4 GB
32 GB
Windows Web Server 2008
4 GB
32 GB

Physical Memory Limits: Windows Vista

The following table specifies the limits on physical memory for Windows Vista.
VersionLimit on X86Limit on X64
Windows Vista Ultimate
4 GB
128 GB
Windows Vista Enterprise
4 GB
128 GB
Windows Vista Business
4 GB
128 GB
Windows Vista Home Premium
4 GB
16 GB
Windows Vista Home Basic
4 GB
8 GB
Windows Vista Starter
1 GB

Physical Memory Limits: Windows Home Server

Windows Home Server is available only in a 32-bit edition. The physical memory limit is 4 GB.

Physical Memory Limits: Windows Server 2003 R2

The following table specifies the limits on physical memory for Windows Server 2003 R2. Limits over 4 GB for 32-bit Windows assume that PAE is enabled.
VersionLimit on X86Limit on X64
Windows Server 2003 R2 Datacenter Edition
64 GB
(16 GB with 4GT)
1 TB
Windows Server 2003 R2 Enterprise Edition
64 GB
(16 GB with 4GT)
1 TB
Windows Server 2003 R2 Standard Edition
4 GB
32 GB

Physical Memory Limits: Windows Server 2003 with Service Pack 2 (SP2)

The following table specifies the limits on physical memory for Windows Server 2003 with Service Pack 2 (SP2). Limits over 4 GB for 32-bit Windows assume that PAE is enabled.
VersionLimit on X86Limit on X64Limit on IA64
Windows Server 2003 with Service Pack 2 (SP2), Datacenter Edition
64 GB
(16 GB with 4GT)
1 TB
2 TB
Windows Server 2003 with Service Pack 2 (SP2), Enterprise Edition
64 GB
(16 GB with 4GT)
1 TB
2 TB
Windows Server 2003 with Service Pack 2 (SP2), Standard Edition
4 GB
32 GB

Physical Memory Limits: Windows Server 2003 with Service Pack 1 (SP1)

The following table specifies the limits on physical memory for Windows Server 2003 with Service Pack 1 (SP1). Limits over 4 GB for 32-bit Windows assume that PAE is enabled.
VersionLimit on X86Limit on X64Limit on IA64
Windows Server 2003 with Service Pack 1 (SP1), Datacenter Edition
64 GB
(16 GB with 4GT)
X64 1 TB
1 TB
Windows Server 2003 with Service Pack 1 (SP1), Enterprise Edition
64 GB
(16 GB with 4GT)
X64 1 TB
1 TB
Windows Server 2003 with Service Pack 1 (SP1), Standard Edition
4 GB
32 GB

Physical Memory Limits: Windows Server 2003

The following table specifies the limits on physical memory for Windows Server 2003. Limits over 4 GB for 32-bit Windows assume that PAE is enabled.
VersionLimit on X86Limit on IA64
Windows Server 2003, Datacenter Edition
64 GB
(16 GB with 4GT)
512 GB
Windows Server 2003, Enterprise Edition
64 GB
(16 GB with 4GT)
512 GB
Windows Server 2003, Standard Edition
4 GB
Windows Server 2003, Web Edition
2 GB
Windows Small Business Server 2003
4 GB
Windows Compute Cluster Server 2003
32 GB
Windows Storage Server 2003, Enterprise Edition
8 GB
Windows Storage Server 2003
4 GB

Physical Memory Limits: Windows XP

The following table specifies the limits on physical memory for Windows XP.
VersionLimit on X86Limit on X64Limit on IA64
Windows XP
4 GB
128 GB
128 GB (not supported)
Windows XP Starter Edition
512 MB
N/A
N/A

Physical Memory Limits: Windows Embedded

The following table specifies the limits on physical memory for Windows Embedded.
VersionLimit on X86Limit on X64
Windows XP Embedded
4 GB
Windows Embedded Standard 2009
4 GB
Windows Embedded Standard 7
4 GB
192 GB

mercoledì 10 ottobre 2012

Vmware Guest mount USB external Disk


USB can be used by Guest OS by editing the settings of a Virtual Machine and then choosing the "Hardware" TAB Once you are at the HARDWARE Tab you can click "ADD" and select a USB Controller.
Once you have added a USB Controller you then repeat the same process, except this tieme add a USB Device instead of a controller.

You will see any attached USB devices in a list to choose from.

Once added you then need to open the console of the Virtual Machine, and Mount it to the USB connector. (the little USB icon at the top of the Console Window).

Login the windows system and it should find the disk automaticaly.

lunedì 8 ottobre 2012

Linux partitioning with fdisk

I start fdisk from the shell prompt:
# fdisk /dev/hdb 
which indicates that I am using the second drive on my IDE controller. (See Section 2.1.) When I print the (empty) partition table, I just get configuration information.
Command (m for help): p

Disk /dev/hdb: 64 heads, 63 sectors, 621 cylinders
Units = cylinders of 4032 * 512 bytes
I knew that I had a 1.2Gb drive, but now I really know: 64 * 63 * 512 * 621 = 1281982464 bytes. I decide to reserve 128Mb of that space for swap, leaving 1153982464. If I use one of my primary partitions for swap, that means I have three left for ext2 partitions. Divided equally, that makes for 384Mb per partition. Now I get to work.
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-621, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-621, default 621): +384M
Next, I set up the partition I want to use for swap:
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (197-621, default 197):
Using default value 197
Last cylinder or +size or +sizeM or +sizeK (197-621, default 621): +128M
Now the partition table looks like this:
   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1             1       196    395104   83  Linux
/dev/hdb2           197       262    133056   83  Linux
I set up the remaining two partitions the same way I did the first. Finally, I make the first partition bootable:
Command (m for help): a
Partition number (1-4): 1
And I make the second partition of type swap:
Command (m for help): t
Partition number (1-4): 2
Hex code (type L to list codes): 82
Changed system type of partition 2 to 82 (Linux swap)      
Command (m for help): p
The end result:
Disk /dev/hdb: 64 heads, 63 sectors, 621 cylinders
Units = cylinders of 4032 * 512 bytes
 
   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1   *         1       196    395104+  83  Linux
/dev/hdb2           197       262    133056   82  Linux swap
/dev/hdb3           263       458    395136   83  Linux
/dev/hdb4           459       621    328608   83  Linux          
Finally, I issue the write command (w) to write the table on the disk.
to format disk:

mkfs.ext3 (for ext3 file system)
mkfs.ext4 (for ext4 file system)
mkfs.swap (for swap file system)



martedì 25 settembre 2012

VMware Import Export OVA files


About OVF (Open Virtualization Format)
It is an open standard used across different virtualization platform. An OVF virtual machine consists of a directory containing virtual machine files and a file describing them.
About OVA (Open Virtualization Appliance)
It is a single compressed file containing the contents of an OVF directory.
VMware OVF tool
VMware OVF tool is a command line utility that supports import and export of OVF packages to and from vSphere infrastructure.


ExportC:\Program Files\VMware\VMware OVF Tool>ovftool.exe "vi://username:password@vCenterIP:443/DataCenter_Name/vm/Demo-W7-VM" "C:\VM-Backup\Demo-W7-VM.ova"
ImportC:\Program Files\VMware\VMware OVF Tool>ovftool.exe "--datastore=datastore1" "--network=VM-Network" "C:\VM-Backup\Demo-W7-VM.ova" "vi://username:password@vCenterIP/DataCenter_Name/host/Cluster_Name/hostIP"

lunedì 9 luglio 2012

VMware Manually Assigning a MAC Address to Virtual machine Cisco CUOM


Operations Manager supports VMware ESX 3.5, ESXi 4.x, and ESXi 5.0. Operations Manager musthave the same system resources available to it, inside the virtualization environment that it has for astandard (nonvirtual) installation.While determining the performance of Operations Manager in your virtual setup, you should be awarethat the VMware instance will use some system resources that would normally be available to OperationsManager in a standard installation. Additional requirements for running Operations Manager in avirtualization environment might vary with your environment and system load.Operations Manager can be installed on a virtual machine with dynamic MAC address for evaluation.However, you must configure the virtual machine with a static MAC address to purchase the permanentlicense for Operations Manager.

The static MAC address is required because licensing uses node-locking technology. The license file can
only be used with the static MAC address that you supply.
Note The static MAC address must be within the following range: 00:50:56:00:00:00 to 00:50:56:3F:FF:FF.
To set up a static MAC address:
Step 1 Power down the virtual machine.
Step 2 In the Inventory panel, select the virtual machine.
Step 3 Click the Summary tab and then click Edit Settings.
Step 4 In the Hardware list, select Network Adapter.
Step 5 For MAC address, select Manual.
Step 6 Change the current MAC address of the virtual machine to a static MAC address in the following range:
00:50:56:00:00:00 to 00:50:56:3F:FF:FF.
Step 7 Click OK.