Change Server Hostname in VestaCP

Change Server Hostname in VestaCP

To change server hostname in VestaCP control panel, login to SSH as user root, run /usr/local/vesta/bin/v-change-sys-hostname HOSTNAME_HERE Example /usr/local/vesta/bin/v-change-sys-hostname server1.serverok.in

Install LetsEncrypt SSL on ERPnext

Install LetsEncrypt SSL on ERPnext

To install LetsEncrypt free SSL on ERPnext site, run sudo -H bench setup lets-encrypt [site-name] –custom-domain [custom-domain] Example sudo -H

ERPNext

ERPNext

How to delete ErpNext site with bench Install LetsEncrypt SSL on ERPnext Bench Commands Cheatsheet ErpNext restore backup ErpNext backup

How to delete ErpNext site with bench

How to delete ErpNext site with bench

To delete an ErpNext site with bench, run bench drop-site DOMAIN Example

Disable Apache Error log in ISPConfig

Disable Apache Error log in ISPConfig

ISPConfig is a free hosting control panel. It come with Nginx and Apache web servrs. You can select one during

Port forward using iptables

Port forward using iptables

To forward all requests from port 80 to port 8080, run Here is another command that specify network interface and

ASTPP

ASTPP

ASTPP is a Open Source VoIP Billing Solution for Freeswitch. It supports prepaid and postpaid billing with call rating and

Caddy

Caddy

Caddy is used to serving videos on https://odysee.com, it is a block-chain based video service with no censoring. Install Caddy

Install Caddy Web Server

Install Caddy Web Server

Caddy is a light weight web server written in golang. Caddy auto generate SSL for your web site using LetsEncrypt

curl set user agent

curl set user agent

When using curl linux command line tool, to set user agent, run curl –user-agent “USER_AGENT_HERE” URL_HERE You can also use

http2

http2

Enable HTTP/2 in Cpanel Server

phpMyAdmin allow connecting to multiple servers

phpMyAdmin allow connecting to multiple servers

phpMyAdmin configuration file is config.inc.php located in phpMyAdmin install folder. To enable connecting to arbitary Server, add $cfg[‘AllowArbitraryServer’] = true;