|
|
|
|
|
by vanilla-almond
1214 days ago
|
|
Is there a minimal or custom Linux image suitable for the following scenario? A custom Linux + web app combination: - a Linux image that can upload to a VPS - a Linux image including your web app and essential tools (web server, database) - anything not needed from the Linux image is removed (tools, utilities) The idea is that a custom Linux image (which includes your pre-installed web app) can be installed to any VPS: pre-configured to be Linux only for your web app. (Note: this a scenario without docker.) |
|
In the days before Docker what we would use is CentOS with custom scripts using Anaconda[1]. You start with the base system and then add on whatever you need. You can also configure /etc however you need. The output is an ISO of your own custom Linux distribution.
One neat thing about Anaconda is you can add a provision script that runs on initial boot. So if you need to "bake" in your app but leave a certain amount of configuration for install-time, that's the way you do it.
[1] https://access.redhat.com/documentation/en-us/red_hat_enterp...