This guide is currently incomplete, and will likely stay incomplete since we didn’t keep notes and don’t plan on ever installing the application again. Hopefully these introductory steps will help.
This is a technical guide detailing the steps a person has to go through to install ClipShare 4.1 on their web-server. Firstly, you’ll need a real server or a virtual private server to install this script, it will not install smoothly on shared hosting. Shared hosts will not have the required libraries, nor will they give you SSH access to install them.
SSH into your webserver. Use something like Putty to do the job. Open your firewall for your IP address.
Download and extract the required packages:
wget http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz
tar -jxvf essential-20071007.tar.bz2
wget http://rubyforge.org/frs/download.php/17497/flvtool2-1.0.6.tgz
tar -zxvf flvtool2-1.0.6.tgz
wget http://downloads.xiph.org/releases/ogg/libogg-1.1.4.tar.gz
tar -zxvf lame-398-2.tar.gz
wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.2.3.tar.gz
tar -zxvf libogg-1.1.4.tar.gz
wget http://downloads.sourceforge.net/sourceforge/lame/lame-398-2.tar.gz?use_mirror=superb-east
tar -zxvf libvorbis-1.2.3.tar.gz
wget http://www.mplayerhq.hu/MPlayer/releases/mplayer-checkout-snapshot.tar.bz2
Install flvtool:
This requires ruby to install. Version 1.8.x to be specific, you’ll get an error with version 1.9.x.
cd flvtool2-1.0.6/
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install
If you get an error, install ruby:
wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p174.tar.gz
tar -zxvf ruby-1.8.7-p174.tar.gz
cd ruby-1.8.7-p174
./configure
make
make install
After this you should have ruby and flvtool2 installed. Now onto the others:
Lets install lame, the MP3 libraries.
cd lame-398-2/
ls
./configure
make
make install
cd ..
Time for libogg, an open source audio codec:
cd libogg-1.1.4/
ls
./configure
make
make install
cd ..
libogg didn’t install 100% clean, the next package libvorbis is depenendant on libogg, and had to run the following command to get libvorbis to install:
LD_LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH
Now we should be able to install libvorbis:
cd ./libvorbis-1.2.3/
./configure
make
make install