This case is the centos6.5 operating system, and the Sybase database version is 15.7. Installation of the operating system does not make a detailed
After the installation, under root
Configure IP to be dynamically acquired so that it can be linked to the network
Vi/etc/sysconfig/network-scripts/ifcfg-eth0
Restart Service
Service Network restart
Download the JDK installation package jdk-10.0.2_linux-x64_bin.rpm, and put it under/usr/local
Installation:
RPM–IVH jdk-10.0.2_linux-x64_bin.rpm
Do the following to see if the information is OK:
Java
Javac
Java–version
Modify the System environment variable file
VI +/etc/profile
Append the following to the file:
Make the modification effective immediately:
Source/etc/profile
View System Environment Status
Create a Sybase user
AddUser Sybase
Create a Sybase database installation package storage path
Mkdir/tmp/sybase
Assigning permissions to the installation package storage path
Chown-r?sybase:sybase?/tmp/sybase
Create a Sybase database installation path
Mkdir/opt/sybase
Assigning permissions to the installation path
Chown-r Sybase:sybase?/opt/sybase
Put the Sybase database installation package ase157_linuxx86-64.tgz to the installation package storage path
Unpacking the installation package
Tar zxvf ase157_linuxx86-64.tgz
Download dependent packages required for installation
Yum–y install gcc glibc libX compat
Yum Install Compat-libstdc
Yum Install glibci686*
Switch Sybase users
Su–sybase
Go to the installation package storage path
Cd/tmp/sybase
Perform a start installation
./setup.bin
Click Next
Select the installation path and click Next
Select Full installation, click Next
Select the free version to install and click Next
Select Agree, click Next
Click Install
is installing
Select the first two items and click Next
Set the password, click Next
Click Next
Click Next
Click Next
Installation Successful
After the installation is complete, set the environment variables for Sybase
Under the directory/opt/sybase directory, execute the
Cat sybase.sh >> Bash_profile
Append an environment variable to the. bash_profile
Also add the following lines in the. bash_profile
lang=en
Export LANG
If you do not set this, you cannot link to the Sybase server through the isql command
Cd/opt/sybase
SOURCE sybase.sh
Export Ld_pointer_guard=0
CD Ase-15_0
Export Ld_pointer_guard=0
Cd/opt/sybase/ase-15_0/install
Restart Service
Startserver–f Run_localhost
View Services
Showserver
Set client locale conversions, which are required to use the isql command
Vi/opt/sybase/locales/locales.dat
Locate the [Linux] segment and add the following to its lower part
Locale = Us_english,chinese,utf8
Locale = Zh_cn. Utf-8,chinese,utf8
Locale = Zh_cn. Gbk,chinese,eucgb
After configuration is complete
ISQL–SLOCALHOST–USA Login Database
Sybase Database Environment Building Tutorial