Here are my install notes for Dolphin 7 (Not Media Server) for Ubuntu 9.10 Desktop. Ubuntu has everything apt-get'able so I did not need to "make". However, there are settings that need to be changed. As you will be able to tell, these are my realtime notes, in that I had to go back and enable mod_rewrite. However, I thought I would share because all "awesome" scripts have a "how to install on Ubuntu guide" and I did want Dolphin to be left out. I have put a number asterick ##* in front of each command that I entered.
I apologize for using "preformatted" for the directions, I had already formatted in a text editor.
I Hope this helps!!
**NOTE: I was already in su by doing command "sudo su" and assume /var/www as default directory if one is not specified.
--------------------------------------------------- --------------------------------------------------- ## Section: Install Apache, PHP, PHPMyAdmin & Mysql -Source site: http://chadaphone.wordpress.com/2009/06/02/installation-php-apache-mysql-phpmyadmin-in-ubuntu-9-04/ Default web-root: /var/www Default path to php.ini: /etc/php5/apache2/php.ini 01* apt-get install apache2 php5 php5-mysql mysql-server 02* /etc/init.d/apache2 restart 03* apt-get install phpmyadmin 04* ln -s /usr/share/phpmyadmin/ /var/www/phpmyadmin Optional - create phpinfo to see if PHP & Apache work (can also find default php.ini path etc. cd /var/www <--default root create file: test.php 05* Edit php.ini file and change memory_limit to at least 128M (I went with 256M) Do not put "B" at end of number ;;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;; max_execution_time = 30 ; Maximum execution time of each script, in seconds max_input_time = 60 ; Maximum amount of time each script may spend parsing request data ;max_input_nesting_level = 64 ; Maximum input variable nesting level change --> memory_limit = 256M ; Maximum amount of memory a script may consume (16MB) 06* apt-get install php5-xsl --------------------------------------------------- --------------------------------------------------- ## Section: Install Postfix for mail enabled-ness -Source site: https://help.ubuntu.com/community/Postfix Note: For the Postfix install option I chose "Internet" as the option and for FQDN left out my root domain example.org because I already had a mail server that I am using. 07* aptitude install postfix 08* sudo postconf -e 'smtpd_sasl_local_domain =' 09* sudo postconf -e 'smtpd_sasl_auth_enable = yes' 10* sudo postconf -e 'smtpd_sasl_security_options = noanonymous' 11* sudo postconf -e 'broken_sasl_auth_clients = yes' 12* sudo postconf -e 'smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination' 13* sudo postconf -e 'inet_interfaces = all' 14* edit /etc/postfix/sasl/smtpd.conf and add the following lines: <-- not there originally pwcheck_method: saslauthd mech_list: plain login 15* touch smtpd.key 16* chmod 600 smtpd.key 17* openssl genrsa 1024 > smtpd.key 18* openssl req -new -key smtpd.key -x509 -days 3650 -out smtpd.crt # has prompts Suggestion: Don't copy paste 18 & 19 together. Didn't work for me until I ran separately 19* openssl req -new -x509 -extensions v3_ca -keyout cakey.pem -out cacert.pem -days 3650 20* sudo mv smtpd.key /etc/ssl/private/ 21* sudo mv smtpd.crt /etc/ssl/certs/ 22* sudo mv cakey.pem /etc/ssl/private/ 23* sudo mv cacert.pem /etc/ssl/certs/ 24* sudo postconf -e 'smtp_tls_security_level = may' 25* sudo postconf -e 'smtpd_tls_security_level = may' 26* sudo postconf -e 'smtpd_tls_auth_only = no' 27* sudo postconf -e 'smtp_tls_note_starttls_offer = yes' 28* sudo postconf -e 'smtpd_tls_key_file = /etc/ssl/private/smtpd.key' 29* sudo postconf -e 'smtpd_tls_cert_file = /etc/ssl/certs/smtpd.crt' 30* sudo postconf -e 'smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem' 31* sudo postconf -e 'smtpd_tls_loglevel = 1' 32* sudo postconf -e 'smtpd_tls_received_header = yes' 33* sudo postconf -e 'smtpd_tls_session_cache_timeout = 3600s' 34* sudo postconf -e 'tls_random_source = dev:/dev/urandom' 35* sudo postconf -e 'myhostname = server1.example.com' #<-- remember single quote at end 36* sudo /etc/init.d/postfix restart 37* apt-get install libsasl2-2 sasl2-bin 38* vi /etc/default/saslauthd <-change to yes and add the rest of the lines START=yes PWDIR="/var/spool/postfix/var/run/saslauthd" PARAMS="-m ${PWDIR}" PIDFILE="${PWDIR}/saslauthd.pid" OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd" 39* dpkg-statoverride --force --update --add root sasl 755 /var/spool/postfix/var/run/saslauthd 40* sudo /etc/init.d/saslauthd start --------------------------------------------------- --------------------------------------------------- ## Section: Prepare to Install Dolphin -Source site: http://www.boonex.com/trac/dolphin/wiki/DetailedInstall70 -Download site: http://www.boonex.com/dolphin/download/ NOTE: Do not surf to the install index.php until after step 58 NOTE: Dolphin zip file does not have directory as root, so it expands all files where you unzip and not a directory like "dolphin7" that you then have to copy everything from. 41* make target dir in /var/www 42* unzip Dolphin-v.X.X.zip 43* chmod -v 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 44* chmod -v 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 45* chmod -v 666 inc/prof.inc.php 46* chmod -v 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 47* chmod -v 777 flash/modules/global/app/ffmpeg.exe 48* create dolphin database & user in phpmyadmin. NOTE: I was able to start with privileges "Create User" and then selected "Create database with same name and grant all privileges" and it worked fine. I left host as "Localhost" --------------------------------------------------- --------------------------------------------------- ## Section: Install ImageMagick -Source: http://www.theatons.com/install-imagemagick-imagick-for-php-on-ubuntu 49* apt-get install php5-dev 50* sudo apt-get install php-pear 51* sudo apt-get install imagemagick 52* sudo apt-get install libmagick9-dev 53* sudo pecl install imagick 54* Edit php.ini and extension in under Dynamic Extensions section ;;;;;;;;;;;;;;;;;;;;;; ; Dynamic Extensions ; ;;;;;;;;;;;;;;;;;;;;;; Add---> extension=imagick.so --------------------------------------------------- --------------------------------------------------- ## Section: Enable mode rewrite <- Found this out after doing all of the above Source: http://ubuntuforums.org/showthread.php?t=255556 Posting by Pekz0r states: "Change AllowOverRide None in /etc/apache/sites-available/default to AllowOverRide All(or something else, but not None). Apache won't read the rewrite rules nor the .htaccess-files if AllowOverRide is set to None." 55* sudo a2enmod rewrite 56* Edit /etc/apache2/sites-available/default file and change the following Options Indexes FollowSymLinks MultiViews All from none-> AllowOverride All Order allow,deny allow from all 57* /etc/init.d/apache2 restart 58* Go to your html root "/var/www" and rename the default index.html to orgindex.html so it doesn't interfere with Dolphin --------------------------------------------------- --------------------------------------------------- ## Section: Surf to the index.php install Dolphin Notes: Helpful paths that I had to look for: /usr/bin/php /usr/bin/mogrify /usr/bin/convert /usr/bin/composite --------------------------------------------------- --------------------------------------------------- ## Section: Finish Install 59* crontab -e 60* Add cron job MAILTO=admin@example.org * * * * * /usr/bin/php /var/www/periodic/cron.php 61* chmod -v 755 ./inc 62* rm -R ./install Had to do the following in order to get avatar module to work. 63* chmode -R 777 ./modules ---------------------------------End----------------------------------------------------