Install OnlyOffice Document Server on Ubuntu 16 Rumi, November 21, 2020 Step 1: Install ONLYOFFICE Document Server Please note that OnlyOffice document server requires at least 2GB of RAM. An additional 2GB of swap space is recommended. OnlyOffice document server depends on PostgreSQL, Node.js, Redis Server, RabbitMQ server and Nginx. The following steps are tested on a Ubuntu 16.04 server but should… Continue Reading
Installing wkhtmltopdf on Debian 7.8 Rumi, November 17, 2020July 17, 2021 Installing wkhtmltopdf on Debian 7.8 to dynamically create PDF documents from HTML. apt-get update aptitude install xfonts-base xfonts-75dpi fontconfig mkdir ~/src/wkhtmltopdf -p cd ~/src/wkhtmltopdf wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.2.1/wkhtmltox-0.12.2.1_linux-wheezy-amd64.deb dpkg -i wkhtmltox-0.12.2.1_linux-wheezy-amd64.deb Src: https://fedir.github.io/web/blog/2015/09/01/install-wkhtmltopdf-on-debian-7.8 https://github.com/wkhtmltopdf/wkhtmltopdf/releases/0.12.2.1/ https://github.com/wkhtmltopdf/packaging/releases/0.12.6-1 https://stackoverflow.com/questions/38262173/how-to-correctly-install-wkhtmltopdf-on-debian-64-bit Continue Reading
Disabling graphical (GUI) login in Debian wheezy/7 Rumi, November 17, 2020November 17, 2020 If you’d like to disable webgui mode of Debian wheey, run the commands in the terminal as root- update-rc.d -f gdm remove update-rc.d -f gdm3 remove update-rc.d -f wdm remove Continue Reading
Sun ILOM – Enable HTTP or HTTPS Web Access Using the CLI Rumi, November 13, 2020 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… Continue Reading
Remove Proxmox Subscription Notice Rumi, November 1, 2020 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) Continue Reading
Install Multipath on Debian Server Rumi, November 1, 2020 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… Continue Reading
Email Alert for Host down using fping Rumi, October 26, 2020 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… Continue Reading
Install PHP 7.4 / 7.3 / 7.2 / 7.1 on Debian 10 / Debian 9 Rumi, October 26, 2020October 26, 2020 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… Continue Reading
Multiple or Two Default Gateways on One System Rumi, October 26, 2020 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… Continue Reading
How to find out the connected interface using linux command Rumi, October 26, 2020 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:… Continue Reading