SSH – Secure Shell Tips and Tricks in 2023
What you need to know There are several benefits of using SSH (Secure Shell) for remote access and file transfer: Overall, SSH is a powerful […]
Continue reading »Golden nuggets where no entry is longer than my expected attention span
What you need to know There are several benefits of using SSH (Secure Shell) for remote access and file transfer: Overall, SSH is a powerful […]
Continue reading »When developing a Flask application, you normally run it from the terminal using flask run or in the code app.run() But when the app is […]
Continue reading »Volatility is one of the most important attributes of any tradeable instrument. It indicates how volatile, or ‘risky’ if you will, the price is. But […]
Continue reading »With Flask you can have your backend coded in minutes, and with for example a Linode server you can get a $10/month-server up and running […]
Continue reading »The following example is built using a Python Flask backend, a CURL-script to test it, and a simple React frontend that logs in, gets an […]
Continue reading »Why it sucks? The TL;DR is “It’s not Linux”. I really want to like Windows. And God knows I have tried. A couple of times […]
Continue reading »For some reason, Linux Mint (and other variants probably?) creates a measily 2GB swap file, which is too small IMHO when you have 16GB or […]
Continue reading »How the system path is set is quite complicated, depending on your system and shell setup. But for the most common one (Linux Mint/Bash in […]
Continue reading »The major difference between Linux and Windows is the quality of the terminal. I would say the comparison is like comparing a with a But […]
Continue reading »I had terrible problems connecting to my Wifi printer Canon MG5450. It worked perfectly from my Imac, but from my Linux Box I got “server-error-internal-error” […]
Continue reading »iotop is installed via sudo apt install iotop and is a great tool for monitoring I/O in your box. Here are a few tips […]
Continue reading »So it finally happened. After years of usage I managed to f**k up my linux boot. I suspect the HDD was about to give up […]
Continue reading »The Actuator is a great tool. The documentation and history of changed configuration and implementation is however a big big mess. To cut a LONG […]
Continue reading »You now the command top? The one you use when you want to see if there is one process hogging all the CPU? But there […]
Continue reading »Since you need a domain name, and I almost always use dynamic domain services, I recommend setting up ddclient so that the dynamic DNS is […]
Continue reading »Putting a server on the internet is today similar to walking alone at night in a part of the city you know nothing about, where […]
Continue reading »Linux is great, but granted, sometime it can feel a little complicated. Installing and configuring software always start with a Google: “howto install XXX Ubuntu […]
Continue reading »I know, it’s a mouthful! I never thought I’d understand asymmetric cryptography, partly because I tend to stay away from REALLY complicated stuff, and partly […]
Continue reading »Lots of harddisk space leads to…. lots of files. Why throw stuff away when keeping it is so cheap? I always end up with a […]
Continue reading »(since I always forget the username part) mkdir MyDir sudo mount -t cifs -o username=myusername,password=mysecretpass //<ip-address>/SHARE MyDir/ Reference: https://access.redhat.com/solutions/448263
Continue reading »Apache Apache is a great piece of website software. What I like the best, is that it is mature and reliable. It is also easy […]
Continue reading »Note: All commands must be prefixed with “sudo” in case your user account doesn’t have enough privileges. System $ uname -a Displays Linux system information […]
Continue reading »ref: https://tecadmin.net/configure-dns-server-on-ubuntu-linuxmint/ BIND9 If you have a “normally complex” network at home, You usually have an internet router which takes care of DNS-resolutions. However the downside […]
Continue reading »how-to-install-node-js-on-ubuntu-16-04 has a great explanation, but long, about the details. The short version come here: Do NOT use the ubuntu package version. It´s old and named […]
Continue reading »I love this blog post from Daniel Clark, who normally writes little nuggets about Ruby on Rails. But here he describes how to edit video […]
Continue reading »This worked for me: https://askubuntu.com/questions/522431/how-to-send-an-email-using-command-line With CERT fixes from here: https://stackoverflow.com/questions/39341137/postfix-must-issue-a-starttls-command-first
Continue reading »sudo adduser alpha Answer all quesions, I isually hit Enter on all except Full Name If you want to make this a sudo-able user, add […]
Continue reading »Saving your git password lets you skip giving username/password at every checkin Normally you use git config –global credential.helper store but this is not very […]
Continue reading »MySQL/MariaDB Remember to change bind-address to 0.0.0.0. By default it is set to 127.0.0.1 and then you can’t connect remotely! Exactly which config file it […]
Continue reading »http://www.linuxproblem.org/art_9.html Basically you add the content of your own ~/.ssh/id_rsa.pub to the targets ~/.ssh/authorized_keys file. (Replace ‘a’ with your username, A with your hostname or […]
Continue reading »Since Oracles own instructions (https://docs.oracle.com/javase/9/install/installation-jdk-and-jre-linux-platforms.htm) sucks big time, I can recommend this one instead: https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04 Simple and easy to follow. And it WORKS!
Continue reading »First of all, check the documentation: https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Standalone_Server then go ahead: sudo apt-get install samba decide which LINUX user should be used (or create a new). […]
Continue reading »General structure BEGIN { print “BEGIN” } /filter1/ { print $0 } /$6 == “Nov”/ { print $1, $2 } […]
Continue reading »You know how it is, you need to download a 3GB install kit, but don’t want to disturb the missuz by clogging all the bandwidth. […]
Continue reading »http://www.simonthepiman.com/how_to_setup_windows_file_server.php
Continue reading »I had to transfer lots (LOTS) of video files from my IMAC where I had catptured a bunch of older DV tapes. Since space ran […]
Continue reading »I have lots and lots of home made movies, mostly in the form of DV-tapes and SD-cards. (This workflow also works for photos and other […]
Continue reading »