Ubuntu20.04 Install Apache PHP MySQL on Digital Ocean Droplet

First create a Digital Ocean Droplet with OS Ubuntu20.04, choose password login for SSH into droplet. # apt update # apt install unzip -y # apt install curl -y Install Apache & MySQL Server # apt install apache2 -y # apt install mysql-server -y # mysql_secure_installation (it will ask you MySQL server login new password) … Read more

Certbot letsencrypt renewal attempts failed ‘ascii’ codec can’t decode byte 0xe2

I have used Certbot https://certbot.eff.org/ over 500 websites till now. Certbot Automatically enable HTTPS on your website with EFF’s Certbot, deploying Let’s Encrypt certificates. Read more articles about Certbot Here Certbot allows many servers (Nginx / Apache / Wowza / Icecast) to enable AUTOmatic SSL renew using Cronjobs. But sometimes Copy/Paste make strange errors in … Read more

Install Darkstat 2.6 on Ubuntu

Darkstat captures network traffic, calculates statistics about network usage, and serves reports over HTTP. Darkstat track server PORTs based on local & remove server. Install Darkstat 2.6 on Ubuntu https://t.co/IrF1g2LNfQ #tcpdump #ubuntu #darkstat pic.twitter.com/RCSWO2Mgnh — Sandeep Verma (@svnlabs) January 8, 2019 Features – Traffic graphs, reports per host, shows ports for each local & remote … Read more

Install Squid Proxy on Ubuntu

>> 1. Squid stores web files from previous requests to speed up future transfers. >> 2. ACLs (Access Control Lists) for user resources. >> 3. Bypassing website / domain filters. First Install Dependencies # apt-get install build-essential [for configure: error: Basic auth helper LDAP … found but cannot be built] # apt-get build-dep squid3 Download … Read more

Free SSL Certbot

Certbot, It was Let’s Encrypt Client previously. Automatically enable HTTPS on your website with EFF’s Certbot, deploying Let’s Encrypt certificates. Server Support – Apache – Nginx – Haproxy – Plesk OS Support – Web Hosting Service – Debian 7 (wheezy) – Debian 8 (jessie) – Debian 9 (stretch) – Debian testing/unstable – Debian (other) – … Read more

Install Red5 Media Server on Ubuntu / Debian

Red5 is free media server based on Java and other open source frameworks. It support FLV, F4V, MP4, 3GP, MP3, F4A, M4A, AAC and protocols like RTMP, RTMPT, RTMPS, RTMPE. Install Red5 Media server # apt-get install red5-server Red5 Need below ports open in firewall / iptable RTMP: 1935 Debug proxy: 1936 HTTP servlet: 5080 … Read more

Backup Disk Snapshot on Google Compute Engine

Snapshots are stored in Google Cloud Storage, which is secure, incredibly large, and remarkably inexpensive. You might want to think about whether the labor involved in saving snapshots on your local PC, with all the attendant risks of data loss. For pricing, see https://cloud.google.com/pricing/cloud-storage. For example, if you have a 10 GB snapshot, that’s going … Read more

PHP Run Background Process using Exec

If you need to start process in background and get its PID to manage it later using PHP. <?php function runInBackground($command,$log,$priority=0) { if($priority)    $PID=shell_exec(“nohup nice -n $priority $command > $log 2>&1 & echo $!”); else    $PID=shell_exec(“nohup $command > $log 2>&1 & echo $!”); return($PID); } ?> echo $! will return process ID # Command & … Read more

Install Apache, PHP, MySQL on Google Compute Engine

I am so happy to get access for Google Compute Engine Limited Preview 🙂 Google Compute is a service that provides virtual machines on Google infrastructure. Google Compute (virtual machines with distributed computing power) provides some options that enable to configure, deploy, and manage multiple virtual machines in multiple data centers. – Command-line tool called … Read more