ILOM supports both HTTP or HTTPS connections. ILOM enables you to automatically redirect HTTP access to HTTPS. ILOM also enables you to set the HTTP and HTTPS ports. 1. Log in to the ILOM CLI as a an Administrator. 2. At the command prompt, type: -> set /SP/services/http The properties…
Category: Administrations
Remove Proxmox Subscription Notice
Copy and paste following command to the terminal (6.1 and up) sed -i.backup “s/data.status !== ‘Active’/false/g” /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service (6.2-11 and up) sed -i.backup -z “s/res === null || res === undefined || \!res || res\n\t\t\t.false/false/g” /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service (6.2-12 and up)
Install Multipath on Debian Server
Note: This installation is tested on Debian 10 (Buster) edition. It might work for other versions of Debian as well. DMM Setup Overview DM-Multipath includes compiled-in default settings that are suitable for common multipath configurations. Setting up DM-multipath is often a simple procedure. The basic procedure for configuring your system…
Email Alert for Host down using fping
A simplified bash script for host status alert: #!/bin/bash email=h.t.emdad@gmail.com NBR_DOWN=0 LOGFILE=/tmp/pinglog.txt echo “Server Down Status” > $LOGFILE for i in $(cat ping.txt); do fping $i >/dev/null if [ $? -ne 0 ]; then echo “$i is down” >> $LOGFILE NBR_DOWN=$((NBR_DOWN+1)) fi done if [ $NBR_DOWN -gt 0 ]; then…
Install PHP 7.4 / 7.3 / 7.2 / 7.1 on Debian 10 / Debian 9
Add PHP Repository SURY, a third-party repository which offers PHP 7.4 / 7.3 / 7.2 / 7.1 for Debian operating system. By default, Debian 10 ships PHP v7.3. So, you can either install PHP v7.3 from Debian repository or SURY repository. Skip this section if you want to install PHP…
Multiple or Two Default Gateways on One System
Problem Description You have built two or more network cards into one Linux system and each of these cards has its own default gateway. By default, you can only have one default gateway on a system. The case described would lead to asynchronous routing, whereby the router would reject the…
How to find out the connected interface using linux command
Method 1 To find out the connected state of a network cable in Linux, just run: $ cat /sys/class/net/enp5s0/carrier Sample output: 1 If you got output as “1” (Number one), It means that the network cable is connected with the network card. Also, you can do this with the following command too:…
Install LAMP on CentOS 7 with PHP 5.4/7.0/7.1/7.2/7.3/7.4
Preliminary Note In this tutorial, I use the hostname server1.example.com with the IP p 192.168.0.100. These settings might differ for you, so you have to replace them where appropriate. I will add the EPEL repo here to install latest phpMyAdmin as follows: rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY* yum -y install epel-release To edit files on…
Enable mod_rewrite for Apache on CentOS 7
The mod_rewrite module is enabled by default on CentOS 7. If you find it is not enabled on your server, you can enable it by editing 00-base.conf file located in /etc/httpd/conf.modules.d/ directory. sudo nano /etc/httpd/conf.modules.d/00-base.conf Add or uncomment the following line: LoadModule rewrite_module modules/mod_rewrite.so Save and close the file, then…
Add Static Route on specific interface from Windows OS
Find out the Interface ID on which you need to apply your static route- netsh interface ipv4 show interfaces It’ll look something similar below- And now apply your static route- route add 172.16.222.0 mask 255.255.255.0 172.16.221.193 IF 20