Re:Show HN: Bash Script to Install a Webserver and PHP on a ...
by rooam-dev on Tuesday January 21, 2020 @03:38AM
(#22105259)
Which OS comes without Python pre-installed? But I agree, the less is installed the better.
[ Parent
| on HN ]
Re:Show HN: Bash Script to Install a Webserver and PHP on a ...
by mister_hn on Tuesday January 21, 2020 @03:40AM
(#22105263)
Alpine Linux, Busybox, ArchLinux are examples.
Re:Show HN: Bash Script to Install a Webserver and PHP on a ...
by seedie on Tuesday January 21, 2020 @04:08AM
(#22105375)
Alpine Linux doesn't have bash installed by Default either. Don't know about the others
Re:Show HN: Bash Script to Install a Webserver and PHP on a ...
by killerjoe on Tuesday January 21, 2020 @08:53AM
(#22106850)
ArchLinux - wrong, has python preinstalled even if you go with the base image.
Alpine - doesn't even contain bash in the miniroot edition
Busybox - similar to Alpine
If python happens to disappear from all linux distros ansible can still work with the raw module.
In any case, the bash script posted is based on apt install so it's not going to work on much less amount of distros rather than if it was just an ansible role.
Re:Show HN: Bash Script to Install a Webserver and PHP on a ...
by benbristow on Tuesday January 21, 2020 @03:39AM
(#22105261)
Windows?
Re:Show HN: Bash Script to Install a Webserver and PHP on a ...
by __app_dev__ on Tuesday January 21, 2020 @01:35PM
(#22109908)
Windows doesn't come with bash by default either ;)
Python is extremely easy to setup on Windows though.
Time have changed a lot though as you can now run complex bash scripts on the Windows Subsystem for Linux (published by Microsoft).
Windows Subsystem for Linux https://docs.microsoft.com/en-us/windows/wsl/about
Print Screens and Doc of running as Bash Script on Windows: https://fastsitephp.com/en/documents/file-encryption-windows