Google Cloud basics: Activate Cloud Shell
The Linux Juggernaut
by Sahil Suri
3y ago
Introduction Google CLoud like it’s popular contemporary cloud vendors offers a means to manage cloud resources via the command line. The folks at GCP refer to this command line interface as cloud shell and it uses the gcloud sdk. One of the benefits of using cloud shell is that it can be launched directly from the Google Cloud console. In this post, we’ll demonstrate how to familiarize yourself with cloud shell while explaining some Google Cloud terminology along the way. Activate Cloud Shell Cloud Shell is a virtual machine that is loaded with development tools. It offers a persistent 5GB h ..read more
Visit website
Create persistent swap partition on Azure Linux VM
The Linux Juggernaut
by Sahil Suri
3y ago
Introduction Swap space is storage on a disk device that is used when the system’s RAM (physcial memory) is full. When a Linux system runs out of RAM, inactive memory pages are moved from the RAM to the swap space. Swap space can take the form of either a dedicated swap partition or a swap file. It is recommended that the swap space should reside on a dedicated partition and a swap file should be used as a last resort. This article is not a deep dive on swap space in Linux but we did want to refresh the concept of it. In this post, we will explain how we could create swap space on a Linux VM ..read more
Visit website
DNF, YUM and RPM package manager comparison
The Linux Juggernaut
by Sahil Suri
3y ago
Introduction We have been using the yum or rpm package management tools for a while for managing packages in Redhat, Centos and other distributions which have been forked from RHEL. Yum has been the default package manager since Redhat Enterprise Linux 5 onwards. Before yum, RHEL systems had been using the up2date software management program. The DNF package manager was introduced in Fedora 18 and became the default package manager for the Fedora distribution for operating system version Fedora 22 onwards and is intended to be a replacement for yum. In this article, we will compare these pack ..read more
Visit website
Introduction to the aptitude package manager for Ubuntu
The Linux Juggernaut
by Sahil Suri
3y ago
Introduction In our ongoing series of articles covering various software management tools, we have already covered, dpkg,apt-get and apt. In this article, we’ll cover the aptitude tool for package management on our Ubuntu 16.04 system. The aptitude command is a very useful, text-based utility for managing packages on your server.  Some administrators use it as an alternative to apt.  The aptitude package management software provides a command line utility named aptitude but a powerful text user interface as well. The TUI displays a list of software packages and allows the user to in ..read more
Visit website
Zypper package management tool examples for managing packages on SUSE Linux
The Linux Juggernaut
by Sahil Suri
3y ago
Introduction The zypper package management tool performs the same function for SUSE Linux as yum and apt perform for RedHat and Debian based systems respectively. SUSE (Software and System Entwicklung (Germany) meaning Software and System Development, in English) Linux runs on top of the open-source Linux kernel. The SUSE Linux distribution is available in two variants, a community-driven project named OpenSUSE and a commercial version named SUSE Linux Enterprise. Zypper and YaST are the two command line tools used for package management in OpenSUSE and SUSE Enterprise Linux platforms. Both to ..read more
Visit website
APT-CACHE and APT-GET commands for package management in Ubuntu
The Linux Juggernaut
by Sahil Suri
3y ago
Introduction In an earlier article, we demonstrated how you could use the dpkg package manager to install, remove and query information about software packages in the Ubuntu OS. In this article, we will show you how to use apt-cache to search for and query information about packages available in online and local repositories and we will also show you how to use apt-get to install and uninstall packages. Essentially apt-cache is the tool we use to query the apt software cache to obtain information about packages and apt-get is the tool we use for installing packages and modifying the state of ..read more
Visit website
12 DPKG command examples
The Linux Juggernaut
by Sahil Suri
3y ago
Introduction The package manager for Debian and distros derived from Debian is called dpkg or Debian package. As users, we can use dpkg directly or use higher level programs like apt(advanced package management tool) which gives us a few more features. Utilities such as dpkg-deb and dpkg-query use dpkg as a front-end to perform some actions. In this article, we will demonstrate how you can use the dpkg package manager to list, install, uninstall and query package on an Ubuntu 16.04 system. Example 1: Display dpkg version To display the version of the dpkg package manager installed on your sys ..read more
Visit website
Monitoring a Remote Centos 6 server with Nagios core
The Linux Juggernaut
by Sahil Suri
3y ago
Introduction In our earlier articles on nagios we explained in detail how to install nagios core on the centos 6 system and configure it. In this article we will explain step by step how to monitor a remote machine with nagios core. Prerequisites: We will be installing the packages required for configuring nagios on a client machine using the EPEL repository therefore it must be enabled on the system. Please go through our article on how to enable the EPEL repository if you are unfamiliar about how to do so. Install NRPE and nagios plugins Now we will install the nrpe package along with ..read more
Visit website
Installing Nagios on Centos 7 part 3 (Nagios configuration)
The Linux Juggernaut
by Sahil Suri
3y ago
Introduction In our previous two articles we’ve explained how to install Nagios core on a Centos 7 system and how to install Nagios plugin and the Nagios Remote Plugin Executor. In this article we will explain how to configure Nagios so that we can have the web interface up and running. Note that this needs to be done only once on the Nagios server. You may make amendments as deemed necessary. Update the Nagios main configuration file: The nagios.cfg file is the heart of your nagios core configuration. The location of this file may vary depending on where you installed nagios. The general loc ..read more
Visit website
Nagios installation on Centos 7 part 2 (installing plugins and NRPE)
The Linux Juggernaut
by Sahil Suri
3y ago
Introduction In our previews article we walked you through installing nagios core on a Centos 7 system. In this article we will explain how to install Nagios plugins and the Nagios Remote Plugin Executor (NRPE) package. How does Nagios work? Nagios core runs from a central server which holds the configuration files. It runs active checks to monitor the state of services like HTTP and SSH, check if the server is up via ICMP and also monitor resource consumption like in the form of CPU load, memory utilization etc. The core server has a huge library of plugins and much of the functionality and ..read more
Visit website

Follow The Linux Juggernaut on FeedSpot

Continue with Google
Continue with Apple
OR