Dolphin Smart Community Builder is a very cool open source social networking script that oddly does not seem to have much in the way of installation instructions. After some digging around I managed to get in installed by following these steps:
1. Download the Dolphin tarball and copy it to the webroot folder on the target webserver.
2. Unzip the tarball into the webroot folder:
tar -xvzf Dolphin-v.6.1.4-Free.tar.gz
3. Create a MySQL database and user for Dolphin:
mysql -u root -p
Enter your MySQL root password and then at the mysql> prompt enter the following (remembering to change «password» to your desired password):
create database dolphin;
grant all on dolphin.* to dolphin@localhost identified by "«password»";
flush privileges;
exit
4. Open a browser and navigate to the dolphin install page at:
http://«YOUR_DOMAIN»/install/index.php
5. Click the install button and you should see a load of directories that need permissions setting. Copy, paste and run the following commands from the root folder of your Dolphin installation to set them:
chmod 777 backup cache groups/gallery groups/orca/cachejs groups/orca/classes groups/orca/js groups/orca/layout groups/orca/log inc langs media/images media/images/banners media/images/blog media/images/classifieds media/images/gallery media/images/profile media/images/profile_bg media/images/promo media/images/promo/original media/images/sdating media/images/sharingImages media/sound media/video orca/cachejs orca/classes orca/conf orca/js orca/layout orca/log periodic tmp ray/modules/global/app/ffmpeg.exe ray/modules/board/files ray/modules/chat/files ray/modules/im/files ray/modules/movie/files ray/modules/mp3/files ray/modules/music/files
chmod 666 inc/db_cached/MenuContent.inc inc/db_cached/PageView.inc inc/db_cached/ProfileFields.inc inc/db_cached/SiteStat.inc inc/params.inc.php inc/prof.inc.php periodic/cmd.php periodic/cupid.php periodic/notifies.php ray/modules/global/data/integration.dat ray/modules/board/xml/config.xml ray/modules/board/xml/langs.xml ray/modules/board/xml/main.xml ray/modules/board/xml/skins.xml ray/modules/chat/xml/config.xml ray/modules/chat/xml/langs.xml ray/modules/chat/xml/main.xml ray/modules/chat/xml/skins.xml ray/modules/desktop/xml/config.xml ray/modules/desktop/xml/langs.xml ray/modules/desktop/xml/main.xml ray/modules/desktop/xml/skins.xml ray/modules/global/inc/cron.inc.php ray/modules/global/inc/header.inc.php ray/modules/global/xml/config.xml ray/modules/global/xml/main.xml ray/modules/im/xml/config.xml ray/modules/im/xml/langs.xml ray/modules/im/xml/main.xml ray/modules/im/xml/skins.xml ray/modules/movie/xml/config.xml ray/modules/movie/xml/langs.xml ray/modules/movie/xml/main.xml ray/modules/movie/xml/skins.xml ray/modules/mp3/xml/config.xml ray/modules/mp3/xml/langs.xml ray/modules/mp3/xml/main.xml ray/modules/mp3/xml/skins.xml ray/modules/music/xml/config.xml ray/modules/music/xml/langs.xml ray/modules/music/xml/main.xml ray/modules/music/xml/skins.xml ray/modules/presence/xml/config.xml ray/modules/presence/xml/langs.xml ray/modules/presence/xml/main.xml ray/modules/presence/xml/skins.xml ray/modules/shoutbox/xml/config.xml ray/modules/shoutbox/xml/langs.xml ray/modules/shoutbox/xml/main.xml ray/modules/shoutbox/xml/skins.xml ray/modules/video/xml/config.xml ray/modules/video/xml/langs.xml ray/modules/video/xml/main.xml ray/modules/video/xml/main.xml ray/modules/video/xml/skins.xml
When done click ‘Next’ to re-check and move on.
6. On the next screen if you are asked to ‘..please install ImageMagick’ then run the following:
sudo apt-get install imagemagick
Click ‘Next’ to move on.
7. On the next screen enter the details of the database you created in step 3 then click ‘Next’ to move on.
8. On the next screen enter your site details then click ‘Next’ to move on.
9. The next screen prompts you to create cron jobs. You can do this as follows:
crontab -e
Will edit the current users crontab with the vi editor. Ensure this is a user with the appropriate permissions to run the cron tasks listed below. Edit the file by pressing ‘i’ to start insert mode and add the following lines remembering to substitute «YOUR _EMAIL_ADDRESS» with the email address you wish to receive notifications at:
MAILTO=«YOUR _EMAIL_ADDRESS»
0 0 * * * /usr/bin/php -q /var/www/vhosts/you.mu/httpdocs/sic/periodic/cmd.php
*/10 * * * * /usr/bin/php -q /var/www/vhosts/you.mu/httpdocs/sic/periodic/notifies.php
* */1 * * * /usr/bin/php -q /var/www/vhosts/you.mu/httpdocs/sic/periodic/cupid.php
When done enter :wq! to install the new crontab and click ‘Next’ to move on.
10. The next screen will ask you to revert some permissions. Copy, paste and run the following commands:
chmod 755 inc periodic
chmod 644 periodic/cmd.php periodic/notifies.php periodic/cupid.php ray/modules/global/inc/header.inc.php
11. Ok - nearly there, now remove the install directory with:
rm -fr install
Refresh the page and there you go - your own social community ready to rock, enjoy!
Any corrections, omissions or success stories please leave a comment - cheers!




0 Responses to “HOWTO: Install Dolphin Open Source Social Network Script on Ubuntu”