Oracle Virtual Box VM:-How to create network setting and interface in Oracle Virtual Box to connect internet as well as connect from host

This note will describe the process to connect Oracle Virtual box VM directly from your host using ssh as well as from VM to internet connection. I will use 2 types of VM interface. a)NAT network for internet connection from VM b)Host only adapter for ssh connection from host to the VM. Step 1:-First I will go to File->Preferences and […]

Add additional swap space in RHEL 7

This document describes process to add additional swap space in RHEL 7. 1.First partition your newly added disk [root@LinuxAcademy dev]# gdisk /dev/xvdf GPT fdisk (gdisk) version 0.8.10 Partition table scan: MBR: not present BSD: not present APM: not present GPT: not present Creating new GPT entries. Command (? for help): n Partition number (1-128, default 1): First sector (34-41943006, default […]

Create new mount point using LVM in RHEL 7

First install gdisk utility (you may use old fdisk utility if LUN/drive size is less than 2 TB) -bash-4.1$ yum install gdisk Loaded plugins: fastestmirror, security You need to be root to perform this command. -bash-4.1$ su Password: [root@LinuxAcademy linuxacademy]# yum install gdisk Loaded plugins: fastestmirror, security Setting up Install Process Determining fastest mirrors * base: mirror.cs.pitt.edu * extras: mirrors.advancedhosters.com […]

Unix basic command and shell script for DBA and SYSADMIN

DIRECTORY STRUCTURE IN UNIX   Directory Contains bin/ Required Boot-time binaries boot/ Boot configuration files for the OS loader and kernel image dev/ Device files etc/ System configuration files and scripts home/ User/Sub branch directories lib/ Main OS shared libraries and kernel modules Lost+found/ Storage directory for “recovered” files mnt/ Temporary point to connect devices to proc/ Pseudo directory structure containing […]