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…
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…
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.…
MySQL allow us to restrict users to certain scopes or domains. For example, by default root user can only be used if you attempt to connect to the server using…
Here's a compact list of possible commands. Pick the one you like the most. a) fdisk -l // Pick the one that works best for you a) $ fdisk -l…