Very Simple…
apt-get install libapache2-mod-php5 /etc/init.d/apache2 restart
Very Simple…
apt-get install libapache2-mod-php5 /etc/init.d/apache2 restart
From UnixBench website :
UnixBench is the original BYTE UNIX benchmark suite, updated and revised by many people over the years.
The purpose of UnixBench is to provide a basic indicator of the performance of a Unix-like system; hence, multiple tests are used to test various aspects of the system’s performance. These test results are then compared to the scores from a baseline system to produce an index value, which is generally easier to handle than the raw scores. The entire set of index values is then combined to make an overall index for the system.
Some very simple graphics tests are included to measure the 2D and 3D graphics performance of the system.
Multi-CPU systems are handled. If your system has multiple CPUs, the default behaviour is to run the selected tests twice — once with one copy of each test program running at a time, and once with N copies, where N is the number of CPUs. This is designed to allow you to assess:
- the performance of your system when running a single task
- the performance of your system when running multiple tasks
- the gain from your system’s implementation of parallel processing
Do be aware that this is a system benchmark, not a CPU, RAM or disk benchmark. The results will depend not only on your hardware, but on your operating system, libraries, and even compiler.
First install required libraries for compilation :
apt-get install libx11-dev libgl1-mesa-dev libxext-dev perl perl-modules make
Then get the unixbench and run it :
wget http://byte-unixbench.googlecode.com/files/unixbench-5.1.2.tar.gz tar zxvf unixbench-5.1.2.tar.gz cd unixbench-5.1.2 ./Run
locate and updatedb commands are the best commands to search and find files in Linux. if you dont have them installed on your Linux , use the following commands :
Debian :
apt-get install locate
CentOS :
yum install mlocate
From ffmpeg.org :
FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It includes libavcodec – the leading audio/video codec library.
Installation Guide :
download the following debian package and install it :
wget http://www.debian-multimedia.org/pool/main/d/debian-multimedia-keyring/debian-multimedia-keyring_2008.10.16_all.deb dpkg -i debian-multimedia-keyring_2008.10.16_all.deb
Add the following lines to your /etc/apt/source.list :
nano /etc/apt/nano sources.list
deb http://www.debian-multimedia.org lenny main deb-src http://www.debian-multimedia.org lenny main
update your apt cache :
apt-get update
install needed utils :
apt-get install checkinstall yasm git-core subversion
install ffmpeg dependencies :
apt-get build-dep ffmpeg
Install x264 :
git clone git://git.videolan.org/x264.git cd x264 ./configure make checkinstall --pkgname=x264 --pkgversion "1:0.svn`date +%Y%m%d`" --backup=no --default
Install libtheora :
wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz tar xzvf libtheora-1.1.1.tar.gz cd libtheora-1.1.1 ./configure make checkinstall --pkgname=libtheora --pkgversion "1.1.1" --backup=no --default
remove old libx264-dev :
apt-get remove libx264-dev
download the latest release of ffmpeg using subversion :
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
configure and make ffmpeg :
cd ffmpeg/ ./configure --enable-version3 --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libgsm --enable-postproc --enable-libxvid --enable-libfaac --enable-pthreads --enable-libvorbis --enable-gpl --enable-x11grab --enable-nonfree make checkinstall --pkgname=ffmpeg --pkgversion "4:0.5+svn`date +%Y%m%d`" --backup=no --default
and we are all set ![]()
just one more note , if you are going to convert flv files to 3gp files like me
use the following command :
ffmpeg -i input.flv -s 176x144 -vcodec h263 -acodec aac output.3gp
Powered by WordPress