The following guide can be used to reset an administrative root password on XenServer 7 Linux.
Enter XenServer Boot MenuIn the first step, reboot your XenServer into Grub boot menu:
Read more ... The following config will describe steps on how to install OpenXenManager on OpenSuse Linux.
Prerequisites installationThe first step is to install all prerequisites:
# zypper install python-setuptools pygtk2 gtk-vnc-python rrdtool
Read more ... The following article will explain a simple procedure on how to list work days ( business days ) on a Linux command line. Please note that the below procedure does not take into account a public holidays for your relevant country as it simply only shows word days while excluding weekends.
For this we will be using
ncal command. Let's start the complete workout by displaying a calendar for a current month start:
$ ncal -h
Mo 1 8 15 22 29
Tu 2 9 16 23 30
We 3 10 17 24 31
Th 4 11 18 25
Fr 5 12 19 26
Sa 6 13 20 27
Su 7 14 21 28
Read more ...
View cacheA configured domain name service ( DNS ) server such as Bind may store previously resolved domain names to a local cache. By default the cached records will be stored for 7 days. The cache can be reused for future domain name resolutions. First, let's see how we can view all cached domain name resolutions:
# rndc dumpdb -cache
The above command will dump bind's cache into
/var/cache/bind/named_dump.db. In case you cannot locate this file after you have executed the above command then check your server's configuration files to reveal the location of cache dump file. To view cached dns records simply
grep the resulting dump file. For example:
# grep gnu.org /var/cache/bind/named_dump.db
gnu.org. 86358 NS ns1.gnu.org.
86358 NS ns2.gnu.org.
86358 NS ns3.gnu.org.
ns1.gnu.org. 86358 A 188.8.131.52
ns2.gnu.org. 86358 A 184.108.40.206
ns3.gnu.org. 86358 A 220.127.116.11
Read more ... August 22, 2016
by Rares Aioanei
IntroductionWhat are snaps and why you should use them? The Linux ecosystem has suffered from an old problem since the dawn of the concept of 'distribution', and that problem is fragmentation. One of the biggest issues that cause this fragmentation is different package formats; I can't run my .debs on my Fedora system or my .rpms on my Ubuntu machine. Yes, we do have alien, which should allow the transition between the two formats, but there are two problems with this approach : there are other package formats besides rpm and deb and besides, alien doesn't always work as expected. So the issue is still there, or I should say, was there. Enter snap, the universal Linux package format, which strives to offer users and developers a single packaging format and easiness when it comes to creating new packages with the applications and libraries that are needed, ensuring that said packages are easily shareable between distributions. Dell, Samsung and the Linux Foundation are quoted as contributors, while among supported distributions are Fedora, Ubuntu, Arch or OpenSUSE.
This article will detail how to use snaps as a simple user, as well as instructions for developers/packagers on how to create snaps for others to use. The OS we're gonna use is Ubuntu 16.04, but the instructions below shouldn't be hard to adapt to other distributions.
Snaps as a simple userThis part will give you a tour of snap from a user perspective : how to install the necessary tools and how to use them for basic, day-to-day usage. First, you need to install snapcraft, a package that provide snap, the go-to tool for aforementioned day-to-day operations :
$ sudo apt install snapcraft
Read more ...