Verify if server supports a particular TLS version
Recently disabled supported for TLS 1.1 on my server. To test if everything was working fine, I used curl. # Should fail curl -I -v --tlsv1.1 --tls-max 1.1 https://myserver.com/v1/ #…
Recently disabled supported for TLS 1.1 on my server. To test if everything was working fine, I used curl. # Should fail curl -I -v --tlsv1.1 --tls-max 1.1 https://myserver.com/v1/ #…
# Instead use the -r option ``` $ zip -r src.zip ./src/ § zip src.zip ./src/**/* <-- Dont do this - Globs won't work as expected ``` # List zip…
In your local machine (the one that will be establishing the connection to the server) do: ssh-keygen -b 4096 Generating public/private rsa key pair. Enter file in which to save…
Recently, after a system crash and consequent system reboot, mysql stopped working. I tried to manually start the server but had no luck on this. sudo /usr/local/mysql/support-files/mysql.server start Tried to…
When we get started with bash scripting, one of the most frequent problems we come across is the incorrect CWD (current working directory). This is problematic when we expect to…
Copying files around is probably one of the most common reasons why we create bash files. We could be using unix cp but there are more powerful ways available. The…
Wikipedia describes rsync as follow: "rsync" is a utility for efficiently transferring and synchronizing files between a computer and an external hard drive and across networked computers by comparing the…
This is a very common question and I decided to make a short answer for my self and everyone else struggling with the same issue. No matter the environment you…
PM2 is a process manager for node.js apps. PM2 can be easily installed using npm package manager. Here's how: $ npm install pm2 -g Once pm2 is installed there's only…
MySQL is an open-source relational database management system. Its name is a combination of "My", the name of co-founder Michael Widenius's daughter, and "SQL", the abbreviation for Structured Query Language.…