Installing Apache, MySQL, PHP in Gentoo Server

Hits: 135  All commands are performed as root to install Apache, MySQL, PHP and phpMyAdmin in Gentoo Linux Server. 1. Update your System # emerge –sync 2. Install Apache Webserver # emerge apache The web server ROOT is in /var/www/localhost/htdocs/ # /etc/init.d/apache2 start Then go to http://server-ip/ Add apache2 to the startup script # rc-update -v [...]

HTML5 MP3 Player with Folder Feedburner Playlist

On May 5, 2013, in Android, HTML5, Icecast, iOS, Javascript, Joomla, Shoutcast, Wordpress, by Sandeep Verma

Hits: 239  WordPress and Standalone HTML5 MP3 Music Player with Playlist for MP3 Folder / Feedburner XML compatible with iOS, Android and supports all browsers Firefox, Chrome, Safari, IE and Opera! Read MP3 Folder URL This plugin can read MP3 folder like http://www.domain.com/mp3/ and automatically create dynamic horizontal & vertical playlist MP3 Folder with song’s index [...]

Wowza Live Cam Secure Expired Token

On April 11, 2013, in CURL, Google Compute Engine, HTML5, iOS, LAMP, Learning, PHP, Web Streaming, Wowza, by Sandeep Verma

Hits: 361  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)

Creating Zip Without Recording ROOT Paths

On March 12, 2013, in Amazon Cloud EC2 S3, CentOS, Cloud, LAMP, Learning, Linux, Tricks, by Sandeep Verma

Hits: 466  Simply use chdir() to change the working directory before you exec() Or you can use …. exec(“cd /var/www/html/media; zip -r -9 Media.zip . 2>&1″, $log); exec(“mv /var/www/html/media/Media.zip /var/www/html/Media.zip”); Get zip file size exec(“ls -ls /var/www/html/Media.zip | awk ‘{print $6}’ 2>&1″, $size); $zipsize = implode(” “, $size); Without this solution Length Date Time Name ——– [...]

Tagged with:  

Install Airtime – open source radio automation software

On March 11, 2013, in Amazon Cloud EC2 S3, Cloud, HTML5, Icecast, Launch, Open Source, Shoutcast, Web Application, by Sandeep Verma

Hits: 698  Airtime is open source radio automation software (GPL v3) for GNU/Linux platforms. It’s recommend installing on Ubuntu Linux 12.04 LTS or Debian Squeeze on a computer with at least a 1 GHz processor and 512 MB of RAM for a Server Edition OS or 1GB of RAM for a Desktop Edition OS. Download airtime-easy-setup [...]

Tagged with:  

Best PHP Encryption Decryption

On February 18, 2013, in HTML5, LAMP, Learning, PHP, Tips, Web Application, by Sandeep Verma

Hits: 745  I was working on Secured & Expired MP3 Link in HTML5 MP3 Player. Hope you already read previous article “Amazon S3 Expiring Link” You can use below code for hiding real mp3 link inside html source using base64_encode, mcrypt_encrypt, base64_decode, mcrypt_decrypt and md5. This function is also useful when you need to secure & [...]

Amazon S3 Expiring Link

On February 8, 2013, in Amazon Cloud EC2 S3, Cloud, HTML5, LAMP, Learning, PHP, Tips, by Sandeep Verma

Hits: 1754  I was working on Amazon S3 Cloud HTML5 MP3 Player for S3 Bucket security and Expiring Media links. <?php   if(!function_exists(‘el_crypto_hmacSHA1′)){       /**       * Calculate the HMAC SHA1 hash of a string.       *       * @param string $key The key to hash against       * @param string $data The data to hash       * @param int $blocksize Optional blocksize [...]

Backup Disk Snapshot on Google Compute Engine

On February 1, 2013, in Cloud, Google Compute Engine, Tricks, Ubuntu, by Sandeep Verma

Hits: 948  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 [...]

Tagged with:  

Install Admin Panel in Red5

On January 23, 2013, in Flex, Learning, Open Source, Red5, Tricks, Web Streaming, by Sandeep Verma

Hits: 1326  Hope you already read our previous articles for installing Red5 on different cloud based servers… You can access Red5 Admin Panel after successful install of Red5 Server using http://your-ip-address:5080/demos/adminPanel.html Check if you have access to http://your-ip-address:5080/admin/ ?? You must double check admin application is installed in Red5 Home (i.e. /usr/share/red5/webapps) or not? If you [...]

PHP Run Background Process using Exec

On January 20, 2013, in Amazon Cloud EC2 S3, CentOS, Fedora, Google Compute Engine, HP Cloud, LAMP, Learning, Linux, PHP, Tips, Ubuntu, by Sandeep Verma

Hits: 874  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 [...]

Tagged with:  

Install Streaming Audio Server With Icecast 2.3.3

On January 18, 2013, in Icecast, Learning, Linux, Open Source, Shoutcast, Web Streaming, XML, by Sandeep Verma

Hits: 1219  I need to install streaming audio server with Icecast (OGG/MP3) for one of my great client in service of http://html5.svnlabs.com/. Icecast was designed to stream any audio file using ices and icegenerator for MP3 and OGG/Vorbis audio files. I already did lot of work using Shoutcast, SAMCast and SAM Broadcaster, Its very easy to [...]

Tagged with:  

Kaltura Red5 iOS Live Streams Setup

On January 17, 2013, in Amazon Cloud EC2 S3, API, FFmpeg, Flex, HTML5, iOS, Kaltura, Learning, Open Source, Red5, Tricks, by Sandeep Verma

Hits: 1705  We have a plugin that can be used for streaming kaltura live red5 rtmp to mobile devices. Kaltura Red5 Live Plugin take below data to segment live video stream – Red5 Live Video RTMP Stream Link – Red5 Stream Name – Publishing Folder – Publishing Link The Main feature of this plugin to show [...]

Tagged with:  

Install Apache, PHP, MySQL on HP Cloud

On January 16, 2013, in API, CentOS, Cloud, HP Cloud, LAMP, Launch, Learning, Linux, by Sandeep Verma

Hits: 1056  I am playing with all cloud services these days, so today we will try to setup Apache, PHP, MySQL on HP Cloud. HP Cloud is based on OpenStack Compute Hope you already read our old article “Installing Apache, MySQL, PHP in CentOS 5.5 on Rackspace Cloud”? In the HP Cloud Console Area you can [...]

Tagged with:  

Install Red5 on Google Compute Engine

On January 8, 2013, in Cloud, Google Compute Engine, Java, LAMP, Learning, Red5, Tricks, by Sandeep Verma

Hits: 1092  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: * [...]

Tagged with:  

Install Apache, PHP, MySQL on Google Compute Engine

On January 7, 2013, in Google Compute Engine, LAMP, Launch, Learning, Ubuntu, by Sandeep Verma

Hits: 1284  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 [...]

Design lookup

On January 6, 2013, in Tips, Tricks, by Sandeep Verma

Hits: 828  Orlando Web Design   Web Design and WordPress Support. We usually search good design ideas for our web development needs. I have some useful links on this page. Please review and share more in comment area   http://www.sohtanaka.com/ http://preloaders.net/ http://www.noupe.com/ http://antsmagzine.com/ http://designm.ag/tutorials/sticky-sidenav-layout/ http://www.learningjquery.com/ http://www.pierrebertet.net/projects/jquery_superbox/ http://usejquery.com/ http://vandelaydesign.com/ http://roshanbh.com.np/ http://www.templatemo.com/ http://www.webtemplates.webfirstcreations.com/ http://hambodevelopment.com/ http://www.osvaldas.info/ http://www.veboolabs.com/ http://www.sourcebits.com/ http://twipho.net/ [...]

FFmpeg – ERROR: librtmp not found

On January 5, 2013, in Android, CentOS, FFmpeg, iOS, Learning, Linux, Red5, Tips, Tricks, Web Streaming, by Sandeep Verma

Hits: 1279  I was installing FFmpeg for segmenting Red5 Streams to stream live video from Red5 Server to iOS or Android devices. RTMP (Red5) -> FFMpeg -> Segementer -> .ts files -> iOS (m3u8) I really needed mp4 (AAC/H.264) and ogg (Vorbis/Theora) format for best HTML5 output. I checkout FFmpeg source and tryed below command to [...]

Mobile Apps for Safety

On January 5, 2013, in Android, iOS, Observe, Tips, by Sandeep Verma

Hits: 1338  Mobile apps across various operating systems that can help to save our souls and keep our loved ones informed about each other. Lot of people are searching mobile applications for personal security these days, I am trying to help to find some useful Mobile Applications on Android Google Play Market. Life360 Family Locator http://www.life360.com/ [...]

Tagged with:  

Facebook Adding an App to a Page

On January 2, 2013, in API, Facebook, Javascript, JSON, Learning, PHP, by Sandeep Verma

Hits: 1260  You can provide App to Fan Page Tab using URL, but you must check below options to get App (Page Tab) Added Page ID? https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&next=YOUR_URL After successful authorization users will redirect to your Site URL with pageID http://www.domain.com/?tabs_added[pageID]=1#_=_ Integrating with Facebook APIs When a user selects Page Tab and authorize your application, you receive [...]

Free Cloud Storage Services

On December 31, 2012, in Amazon Cloud EC2 S3, Cloud, Google Cloud Platform, Launch, Tricks, Ubuntu, by Sandeep Verma

Hits: 1220  Cloud Storage is really a buzz word for people who are facing troubles for backups and data loss. Cloud Storage can provide tension free management of data on the fly. You can choose any cloud program below as free storage. I really like Dropbox, it is available for all devices Dropbox – Free for [...]

Tagged with:  

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...