Changes between Version 81 and Version 82 of DetailedInstall


Ignore:
Timestamp:
Aug 26, 2010, 3:12:16 AM (14 years ago)
Author:
Andrew Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DetailedInstall

    v81 v82  
    1 = Dolphin Installation Guide = 
     1= Dolphin 7 Installation Guide = 
    22 
    33Before installing Dolphin, you need to check that your hosting provider fulfils the necessary [wiki:DolTech requirements] and that you have all the information to get it done. Neither of the two should be a problem, but it is wise to verify first. 
     
    2102101. ''If PHP is running as an Apache module on Unix systems'' - log into your shell account using your favorite shell client and change directory to that containing your Dolphin script files. Now run the following commands under your SSH prompt: 
    211211 
    212       '''(for Dolphin 6.1.x)''': 
    213  
    214       {{{ 
    215 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 
    216  
    217 chmod 777 ./ray/modules/board/files ./ray/modules/chat/files ./ray/modules/im/files ./ray/modules/movie/files ./ray/modules/mp3/files ./ray/modules/music/files ./ray/modules/global/app/ffmpeg.exe 
    218  
    219 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 
    220  
    221 chmod 666 ./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/data/integration.dat ./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/skins.xml 
    222  
    223       }}} 
    224          
    225       '''(for Dolphin 7.x)''' 
    226  
    227212      {{{ 
    228213chmod 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  
     
    356341[[BR]] 
    357342 
    358 '''DOLPHIN 7.x on LINUX''' 
     343'''LINUX''' 
    359344 
    360345    * ''USING CPANEL'' 
     
    389374        '''Hint: The above lines serve as an example. The actual Cron Job commands are generated by the script at 6th step of the installation process. And you can easily copy&paste them into the "crontab" file.'''           
    390375 
    391 '''DOLPHIN 7.x on WINDOWS''' 
     376'''WINDOWS''' 
    392377         
    393378    1. create batch files for the cron. For example:[[BR]] 
     
    407392    }}} 
    408393 
    409  
    410 '''DOLPHIN 6.1.x on WINDOWS''' 
    411          
    412     * ''USING CPANEL'' 
    413          
    414         1. Click the Cron Jobs link under your CPanel account and choose Advanced (Linux Style) 
    415                  
    416         2. Indicate the email address for collecting information about cron execution 
    417                  
    418         3. Return to the Dolphin installation page and copy the first command to be run as cron (omitting the zeros and asterisks), for example: 
    419     {{{ 
    420 /usr/local/bin/php -q /home/localhost/www/d611/periodic/cmd.php 
    421     }}} 
    422     and insert it into the first field of your CPanel cron jobs management page schedule the time for this job, which also can be fetched from the Dolphin installation page, such as: 
    423     {{{ 
    424 0 0 * * * (which means: run the script every midnight) 
    425     }}} 
    426          
    427         4. Apply the changes and click Back to return to the Cron Management page 
    428                  
    429         5. Do the same for the second cron script: 
    430         {{{ 
    431 /usr/local/bin/php -q /home/localhost/www/d611/periodic/notifies.php 
    432  
    433         }}} 
    434     and schedule the time for it: 
    435     {{{ 
    436 */10 * * * * (which means: run the script every 10 minutes) 
    437     }}} 
    438          
    439         6. Do the same for the third cron script: 
    440         {{{ 
    441 /usr/local/bin/php -q /home/localhost/www/d611/periodic/cupid.php 
    442  
    443         }}} 
    444         and schedule the time for it: 
    445         {{{ 
    446 * */1 * * * (which means: run the script every 1 hour) 
    447         }}} 
    448  
    449  
    450     * ''USING SHELL'' (for experienced users) 
    451  
    452     run the following command 
    453     {{{ 
    454 crontab -e 
    455     }}} 
    456  
    457     This will open your default text editor, where you will have to insert the three lines of code to be executed: 
    458     {{{ 
    459 MAILTO=myemail@mysite.com 
    460 0 0 * * * /usr/local/bin/php -q /home/localhost/www/d611/periodic/cmd.php 
    461 */10 * * * * /usr/local/bin/php -q /home/localhost/www/d611/periodic/notifies.php 
    462 * */1 * * * /usr/local/bin/php -q /home/localhost/www/d611/periodic/cupid.php 
    463  
    464     }}} 
    465  
    466 Save the file and exit the editor. 
    467  
    468     '''Hint:''' The above lines serve as an example. The actual Cron Job commands are generated by the script at the 6th step of the installation process. And you can easily copy&paste them into the "crontab" file.           
    469  
    470  
    471 '''DOLPHIN 6.1.x on WINDOWS''' 
    472          
    473     1) create batch files for every cron you wish to create. For example:[[BR]] 
    474     ''c:\wamp\www\periodic\cmd.bat''[[BR]] 
    475     ''c:\wamp\www\periodic\notifies.bat''[[BR]] 
    476     ''c:\wamp\www\periodic\cupid.bat'' 
    477          
    478     This are sample contents of the above mentioned files: 
    479  
    480     '''''c:\wamp\www\periodic\cmd.bat''''': 
    481     {{{ 
    482 c:\wamp\bin\php\php5.2.6\php.exe -f c:\wamp\www\periodic\cmd.php 
    483     }}} 
    484  
    485     '''''c:\wamp\www\periodic\notifies.bat''''': 
    486     {{{ 
    487 c:\wamp\bin\php\php5.2.6\php.exe -f c:\wamp\www\periodic\notifies.php 
    488     }}} 
    489  
    490     '''''c:\wamp\www\periodic\cupid.bat''''': 
    491     {{{ 
    492 c:\wamp\bin\php\php5.2.6\php.exe -f c:\wamp\www\periodic\cupid.php 
    493     }}} 
    494          
    495     2) then assign crons for these files this way: 
    496     {{{ 
    497 schtasks /Create /tn cmd_cron /sc DAILY /st 00:00:00 /tr c:\wamp\www\periodic\cmd.bat (to run every day at midnight) 
    498 schtasks /Create /tn notifies_cron /sc MINUTE /mo 10 /tr c:\wamp\www\periodic\notifies.bat (to run every 10 minutes) 
    499 schtasks /Create /tn cupid_cron /sc HOURLY /mo 1 /tr c:\wamp\www\periodic\cupid.bat (to run every 1 hour) 
    500  
    501     }}} 
    502  
    503394---- 
    504395=== Install Script - Step 6 - Permissions Reversal === 
     
    510401         
    511402   Log into your FTP account using your favorite FTP client and navigate to the folder in which you have installed Dolphin script. 
    512  
    513    '''For Dolphin 6.1.x''' 
    514  
    515    Run the following commands: 
    516     {{{ 
     403    
     404   Run the following command: 
     405   {{{ 
    517406SITE CHMOD 755 ./inc 
    518 SITE CHMOD 755 ./periodic 
    519 SITE CHMOD 644 ./periodic/cmd.php 
    520 SITE CHMOD 644 ./periodic/notifies.php 
    521 SITE CHMOD 644 ./periodic/cupid.php 
    522 SITE CHMOD 644 ./periodic/tags.php 
    523 SITE CHMOD 644 ./ray/modules/global/inc/header.inc.php 
    524  
    525     }}} 
    526  
    527    '''For Dolphin 7.x''' 
    528     
    529    Run the following command: 
    530    {{{ 
    531 SITE CHMOD 755 ./inc 
    532  
    533407   }}} 
    534408 
     
    537411    Log into your shell account using your favorite shell client and change directory for that which contains your installed Dolphin script. Now run the following commands under your SSH prompt: 
    538412 
    539    '''For Dolphin 6.1.x''' 
    540     
    541    {{{ 
    542 chmod 755 ./inc ./periodic 
    543 chmod 644  ./periodic/cmd.php ./periodic/notifies.php ./periodic/cupid.php ./ray/modules/global/inc/header.inc.php 
    544  
    545    }}} 
    546     
    547    '''For Dolphin 7.x''' 
    548  
    549413   {{{ 
    550414chmod 755 ./inc 
    551  
    552415   }}} 
    553416 
     
    566429== Part 5: Final Step == 
    567430---- 
    568  
    569 == DOLPHIN 7.x == 
    570431 
    571432After the installation is finished and the script has logged you in, you need to register your license and install the modules that you want to have on your site. 
     
    608469 
    609470[[BR]] 
    610 == DOLPHIN 6.1.x == 
    611  
    612 === Specify RMS for the Ray applications ===  
    613  
    614     * You need to log into your Admin Panel and you will be given the prompt to register Dolphin. 
    615          
    616     * Go to '''Plugins -> Ray Suite -> Base Settings''', check '''Use RMS''', specify '''RMS Address''' (the IP address of your RMS), '''RMS Port''' ('''1935''' by default) and '''RMS HTTP Port''' ('''5080''' by default). 
    617          
    618     Click '''Save -> OK'''. If you see no error notification, your RMS is running properly. If the notification '''Can't connect to RMS''' appears, refer to this [http://www.boonex.com/trac/ray/wiki/GenRayTshooter#MyRMSwidgetsChatIMVideoRecorderendupinConnecting.WhatshouldIdo Troubleshooter] 
    619  
    620 === Compile languages for the Orca forum === 
    621  
    622     * Go to '''Plugins -> Orca Forum''' 
    623          
    624  Click the link '''en''' next to the '''Compile Langs''' wording. Refresh the page. 
    625  Navigate to http://your_site_url/groups/orca and click the link '''en''' next to the '''Compile Langs''' wording. Refresh the page. 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
Fork me on GitHub