4. Configure EnvironmentAfter installing Sybase, you need to setup the Linux environment in order to allow clients to connect to the dataserver. The first thing we need to do is to set certain environment variables in /etc/profile. Open /etc/profile as super user and insert the following lines:
Next you need to change to permissions of the Sybase directory. This fixes some problems where PHP is unable to connect to the Sybase server. Run the following command as super user:
To test whether your Sybase environment works, type the following:
You should see a list of databases. To test whether you can use the sample datebase, now type:
If you a list, you have sucessfully set up Sybase.
You may also want to add sybase to the list of services to run at boot time. To do this execute the following commands:
Now Sybase will start whenever you boot into runlevel 3.
4.1. Preconfigure ApacheDownload and unpack the latest Apache distribution. In the Apache directory issue the following command:
I think the 'prefix' value specifies where you want to store your html files; I just set it to the same as the apache install directory, where Apache will put its files when you run 'make install'. Linux HOWTO full list |
|
This document, LDP HOWTO-INDEX, is copyrighted (c) 1995 - 2002 by Tim Bynum, Guylhem Aznar, Joshua Drake and Greg Ferguson. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html. If you have questions, please contact the LDP.
Web Design Copyright © 1999-2003. Chrisranjana Software Solutions Pvt Ltd. syndicate rss feed |