Skip to content

Instantly share code, notes, and snippets.

@keoy7am
Last active November 27, 2024 17:53
Show Gist options
  • Save keoy7am/feccb34c9704d0e2e9f8726132bf3157 to your computer and use it in GitHub Desktop.
Save keoy7am/feccb34c9704d0e2e9f8726132bf3157 to your computer and use it in GitHub Desktop.
Install Sybase 16.0 SP04 PL01 On Ubuntu ( walkthrough )
1. Update source list and upgrade packages.
> apt-get update -y && apt-get upgrade -y
( Set timezone )
> timedatectl set-timezone Asia/Taipei
( Choose en_US.UTF8 )
> dpkg-reconfigure locales
* If you don't set locales to en_US.UTF8, it will show some errors when querying.
2. Download sybase installer and unzip to /opt/tmp
> curl -OLS http://d1cuw2q49dpd0p.cloudfront.net/ASE16.0/Linux16SP02/ASE_Suite.linuxamd64.tgz \
&& mkdir -p /opt/tmp/ \
&& tar xfz ASE_Suite.linuxamd64.tgz -C /opt/tmp/ \
&& rm -rf ASE_Suite.linuxamd64.tgz
&& mv /opt/tmp/ebf29704/ /opt/tmp/ASE_Suite/
3. Install Sybase #1
> source /opt/sybase/SYBASE.sh
( 3.1 Install with console interface )
>/opt/tmp/ASE_Suite/setup.bin -i console
( 3.2 Install with configuration )
> cp /opt/tmp/ASE_Suite/sample_response.txt /opt/tmp/sybase-response.txt
> /opt/tmp/ASE_Suite/setup.bin -f /opt/tmp/sybase-response.txt \
-i silent \
-DAGREE_TO_SAP_LICENSE=true \
-DRUN_SILENT=true
4. 安裝Sybase #2
( Edit configuration )
> vim /opt/sybase/ASE-16_0/sybase-ase.rs
( Build server )
> /opt/sybase/ASE-16_0/bin/srvbuildres -r /opt/sybase/ASE-16_0/sybase-ase.rs
4. Start server
> source /opt/sybase/SYBASE.sh
> ${SYBASE}/${SYBASE_ASE}/install/RUN_MYSYBASE
5. Set UTF8 character set
( 5.1 Install UTF8 character set to sybase )
> export LANG C
> cd /opt/sybase/charsets/utf8
> charset -Usa -PmyPassword -SMYSYBASE binary.srt utf8
( 5.2 Set the default character of sybase to utf8 )
> sp_configure "default character set id" // Query the current run value
> select id,name from master..syscharsets where name='utf8' // Ensure that the utf8 character set is installed on sybase
> sp_configure "default character set id",190 // Set the uft8 character set as the default value
6. Restart Sybase
> isql -Usa -PmyPassword -SMYSYBASE
> > sp_configure "default character set id" // Query the current run value
> Go step 4 (4. Start server)
7. Adjust the size of the master database
> isql -Usa -PmyPassword -SMYSYBASE
> disk resize name='master', size='50m'
8. Adjust connection limit
> sp_configure 'number of user connection', 200
9. Go DDL
@keoy7am
Copy link
Author

keoy7am commented Oct 4, 2021

Keep the official download link

Unix: https://d1cuw2q49dpd0p.cloudfront.net/ASE16/Current/ASE_Suite.linuxamd64.tgz
Windows: https://d1cuw2q49dpd0p.cloudfront.net/ASE16/Current/ASE_Suite.winx64.zip

SQL AnyWhere (Full Install)

Windows x64&x86: https://d5d4ifzqzkhwt.cloudfront.net/sqla17developer/bin/SQLA17Developer.exe
Linux x64&x86: https://d5d4ifzqzkhwt.cloudfront.net/sqla17developer/bin/sqla17developerlinux.tar.gz
Linux for ARM: https://d5d4ifzqzkhwt.cloudfront.net/sqla17developer/bin/sqla17developerlinuxarm.tar.gz
Apple OS : https://d5d4ifzqzkhwt.cloudfront.net/sqla17developer/bin/sqla17developerosx.tar.gz
Solaris SPARC: https://d5d4ifzqzkhwt.cloudfront.net/sqla17developer/bin/sqla17developersolarissparc.tar.gz
Solaris x64: https://d5d4ifzqzkhwt.cloudfront.net/sqla17developer/bin/sqla17developersolarisx64.tar.gz
HP-UX Itanium: https://d5d4ifzqzkhwt.cloudfront.net/sqla17developer/bin/sqla17developerhpuxia64.tar.gz
IBM-AIX: https://d5d4ifzqzkhwt.cloudfront.net/sqla17developer/bin/sqla17developeraix.tar.gz

SQL AnyWhere (Client-only Install)

Windows x64&x86: https://d5d4ifzqzkhwt.cloudfront.net/sqla17client/SQLA17_Windows_Client.exe
Linux x64&x86: https://d5d4ifzqzkhwt.cloudfront.net/sqla17client/sqla17_client_linux_x86x64.tar.gz
Linux for ARM: Not available
Apple OS : https://d5d4ifzqzkhwt.cloudfront.net/sqla17client/sqla17_client_os_x.tar.gz
Solaris SPARC: https://d5d4ifzqzkhwt.cloudfront.net/sqla17client/sqla17_client_solaris_sparc.tar.gz
Solaris x64: https://d5d4ifzqzkhwt.cloudfront.net/sqla17client/sqla17_client_solaris_x64.tar.gz
HP-UX Itanium: https://d5d4ifzqzkhwt.cloudfront.net/sqla17client/sqla17_client_hpux_ia64.tar.gz
IBM-AIX: https://d5d4ifzqzkhwt.cloudfront.net/sqla17client/sqla17_client_aix.tar.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment