Installing rsContext on Your Server
If you have some experience with PHP and installing scripts,
and your web server supports PHP, it's best to install the rsContext
script on your own server. If you are less experienced with PHP and
scripts, or simply wish to try using rsContext, you can use the copy
running on our server at BrowseNodes.com.
The following instructions describe how to install and use rsContext
on your server. You can also use rsContext on our server without
having to install or setup the program. For information on using
rsContext on our server, please see
Using rsContext Without Installing It.
Requirements
rsContext requires:
- PHP version 4.1.0 or Later
- MySQL version 3.23.xx or Later (optional)
Download rsContext
The latest version of rsContext may be downloaded from:
http://www.browsenodes.com/contextads/version/latest/rscontext.tar
The rscontext.tar file is a tar archive containing the PHP source code files for rsContext and
other files needed to run the script.
Copy or upload the archive file into the directory of your web server where you wish
to install rsContext. This is typically the top directory (or "DocumentRoot") that your
web server displays. For example, if your web server's
top directory is /home/httpd/html, then copy or upload the archive file
into that directory.
Unpacking rsContext
Unpack the files from the archive using the tar command:
tar -xvf rscontext.tar
The tar command unpacks the archive into the current directory.
Create the database for rsContext
If you wish, you can create a database for rsContext to use to cache AWS data.
If you are accustomed to using a program like phpMyAdmin to manage your databases,
you can use it to create a database for rsContext to use. If you can't create a new
database, rsContext can use an existing database.
Creating the Database Table
If you wish to have rsContext cache AWS data, you must create the table it uses before
you can use the script. You can create the table by executing the SQL command which
is in the rscontext.sql file in the directory where you installed rsContext.
Edit the Configuration File
In the directory where you installed rsContext is a file called rsconfig.php.
This is the only file you need to change to use rsContext.
Edit the file using your favorite text editor. You can, if you wish, download
it from your server, edit it, then upload it back to the rsContext directory on
your server - just be sure that you use the "ASCII" method of transferring
the file if you use FTP to download or upload the rsconfig.php file.
The comments in the rsconfig.php file describe what you need to change in the file.
Once you have made the changes, be sure to save the edited file in the same directory - overwriting the original file.
Setting Permissions
To make sure the web server can read the files in the rsContext directory, change the permissions of the files to 755. You may be able to do this using your FTP client program or by entering the following command in the directory in which rsContext is located:
chmod 755 *
See Using rsContext for instructions on how to call the
rsContext script and display it's output in your web site.
[Home]
[Download]
[Documentation]
[FAQ]
|