Category: Linux

Upgrading Fedora Installation on DigitalOcean

I found this method works for me,

You may need to run restorecon -R / to fix any SELinux issues. Resource https://gist.github.com/kallisti5/01f6df3bfb77b978abfe

gnuplot icon

Visualize real-time data streams with Gnuplot

Some times when I need to troubleshoot a problem, adding some visualization to the process can help a lot, especially if one need to correlate between 2 (or more) metrics in the data. But...

Run Command Before Starting SSH Connection

This a quick hack I found while I was looking to run a knock script before connecting to servers which I have the SSH service protected with a knock sequence. In my setup I...

Building CinelerraCV for Fedora 22 under Docker

The Dockerfile

This Dockerfile will use Fedora Docker image (which you can download from any Fedora mirror server, and then use docker import to import the image) as the base for our builder image,...

Setup Xdebug for remote debug over SSH

If you have PHP application you need to debug, and there is a firewall between you and the hosting server, One can use SSH to tunnel the traffic from the remote site to the...

pulseaudio-logo

Toggle Audio Output Between Several Devices

With PulseAudio one can choose the output (in PA syntax, it’s called “sink-input”) device for each audio stream, for example, I can listen to my music on my headphone (USB sound card in my...

כיצד להשתמש בסיסמאות בתוך סקריפטים

מאוד לא מומלץ להשתמש בסיסמאות ישירות בסקריפטים, אלא לשמור אותם בקובץ נפרד שאפשר להגן עליו על הרשאות שונות וכן הגדרות שונות לגבי אופן הגיבוי שלו. למשל בהפצות על בסיס Debain כשרוצים לכתוב\להשתמש בסקריפט שמבצע...