Install SSH2 Extension for PHP 7 on CentOS 7

Install gcc, php71w-devel, libssh2 and libssh2-devel on CentOS 7 # yum install gcc php71w-devel libssh2 libssh2-devel Download php7 pecl-networking-ssh2 # wget https://github.com/Sean-Der/pecl-networking-ssh2/archive/php7.zip Unzip and Change folder # unzip php7.zip # cd pecl-networking-ssh2-php7 Building environment for SSH2 extension # phpize # ./configure Make SSH2 extension make sure build success # make Install SSH2 extension # make … 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

Live video stream event for online Temple or Church

Wowza / Red5 Streaming Live Video with Flash Media Live Encoder Wowza Live Stream Countdown Requirements – A computer running Windows or Apple operating system – Software “Flash Media Live Encoder (Adobe)” – Streaming Server (Wowza/Red5/FMS) – Video input that is recognized by the operating system (i.e. USB camera) – Video player: VLC or Web … Read more

Install Wowza Media Server for Google Compute Engine

Hope you really enjoyed our articles about Google Compute Engine.. Install Apache, PHP, MySQL on Google Compute Engine Build your business on Google Cloud Platform Install Red5 on Google Compute Engine First you need to install Google Cloud platform command-line tools https://developers.google.com/compute/docs/gcutil $ wget https://code.google.com/p/google-compute-engine-tools/downloads/detail?name=gcutil-1.9.0.tar.gz $ sudo apt-get install unzip $ export PATH=${PATH}:$HOME/gcutil-1.9.1 $ sudo … Read more

Wowza Live Cam Secure Expired Token

wowza-live-cam-secure-expired-token.php // Encrypt original stream URL http://wowza-server:port/stream/playlist.m3u8 $base64ized = encryptDecrypt($secret_key, $streamURL, 0); // Decrypt stream URL $streamURL = encryptDecrypt($secret_key, $base64ized, 1); stream.php // Expire stream URL after time interval & check secure token if (($current – $timestamp)

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 Red5 on Google Compute Engine

Yesterday we have installed basic web server (apache, php, mysql) on Google Compute Engine. Today our target is to install Red5 on Ubuntu server for Google Compute Engine. First we need to check Java version installed on Google Compute Engine $ java -version The program ‘javac’ can be found in the following packages: * default-jdk … 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