Sunday, November 20, 2016
Mount Windows CDROM in Linux
Make sure your have samba configured and running smbmount //192.188.101.133/D /mnt/cd -o username=mpasha,workgroup=saudilighting,password=userp...
VNC in Linux
VNC server config I am trying to configure VNC server following instructions below VNC Server configuration Setting up VNC server in RHEL or Fedora. 1. up2date vnc-server (RHEL) or yum install vnc-server (Fedora) if you don't have it installed. 2. Edit /etc/sysconfig/vncservers as root. Uncomment the line: VNCSERVERS="1:put_the_user_you_will_log_in_as_here"...
Forcefully unmount a Linux disk partition
How do I forcefully unmount a Linux disk partition? It happens many times you try to unmount a disk partition or mounted CD/DVD disk and if you try to unmount device, which is accessed by other users, then you will get error umount: /xxx: device is busy. However, Linux/FreeBSD comes with fuser command to kill forcefully mounted partition. Understanding...
Get Tape Serial Num in Linux
[root@vmbackup dev]# sg_inq /dev/st0 standard INQUIRY: PQual=0 Device_type=1 RMB=1 \[ANSI_version=3] version=0x03 \[AERC=0] \[TrmTsk=0] NormACA=0 HiSUP=0 Resp_data_format=2 SCCS=0 ACC=0 ALUA=0 3PC=0 Protect=0 BQue=0 EncServ=0 MultiP=0 MChngr=0 \[ACKREQQ=0] Addr16=1 \[RelAdr=0] WBus16=1 Sync=1 Linked=0 \[TranDis=0] CmdQue=0...
How to Reset "root" Password with GRUB on Enterprise Linux
How to Reset "root" Password with GRUB on Enterprise Linux If somehow you have lost the password for the system administrator user "root" you will need to reset it. This document provides a practical method to do that if you have configured system with the GRUB boot loader during the OS installation. It procedure is to boot the system in the "single...
How to Close and Open Ports with iptables
How to Close and Open Ports with iptables Linux dedicated servers typically rely a software firewall system called iptables. With it you can control which ports allow inbound and/or outbound access. It is very important to have iptables configured properly, both for your server’s functionality and for its security. There are many tools, both command-line...
Tools to Monitor Linux Performance

Linux/Unix System administrators need to monitor and debug Linux System Performance problems every day. It is very hard to monitor and keep systems up and running without using proper tools or utilities. Below are some frequently used command line monitoring tools that might...
Saturday, November 19, 2016
Converting A VMware Image To A Physical Machine

Converting A VMware Image To A Physical Machine
This tutorial shows how to convert an existing CentOS VM to a Physical machine. This tutorial covers the cloning of the VM to an unpartitioned HDD and troubleshoot some of the possible errors that you may have booting the OS...
VMware KB: Starting the VMware VirtualCenter Server service fails with the error: Failed to create Secure WebService socket: class Vmacore::SystemException
VMware KB: Starting the VMware VirtualCenter Server service fails with the error: Failed to create Secure WebService socket: class Vmacore::SystemExcepti...
Enabling the VMware vSphere Hot-plug CPU & Hot-Add RAM Feature

Enabling the VMware vSphere Hot-plug CPU & Hot-Add RAM Feature
VMware vSphere’s hot-add Memory and hot-plug CPU functions allow you to add the CPU and Memory while virtual machine is up and running. It will help you to add the additional resources whenever required and...
Friday, November 18, 2016
AIX Useful commands
Useful commandsMemorybootinfo –r shows how much RAM does my machine has (as root)lsattr –E –l sys0 –a realmem shows how much RAM does my machine have (as non root)rmss -c 512rmss -r sets the memory size to 512 MBresets the memory size to the original oneDeviceslsattr -El en0 displays...
Regaining root's password
Regaining root's password 1) Boot from a cd-rom or a bootable Tape. 2) Press F5 or 5. 3) Select option 3 from installation and maintanance menu: Start maintanance menu for system recovery. 4) Follow the option to activate the root vg and obtain the shell. 5) Once a shell is available then run the passwd command to reset the...
AIX File Systems
# File Systems Types:JFS, EJFS, NFS, CD-ROM File systems# File Systems Structure:Superblock: It contains control information about file systems such as a) Size of the file systems b) Name of the file systems c) The System log device d) The version number e) The number of inodes f) List of free inodes and data-bocks g) Date and time of creation...
Determine 64 or 32 bit Unix Kernel and HW
Question: How to determine if I'm running 64 bit Unix Kernel ? Answer: User the following commands AIX getconf -a | grep KERN SOLARIS isainfo -vk HP-UX getconf KERNEL_BITS LINUX getconf LONG_BIT Question: How to determine if my Unix Hardware is 64 bit ? Answer: Use the following commands to determine the Hardware Architecture AIX bootinfo...
AIX Command Crib Sheet
AIX Command Crib Sheet ---------------------------------------------------------------------------- MISCELLENEOUS ---------------------------------------------------------------------------- oslevel Returns operating system level whence (program) Returns full path of program whereis (program) Returms...
1Z0-997
AIX
Backup
Boot
bp commands
Converter
Decommissioning
ESXi - Hypervisor
Interview Questions
LDM Guest Domain
Linux
Logical Domains Manager
Media Server
nbdecommission
nbsetconfig
Netbackup
OEL
OpsCenter Server
Oracle VM Manager
Oracle VM Server
P2V
Redhat
Robots
Safe Mode
Solaris Sparc
Symantec
UNIX
UNIX And Linux World
Upgrade
vCenter Server
VDI
Veritas
Virtual Machine
Virtualization
VMware