In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article will explain in detail how to build a sybase database environment. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
Figure 1:
After loading, under root.
Configure IP to be dynamically acquired so that it can link to the network
Vi / etc/sysconfig/network-scripts/ifcfg-eth0
Figure 2:
Restart the 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 normal:
Java
Javac
Java-version
Modify the system environment variable file
Vi + / etc/profile
Append the following to the file:
Figure 3:
Make the changes take effect immediately:
Source / etc/profile
View the status of the system environment
Figure 4:
Create a sybase user
Adduser sybase
Create the sybase database installation package storage path
Mkdir / tmp/sybase
Give permissions to the installation package storage path
Chown-R?sybase:sybase?/tmp/sybase
Create the sybase database installation path
Mkdir / opt/sybase
Assign 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
Extract the installation package
Tar zxvf ase157_linuxx86-64.tgz
Download the dependency packages required for installation
Yum-y install gcc* glibc* libX* compat*
Yum install compat-libstdc*
Yum install glibc*i686*
Switch sybase user
Su-sybase
Enter the installation package storage path
Cd / tmp/sybase
Execute to start installation
. / setup.bin
Figure 5:
Figure 6:
Click next
Figure 7:
Select the installation path and click next
Figure 8:
Select full installation and click next
Figure 9:
To install the free version, click next.
Figure 10:
Select "agree" and click next
Figure 11:
Click install
Figure 12:
Installing
Figure 13:
Select the first two items and click next
Figure 14:
To set the password, click next
Figure 15:
Click next
Figure 16:
Click next
Figure 17:
Click next
Figure XVIII:
Installation succeeded
After the installation is complete, set the environment variable for sybase
Under the directory / opt/sybase directory, execute
Cat SYBASE.sh > > .bash _ profile
Append environment variables to .bash _ profile
Also add the following line to .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 the service
Startserver-f RUN_LOCALHOST
View Servic
Showserver
Figure 20:
Set the client-side locale transformation, which is the only way to use the isql command
Vi / opt/sybase/locales/locales.dat
Locate the [linux] section and add the following under it
Locale = us_english,Chinese,utf8
Locale = zh_CN.UTF-8,Chinese,utf8
Locale = zh_CN.GBK,Chinese,eucgb
After the configuration is completed
Isql-SLOCALHOST-Usa login database
This is the end of this article on "how to build a sybase database environment". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.