Recover MySQL root Password

1. Stop the MySQL server. # /etc/init.d/mysql stop 2. Start the MySQL server process with the –skip-grant-tables option so that it will not prompt for password. # mysqld_safe –skip-grant-tables & 3. Connect to mysql server as the root. # mysql -u root Welcome to the MySQL monitor…. ……….. Type ‘help;’ or ‘\h’ for help. Type … Read more

Install ImageMagick

ImageMagick can be installed on Windows, Unix and Unix-like operating systems including Linux, Solaris, FreeBSD, Mac OS X, and others. Note: Make sure you have installed GhostScript and FreeType already 😉 More help https://www.svnlabs.com/blogs/install-openmeetings/ Download & Unpack # wget http://www.imagemagick.org/download/ImageMagick.tar.gz # tar xvfz ImageMagick.tar.gz Configure # cd ImageMagick-6.8.0-4 (or current version) # ./configure Build # … Read more

Red5 Media Server iOS Android Setup

Hope you already read our previous article “VOD to iOS” ?   How you can use Red5 Server for streaming to iPhone, iPads and Android? S V N Labs Softwares implements an iOS/Android add-on setup for Red5 Server to stream both Flash, iOS and Android devices. This add-on also supports setup of JW Player, Flowplayer and … Read more

Install rtmpdump in CentOS

I was compiling FFmpeg with RTMP support, but it requires librtmp >= 2.2.f [root@svnlabs ffmpeg]# ./configure –enable-gpl –enable-nonfree –enable-libmp3lame –enable-libfaac –enable-librtmp –enable-libtheora –enable-libvorbis –enable-libx264 –enable-shared –enable-postproc –disable-yasm Package librtmp was not found in the pkg-config search path. Perhaps you should add the directory containing `librtmp.pc’ to the PKG_CONFIG_PATH environment variable No package ‘librtmp’ found ERROR: … Read more

VOD to iOS

FFMpeg to encode and segment input video stream in the correct format for HTTP streaming protocol. Download & Install HTTP Live Video Stream Segmenter and Distributor # /usr/local/bin/live_segmenter <segment length> <output location> <filename prefix> <encoding profile>   M3U8 File: #EXTM3U #EXT-X-TARGETDURATION:10 #EXT-X-MEDIA-SEQUENCE:1 #EXTINF:10, http://ip-address/streamingvideo/test.m3u8-00001.ts #EXTINF:10, http://ip-address/streamingvideo/test.m3u8-00002.ts … …. #EXTINF:10, http://ip-address/streamingvideo/test.m3u8-00011.ts #EXT-X-ENDLIST Errors: Segmenter error: Could not … Read more

Install ionCube Loader

1. Download ionCube loaders # wget http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz 2. Extract # tar zxvf ioncube_loaders_lin_x86.tar.gz 3. Move to /usr/local # mv ioncube /usr/local/ 4. Add reference to php.ini file Depending on PHP version select ioncube_loader_lin_5.x.so and ioncube_loader_lin_5.x_ts.so files # ls /usr/local/ioncube/ ioncube_loader_lin_4.1.so ioncube_loader_lin_4.4.so ioncube_loader_lin_5.1.so ioncube_loader_lin_5.3.so ioncube_loader_lin_4.2.so ioncube_loader_lin_4.4_ts.so ioncube_loader_lin_5.1_ts.so ioncube_loader_lin_5.3_ts.so ioncube_loader_lin_4.3.so ioncube_loader_lin_5.0.so ioncube_loader_lin_5.2.so ioncube_loader_lin_5.4.so ioncube_loader_lin_4.3_ts.so ioncube_loader_lin_5.0_ts.so ioncube_loader_lin_5.2_ts.so ioncube_loader_lin_5.4_ts.so … Read more

Kaltura Video Platform

How to install 2 different Kaltura Video Platform on same server? 1. Community Edition v5.0.0 eagle-10-02 2. Community Edition v4.0.0 Goto kalturaCE_v5.0.0 if kalturaCE_v4.0.0 already installed Rename old databases to prefix _4 like kaltura_4 # php install.php Thank you for installing Kaltura Video Platform – Community Edition A previous installation attempt has been detected, do … Read more

MySQL open files limit

Upgrade Migration – Kaltura CE 4.0 to 5.0 I was migrating Kaltura from CE 4.0 to 5.0 but following MySQL error made me unhappy 🙁 One or more prerequisites required to install Kaltura failed: Please set ‘open_files_limit >= 20000’ in my.cnf and restart MySQL (current value is 1024) # ulimit -a | grep “open files” # … Read more

Upgrade PHP & MySQL on Plesk 10

1. Stop Running Apache & MySQL Server # /etc/init.d/mysqld stop # /etc/init.d/httpd stop 2. Set up the atomic channel # wget -q -O – http://www.atomicorp.com/installers/atomic | sh 3. Upgrade to PHP 5.3.x on plesk 10 # yum upgrade Now I can install “uploadprogress” extension easily pecl/uploadprogress requires PHP (version >= 5.2.0), installed version is 5.1.3 … Read more

CentOS Latest RPM for PHP MySQL

[root@svnlabs ~]# yum install php php-soap php-xmlrpc php-imap php-mcrypt php-mhash php-mbstring php-mysql php-xml php-gd php-cli php-common php-api Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: centos.mirrors.tds.net * extras: mirror.sanctuaryhost.com * updates: mirror.fdcservers.net Setting up Install Process Package matching php-5.1.6-32.el5.i386 already installed. Checking for update. Package matching php-mcrypt-5.1.6-15.el5.centos.1.i386 already installed. Checking for … Read more