How to Switch Desktop Environments in Ubuntu/Debian From the Command Line

Switching Between Desktop Environments To switch between desktop environments on a Debian based distro run the following command: Then you should be presented with the desktop environments you have installed on your system so you can choose one of them: There are 7 choices for the alternative x-session-manager (providing /usr/bin/x-session-manager). Selection Path Priority Status ———————————————————— … Read more

NetworkManager

In Ubuntu 21.04, you will not see and files at /etc/network/interfaces. Also, in checking /etc/neteplan/01-network-manager-all.yaml there is a message: Change to static IP address if you use Ubuntu as a server. The interface name [enp1s0] is different on each environment, replace it to your own one. Rename to disable default setting Create new Edits: # … Read more

ApacheSolr vulnerability CVE-2021-44228 for Log4j

A vulnerability in Apache Log4j, a widely used logging package for Java has been found. The vulnerability, which can allow an attacker to execute arbitrary code by sending crafted log messages, has been identified as CVE-2021-44228 and given the name Log4Shell. It was first reported privately to Apache on November 24 and was patched with version 2.15.0 of Log4j on December 9. It affects Apache Struts, Apache Solr, Apache Druid, Elasticsearch, Apache Dubbo, and VMware vCenter. Since then, it has been disclosed that in certain non-default conditions, the original patch was incomplete; this was designated as CVE-2021-45046 and a new version of Log4j, 2.16.0, has been released.

Read more

Install Proxmox VE on Debian 11 Bullseye 3 Node Cluster with Ceph

The installation of a supported Proxmox VE server should be done via bare-metal ISO installer. In some cases it makes sense to install Proxmox VE on top of a running Debian Bullseye 64-bit, especially if you want a custom partition layout. For this How-To any official Bullseye installation medium should work.

For this Demo, I am installing 3 KVM VM’s. As you can do VM nesting. Also, you can do this on Vmware or Hyper V. Here is the Architecture.

Read more

Display Linux Logo with Hardware Info Using Screenfetch or Neofetch

ScreenFetch and Neofetch ares a system information tools designed primarily for Bash Shell but function with other shell environment as well. The tools are smart enough to auto-detect the Linux distribution you are using and generate the ASCII logo of the distribution with certain valuable information to the right of logo. They are also cool to look at on login.

Read more

Remove Nginx

Removes all but config files: or remove everything: After using any of the above commands, use this in order to remove dependencies used by nginx which are no longer required:

Install MySQL, Nginx and Zabbix on Debian 11

At first, let’s update the packages: Next, download MySQL from the offical page or use wget command: Get the repo package When you attempt to install the package, it will ask you what product and version you want to install. Here you can select The MySQL version, Tools, Connectors (like MySQL Workbench), and preview packages. … Read more

Install Redis High Availability Architecture with Sentinel

Redis Sentinel is a dedicated process to automate and simplify the Redis replication failover and switchover.

In this article, we will start with 3 Nodes. We will have two Redis instances on two different nodes – 1 master and 1 replica (or slave). Sentinel will be co-located on those 2 nodes, plus an additional node on one of our web servers.

Normally you would co-locate a Redis instance on the web/application server and access it via localhost or through a UNIX socket file. This is the straightforward way to incorporate Redis into the application.

Read more