Reset XCP-ng root password Rumi, June 28, 2024 The full prodecure can also be found on xcp-ng site. Reboot your XCP-ng into Grub boot menu. Select XCP-ng boot menu entry and press e key to edit boot options. Locate the read-only parameter ro and replace it with rw init=/sysroot/bin/sh. Press Ctrl + X to boot into single-mode. From… Continue Reading
Creating 1:1 NAT using iptables Rumi, June 8, 2024 Its a POC where I needed a 1:1 NAT using Linux iptables. I used 2 Debian 11 OS for this and here’s the machine IP plans- VM-1: IPTables/NAT Router- 123.45.67.5/24, 123.45.67.6/24 and 192.168.10.5/24 VM-2: Backend Server- 192.168.10.6/24 (this VM’s gateway will be 192.168.10.5 On VM-1 Uninstall nftables and its Dependencies… Continue Reading
Install LAMP- Apache, PHP 7.4 with Apache Handler on Debian 12 Rumi, June 7, 2024June 7, 2024 Well, it’s not perfectly a LAMP stack as MySQL and PHPMYadmin are not covered here. But for someone who needs a backward compatible php edition to work on a modern/latest os built. Step1: Add PHP repository We’ll use a bash script to add the repository- #!/bin/sh # To add this… Continue Reading
Nginx with Let’s Encrypt on Debian 10 Rumi, March 23, 2024 Step 1 — Installing Certbot The first step to using Let’s Encrypt to obtain an SSL certificate is to install the Certbot software on your server. Installing the python3-certbot-nginx package from the Debian repositories will allow us to install and use Cerbot’s nginx plugin. Working with Python 3 and the… Continue Reading
Administrations Set Up and Use Syncthing to Sync Files on Linux Rumi, March 23, 2024 Syncthing is a powerful, decentralized, open-source file synchronization software that allows users to easily and securely synchronize files between different devices and platforms, including Windows, Linux, macOS, and Android, making it a versatile solution for individuals and organizations. In addition, it uses a peer-to-peer architecture, meaning that files are synchronized… Continue Reading
Create Jellyfin CDN using Nginx Rumi, March 20, 2024March 23, 2024 user www-data; worker_processes auto; pid /run/nginx.pid; include /etc/nginx/modules-enabled/*.conf; events { worker_connections 768; # multi_accept on; } http { ## # Basic Settings ## sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 2048; # server_tokens off; # server_names_hash_bucket_size 64; # server_name_in_redirect off; include /etc/nginx/mime.types; default_type application/octet-stream; ## # SSL Settings… Continue Reading
Proxmox Firewall Service Disable using Command Rumi, March 20, 2024 Chrooting and then doing: systemctl disable pve-firewall systemctl mask pve-firewall should do the trick. then after rebooting and fixing your config, systemctl unmask pve-firewall systemctl enable pve-firewall systemctl start pve-firewall Should return to the defaults again. Ports used by Proxmox VE Web interface: 8006 (TCP, HTTP/1.1 over TLS) VNC Web… Continue Reading
Install InfluxDB on Ubuntu 20 Rumi, March 13, 2024 InfluxDB is a time-series database licensed under open source. It helps to collect metric data from devices such as servers, switches, virtual servers, ups and plot graphs in realtime. It is written in Go language and optimized for fast and high availability. Enabling Repository Install InfluxDB by importing the key… Continue Reading
Create Internal Network in XCP-ng using XCP-ng Center Rumi, March 12, 2024March 12, 2024 You may need to add a new network that’s internal network for your internal applications communication. You have the flexibility of configuring up to 16 networks per managed server. This operation can be performed on XenCenter or Xen Orchestra web console. Choose the solution you have in your Infrastructure to… Continue Reading
Disable gpgcheck on command line with yum install Rumi, March 12, 2024 It’s pretty straightforward, just hit- yum –nogpg install <package_name> Continue Reading