Browsed by
Month: January 2017

Linux TarBall Create and Extract

Linux TarBall Create and Extract

Create a TarBall File tar -zcvf archive-name.tar.gz directory-name Where, -z : Compress archive using gzip program -c: Create archive -v: Verbose i.e display progress while creating archive -f: Archive File name For example, say you have a directory called /home/jerry/prog and you would like to compress this directory then you can type tar command as follows: $ tar -zcvf prog-1-jan-2005.tar.gz /home/jerry/prog Above command will create an archive file called prog-1-jan-2005.tar.gz in current directory. If you wish to restore your archive…

Read More Read More

KVM Installation on Linux

KVM Installation on Linux

KVM/Installation  Reference: https://help.ubuntu.com/community/KVM KVM Introduction   Ubuntu uses KVM as the back-end virtualization technology primarily for non-graphic servers and libvirt as its toolkit/API. Libvirt front ends for managing VMs include virt-manager (GUI) or virsh (CLI). Alternative management options include convirt (GUI) or convirt2 (WWW). Documentation   Installation – Installation and removal of KVM Networking – Network configuration; includes bridging Guest Creation – Creation of different kinds of guests Guest Management – Management of guests; command line or graphically Guest Console…

Read More Read More

Adding New OpenStack Roles to an Existing High Availability Cluster

Adding New OpenStack Roles to an Existing High Availability Cluster

Example: Adding New OpenStack or Contrail Roles to an Existing High Availability Cluster This section provides an example of adding new nodes or roles to an existing cluster with high availability enabled. It is organized in the following: Adding New OpenStack or Contrail Roles to an Existing High Availability Cluster Purging a Controller From an Existing Cluster Replacing a Node With a Node That Has the Same IP Address Known Limitations and Configuration Guidelines Understanding How the System Adds a…

Read More Read More

High-Availability Openstack on a shoestring budget: Deploying a Minimal 3-node Cluster

High-Availability Openstack on a shoestring budget: Deploying a Minimal 3-node Cluster

High-Availability Openstack on a shoestring budget: Deploying a Minimal 3-node Cluster Severalnines December 04, 2013 Posted in: Devops As OpenStack deployments mature from evaluation/development to production environments supporting apps and services, high-availability becomes a key requirement. In a previous post, we showed you how to cluster the database backend – which is central to the operation of OpenStack. In that setup, you would have two controllers, while placing a 3-node Galera cluster on separate hosts. Now, it can be quite a…

Read More Read More

Installing VMtools Linux Server with only a command line interface

Installing VMtools Linux Server with only a command line interface

Installing VMtools Linux (Ubuntu) Server with only a command line interface Go to Virtual Machine > Install VMware Tools (or VM > Install VMware Tools).Note: If you are running the light version of Fusion, or a version of Workstation without VMware Tools, or VMware Player, you are prompted to download the Tools before they can be installed. Click Download Now to begin the download. In the Ubuntu guest, run these commands: Run this command to create a directory to mount…

Read More Read More

Installing vSphere 6.0 ESXi Hosts nested – preconfiguration

Installing vSphere 6.0 ESXi Hosts nested – preconfiguration

Installing vSphere 6.0 ESXi Hosts nested – preconfiguration Introduction After covering the installing of the vCSA in the last article, we now care about the ESXi 6.0 Hosts installation and integration. I need to run the ESXi hosts nested as virtual machines themselves as this will be a testing environment. All systems installed are based on an existing physical environment running vSphere 5.5. The process of deploying on physical hosts instead on virtual machines may vary at some points. Existing…

Read More Read More

How To Setup SSH Keys on a Linux System

How To Setup SSH Keys on a Linux System

How To Setup SSH Keys on a Linux / Unix System by Vivek Gite on March 9, 2014 last updated October 20, 2016 in CentOS, Cryptography, Debian / Ubuntu, Linux, Openbsd, RedHat and Friends, UNIX I recently read that SSH keys provide a secure way of logging into a Linux and Unix-based server. How do I set up SSH keys on a Linux or Unix based systems? In SSH for Linux/Unix, how do I set up public key authentication? I…

Read More Read More

Using the vi Text Editor in Linux

Using the vi Text Editor in Linux

How do I use the vi text editor? The vi text editor has three modes: command mode, input mode, and ex mode. Command mode When starting, vi begins in command mode. If you are ever unsure which mode you’re in, press Esc to return to command mode. In command mode, you can move around with the arrow keys, or by using the vi movement keys, as follows: h left j down k up l right Several vi commands are listed…

Read More Read More

Adding Users to sudo Access

Adding Users to sudo Access

Procedure 2.2. Configuring sudo Access Log in to the system as the root user. Create a normal user account using the useradd command. Replace USERNAME with the user name that you wish to create. # useradd USERNAME Set a password for the new user using the passwd command. # passwd USERNAME Changing password for user USERNAME. New password: Retype new password: passwd: all authentication tokens updated successfully. Run the visudo to edit the /etc/sudoers file. This file defines the policies applied by…

Read More Read More