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
Linux Screen Cheatsheet Rumi, February 11, 2023July 3, 2024 To create a screen screen List all the detached (running) screens with their screen IDs. screen -list Connect / Attach to a specific running screen. screen -x [screen id] While in a screen to Terminate / Stop a screen from running. Ctrl + D While in a screen to detach… Continue Reading
Force stop xen vm using command line Rumi, February 6, 2023July 8, 2023 Instructions Disable High Availability (HA) so you don’t run into issues. Log into the Xenserver host that is running your VM with issues via ssh or console via XenCenter. Run the following command to list VMs and their UUIDs xe vm-list resident-on=<uuid_of_host> First you can try just the normal shutdown… Continue Reading
Perfect Proxmox Template with Cloud Image and Cloud Init Rumi, January 28, 2023January 30, 2023 Instructions Choose your Ubuntu Cloud Image. Here in this example will use ubuntu cloud-init image. Download Ubuntu (replace with the url of the one you chose from above) wget https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img Create a new virtual machine qm create 8000 –memory 2048 –core 2 –name ubuntu-cloud –net0 virtio,bridge=vmbr0 Import the downloaded Ubuntu… Continue Reading
pfSense firewall rules for WhatsApp Rumi, January 28, 2023 For simplicity, you can also follow the step by step instructions from your pfSense WebGUI below: 1. Create a PORT alias: Firewall -> Aliases -> Ports -> + AddName: WhatsAppPortsTCP Port: 443 -> + Add PortPort: 5222 Save (bottom) -> Apply Changes (top right) 2. Create a URL alias: Firewall -> Aliases –… Continue Reading
Install Softether VPN Client on Linux Rumi, January 28, 2023January 28, 2023 Download and Install SoftEther VPN Client Download SoftEther VPN Client software from their official website (https://www.softether.org). Navigate to Download — > Download SoftEther VPN Click on Download SoftEther VPN link. Select Component : SoftEther VPN Client Select Platform : Linux Select CPU : Select the appropriate CPU from the Drop… Continue Reading
Remove Old Unused Kernels in CentOS Rumi, January 26, 2023 To display the current version of Linux (kernel) running on your system, run this command. # uname -sr Linux 3.10.0-327.10.1.el7.x86_64 List All Installed Kernels on System You can list all kernel images installed on your system like this. # rpm -q kernel kernel-3.10.0-229.el7.x86_64 kernel-3.10.0-229.14.1.el7.x86_64 kernel-3.10.0-327.3.1.el7.x86_64 kernel-3.10.0-327.10.1.el7.x86_64 Removing Old/Unused Kernels on… Continue Reading
Setup Keepalived for VRRP instead of ucarp Rumi, January 26, 2023 I’ve the following setup: network-0 – 192.168.2.11 (real) network-1 – 192.168.2.12 (real) I want to add “network” as 192.168.2.10 as the floating address. I’ll need to do the following to both network-0 and network-1 Install keepalived Configure keepalived Start keepalived Set keepalived to start at boot. Continue Reading