1. If it is a dual system, the code is mounted on the local disk, and the database device is mounted on the array by default, Sybase code is installed under/opt/sybase-12.5
In the/OPT directory, create the sybase-12.5 directory
#mkdir sybase-12.5
Set the moint point of the disk array to/sybdata
The database equipment built in the future is built on the/sybdata.
2. Create a Sybase user
Using the graphical interface to build Sybase users with administrative tools, note that the Sybase user's home directory is set to/opt/sybase-12.5,shell setting to BSH.
3. Modify the hosting of/opt/sybase-12.5 and/sybdata for Sybase
#chown sybase/opt/sybase-12.5
#chown Sybase/sybdata
4. Change the shared memory value of the linuxn.com "target=" _blank >linux system, in units of M
For example, the system has 2G of memory allocated to Sybase 1.5G
Perform
#echo ' 1500*1024*1024 ' Bc>/proc/sys/kernel/shmmax
Check for effective, executable
#ipcs Clm grep ' max seg size '
To share memory settings permanently, add a row to the/etc/rc.d/rc.local file as follows:
Echo ' 1500*1024*1024 ' Bc>/proc/sys/kernel/shmmax
5. If it is a dual-machine system, it is recommended to generate a logical IP, the installation of the database binding on the logical IP
For example, the local network card is ETH0,IP address is 10.100.60.201, host name is Dataserver1, logical IP is 10.100.60.200, host name is DataServer
You can use the graphical interface
#redhat-config-network to eth0 add one more IP, address is 10.100.60.200, and activate this network card.
The command-line method should also be
#ifconfig eth0:1 10.100.60.200 netmask 255.255.255.0 dataserver
Finally, perform ifconfig to check that the new IP address is in effect.
In addition, if the dual-machine system, on both servers, to modify the/etc/hosts file, add the following records:
10.100.60.200 DataServer
Where DataServer is the name of the database server