How to install CentOS on Remote Server or VPS

How to install CentOS on Remote Server or VPS

If you want to install CentOS remotely on server on slow link  even if you are able to mount the CentOS  installation media as DVD iso .It takes lots of time and some time corrupted installation .

Linux is having a feature Netinstall you can use that feature and install the CentOS as version you want.

1- Download the Netinstall bootable media ISO file version you would like to install.

http://archive.kernel.org/centos-vault/

For demo I am going to install CentOS 5.5 32 bit

1- I went to following directory

http://archive.kernel.org/centos-vault/5.5/isos/i386/

Read more

How to scan HBA Vmware ESXi Vmware Power CLI

How to scan HBA Vmware ESXi Vmware Power CLI Connect to your ESX or VCenter Server Connect-VIServer -Server 192.168.1.10  -Protocol https -User Administrator@vsphere.local -Password P@ssw0rd To Scan all ESXi hosts is Cluster Get-Cluster ‘cluster name‘ | Get-VMHost  | Get-VMHostStorage -RescanAllHba To scan single ESX  host Get-VMHost ‘192.168.1.11‘ | Get-VMHostStorage -RescanAllHba  

How to enable ESXi SSH And ESXi Shell Using PowerCLI

How to enable ESXi SSH And ESXi Shell Using PowerCLI

Connect to the VCenter Server

 

#Connect to VCenter Server 
Connect-VIServer -Server 192.168.10.1 -Protocol https -User Administrator@vsphere.local -Password P@ssw0rd

#Now Check which serveries are running and you want to start or stop
Get-VMHost 192.168.10.11 | Get-VMHostService

Now you will get slimier  to below screen

Read more

Extension information saved in Elastix

Extension information saved in Elastix cat /etc/asterisk/sip_additional.conf   [root@pbx asterisk]# cat /etc/asterisk/sip_additional.conf ;——————————————————————————–; ; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ; ; this file must be done via the web gui. There are alternative files to make ; ; custom modifications, details at: http://freepbx.org/configuration_files ; ;——————————————————————————–; ; … Read more

How to get vms, with their current ips, macaddresses, networkcard types

How to get vms, with their current ips, macaddresses, networkcard types Below are the script i got to get all VM name UUID, VLAN assigned, MAC address , IP address,Network card type. Its export in CSV .   $reportedvms=New-Object System.Collections.ArrayList $vms=get-view -viewtype virtualmachine |Sort-Object -Property { $_.Config.Hardware.Device | where {$_ -is [VMware.Vim.VirtualEthernetCard]} | Measure-Object | … Read more