Skip to content

Is alpine distribution food for big scale apps?

While studying and learning Docker, I’ve read a lot about linux distributions and I always read positive comments in Alpine because of it being lightweight but what are the disadvantages of using lightweight? I’m guessing that because it’s lightweight, it also has a disadvantage when it come…

Need to get Linux Dist name from different Dists

want to code a script that is for multiple linux distributions. Also want to add commands that check, and if not exist install some packages.. So, need a solution to ckeck Dist name (like Debian or RedHat) to execute the right command for this Dist. I have tryed “lsb_release” but is this working a…

Error ubuntu apt-get update [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …

Forking, daemonizing and monitoring a python script

I have a python script sc.py on my debian server. I would like : To run it as a daemon and keep it running indefinitely To run it N times (as sub processes, children, forks) in // To monitor the whole processes (in order to restart any dying process) Do you know software that would enable me to do so?

Only blobs formatted as VHDs can be imported

I am following these https://learn.microsoft.com/en-us/azure/virtual-machines/linux/upload-vhd instructions to create a VM in Azure. At this stage though az disk create –resource-group myResourceGroup –name myManagedDisk –source https://mystorageaccount.blob.core.windows.net/mydisks/myDisk.…

Apache redirect any 503 error to a maintenance page

I have two vhosts in one server thats using apache – my main page is www.alleOne.com and the other is www.sch2.com. I have a custom page that if www.sch2.com or any other uri page in www.sch2.com/madeup is down a 503 error code, it should redirect to my custom page http://www.alleOne.com/corp/en/service…

Ubuntu bash script grepping and cutting on first column

I am trying to implement a bash script that will take the piped input and cut the first column and return a total. The difference is that the cut is not from a file, but from the piped input. For example: Basically, in my scenario the first column will always be from the passed input. Example usuage is: data.…