Enable Password based authenticaiton in OCI compute instance Rumi, May 13, 2023 If you want to use a password to access the SSH server, a solution for fixing the Permission denied error is to enable password login in the sshd_config file. To do this, open the file in a text editor. This example uses the nano editor: sudo nano /etc/ssh/sshd_config In the file, find… Continue Reading
Download using multiple session with Linux CLI tool – multipart download Rumi, May 1, 2023 Option-1: Aria2 apt-get install aria2 Usage: aria2c -x 16 [url] #where 16 is the number of connections Option-2: Axel apt-get install axel Usage: axel -n 5 url or with visual indicator- axel -a -n 5 [URL] Continue Reading
Creating a XEN guest and tidbids in CLI Rumi, April 7, 2023 INSTALLING A GUEST DOMAIN (“DOMU”) Now that the Xen hypervisor/Dom0 virtual machine is configured and up and running, it’s time to configure and create a DomU. Just like we did in the Debian 9 tutorial, we will now install and use the xen-tools package to automate the steps involved in creating a… Continue Reading
Cloudmin-GPL XEN on Debian 10 Rumi, April 7, 2023April 7, 2023 This article is inspired and prepared on the forked Cloudmin Xen script updated for Debian 10. However, the following procedures to be followed as precuationary before executing the updated script, which is available in this post in below section. PHASE-I Prepare Environment for XEN INSTALLING THE XEN HYPERVISOR AND HOST/CONTROL… Continue Reading
Reset Webmin Password Rumi, April 4, 2023 Open a terminal or command prompt on the server where Webmin is installed. Navigate to the Webmin installation directory. The default location is /usr/local/webmin cd /usr/local/webmin To change password run command:on RedHat distributions (i.e. Fedora, CentOS, Gentoo, etc.): /usr/libexec/webmin/changepass.pl /etc/webmin admin newPassword on Debian distributions (i.e. Debian, Ubunto, etc.): /usr/share/webmin/changepass.pl… Continue Reading
Disable Last Login Message on Linux using hushlogin Rumi, March 28, 2023 Single user To permanently suppress a Last Login message as per on user basis, create a hidden .hushlogin file inside a user’s home directory. For example to suppress a Last Login message for the linuxconfig user, we would run this command: $ sudo touch /home/linuxconfig/.hushlogin Similarly to suppress a Last Login message for the root user,… Continue Reading
Create a local ISO SR at XCP-NG Rumi, March 22, 2023 From the CLI: Create a directory on the local filesystem to storage your ISOs Copy/move ISOs to this new location Create the ISO SR using xe sr-create You can add or update ISOs later by placing them into the directory you created in step 1 Rescan the SR if you… Continue Reading
Install Xen Orchestra on Ubuntu 20 Rumi, March 21, 2023 Prework apt-get update && apt-get dist-upgrade Node.js For this particular installation node 16 is needed to be installed. Lets install- Add NodeSource PPA This command will add PPA sources required to be able to install NodeJS 16 on your Ubuntu 20.04 installation: curl -s https://deb.nodesource.com/setup_16.x | sudo bash Install NodeJS… Continue Reading
Flushing IPTables rule and allow all traffic for Debian or Ubuntu Rumi, March 20, 2023 Flushing all iptables chain rules shell script #!/bin/sh echo “Stopping IPv4 firewall and allowing everyone…” ipt=”/sbin/iptables” ## Failsafe – die if /sbin/iptables not found [ ! -x “$ipt” ] && { echo “$0: \”${ipt}\” command not found.”; exit 1; } $ipt -P INPUT ACCEPT $ipt -P FORWARD ACCEPT $ipt -P… Continue Reading
Varnish sample vcl for rtmp / m3u8 stream Rumi, March 18, 2023 vcl 4.0; import std; backend default { .host = “127.0.0.1”; .port = “8090”; } acl purge { “127.0.0.1”; } sub vcl_recv { if(req.method == “PURGE”){ if (!client.ip ~ purge) { return(synth(405,”Not allowed.”)); } return (purge); } return (hash); } sub vcl_backend_response { if (bereq.url ~ “m3u8”) { # assuming chunks… Continue Reading