install SySAM2 on Debian etch
Warning: This is just my personal note about how to install SySAM2 on Debian Etch. I don’t give any warranty that is going to work perfectly for you. Meanwhile, I advice that you can help me to get this “recipe” better with your comments/suggestions/corrections.
So, let’s get down to business. This are the steps to install SySAM on Debian.
0 – Preparation:
- Download SySAM2: http://www.sybase.com/products/allproductsa-z/sysam/server
- Unpack the downloaded file
- Enter into unpacked folder
1 – Generate response file:
./setup -silent -options-template ./response_file.txt
2 – Edit response_file.txt
### -P installLocation=
### -W setupTypes.selectedSetupTypeId=
3 – Install SySAM2:
./setup -options “./response_file.txt” –W SybaseLicense.agreeToLicense=true -silent
4 – Setup Enviroment:
5 – Copying Licenses:
You should copy all your licenses files (*.lic) into your “installLocation” licenses’s folder (in this case is /opt/sybase/SYSAM-2_0/licenses/).
6 – Init script:
There is no init script bundled with SySAM, so its necessary to create one. SySAM has ‘diag’ and ‘status’ funcionalities that can come handy.
For sake for presentation, I made the init scritp available for download . Copy the file and adapt it for your instalation.(not yet, later!) For my case, my file is /etc/init.d/sysam
7 – Init Levels!
We need to add the script to be used to start/stop the service. Just do:
update-rc.d -n sysam defaults 99
8 – Done!!!
Start using your SySAM server!
Did this worked for you? If yes, great! If not, please leave a comment about it and, if you managed, how did you solved it🙂