This is an updated topic on how to install Ubuntu on a box to run Dolphin 7.x, this one is without photos.
http://www.boonex.com/forums/?action=goto&my_flags=1#topic/D7-Ubuntu-9-10.htm
This is what I did to get D7.x working on a server.
Download Ubuntu 12.04 LTS server edition iso burn it to a disc.
Insert your Ubuntu install CD into your system and boot from it. Select your language:
Then select Install Ubuntu Server:
Choose your language again (?):
Then select your location:
Choose a keyboard layout (you will be asked to press a few keys, and the installer will try to detect your keyboard layout based on the keys you pressed):
Enter the hostname. In this example, my system is called server1.example.com, so I enter server1:
Now you have to partition your hard disk. For simplicity's sake I select Guided - use entire disk and set up LVM - this will create one volume group with two logical volumes, one for the / file system and another one for swap (of course, the partitioning is totally up to you - if you know what you're doing, you can also set up your partitions manually).
Select the disk that you want to partition:
When you're asked Write the changes to disks and configure LVM?, select Yes:
If you have selected Guided - use entire disk and set up LVM, the partitioner will create one big volume group that uses all the disk space. You can now specify how much of that disk space should be used by the logical volumes for / and swap. It makes sense to leave some space unused so that you can later on expand your existing logical volumes or create new ones - this gives you more flexibility.
When you're finished, hit Yes when you're asked Write the changes to disks?:
Create a user, for example the user Administrator with the user name administrator (don't use the user name admin as it is a reserved name on Ubuntu 12.04LTS):
then enter in a username and a password and verify password on the next screens
I don't need an encrypted private directory, so I choose No here:
Next the package manager apt gets configured. Leave the HTTP proxy line empty unless you're using a proxy server to connect to the Internet:
I'm a little bit old-fashioned and like to update my servers manually to have more control, therefore I select No automatic updates. Of course, it's up to you what you select here:
We need a DNS, mail, and LAMP server, but nevertheless I don't select any of them now because I like to have full control over what gets installed on my system. We will install the needed packages manually later on. The only item I select here is OpenSSH server so that I can immediately connect to the system with an SSH client such as PuTTY after the installation has finished:
The base system installation is now finished. Remove the installation CD from the CD drive and hit Continue to reboot the system:
when the server reboots log in with the username and password you set up either with ssh or at the server terminal
Enter:
sudo su
enter password if it asks for one.
Type the following the following commands each line you need to press return/enter on your keyboard
apt-get update
apt-get upgrade
Install java:
apt-get install openjdk-7-jdk
sudo apt-get install proftpd
Then:
tasksel
on tasksel a window will open select lamp or webserver select it by pressing spacebar and follow the instructions
once that is done move on to next
add the next all on 1 line and press return/enter
apt-get install libjpeg-progs libjpeg62 libjpeg62-dev libsdl1.2-dev php5-dev php5-cli php5-gd build-essential unzip
then...
apt-get install imagemagick
then...
cd /usr/local/src
now we download some package
wget http://rubyforge.org/frs/download.php/17497/flvtool2-1.0.6.tgz
wget http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2
wget http://sourceforge.net/projects/lame/files/lame/3.98.2/lame-398-2.tar.gz
wget http://sourceforge.net/projects/ffmpeg-php/files/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2
wget http://downloads.xiph.org/releases/ogg/libogg-1.1.4.tar.gz
wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.2.3.tar.gz
wget http://ftp.penguin.cz/pub/users/utx/amr/amrwb-7.0.0.3.tar.bz2
wget http://ftp.penguin.cz/pub/users/utx/amr/amrnb-7.0.0.2.tar.bz2
wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz
Now we extract files
tar zxvf lame-398-2.tar.gz
tar zxvf libogg-1.1.4.tar.gz
tar zxvf libvorbis-1.2.3.tar.gz
tar zxvf flvtool2-1.0.6.tgz
tar jxvf essential-20071007.tar.bz2
tar jxvf ffmpeg-php-0.6.0.tbz2
bzip2 -cd amrnb-7.0.0.2.tar.bz2 | tar xvf -
bzip2 -cd amrwb-7.0.0.3.tar.bz2 | tar xvf -
tar zxvf libtheora-1.1.1.tar.gz
install ruby on rails, subversion & ncurses
apt-get install subversion ruby libcurses-ruby
get latest mplayer and latest ffmpeg from trunk
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
Install gawk
apt-get install gawk
install GIT
apt-get install git
apt-getinstall libglade2-0 libglade2-dev
cd /usr/local/src/mplayer
svn update
Copy the codecs
mkdir /usr/local/lib/codecs
mv /usr/local/src/essential-20071007/* /usr/local/lib/codecs/
chmod -R 755 /usr/local/lib/codecs/
Create TMP
mkdir /usr/local/src/tmp
chmod 777 /usr/local/src/tmp
export TMPDIR=/usr/local/src/tmp
Install Lame
cd /usr/local/src/lame-398-2
./configure
make && make install
Install Libogg
cd /usr/local/src/libogg-1.1.4
./configure && make && make install
Install libvorbis
nano /etc/ld.so.conf
add
/usr/local/lib
to a line close and save
ldconfig
cd /usr/local/src/libvorbis-1.2.3
./configure && make && make install
Install Flvtool2
cd /usr/local/src/flvtool2-1.0.6
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install
Install mplayer & mencoder
wget http://www.tortall.net/projects/yasm/releases/yasm-1.1.0.tar.gz -O- | tar zxvf -
cd yasm-1.1.0
./configure --disable-nls --prefix=/usr
make
make install
cd /usr/local/src/mplayer
./configure --yasm --enable-jpeg
make && make install
Install AMR
cd /usr/local/src/amrnb-7.0.0.2
./configure
make && make install
cd /usr/local/src/amrwb-7.0.0.3
./configure
make && make install
Install libtheora
cd /usr/local/src/libtheora-1.1.1
./configure
make && make install
Install ffmpeg
cd /usr/local/src/ffmpeg/
./configure --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared --enable-nonfree --enable-libtheora
make
make install
Install ffmpeg-php
cd /usr/local/src/ffmpeg-php-0.6.0/
I got to this using Google. We had this issue on CentOS but its the same error so I'm pretty sure it will solve your issues as well --
With the latest version of ffmpeg-php (0.6.0), update ffmpeg_frame.c and replace every instance of PIX_FMT_RGBA32 with PIX_FMT_RGB32
then it compiled fine.
For those who don't know how to do this -
vi ffmpeg_frame.c
:%s/PIX_FMT_RGBA32/PIX_FMT_RGB32
:w
:q!
phpize
./configure --with-ffmpeg=/usr/local/ffmpeg && make && make install
./configure
make
make install
echo 'extension=ffmpeg.so' >> /etc/php5/apache2/php.ini
echo
apt-get install php5-curl
apt-get install php5-xsl
/etc/init.d/apache2 restart
crontab -e
crontab will ask for default editor i used nano
when the file opens paste in the cron job that dolphin 7 gives you during installation
mine for instance is this
MAILTO=youremailaddress@mail.com
* * * * * cd /var/www/periodic; /usr/bin/php -q cron.php
Make these settings to your php.ini, I just didn't want to deal with errors for max issues.
nano /etc/php5/apache2/php.ini
max_execution_time = 30
changed to
max_execution_time = 300
max_input_time = 60
changed to
max_input_time = 600
memory_limit = 8M
changed to
memory_limit = 512M
post_max_size = 8M
changed to
post_max_size = 100M
upload_max_filesize = 8M
changed to
upload_max_filesize = 100M
save and exit that file
now type
a2enmod rewrite
now last thing i did was
nano /etc/apache2/sites-available/default
change everything that says AllowOverride None to AllowOverride All
save and close then
/etc/init.d/apache2 restart
change permissions on files, SSH into the site
chmod 777 ./inc ./backup ./cache ./cache_public ./langs ./media/app ./media/images ./media/images/banners ./media/images/blog ./media/images/classifieds ./media/images/membership ./media/images/profile ./media/images/profile_bg ./media/images/promo ./media/images/promo/original ./tmp ./plugins/htmlpurifier/standalone/HTMLPurifier/DefinitionCache/Serializer ./plugins/htmlpurifier/standalone/HTMLPurifier/DefinitionCache/Serializer/HTML ./plugins/htmlpurifier/standalone/HTMLPurifier/DefinitionCache/Serializer/CSS ./plugins/htmlpurifier/standalone/HTMLPurifier/DefinitionCache/Serializer/Test ./plugins/htmlpurifier/standalone/HTMLPurifier/DefinitionCache/Serializer/URI
chmod 777 ./flash/modules/board/files ./flash/modules/chat/files ./flash/modules/photo/files ./flash/modules/im/files ./flash/modules/mp3/files ./flash/modules/video/files ./flash/modules/video_comments/files chmod 666 inc/prof.inc.php
chmod 666 ./flash/modules/global/data/integration.dat ./flash/modules/board/xml/config.xml ./flash/modules/board/xml/langs.xml ./flash/modules/board/xml/main.xml ./flash/modules/board/xml/skins.xml ./flash/modules/chat/xml/config.xml ./flash/modules/chat/xml/langs.xml ./flash/modules/chat/xml/main.xml ./flash/modules/chat/xml/skins.xml ./flash/modules/desktop/xml/config.xml ./flash/modules/desktop/xml/langs.xml ./flash/modules/desktop/xml/main.xml ./flash/modules/desktop/xml/skins.xml ./flash/modules/global/xml/config.xml ./flash/modules/global/xml/main.xml ./flash/modules/im/xml/config.xml ./flash/modules/im/xml/langs.xml ./flash/modules/im/xml/main.xml ./flash/modules/im/xml/skins.xml ./flash/modules/mp3/xml/config.xml ./flash/modules/mp3/xml/langs.xml ./flash/modules/mp3/xml/main.xml ./flash/modules/mp3/xml/skins.xml ./flash/modules/photo/xml/config.xml ./flash/modules/photo/xml/langs.xml ./flash/modules/photo/xml/main.xml ./flash/modules/photo/xml/skins.xml ./flash/modules/video/xml/config.xml ./flash/modules/video/xml/langs.xml ./flash/modules/video/xml/main.xml ./flash/modules/video/xml/skins.xml ./flash/modules/video_comments/xml/config.xml ./flash/modules/video_comments/xml/langs.xml ./flash/modules/video_comments/xml/main.xml ./flash/modules/video_comments/xml/skins.xml
chmod 777 flash/modules/global/app/ffmpeg.exe
then I was good to go
then use your ftp manager like filezilla to login using your server ip (192.168.1.127 or whatever you have) and use the username and password that you set ubuntu up with
if you dont know your server ip
type in server command
ifconfig
haven't seen a need to install RMS (Rays Media Server) because you already install everything that is needed to handle dolphin 7's video encoding etc.
As for RMS, its purpose is to supply the video and audio communication features of Dolphin. Basically, if you do not need voice or audio chats on your site, you don't really need RMS. Video uploads will work with or without RMS, as it is a separate feature.
It's mainly for the chat application, where if you have RMS installed and enabled, you will see new sections available, such as a video panel where you can set-up your camera and microphone.
RMS is an absolute requirement for that?
RMS is needed for those two features to function.
The process to go about this would be a bit different, as CentOS is based on Red Hat and Ubuntu is based on Debian. Mainly, package installs would be different, but from there on out, should be about the same.