Changes between Version 81 and Version 82 of DetailedInstall
- Timestamp:
- Aug 26, 2010, 3:12:16 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DetailedInstall
v81 v82 1 = Dolphin Installation Guide =1 = Dolphin 7 Installation Guide = 2 2 3 3 Before 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. … … 210 210 1. ''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: 211 211 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 ./tmp216 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.exe218 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.php220 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.xml222 223 }}}224 225 '''(for Dolphin 7.x)'''226 227 212 {{{ 228 213 chmod 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 … … 356 341 [[BR]] 357 342 358 ''' DOLPHIN 7.x onLINUX'''343 '''LINUX''' 359 344 360 345 * ''USING CPANEL'' … … 389 374 '''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.''' 390 375 391 ''' DOLPHIN 7.x onWINDOWS'''376 '''WINDOWS''' 392 377 393 378 1. create batch files for the cron. For example:[[BR]] … … 407 392 }}} 408 393 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 execution417 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.php421 }}}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 page428 429 5. Do the same for the second cron script:430 {{{431 /usr/local/bin/php -q /home/localhost/www/d611/periodic/notifies.php432 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.php442 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 command453 {{{454 crontab -e455 }}}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.com460 0 0 * * * /usr/local/bin/php -q /home/localhost/www/d611/periodic/cmd.php461 */10 * * * * /usr/local/bin/php -q /home/localhost/www/d611/periodic/notifies.php462 * */1 * * * /usr/local/bin/php -q /home/localhost/www/d611/periodic/cupid.php463 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.php483 }}}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.php488 }}}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.php493 }}}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 503 394 ---- 504 395 === Install Script - Step 6 - Permissions Reversal === … … 510 401 511 402 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 {{{ 517 406 SITE CHMOD 755 ./inc 518 SITE CHMOD 755 ./periodic519 SITE CHMOD 644 ./periodic/cmd.php520 SITE CHMOD 644 ./periodic/notifies.php521 SITE CHMOD 644 ./periodic/cupid.php522 SITE CHMOD 644 ./periodic/tags.php523 SITE CHMOD 644 ./ray/modules/global/inc/header.inc.php524 525 }}}526 527 '''For Dolphin 7.x'''528 529 Run the following command:530 {{{531 SITE CHMOD 755 ./inc532 533 407 }}} 534 408 … … 537 411 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: 538 412 539 '''For Dolphin 6.1.x'''540 541 {{{542 chmod 755 ./inc ./periodic543 chmod 644 ./periodic/cmd.php ./periodic/notifies.php ./periodic/cupid.php ./ray/modules/global/inc/header.inc.php544 545 }}}546 547 '''For Dolphin 7.x'''548 549 413 {{{ 550 414 chmod 755 ./inc 551 552 415 }}} 553 416 … … 566 429 == Part 5: Final Step == 567 430 ---- 568 569 == DOLPHIN 7.x ==570 431 571 432 After 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. … … 608 469 609 470 [[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.