Sybase Database Environment Building Tutorial

Source: Internet
Author: User
Tags locale sybase sybase database

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 glibc
i686*
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.