Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing and editing RVC 5+ PART1 (step by step description)
01-22-2011, 08:22 AM, (This post was last modified: 01-22-2011, 04:05 PM by RVC Video Chat.)
#1
Installing and editing RVC 5+ PART1 (step by step description)
PHASE 1 - Installing the compiled RVC software to your server (RVC_Release)

You will need:
  • access to a web server, including FTP account credentials (FTP username, FTP password, FTP host and on some servers FTP port)
  • access to create MySQL database (usually cPanel or similar) or MySQL database details (database name, database username, database password)
You will also need ONE of the following (either one):
Installation:
  1. download the latest RVC release form the videosoftware.pro download center
  2. extract the downloaded .zip archive
    *you will see four files: 5.n.fxp, README.txt, LICENSE.pdf and RVC_Release_5.n.zip
  3. extract RVC_Release_5.n.zip. You will have a new folder called "RVC_Release_5.n" (ex. RVC_Release_5.2)
  4. upload the files from RVC_Release_5.n folder to your server. DO NOT upload anything else, just the files found in the RVC_Release_5.n folder!
    *to upload, use any FTP client like Filezilla, Total Commander or your local file explorer (ex. Windows Explorer)
        • An example, how to upload the files in Windows (without 3rd party FTP client):
          Step A. Open Windows Explorer (NOT Internet Explorer!) and type in the login details for your ftp account in the following URL format:
          ftp://ftpusername:ftppassword@servername
          *where ftpusername is your FTP username, ftppassword is the password for your FTP account (usually the same as cPanel login details) and servername is either your domain name or the server IP address. In case you have an FTP username similar to an e-mail address, ex. demo@jabbercam.com, replace the (first) "@" with a "+" sign in the URL.

          an example to log into http://www.jabbercam.com's demo ftp account with the following login credentials:
          Quote:FTP username: demo@jabbercam.com
          FTP password: demo
          FTP server: http://www.jabbercam.com
          you will have to type into your Windows Explorer the following URL:
          Quote:http://ftp.demo+jabbercam.com:demo@jabbercam.com
          *NOT http://ftp.demo@jabbercam.com:demo@jabbercam.com!
          *in case your FTP username is "videochat123", the FTP password is "password456" and your domain is yourvideochatdomain.com (server IP address is 192.168.1.1) the url will look like this:
          Quote:http://ftp.videochat123:password456@yourvideochatdomain.com
          OR
          http://ftp.videochat123:password456@192.168.1.1

          Step B. After logging in to FTP, open the RVC_Release_5.n folder in a new Windows Explorer window, you should see the following files and folders:
          Quote:/doc
          /jabbercam
          .htaccess
          favicon.ico
          horizontal.html
          index.html
          JabberCam_h.swf
          JabberCam.swf
          login.php
          vertical.html
          *if JabberCam.swf is missing, just make a copy of JabberCam_h.swf and rename it to JabberCam.swf (the files are identical), the same with index.html, copy horizontal or vertical and rename it to index.html

          Step C. When you see the above list of files, select all files (Ctrl+A), copy to clipboard (Ctrl+C), switch to the first Windows Explorer window opened during Step A and paste the files (Ctrl+V). This should upload the selected files to your server. After the upload process is finished, just open your domain in a browser (Firefox, Safari, IE, etc.) and you should see the Flash application loading (on some installations the login screen will pop up).
          *if you see the application, your RVC software is on your server and you can go on with the installation (proceed further with installation)
          *if instead of the loading application, you see a list of files or there is a "Forbidden" error, your index.html is missing (read above)
          *if any other error shows up or you don't see the files, you missed something, go back and read the steps again or ask help from your server administrator.

  5. after uploading the files to your server, open the /jabbercam folder, locate and edit config.php with a text editor (ex. notepad), the first part is relevant:
    PHP Code:
    /**
     * Configuration file for RVC 5.0+
     * You may want to edit /jabbercam/language/lang_??.ini
     * Help: http://www.videosoftware.pro/forum/FORUM-Documentation-Quickstart-and-How-To
     */

    //SYSTEM SETTINGS

    /* Back-en location (exact location of functions.php on your domain | http://www.your_domain.com/[folder]/jabbercam/functions.php */
    $WEB_SERVICE_URL "WEB_SERVICE_URL/jabbercam/functions.php";         // http://www.your_domain.com/jabbercam/functions.php
    $GOOGLE_APP_ID "GOOGLE_MAPS_APP_ID";                                // required for Google maps (to remove, read forum)

    /* Optional database configuration for Red5, used to install database tables (for Red5 database configuration read forum) */
    $RED5_DB_HOST "localhost";             //database host (server)
    $RED5_DB_USER "dbuser";                //database username
    $RED5_DB_PASSWORD "dbpassword";        //database password
    $RED5_DB_DATABASE "databasename";      //database name
    /* Optional database configuration for Stratus, not needed if Red5 is used */
    $DB_HOST "localhost";                  //database host (server)
    $DB_USER "dbuser";                     //database username
    $DB_PASSWORD "dbpassword";             //database password
    $DB_DATABASE "databasename";           //database name

    /* Flash media server settings (rtmfp or rtmp | values: Stratus or Red5) */
    $SERVER_TYPE 'Red5';                                           // 'Red5 or 'Stratus'
    /* if Stratus */
    $DEVELOPER_KEY "ADOBE_CIRRUS_KEY";                                // your Adobe Cirrus (Stratus) developer key obtained from Adobe (read forum)
    /* if Red5 */
    $RED5_CONNECT_URL 'rtmp://www.videosoftware.pro/JabberCamApp';    // use your own rtmp, this temporary resource may be down 
    $RED5_CONNECT_URL_B1 '';                                          // backup server #1
    $RED5_CONNECT_URL_B2 '';                                          // backup server #2
    $RED5_CONNECT_MAIN_TIMEOUT 30;                                    // minutes


    // LOGIN PROCESS SETTINGS (turn on/off mandatory camera and username | values: true or false)
    $CAMERA_REQUIRED true;                // 'true' or 'false'
    $LOGIN_SCREEN_ENABLE true;            // 'true' or 'false' (you may use login.php instead RVC 5.1+)
    $SOCIAL_BUTTONS_LOGIN_SCREEN true;    // 'true' or 'false' 
    • $WEB_SERVICE_URL is the EXACT location of the functions.php on your server.
      The "www." prefix is IMPORTANT since the included .htaccess file will rewrite all URLs to the www format! If you don't have a domain, just an IP address or you are using a sub-domain, don't use "www" but delete the .htaccess file.
      $WEB_SERVICE_URL should look like this:
      $WEB_SERVICE_URL = "http://www.your_domain_name.com/jabbercam/functions.php"; - when used on a domain
      $WEB_SERVICE_URL = "http://subdomain.your_domain.com/jabbercam/functions.php"; - if used on a sub-domain
      $WEB_SERVICE_URL = "http://www.your_domain_name.com/chat/jabbercam/functions.php"; - in case the chat is installed on your domain under the /chat folder
      http://192.168.1.1/jabbercam/functions.php -in case you have an IP address and not a domain
    • $GOOGLE_APP_ID , in case you wish to develop the map, sign up for a Google Maps API Key ( http://code.google.com/apis/maps/signup.html ) and insert the API key here (optional, not needed to start the chat).
    • $DB_HOST and $RED5_DB_HOST as well as the other six database settings are needed to connect to the MySQL database. You don't need to fill all eight values, choose between Red5 and Cirrus, than fill up the database details for the selected Flash media Server.
      *in cPanel, find the icon called "MySQL® Databases" and click it.
      1. under "Create New Database" type in your preferred database name (in our example "demodb") than click "Create Database", a new window will appear, showing: "Added the Database username_demodb" -where username is your cPanel username. Click "← Go Back"
      2. under "Add New User" type in a desired username and password (in our example "demousr" and "demopwd") than click "Create User", a new window will appear, showing: "Added user username_demousr with password demopwd." -where username is your cPanel username. Click "← Go Back"
      3. under "Add User To Database", select "username_demousr" and "username_demodb" than click "Add", select "All Privileges" and press "Make Changes".
      4. in our example, you will have a database called username_demodb, with a database username username_demousr and the demopwd password. In this case the database configuration in config.php would look like this:
      PHP Code:
      /* Optional database configuration for Stratus, not needed if Red5 is used */
      $DB_HOST "localhost";               //database host (server)
      $DB_USER "username_demousr";        //database username
      $DB_PASSWORD "demopwd";             //database password
      $DB_DATABASE "username_demodb";     //database name 
      *localhost remains in most cases or insert your mysql server name (IP)
      *don't forget, the username_ has to be replaced with YOUR cPanel username and demousr (etc.) with the names and password that you did choose!
    • $SERVER_TYPE is the flash media server of your choice. I recommend testing with Cirrus (Stratus), if it works, the software will (should) work also with Red5:
      PHP Code:
      /* Flash media server settings (rtmfp or rtmp | values: Stratus or Red5) */
      $SERVER_TYPE 'Stratus';                                           // 'Red5 or 'Stratus' 
    • $DEVELOPER_KEY the Adobe Cirrus developer key to access the RTMFP, provided by Adobe Cirrus Flash Media Server: http://www.videosoftware.pro/forum/THREAD-Adobe-Stratus-API-key
    • $RED5_CONNECT_URL your Red5 RTMP. Ask your Red5 hosting provider or read this post: http://www.videosoftware.pro/forum/THREAD-Install-Red5-on-cPanel-WHM-CentOS-server
    • $RED5_CONNECT_URL_B1 and other backup RTMP are backup Red5 servers, if any (ask your admin).
    • $LOGIN_SCREEN_ENABLE this should be set to "false" in case your RVC chat hangs while logging in:
      PHP Code:
      $LOGIN_SCREEN_ENABLE false
      *you won't see the eventual error messages unless you set $LOGIN_SCREEN_ENABLE to false, to interpret the messages, read here: http://www.chatroulette-clone.com/questions/faq/error-messages/

  6. save config.php on your server
  7. open your video chat in a browser (Firefox, Safari, IE, etc.) and check it again, the Flash application should load, (now certainly without popping up the login screen if you set $LOGIN_SCREEN_ENABLE to false). Don't forget to empty the browser cache or reload the page while holding down the "Shift" key!
    *if you see the software, you're almost done, the last step is running the install script:
  8. install the database by typing in: http://www.your_domain.com/jabbercam/admin.php?task=install
    *you should receive a success message. If the message is: "Tables already installed!", use this URL format: your_domain.com/jabbercam/admin.php?task=install&overwrite=yes
    *if there is any error message, run this script: your_domain.com/jabbercam/admin.php?task=test
    *if there is a MySQL or database access error, you messed up something when inserting the database name/user/pass or host. Ask your server admin.
  9. open your RVC/CRC video chat in a browser and enjoy!
  10. Important! The attached .php files and the database are nothing more but samples, to run the web service and admin tasks used by RVC. The sample scripts are not optimized nor secure. These simple, unsecured scripts may work but it is highly recommended to replace the samples with your own solution.

PHASE 2 - Configuring the compiled RVC software on your server (RVC_Release)

You will need:
  • access to a web server, including FTP account credentials (FTP username, FTP password, FTP host and on some servers FTP port)

Editing the backgound image of the Flash application, the language files and the social network links:
edit /jabbercam/language/lang_en.ini (or any other language fie) and make your changes. Here is a sample from lang_en.ini:
PHP Code:
backgroundImage_1=jabbercam/media/images/BgImage1.jpg
backgroundImage_2
=jabbercam/media/images/BgImage2.jpg
backgroundImage_3
=jabbercam/media/images/BgImage3.jpg
backgroundImage_4
=jabbercam/media/images/BgImage4.jpg
backgroundImage_5
=jabbercam/media/images/BgImage5.jpg
backgroundImage_6
=jabbercam/media/images/BgImage6.jpg
facebookLink
=http://facebook.com/JabberCam
twitterLink=http://twitter.com/JabberCam
myspaceLink=http://myspace.com/JabberCam
buzzLink=http://www.google.com/buzz/post?message=Chat%20Roulette%20Alternative!&url=http://www.jabbercam.com
getSourceCodeImage=get-the-source-code.png
getSourceCode
=http://www.ChatRoulette-Clone.com
# text|flag 
languageFilter=text
defaultMacCamera
=USB Video Class Video
noMicrophone
=No microphone available
noCamera
=No camera available
myspaceButtonTooltip
=Follow us on MySpace!
facebookButtonTooltip=Follow us on Facebook!
twitterButtonTooltip=Follow us on Twitter!
buzzButtonTooltip=Google Buzz!
welcomeMessage_0=Welcome to <b>JabberCam</b>, the <b>best ChatRoulette</balternative
ALWAYS! clear your browser's cache (or reload the browser while holding down the "Shift" key) to see the changes you made!
*you can use some HTML tags in text messages

Editing the front page, colors and style:
edit index.html (read the relevant parts here: http://www.videosoftware.pro/forum/THREAD-Some-basic-and-frequently-asked-editing )
edit /jabbercam/stylesheet.css

Changing sounds, images and other media files:
replace the files found in the directories under /jabbercam/media/

Installing RVC 5+ PART2 - Editing the Flash Sources (step by step description)
http://www.videosoftware.pro/forum/THREAD-%09-Installing-and-editing-RVC-5-PART2-step-by-step-description
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)