LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-13-2004, 04:16 PM   #1
habeeb2000
LQ Newbie
 
Registered: May 2004
Posts: 2

Rep: Reputation: 0
env varaibles at bootup


hello!

I would like to define env variables ORACLE_SID and ORACLE_HOME for apache at boot up time. The definitions in /etc/profile do not help at boot up time. The objective is to enable webserver retrieve data from Oracle database (on a different machine) and display it to users coming through web browser.

thanks
 
Old 05-13-2004, 04:55 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
The easiest solution (if the variables just have a value and you don't need to change them) is to add the definition at the beginning of Apache starting script (it's usually /etc/init.d/httpd).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
execute the .env bxr1981 Programming 5 08-22-2005 10:00 AM
set or env? calutateo Linux - Newbie 2 07-24-2005 01:56 PM
env variable allelopath Linux - Software 3 04-14-2005 01:07 PM
profile.env twk Linux - Distributions 1 10-20-2004 02:04 AM
How to convert a bootup floppy to a bootup CD ? wlaw Linux - Newbie 2 07-15-2004 04:28 AM


All times are GMT -5. The time now is 06:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration