Port forward using iptables
To forward all requests from port 80 to port 8080, run Here is another command that specify network interface and forward traffic on port 80 to port 5000 Back to iptables
To forward all requests from port 80 to port 8080, run Here is another command that specify network interface and forward traffic on port 80 to port 5000 Back to iptables
ASTPP is a Open Source VoIP Billing Solution for Freeswitch. It supports prepaid and postpaid billing with call rating and credit control. https://www.astppbilling.org To install ASTPP on CentOS 7, run wget –no-check-certificate https://raw.githubusercontent.com/iNextrix/ASTPP/v4.0.1/install.sh -O install.sh chmod +x install.sh ./install.sh Related Posts ASTPP change URL ASTPP install SSL voip
Caddy is used to serving videos on https://odysee.com, it is a block-chain based video service with no censoring. Install Caddy Web Server Install Caddy Webserver on CentOS 7 How to Use Caddy as a Reverse Proxy Web Server
Caddy is a light weight web server written in golang. Caddy auto generate SSL for your web site using LetsEncrypt and support HTTP/2. To instal Caddy, download latest Caddy release from github https://github.com/caddyserver/caddy/releases/ At the time of this post, 1.3 is latest stable release, to install it, run cd /usr/local/src wget https://github.com/caddyserver/caddy/releases/download/v2.4.6/caddy_2.4.6_linux_amd64.tar.gz tar xvf caddy_2.4.6_linux_amd64.tar.gz … Read more
When using curl linux command line tool, to set user agent, run curl –user-agent “USER_AGENT_HERE” URL_HERE You can also use curl -A “USER_AGENT_HERE” URL_HERE By changing user agent, you can view a site as google bot, check Fetch as Google with curl Back to curl
Enable HTTP/2 in Cpanel Server
phpMyAdmin configuration file is config.inc.php located in phpMyAdmin install folder. To enable connecting to arbitary Server, add $cfg[‘AllowArbitraryServer’] = true; This will allow you to enter server IP or hostname to connect to. To add connecting to differnt predefined servers, you can add following to end of config.inc.php $i++; $cfg[‘Servers’][$i][‘host’] = ‘database-1.abxfzy3gt.us-east-2.rds.amazonaws.com’; $cfg[‘Servers’][$i][‘port’] = ‘3306’; … Read more
iostat – Report Central Processing Unit (CPU) statistics and input/output statistics for devices and partitions. The iostat command is used for monitoring system input/output device loading by observing the time the devices are active in relation to their average transfer rates. The iostat command generates reports that can be used to change system configuration to … Read more
By default, Plesk store backups in folder /var/lib/psa/dumps/. To move this to a differnt partition or directory, create a folder mkdir /backup chown psaadm:psaadm /backup chmod 750 /backup Edit file vi /etc/psa/psa.conf Find DUMP_D /var/lib/psa/dumps Replace with DUMP_D /backup Move old backup to new location rsync -avzP /var/lib/psa/dumps/ /backup/ Remove old backup directory, here i … Read more
EDIT 2022-06-20: Cpanel completely removed support for PHP 5.6, so this method no longer works on AlmaLinux 8. If you need PHP 5.6, the best solution is to use CloudLinux, which provides support for older PHP versions. CloudLinux is a popular Linux distro used by many shared hosting providers as it allows for better security … Read more
On Cpanel server with KernelCare installed, i keep getting email This is because the kernel is not yet supported by kernalcare. Since this kernal is provided by CloudLinux, you don’t have to worry. CloudLinux support said they do add support for KernelCare after 3 to 4 days of releasing new kernel. To disable this warning, … Read more
Allow phpMyAdmin remote access on xampp Restart Services in Xampp Linux To auto start XAMPP on boot on Ubuntu, create file vi /etc/systemd/system/xampp.service Add following content [Unit] Description=XAMPP auto start by ServerOk.in [Service] ExecStart=/opt/lampp/lampp start ExecStop=/opt/lampp/lampp stop Type=forking [Install] WantedBy=multi-user.target Enable xampp with systemctl enable xampp start xampp systemctl start xampp