How to Install the FFMPEG auto installer from ffmpeginstaller.com

It’s hard to install each option needed for a versatile video streaming script. Luckily the talented guys at ffmpeginstaller.com make an easy to use script to get FFMPEG and all of the extra tools installed.

First grab the auto installer file, you will need to right click the download button and choose to “copy link address” to get the latest version link. For example the current url now is:

http://mirror.ffmpeginstaller.com/old/scripts/ffmpeg8/ffmpeginstaller.8.0.tar.gz

So first run:

wget http://mirror.ffmpeginstaller.com/old/scripts/ffmpeg8/ffmpeginstaller.8.0.tar.gz

Then untar it:

tar -xvzf ffmpeginstaller.8.0.tar.gz

Then go into the folder:

cd ffmpeginstaller.8.0

Now run it!

./install.sh

It will ask you if you want to install everything, just choose yes.

It will install of these:

  • ffmpeg
  • Mplayer
  • A52decoder
  • Amrnb and AmrwbAll
  • codecsfacc and faad2Rubyfdk-aacvo-aacencvo-amrwbenc
  • flvtool2
  • Git
  • Mplayer
  • Lame
  • Libogg
  • Libvorbis
  • Libtheora
  • Libspeex
  • Libflac
  • Libao
  • Libwmf
  • opencoreamr
  • vorbistools
  • X264
  • MP4Box
  • Xvidcore
  • Yasm
  • LibOggz
  • Yamdi

Raising the upload limit in phpmyadmin for CPanel

Firs you need to find the phpmyadmin php.ini file. Use this command to find all php.ini files:

find /usr -name php.ini

Then find the path to the php.ini file that is listed in the “phpmyadmin” folder.

Mine was

/usr/local/cpanel/3rdparty/etc/phpmyadmin

Next find these two section and change the limit how you want:

upload_max_filesize = 150M
AND
post_max_size = 150M

I wouldn’t go above 200

Than restart cpanel from the command line:

service cpanel restart

How to amend the emails from Cpanel backups to the current account

If a customer happens to delete their emails you can still retrieve them from the cpanel backup system. This will take root access to move the files from the backup folder tot he customers account.

You can extract a backup archive and copy over the emails to an account’s existing mail directory. If restoring a backup archive, you will find emails located at:

Code:
/home/cpmove-username/homedir/mail/domain.com/email-account/

You can also find emails from the default account within:

Code:
/home/cpmove-username/homedir/mail/

The following thread is intended for manual migrations to cPanel, but it includes details about the maildir structure that will be useful to you:

Manual Migrations to cPanel

Removing the eximstats file

You can modify the following option in “WHM Home » Server Configuration » Tweak Settings” under the “Stats and Logs” tab:

“The interval, in days, to retain Exim stats in the database”

Reducing this value will decrease the amount of data that is stored in the Eximstats database.  If you decide to drop the eximstats tables completely, you can generate a new instance of the tables via:

Code:
/usr/local/cpanel/bin/updateeximstats