Step by step installation of Sybase ASE 15.
5 on Solaris 10 x64 bit
Installation of Sybase ASE 15.5 on Solaris 10 is pretty easy to accomplish. Please,
do follow the steps as below.
DOWNLOAD/FIND THE SOFTWARE
To get a licensed version, you need to go here: http://sybase.subscribenet.com
(account required) or to the eShop at sybase.com:
http://eshop.sybase.com/eshop/buy?id=19517
To get a free download, you can go to this page
http://www.sybase.com/ase_1500devel. You can download ASE 15.5 for various
operating systems and hardware types.
When you install Sybase ASE, you can choose to run without a license (developers
version, limited features) or install a licensed version (enterprise version) and buy a
license from Sybase.
Downloads are also available at the Sybase download center at
http://downloads.sybase.com/swd/base.do?client=support.
Once you get registered, you can download the latest EBF (patch) for the desired
platform. An EBF can also be used for a full installation.
CONFIGURE SOLARIS OPERATING SYSTEM
As a root user, open a shell terminal and type these lines. Here, I started with bash
shell as it is easier to work with. Now, make directory for Sybase software and
Sybase databases and related works.
mkdir p /opt/sybase
mkdir p /var/sybase
Add a group for Sybase and add a user for Sybase.
groupadd sybase
useradd g sybase d /opt/sybase sybase
Create a password for Sybase user. Change ownership of Sybase directories to
Sybase user and Sybase group. Add project Sybase with user as Sybase. Modify
project for maximum shared memory to be used by Sybase.
passwd sybase
chown sybase:sybase /opt/sybase
chown sybase:sybase /var/sybase
projadd c sybase user.sybase
projmod s K project.max-shm-memory=(privileged,4G,deny) user.sybase
Note: for Linux people, use sysctl kernel.shmmax to see the current value.
Configure new value with sysctl w kernel.shmmax=78643200. Add
kernel.shmmax=78643200 to /etc/sysctl.conf
PUTTING YOUR FILES
Sybase recommends storing all database files on raw devices except temporary
databases like tempdb.
master 60mb to 100mb
sybsystemprocs 200mb
sybsystemdb 20mb
data01 100mb to your choice
log01 20mb to your choice
(chown) change ownership of raw devices to sybase user and ensure the setting is
persistent after reboot of operating system.
Files for temporary databases like (tempdb) should be stored on the file system. It
may in size from 200mb to your choice as per applications need.
INSTALLING SYBASE ASE
Switch user from root to sybase. Make a directory to copy the Sybase software
from Sybase CD or other media. Change directory to install directory. Copy files of
Sybase as tar ball from disc media to install directory. Unzip the tar ball of Sybase
software to install directory.
su - sybase
mkdir install
cd install
cp f <source file with path> /opt/sybase/install
tar .xf /opt/sybase/install/ase155esd2_sol64.tgz
Now, start with Sybase user and change directory to install directory. List the
contents of the directory install. There is a file setup.bin that needs to be launched
for GUI based setup of Sybase. Type on terminal as mentioned below being Sybase
user.
./setup.bin
The GUI installer starts up. Choose Next and mention values for each and every
details step by step. Choose default directory to install Sybase if you dont have
specific reason. If a warning shows, you neednt care about.
Finally, you finish the installation successfully. Now, this is the time to set
environment of Sybase. Type below mentioned line if your default is bash shell. Pay
special care for the . and space after that.
. /opt/sybase/SYBASE.sh
echo $SYBASE
You will get /opt/sybase in response. Now, check the connectivity of SQL by typing
as follows.
isql Usa P S[your Sybase server name]
sa is your Sybase database administrator. There is no Password for sa, so P is
blank. The Sybase server name must be typed with S option, so that it may
connect to that specific server.
After connecting to server, you will be prompted to check your SQL command. Just
type a basic query for Sybase server information.
select @@version
go
Another useful connectivity with Sybase Central is important. To do so, just type on
terminal as Sybase user.
$SYBASE/ASEP/bin/aseplugin
Now, you may enjoy working for interactive queries and database administration in
Sybase Central.