This is what I did to get everything working in D7 on a test server
Download Ubuntu 9.10 server edition iso burn it to 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 9.10):
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
then i typed sudo su
enter password if it asks for one.
then i type the following the following commands each line you need to press return/enter on your keyboard
apt-get update
apt-get upgrade
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://www3.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/download
wget http://sourceforge.net/projects/ffmpeg-php/files/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2/download
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
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
cd /usr/local/src/mplayer
./configure --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/
phpize
./configure --with-ffmpeg=/usr/local/ffmpeg
make
make install
echo 'extension=ffmpeg.so' >> /etc/php5/apache2/php.ini
/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=awaftershock@live.com
* * * * * cd /var/www/periodic; /usr/bin/php -q cron.php
and i changed that to
MAILTO=awaftershock@live.com
*/1 * * * * cd /var/www/periodic; /usr/bin/php -q cron.php
so it will check for encoding every 1 minute, 1 minute might not be suitable for you, but im impatient lol
then i made a couple tweaks to php. these settings that i made are in now way good safe or whatever I just didnt want to deal with errors for max issues.
nano /etc/php5/apache2/php.ini
max_execution_time = 30
changed to
max_execution_time = 3000
max_input_time = 60
changed to
max_input_time = 6000
memory_limit = 8M
changed to
memory_limit = 512M
post_max_size = 8M
changed to
post_max_size = 1000M
upload_max_filesize = 8M
changed to
upload_max_filesize = 1000M
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
then I was good to go
durring the installation it showed some permissions that needed to be changed all of that was very easy when it says something needs permissions just type
chmod 777 /directory-needing-chmodded/some-other-directory/somefile.php
or what i did was just
chmod -R 777 /var/www
because im on a test server
but you will have to go back and re chmod some other files when dealing with the flash modules most of those will go back to 666 permission.
I am a noob to linux and a noob to dolphin so i hope this helps other nooob