Enable CRB
dnf config-manager --set-enabled crb
Enable Epel Repo for Rocky 8
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf install https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-8.noarch.rpm
Enable CRB
dnf config-manager --set-enabled crb
Enable Epel Repo for Rocky 8
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf install https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-8.noarch.rpm
#!/usr/bin/env python3.11 | |
# -*- coding: utf-8 -*- | |
"""Converts viscosity export files into an open vpn package | |
Usage: viscosity-to-openvpn.py <input> <output> | |
""" | |
import io | |
import os | |
import sys | |
import tarfile |
Download and install the Latest heplify release
wget https://github.com/sipcapture/heplify/releases/latest/download/heplify
chmod +x heplify
mv heplify /usr/bin/heplify
Create service file for heplify
vim /etc/systemd/system/heplify.service
DEFAULT values
sysctl -a | grep "net.ipv4.ip_forward \|net.ipv6.conf.all.forwarding\|net.ipv4.conf.all.accept_redirects\|net.ipv4.conf.all.send_redirects"
net.ipv4.conf.all.accept_redirects = 1
net.ipv4.conf.all.send_redirects = 1
net.ipv4.ip_forward = 0
net.ipv6.conf.all.accept_redirects = 1
Install fail2ban
apt install fail2ban
create the following file
vim /etc/fail2ban/jail.d/freeswitch.local
copy the foolowing content in file freeswitch.local
Create file in site-available folder
vim /etc/nginx/sites-available/backendservice.conf
and past ethe following line in it
server {
client_max_body_size 100M;
server_name PUB_API;
listen 3555 ssl;
First Confirm if your Linux machine was created using LVM or not, execute the following commands
pvdisplay
vgdisplay
lvdisplay
if the se commands show som eout then it mean that Vm was created thorugh LVM and you can resize it.
now install GRUB in /dev/sda/
so that when you resize the HDD, BIOS can boot the machine.