Creating a Bin Installer For a Application
Hi,
I have built an application and i have to make a rpm out of it. But i thought of creating a .bin file which will have apache, mysql and php and my application along with them. How can i create a Bin installer file something like myapp.bin which on running will automatically install my application along with apache,mysql and php? Thanks for the Help stranger. |
You can take a look here
|
I've done this in the past by using a shell script with a binary tarfile appended to it. When the script it run it will pull off the tarfile and then extract it. A few of the key elements of the script are:
Code:
SKIP=`${AWK} '/^__ARCHIVE_START__/ { print NR + 1; exit 0; }' $PROGRAM` Code:
cat script.sh tarfile.tar > setup.bin |
Well it looks like it's been made easier since I tackled the problem years ago. The makeself approach looks even easier.
|
Each time a vulnerability is fixed in Apache, MySQL or PHP you will have to re-release your monolithic package else you're spreading flawed software (which is as bad as spreading FUD). That is inefficient and makes it hard to maintain.
RPM's handle dependencies. If you just set "Requires: apache, mysql, php" in the .spec file for your application RPM the dependencies will be installed if necessary. You don't *need* no other tools. |
Consider using autopackage
|
All times are GMT -5. The time now is 05:03 PM. |