SERVER MANAGER CONFIGURATION (
http://yourdomain.com/server-manager)
CREATE DOLPHIN IBAY (Collaboration => Information bays => Add i-bay)
Information bay name=dolphin
Description=dolphin iBay
Group = Everyone
User access via file sharing or user ftp=”Write=group, Read=everyone”
Public access via web or anonymous ftp=Entire Internet (no password required)
Execution of dynamic content (CGI, PHP, SSI)=Enabled
CREATE DOLPHIN VIRTUAL DOMAIN (Configuration => Domains => Add domain)
Domain name=dolphin.yourdomain.com
Brief description=dolphin vDomain
i-bay=dolphin iBay
bDomain DNS servers=Internet DNS servers
Note: add a DNS pointer (A record) with your provider that points your IP to
http://dolphin.yourdomain.comDOWNLOAD AND EXTRACT THE TARBALL
Make the following directory after logging in to the console as root
# mkdir /root/dolphin7
Change into the dolphin7 directory
# cd /root/dolphin7
Download the dolphin7 tarball
# wget
ftp://chaloner.ca/dolphin7.tarExtract the tarball with;
# tar –xvf dolphin.tar
Note: all installations steps require you to be in /root/dolphin7 when executed
REVIEW DOLPHIN INSTALLATION GUIDE
Review online;
http://www.boonex.com/trac/dolphin/wiki/DetailedInstall70or locally;
/root/dolphin7/installguide.pdf
INSTALL MOD-REWRITE
Files required: modrewrite.sh
Installation method:
# sh modrewrite.sh
or manually;
modrewrite.sh (contents)
db accounts setprop dolphin FollowSymLinks enabled
db accounts setprop dolphin AllowOverride All
signal-event ibay-modify dolphin
SETUP PHPBASEDIR
Files required: phpbasedir.sh
Installation method:
# sh phpbasedir.sh
or manually;
phpbasedir.sh (contents)
/sbin/e-smith/db accounts setprop dolphin PHPBaseDir /home/e-smith/files/ibays/dolphin/html:/tmp
/sbin/e-smith/signal-event ibay-modify dolphin
CONFIGURE PHP VARIABLES
Files required: configphp.sh
Installation method:
# sh configphp.sh
or manually;
configphp.sh (contents)
db configuration setprop php MaxExecutionTime 3000
db configuration setprop php PostMaxSize 300M
db configuration setprop php UploadMaxFilesize 300M
db configuration setprop php MemoryLimit 128M
db configuration setprop php AllowUrlFopen On
expand-template /etc/php.ini
/etc/init.d/httpd-e-smith restart
db configuration show php
INSTALL PHP5 (5.2.8)
Files required: installphp5.sh
Installation method:
# sh installphp5.sh
or manually;
installphp5.sh (contents)
yum --enablerepo=smecontribs install smeserver-php5-cgi
signal-event post-upgrade
signal-event reboot
Note: this step will automatically reboot your system
ACTIVATE PHP5 FOR DOLPHIN
Files required: activatephp5.sh
Installation method:
# sh activatephp5.sh
or manually;
activatephp5.sh (contents)
db accounts setprop dolphin php5 yes
signal-event ibay-modify dolphin
expand-template /etc/php5/php.ini
expand-template /etc/php.ini
/etc/init.d/httpd-e-smith restart
CREATE DOLPHIN DATABASE (manual console commands as root)
Note: you will need to substitute a password of your choice for ‘yourDBpassword’
Installation method:
# mysqladmin create dolphin
# mysql
grant all on dolphin.* to dolphin@localhost identified by ‘yourDBpassword’;
flush privileges;
quit
Note: the following database variables you will need for the actual dolphin7 installation further on;
database name=dolphin
database user=dolphin
database password=yourDBpassword
PHP location=/usr/bin/php5/php
INSTALL DOLPHIN FILES
Files required: installdolphin.sh, Dolphin-v.7.0.0.zip
Installation method:
# sh installdolphin.sh
or manually;
installdolphin.sh (contents)
rm –Rf /home/e-smith/files/ibays/dolphin/html/index.html
cp Dolphin-v.7.0.0.zip /home/e-smith/files/ibays/dolphin/html
cd /home/e-smith/files/ibays/dolphin/html
unzip Dolphin-v.7.0.0.zip
rm –Rf Dolphin-v.7.0.0.zip
cd /root/dolphin7
SET PERMISSIONS PRIOR TO ACTUAL INSTALL
Files required: setpermissions.sh
Installation method:
# sh setpermissions.sh
or manually;
# cd /home/e-smith/files/ibays/dolphin/html
# 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
# 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
# chmod -v 666 inc/prof.inc.php
# cd /root/dolphin7
DOLPHIN 7 INSTALLATION
Using your browser navigate to
http://dolphin.yourdomain.comNote: towards the end of the install the required cron entry will be provided to you based on information you provide. It should be identical to the one I have shown as example below in all respects other than for the email address. Pay particular attention to the location of php5, which should be /usr/bin/php5/php
PERMIISSION REVERSALS
Files required: reversepermissions.sh
Installation method:
# sh reversepermissions.sh
Or manually;
# cd /home/e-smith/files/ibays/dolphin/html
# chmod -v 755 ./inc
# cd /root/dolphin7
REMOVE INSTALL DIRECTORY
Files required: removeinstall.sh
Installation method:
# sh removeinstall.sh
Or manually;
# rm –Rf /home/e-smith/files/ibays/dolphin/html/install
SETUP CRONTAB ENTRY
Note: You need to modify this entry and be sure it is identical to the one I show as example in all respects other than for the email address. Pay particular attention to the location of php5, which should be /usr/bin/php5/php
Files required: crontab.sh, dolphin
Installation method:
# sh crontab.sh
or manually;
crontab.sh (contents)
mkdir -p /etc/e-smith/templates-custom/etc/crontab
cp /root/dolphin7/dolphin /etc/e-smith/templates-custom/etc/crontab
expand-template /etc/crontab
service crond restart
dolphin (contents)
MAILTO=email@chaloner.ca
* * * * * cd /home/e-smith/files/ibays/dolphin/html/periodic; /usr/bin/php5/php -q cron.php
ENJOY YOUR NEW SITE
http://dolphin.yourdomain.comhttp://dolphin.yourdomain.com/administration