Set Kernel Parameters

The database server requires more shared memory than the typical linux system is configured to allow by default. Run the following command (as root) prior to installation.

echo 268435456 > /proc/sys/kernel/shmmax

Download Upgrade

Modern versions of linux use NPTL (Native Posix Theading Library), but Sybase 15.0.2 requires the old Linuxthreads implementation. Some versions of Linux such as Fedora Core 4 support both. But as of Fedora Core 5, Linuxthreads support was dropped. The same is true for other modern distro's. The Sybase 15.0.2 installer will run on a linux that doesn't support Linuxthreads, but the DB will fail to start.

However Sybase has released an update that will allow Sybase 15.0.2 to run on an OS that uses NTPL. Go to the Sybase website, search for EBF15682 and download EBF15682.tgz.

Install The Software Distribution

Now, go into the directory the sybase software distribution was extracted into and, as root, run the following command:

./setup

A java-based installer should run.

When prompted What would you like to install?, check the Adaptive Server Enterprise (Express Edition) check box.Click Next.

When prompted for the End-user license agreement select All regions from the Please Select pulldown.Read the license and click the I agree to the terms of the Sybase license, for the install location specified. check box.Click Next.

When prompted for a Destination Directory, accept the default "/opt/sybase"Click Next.

If prompted with The directory does not exist. Do you want to create it?Click Yes.

On the screen titled: Choose the setup type that best suits your needsAccept the default Typical radio button.Click Next.

An installation summary page will appear, indicating what will be installed, what directory, and the total size of the installation.Click Next.

A screen titled Installing Sybase Adaptive Server Enterprise Suite. Please wait... will appear with a progress bar indicating how much of the installation has been completed. When that is finished, click Next.

A screen will pop up asking Do you want to configure email alerts? Click No and click Next.

On the screen titled Please deselect any servers that you do not want to configure now:Uncheck all checkboxes and Click Next.

A screen will appear titled The installation was successfulClick Finish.

Install The Update

Now, go into the directory the update was extracted into and, as root, run the following command:

./setup

A java-based installer should run. On the main page, click Next.

When prompted for the End-user license agreement select the country that you are in from the Please Select pulldown.Read the license and click the I agree to the terms of the Sybase license, for the install location specified. check box.Click Next.

When prompted for a Destination Directory, accept the default "/opt/sybase"Click Next.

When prompted whether you want to continue with the installation even though it will overwrite existing software, click Yes.

On the screen titled: Choose the setup type that best suits your needsAccept the default Update radio button.Click Next.

An page will appear, indicating what will be installed, and what will be updated. Click Next.

An installation summary page will appear, indicating what will be installed, what directory, and the total size of the installation.Click Next.

A screen titled Installing Sybase Adaptive Server Enterprise Suite. Please wait... will appear with a progress bar indicating how much of the installation has been completed. When that is finished, click Next.

On the screen titled Please deselect any servers that you do not want to configure now:Check all checkboxes and Click Next.

On the screen titled Please select the products that you want to custom configure:Leave all checkboxes unchecked and Click Next.

A summary page will appear with values for that each server will be configured with.Click Next.

A screen will appear titled Configure New Adaptive Server with progress messages indicating what step is currently being executed. This stage will fail at "Starting server" if shmmax wasn't configured properly.

A screen will appear titled Configure New Backup Server with progress messages indicating what step is currently being executed.

A screen will appear titled Configure New Monitor Server with progress messages indicating what step is currently being executed.

A screen will appear titled Configure New XP Server with progress messages indicating what step is currently being executed.

A screen will appear titled The installation was successfulClick Finish.

Starting the Database at Boot Time

To start the database at boot time, you need to install a script like the following. Replace /opt/sybase with whatever directory Sybase ASE is installed in.