System Administration & Configuration

How to install Google Chrome Browser on Kali Linux

Objective The objective is to install Google Chrome web browser on Kali Linux. See an appendix for a possible issue troubleshooting. Requirements Privileged access to your Kali Linux installation or Live system is required. Difficulty EASY Conventions
Read More...

How to install SSH ( secure shell ) service on Kali Linux

Objective The objective is to install SSH ( secure shell ) service on Kali Linux. Requirements Privileged access to your Kali Linux installation or Live system is required. Difficulty EASY Conventions
Read More...

VIM - Unable to paste - E353: Nothing in register " error - Solution

Symptoms The following error message appears after a paste attempt is made using middle mouse button: E353: Nothing in register " This error first appeared with VIM version 8:
Read More...

Check your Local and Public IP address

Your Local IP address is: - Above is your local/private IP address(es) assigned to your internal hardware or virtual network card on your computer. Depending on your LAN configuration the above IP addresses may be static or dynamic. In case you can't find any address above, to check your internal IP address manually on Linux with ifconfig or ip command execute: # ifconfig | grep -w inet | awk '{ print \$2}' OR # ip a s | grep -w inet | awk '{ print \$2}' var userip; document.write(" Your...
Read More...

LEMP ( Linux, Nginx, MySQL, PHP7 ) stack Docker image deployment

About The automated build docker LEMP image linuxconfig/lemp-php7 can be used as a testing and also as a production environment for a dynamic PHP applications. It comprises of Debian GNU/Linux, lightweight and yet powerful Nginx webserver, MySQL relational database management system and PHP scripting language. At the time of writing, Debian Linux does not come with PHP 7 as a part of a its standard repository. From this reason PHP 7 was compiled from the source code during docker image build...
Read More...

Simple way for unattended bulk user creation in Linux

Introduction As a Linux system administrator, you will sometimes have to add new user account to your system. To do so, adduser command is often used. When it comes to multiple users' creation, adduser command may become boring and time-consuming. This short article intends to provide the Linux system administrator with a simple and unattended way for bulk user creation. The newusers command will help you to create multiple users by getting their info from a prefilled file. Requirements...
Read More...

Play Netflix on Linux with Firefox

Introduction Netflix and Linux have a somewhat troubled past. For years, Netflix actively blocked Linux users. More recently, support for Google Chrome was added. Firefox users, however, have been out of luck until just recently. As of Firefox 49, the option of using Google's DRM from the Chrome browser to play DRM content has been made optionally available to Firefox users. This has made it possible to watch Netflix, and potentially other DRM streaming services, using Firefox and without...
Read More...

How to increase screen resolution on XenServer 7 GUI Virtual Machine (VM)

Objective If your intention is to use XenServer's virtual machine as a remote desktop, the default screen resolution may not be satisfactory for your purposes.
Read More...

Configuring WINE with Winetricks

Introduction If winecfg is a screwdriver, winetricks is a power drill. They both have their place, but winetricks is just a much more powerful tool. Actually, it even has the ability to launch winecfg . While winecfg gives you the ability to change the settings of WINE itself, winetricks gives you the ability to modify the actual Windows layer. It allows you to install important components like .dlls and system fonts as well as giving you the capability to edit the Windows registry. It also...
Read More...

Using WINE Prefixes

Introduction It's probably best to think of WINE prefixes sort of like virtual machines. They're not virtual machines, but they do behave somewhat similarly. A WINE prefix is a folder that contains all of the WINE configurations as well as all of the Windows pieces that WINE uses for compatibility, including libraries and a registry. The default WINE prefix is ~/.wine , but different and multiple prefixes can be used.
Read More...

Configuring WINE with Winecfg

Introduction Many programs work under WINE with absolutely no configuration. The second WINE is installed, it can flawlessly run them. Unfortunately, that isn't always the case, and applications are constantly being updated, so the list of flawless applications is always changing. It's a good thing that WINE can be configured to accommodate potentially troublesome programs. There are two main utilities for doing so, winecfg and winetricks . This guide will cover the former, and a future guide...
Read More...

Basic Guide To Encrypting Linux Partitions With LUKS

October 22, 2016 by Nick Congleton Intro There are plenty of reasons why people would need to encrypt a partition. Whether they're rooted it privacy, security, or confidentiality, setting up a basic encrypted partition on a Linux system is fairly easy. This is especially true when using LUKS, since its functionality is built directly into the kernel. Installing Cryptsetup Debian/Ubuntu On both Debian and Ubuntu, the cryptsetup utility is easily available in the repositories. The same should be...
Read More...

The absolute and minimalistic beginner's guide to GIT version control system

Git is a version control system which means that it allows you to keep track of your code or any kind of text throughout the development. Meaning, you can rewind back and forward to any stage of the code development. Without going into much detail, this is done mainly via few basic commands: clone , add , commit , push and pull .
Read More...

Installing NVIDIA Drivers All Major Linux Distributions

Intro NVIDA supports Linux with its proprietary drivers nearly as well as it does Windows. That said, it's no secret that NVIDIA has long been the go-to choice for gaming on Linux. Unfortunately, even though the drivers support Linux well, installing them can become more complicated when dealing with different distributions. In many cases, the process is very simple but not well documented. In others, it's a bit tougher, but there is no reason that you can't get the latest NVIDIA drivers for...
Read More...

How to export/import VM to/from a backup file using command line on XenServer

Objective The objective is to first export XenServer's virtual machine into a regular backup file and later import a new virtual machine from the previously generated backup file. Requirements Privileged access to XenServer's command line. Difficulty EASY Instructions Identify VM's UUID We start by identifying a virtual machine we would lake to export to as a regular backup file. Run xe vm-list to list all available virtual machines and take a note of the virtual machine in question: # xe...
Read More...

How to take and restore VM snapshot using command line on XenServer

Objective The objective is to create a new snapshot of a XenServer virtual machine and later restore from this snapshot. Requirements Privileged access to XenServer's command line. Difficulty EASY Instructions Identify VM's UUID First, we need to identify a VM's UUID we wish to take a snapshot from. Use xe vm-list to list all available VM: # xe vm-list uuid ( RO) : 7371124f-7d4d-66b7-cbc7-a98b1457543e name-label ( RW): Debian Jessie 8.5 power-state ( RO): halted uuid ( RO) :...
Read More...

xe - full command list reference with description for XenServer

appliance-assert-can-be-recovered reqd params : uuid optional params : database: description : Test whether storage is available to recover this VM appliance. appliance-create reqd params : name-label optional params : name-description description : Create a VM appliance. appliance-destroy reqd params : uuid optional params : description : Destroy a VM appliance. appliance-list reqd params : optional params : params, database:, uuid, name-label, name-description, VMs, allowed-operations,...
Read More...

How to rename VM ( virtual machine ) name label on XenServer

Objective The objective is to set a new name label on a existing XenServer's VM ( virtual machine ). Requirements Privileged access to XenServer's command line as well as configured ISO image storage containing an ISO image of the Linux distribution you wish to install. Difficulty EASY Instructions Identify VM's UUID In order to set/rename VM's name label we fisrt need to identify its UUID. List all VM's and take a note of a relevant UUID. Example: # xe vm-list uuid ( RO) :...
Read More...

How to create a new virtual machine on XenServer using command line

Objective Deployment of XenServer virtual machine using command line. Requirements Privileged access to XenServer's command line as well as configured ISO image storage containing an ISO image of the Linux distribution you wish to install. Difficulty MODERATE Instructions Deploy VM template and gather information In this guide we will be creating a new Ubuntu Linux based virtual machine. However, the below procedure will fit any decent Linux distribution as along as it is supported by...
Read More...

How to rename VDI/Virtual disk on XenServer Linux

Objective The Virtual Machine creation using template provisioner may spawn unnamed VDI disks. Usually, the VID description states Created by template provisioner at most. Example: uuid ( RO) : 093e128a-2632-43bd-bb45-8f864bc69d6f name-label ( RW): 0 name-description ( RW): Created by template provisioner sr-uuid ( RO): 3ef7b35b-5d39-7414-0c91-bbb281b9a521 virtual-size ( RO): 21474836480 sharable ( RO): false read-only ( RO): false The objective is to set a proper name and description to VDI...
Read More...