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
Add User to Sudoers on CentOS Rumi, March 21, 2023March 21, 2023 You can do this in 2 methods- however, IMHO method-2 usually works great for me. Method-1 Step 1: Verify the Wheel Group is Enabled Your CentOS 7 installation may or may not have the wheel group enabled. Open the configuration file by entering the command: visudo Scroll through the configuration… 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
Centos disk XFS xfs_repair Rumi, March 3, 2023 During bootup, when the GRUB2 menu shows up, press the e key for edit Add the following parameter at the end of the linux16 line, after quiet: quiet systemd.unit=emergency.target Press Ctrl+x to boot the system with the parameter. first find your device UUID in /dev/disk/by-uuid umount umount /dev/disk/by-uuid/198s5364-a29c-429e-b16d-e772acd repair xfs_repair… Continue Reading
Install pfSense Qemu Guest Agent Rumi, February 24, 2023 Software Versions The following software versions were used in this post. pfSense Community Edition – 2.6.0 QEMU Guest Agent – 5.0.1 Install the qemu-guest-agent package. pkg install -y qemu-guest-agent Once installed, there is a note on how to setup the agent. Modify your `/etc/rc.conf` by adding these settings qemu_guest_agent_enable=”YES” qemu_guest_agent_flags=”-d… Continue Reading
Installing new fonts in Collabora Rumi, February 24, 2023 For the core MS fonts: sudo apt-get install ttf-mscorefonts-installer You may be asked to accept the license agreement, i was not asked. They end up in /usr/share/fonts/truetype/msttcorefonts Next is to install the clear types such as calibri This is a bit different but can be done with the vista fonts… Continue Reading