Here is a simple trick that I used to restart my python script after unhandled exception. #!/usr/bin/python from subprocess import Popen import sys filename =…
Linux cheat sheet
Here is a simple trick that I used to restart my python script after unhandled exception. #!/usr/bin/python from subprocess import Popen import sys filename =…
For directories only do this. For files only do this. And finally, this command will add execute permissions to directories.
To add an alias to your domain, you can use the ServerAlias directive of apache server, in the file ‘/usr/local/apache/conf.d/vhosts.conf‘. If you have, for example:…
This tutorial shows how to install a basic CentOS 7 server with mirrored disks (RAID 1) 1. Requirements To install a CentOS server you will…
You can now get free https certificates (including wildcard certificates) from the non-profit certificate authority Let’s Encrypt! This is a website that will take you through…
Installing Nextcloud can take several hours even from advanced Linux users. In addition to Nextcloud, you need to install and configure PHP 7 with extensions,…