http://www.sourcingmag.com/
http://www.outsourcing-weblog.com/
Leadership & Project Management
Friday, October 3, 2008
shell, environment, .profile, some notes, su - informix
Issue: your binary cannot work, when you change user (su), you schedule (cron) a script to run, but the executed binary inside the script cannot work properly
Reason:
When you change user and forgot to input the '-' paramter, before the username (su informix) instead of (su - informix). Unix won't run .profile (based in the user's home folder) So environment won't configured correctly, etc. $HOME, some kind of environment variable, some initial scripts, etc. So your binary won't work or announce some issues
The same, when you script the cron job, the script will be run in an another shell each time, and by default that shell won't configured (run .profile) so you script will be failed. To avoid this, at beginning of your script, you need to add some codes like:
#!/bin/ksh
/.profile
Reason:
When you change user and forgot to input the '-' paramter, before the username (su informix) instead of (su - informix). Unix won't run .profile (based in the user's home folder) So environment won't configured correctly, etc. $HOME, some kind of environment variable, some initial scripts, etc. So your binary won't work or announce some issues
The same, when you script the cron job, the script will be run in an another shell each time, and by default that shell won't configured (run .profile) so you script will be failed. To avoid this, at beginning of your script, you need to add some codes like:
#!/bin/ksh
Wednesday, October 1, 2008
web2.0 tools/utilities javascript components
http://extjs.com/products/extjs/
This looks good, and open source, any ideas to implement for your own web?
http://mashable.com/2007/07/31/facebook-powertools-1/
This looks good, and open source, any ideas to implement for your own web?
http://mashable.com/2007/07/31/facebook-powertools-1/
Monday, September 29, 2008
Toi muo'n: sao muo'n nhiu the'
Toi muo'n danh thoi gian de di choi the? thao moi toi', tang su'c khoe, giam stress,
VirtualBox: another Virtualization host software, it is open source
I did many investigation on many virtualization software, and VMware is the best to me, at least up to now
VirtualBox, through the website, what it says is so impressive, and it is open-source as well
I will try to use it, and report the comparision later
http://virtualbox.org/wiki/Downloads
VirtualBox, through the website, what it says is so impressive, and it is open-source as well
I will try to use it, and report the comparision later
http://virtualbox.org/wiki/Downloads
Subscribe to:
Posts (Atom)