Remove Node from Proxmox Cluster Rumi, September 9, 2020 Step 1 : Migrate all VMs to another active node Migrate all VMs to another active node. You can use the live migration feature if you have a shared storage or offline migration if you only have local storage. Step 2 : Display all active nodes Display all active nodes in… Continue Reading
Permanently add Static Route in Linux Rumi, September 4, 2020September 4, 2020 Static routing is the process of manually entering the routes to the routing table to reach a particular destination. Basically two commands are used in Linux to add routes. The first command is the old traditional route add and second is the IP route command. Earlier we learned how to… Continue Reading
Revoking Lets Encrypt Certificate properly Rumi, August 14, 2020 When you want to learn how to revoke Let’s Encrypt SSL/TLS certificates, follow the steps below: Step 1: Validate Certificate file Before you revoke a certificate, you’ll want to validate that the correct certificates and key file you’re revoking.. since there is no reversal.. Once a certificate is revoked, it… Continue Reading
Fix Proxmox (PVE) “can’t lock file ‘/var/lock/qemu-server/lock-xxx.conf’ – got timeout” (Proxmox can’t shutdown/stop virtual machine) (Proxmox kill/force stop virtual machine) Rumi, August 14, 2020 The Issue When trying to “Stop” or “Shutdown” virtual machine from Proxmox (PVE) web gui, the “Cluster log” shows end task UPID:pve:xxxxxxxx:xxxxxxxx:xxxxxxx:qmstop:xxx:root@pam: can’t lock file ‘/var/lock/qemu-server/lock-xxx.conf’ -got timeout end task UPID:pve:xxxxxxxx:xxxxxxxx:xxxxxxx:qmreboot:xxx:root@pam: VM quit/powerdown failed The Fix We can manually delete the lock from following path /run/lock/qemu-server # The file will… Continue Reading
Easyengine installaiton on Debian 10 Rumi, August 13, 2020 Install Easyengine WordPress on a Debian 10 VM (mine was a KVM). The following procedure will install EE with following components; Docker WordPress Core MariaDB Nginx Server PHP-FPM Redis Cache Let’s encrypt SSL Install EasyEngine on Linux wget -qO ee rt.cx/ee4 && sudo bash ee ee site create your_domain –type=wp… Continue Reading
Install Mysql Client on Debian 10 (Buster) Rumi, August 6, 2020 Debian stopped packaging mysql-client as of buster. You can use apt-get install default-mysql-client Which will install mariadb-client-10.3. MariaDB is a fork of MySQL. The client can still be started with the command mysql. Continue Reading
Install webssh on Debian Rumi, August 6, 2020August 7, 2020 You need to have PIP installed on your debian system. Check if it’s already installed, if not, install one of the available edition. My setup included Debain 10 (buster) PIP 3 Installing pip for Python 3 Perform the following steps as a user with sudo privileges to install Pip for Python 3… Continue Reading
List prosody users on Jitsi VB Rumi, August 6, 2020 For administration thoughts, i wonder if there is a command, prosodyctl or other, which can give a list of user registrered on prosody. Apparently there is a way- just look into your /var/lib/prosody/[domain]/accounts Folder and type in “ls” then count thr .dat files Continue Reading
Download YouTube Videos in Linux Command Line Rumi, August 3, 2020 Install youtube-dl to download YouTube videos in Linux terminal youtube-dl is a Python-based small command-line tool that allows downloading videos from YouTube, Dailymotion, Photobucket, Facebook, Yahoo, Metacafe, Depositfiles and few more similar sites. It is written in pygtk and requires Python interpreter to run this program, it’s not platform restricted. It… Continue Reading
Build a Centos 7 Repo Rumi, August 2, 2020 Install httpd [root@www ~]# yum -y install httpd # remove welcome page [root@www ~]# rm -f /etc/httpd/conf.d/welcome.conf Configure httpd. Replace server name to your own environment. [root@www ~]# vi /etc/httpd/conf/httpd.conf # line 86: change to admin’s email address ServerAdmin root@srv.world # line 95: change to your server’s name ServerName www.srv.world:80 # line 151: change AllowOverride All # line 164:… Continue Reading