Author Archives: Gkhan

Could not create the java Virtual Machine

Could not create the java Virtual Machine             When that happens, the easiest solution that has been tested on Windows XP, Windows 7 and Windows 8 is:

Posted in Uncategorized | Tagged | Leave a comment

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 … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

How to Show All NAT Tables Rules IPTABLES

How to Show All NAT Tables Rules IPTABLES iptables -t nat -L iptables -t nat -L -n -v | grep ‘something’ iptables -t nat -L -n -v The netstat-nat command display the natted connections on a Linux iptable firewall yum … Continue reading

Posted in Linux | Tagged | Leave a comment

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 … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

How to Bring Up a SVI Interface Cisco Switch

How to Bring Up a SVI Interface  Cisco Switch SVI must meet all of the following conditions to transition to the full “up/up” state. 1- The VLAN must exist and be active in the VLAN database. 2- At least one … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

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 … Continue reading

Posted in Uncategorized | 1 Comment

no “setup” command found in CentOS minimal install

no “setup” command found in CentOS minimal install In Minimum Install this will not get install If we got below Error, we need to install some packages to get work with setup command [root@gkhan.in ~] setup -bash: setup: command not … Continue reading

Posted in Linux | Tagged | Leave a comment

NAT information saved in Elastix by FreePBX

NAT information saved in Elastix by FreePBX /etc/asterisk/sip_general_additional.conf

Posted in Uncategorized | Tagged | Leave a comment

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 … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

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 … Continue reading

Posted in Uncategorized | Leave a comment