Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Linux Support Linux - Operating Systems and Applications Support

Reply
 
LinkBack Thread Tools
Old 10-23-2008, 09:28 PM   #1 (permalink)
Registered User
 
Join Date: Oct 2008
Posts: 2
OS: fedora core 6


Trying to Install a Program...Please Help!!

I am trying to install elemental clinic on my fedora core 6 box. I need some help trying to get the software. Here are the directions for how to install it on my box but I am still having problems installing it.

https://prefect.opensourcery.com:444...k/docs/INSTALL

I would appreciate some help so if you have any ideas please let me know.
rb4178 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 10-23-2008, 10:42 PM   #2 (permalink)
Moderator/Fedora Amb.
 
wmorri's Avatar
 
Join Date: May 2008
Location: /pm/etc
Posts: 2,814
OS: Window 7/Fedora 10

My System

Send a message via AIM to wmorri
Re: Trying to Install a Program...Please Help!!

Welcome to TSF!!

Hi,

The first thing that you need to do is to make sure that you have to following things installed and up-to-date: PostgreSQL 8.2, Apache, Perl, Firefox. If you don't have them installed you will need to get them. The fastest way is it go the the Add/Remove Software section of the System Tools and install them.

Then you should make sure that they are are all up-to-date, along with the rest of your system. To do this got to Teminal. From there type this as root yum update. If you haven't updated in a while this can take a little while.

Installation
============
1. Get the tarball
I am guessing that you have already downloaded this from a website. So I won't go into to much detail over how to do that.

2. Create a database
Create a PostgreSQL database and give yourself access to it. The database must be named "elementalclinic", or you must specify a different name in the next step. If you don't have much experience with PostgreSQL then I would take a look at: Tutorial

3. Install the test database
In the database directory, run: `make clean-stable`

If you used a different database name in the previous step, run:
`make clean-stable DB=database_name`


4. Configure eleMental Clinic
First, create a configuration directory. You should use
/etc/elementalclinic, or you should change the $CONFIG_PATH variable in
lib/eleMentalClinic/Config.pm. You'll need two items in this directory:

- config.yaml (from "etc" in the package)
- templates/

Then, copy the contents of lib/ somewhere into your Perl path (e.g.
/usr/local/perl). Optionally, you can put it somewhere else entirely and
configure Apache to find it.

Next, copy the contents of public_html/ into a directory in your web root
(e.g. /var/www/clinic).

That spells it out for you pretty much!

5. Configure Apache
Configure. You'll need to modify config.yaml to reflect your installation.
At most you should need to change these options:

- dbname = [ as above ]
- dbtype = 'postgres'
- dbuser = [ as above ]
- passwd = [ as above ] # although you may use passwordless access
- template_root = [ template dir in etc ]
- log_conf_path = [ path to log file ]

There are various other paths to configure if you are using the ECS features.

Just find the "config.yaml" file, you can probably do that by opening terminal and typing grep config.yaml

6. Install Perl modules
You'll need to make a number of changes to your Apache configuration files.

Apache must be correctly configured to execute .cgi files, and to use
index.cgi as a directory index.

You must tell Apache where to find the eleMental Clinic libraries and
configuration. This is accomplished with the distributed startup.pl.
You'll want to edit the 'use lib' line at the top of the file to point at
your library installation.

Then, add this block:

PerlSwitches -T
PerlRequire /path/to/startup.pl

<Directory "/var/www/clinic">
Options FollowSymLinks
PerlSetVar config_path /path/to/config.yaml
SetHandler perl-script
PerlHandler eleMentalClinic::Dispatch

DirectoryIndex index.cgi

RewriteEngine on
# redirect everything else to dispatch
RewriteRule ^$ /index.cgi [L,QSA]
</Directory>

Restart Apache and check the error log. It should die with a bunch of Perl errors about missing modules. To restart apache type /etc/rc.d/init.d/httpd restart

7. Configure your browser
7. Logging. eleMental Clinic uses the Log4perl logging package. It is based
on the popular Log4j. Most notably, it allows nearly arbitrary
configuration at run-time, without restarting the server or changing code.

To get logging working:

1. Copy etc/log.conf into your configuration directory.
2. Open log.conf and set, at least, your log location.
3. Make sure permissions are correct -- your web server must have write
access to the log file's parent directory for rotation to work.
4. Second, set the "log_conf_path" config variable, in config.yaml, to
point to your log.conf file.

This all seems pretty straight forward.
8. Perl modules. You'll need the following Perl modules, which you can install from CPAN.

You have the whole list so I won't post it up here.

Configure Firefox
You should configure Firefox to allow cookies and popups from the site
serving eleMental Clinic (e.g. localhost). Also, make sure your browser is at
least 1024 pixels wide.

10. Login

You should be able to login as the root user "clinic" with password "dba".
CHANGE THIS PASSWORD AS SOON AS YOU LOGIN! Look under "Preferences."

I hope that this helps a lot. I know that I just copied a lot of it but to be honest, I have never worked with this program before. If you have any problems certainly ask, and also use Google it is your friend.

Cheers!
__________________


Linux Forever!

wmorri is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-26-2008, 08:04 PM   #3 (permalink)
Registered User
 
Join Date: Oct 2008
Posts: 2
OS: fedora core 6


Re: Trying to Install a Program...Please Help!!

I have done a lot of this. Thanks for explaining the config.yaml thing from cpan. I am running fedora core 6 and I don't have a usr/local/perl path. Does fedora use something else for perl? Also in this package I cannot find the startup.pl file. I don't know where it is. My main problem is with configuring apache I guess because I don't know where to enter that block of info at. I am confused about that. Could someone help if I sent the tarball? What system are you using and if it is not fedora can you help me figure this out.
rb4178 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 04:44 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85