|
| |
Be_News - Installation
Installation should begin, first, by downloading the Be_News files to a
local computer. Then unzipping/uncompressing them if necessary.
Step 1
The first step is to open be_news.cgi and be_news_admin.cgi
using a text editor (such as Windows Notepad) and change the first line of both
files. The first line should be #! followed by the path to Perl 5 on
your server.
If you don't know the path to Perl 5 on your server, check your web host's
support pages or contact your web host.
Here is a some possibilities:
#!/usr/local/bin/perl (use this one if hosting with Be The Web)
#!/usr/bin/perl
#!/bin/perl
Step 2
Now, you should upload Be_News files to your server.
Where you choose to put the files on your site depends somewhat on
the web server. Many servers will allow you to put cgi files in any directory.
Others will require that you use a special directory called cgi-bin. If
there's a cgi-bin directory on your web server, you generally can't go
wrong in using it. If you're running other CGI scripts, you may also
choose to try cgi-bin/benews/ to avoid cluttering the cgi-bin
directory. We also recommend, if the web server allows, to place the Admin files
in a separate directory from the be_news.cgi file.
Once you've chosen (and created in necessary) a directory, FTP all Be_News files
to this directory IN ASCII MODE (not binary mode or auto-detect). Your FTP
program should have ASCII mode as an option; if not, download WS_FTP
LE (free).
| Recommended Setup |
|
Simple Setup |
/cgi-bin/
be_news.cgi
be_news.cfg *
/cgi-bin/beadmin/
be_news_admin.cgi
be_news_article.pl
be_news_category.pl
be_news_settings.pl
be_news_help.pl
be_news.cfg *
/benews/
news.txt *
newsarchive.txt *
newsarticles.html *
newsheadlines.html *
newsmultiple.html *
newsnumber.txt *
|
|
/cgi-bin/
be_news.cgi
be_news_admin.cgi
be_news_article.pl
be_news_category.pl
be_news_settings.pl
be_news_help.pl
be_news.cfg *
news.txt *
newsarchive.txt *
newsarticles.html *
newsheadlines.html *
newsmultiple.html *
newsnumber.txt *
|
|
* Created by Admin program |
Step 3
The next step is to CHMOD the files and directories. This step may not necessary if you
are installing the scripts on a Windows System. CHMOD is the Unix command that tells your server
what a file is for and who can access it. You should be able to CHMOD from your FTP client; if
not, IPSwitch's WS_FTP LE can do this.
First, CHMOD your Be_News Files directory(s) 777.
(On a few servers, this may cause problems; if problems occur, try 755.)
Next you must CHMOD some of the Be_News files:
- be_news.cgi CHMOD 755 (or 777 if problems occur)
- be_news_admin.cgi CHMOD 755 (or 777 if problems occur)
Step 4
Now access be_news_admin.cgi via your web browser.
Typically this should be:
http://www.MyWebsite.com/cgi-bin/be_news_admin.cgi
It should display the Be_News Adminitration Login page.
The default Username and Password is:
UserName: Admin
Password: User
| |
|
|