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
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
Install OnlyOffice 7 on Ubuntu 22 Rumi, February 24, 2023 Install OnlyOffice Document Server on Ubuntu OnlyOffice document server depends on PostgreSQL, Node.js, Redis Server, RabbitMQ server and Nginx. The following steps are tested on a Ubuntu 22.04 server but should also be applicable to Linux distributions in the Debian family. Install PostgreSQL on Ubuntu PostgreSQL is available from the default Ubuntu… Continue Reading
Install Apache2, PHP 7.2 and MariaDB 10.5 on Debian 11 Rumi, February 18, 2023 First, update all the packages of the system by below-mentioned command: sudo apt update After updating packages, now install the dependencies required by the below-mentioned command: sudo apt install software-properties-common ca-certificates lsb-release apt-transport-https Enable SURY Repository The following step is to integrate the SURY repository into our system. SURY is… Continue Reading
Configure Zimbra to use SendGrid as Smarthost Rumi, February 18, 2023September 12, 2023 Switch to user Zimbra su zimbra Add credentials to relay_password file: nano /opt/zimbra/conf/relay_password Add: smtp.sendgrid.net yourSendGridUsername:yourSendGridPassword Apply configuration to Zimbra postmap /opt/zimbra/conf/relay_password postmap -q smtp.sendgrid.net /opt/zimbra/conf/relay_password zmprov ms `zmhostname` zimbraMtaSmtpSaslPasswordMaps lmdb:/opt/zimbra/conf/relay_password zmprov ms `zmhostname` zimbraMtaSmtpSaslAuthEnable yes zmprov ms `zmhostname` zimbraMtaSmtpCnameOverridesServername no zmprov ms `zmhostname` zimbraMtaSmtpTlsSecurityLevel may zmprov ms `zmhostname` zimbraMtaSmtpSaslSecurityOptions… Continue Reading
Extreme slow internet speed pfsense over proxmox Rumi, February 16, 2023 For a qemu proxmox guest PFSense acts weriedly with the network speed- it gets extremely slow. So her goes the little tweaks that worked for me- First, I chose Intel E1000 Interfaces instead VirtIO. Second, in the PFSense webconsole- In pfSense GUI, System > Advanced > Networking > Tick on-… Continue Reading