Blog

Format a Linux system drive on Windows

Posted by on 10:02 pm in Knowledge Base | Comments Off on Format a Linux system drive on Windows

The other day I tried to format a USB drive for use with Windows. I had previously tried this on my Mac to no avail. But now even Windows was telling me that it too could not format my drive. I was stumped! I had in fact never seen anything like it before. Was that USB drive broken? Had I turned stupid overnight? Well perhaps… but more importantly, it dawned on me what I had used this USB drive prior to this formatting nightmare: it was a Linux installation that could run directly from the stick. This is important, because as part of...

read more

What’s the difference between the Logitech M325 and the M325c

Posted by on 9:54 pm in Knowledge Base | Comments Off on What’s the difference between the Logitech M325 and the M325c

The Logitech M325 and M325c are both wireless USB mice. Their design appears to be identical (except for the various colourful variations of course), and their prices vary from anything between $12 and $60 – depending the layout and seller. Even the packaging is identical. So what’s the difference between these two models? Is it precision? Is it the build quality? Is it the year of production? Is it something else? Actually no, the two mice are absolutely identical and both work with Windows, macOS and Linux. The only difference...

read more

How to check which web server is running on a domain

Posted by on 3:51 pm in Knowledge Base | Comments Off on How to check which web server is running on a domain

Sometimes we must know what web server is running on a particular domain. Usually web hosts should be able to tell a client this, but if the client is afraid to ask, there is a way to ask the web server directly for this information. Just to clarify: the web server is the process that serves files (HTML, PHP, ASP, images, etc) from a remote machine to your local web browser. The most likely choices in this day and age (2017) are Apache, NGINX or IIS. The latter is used by Windows servers, and the two former are used by Linux servers. There...

read more

How to reset the admin password in Plesk Onyx

Posted by on 1:15 pm in Knowledge Base | Comments Off on How to reset the admin password in Plesk Onyx

It’s not pretty when it happens, but it happens to the best of us: you forget the admin password for your Plesk Onyx installation. In previous versions there was an option to retrieve this password via the command line, but that special command has been removed in Onyx for security reasons. So what can we do? Well luckily it’s relatively easy to reset the password to something else, or gain temporary access to the server quickly. Let me show you how. Option 1: Login with server root credentials One option you always have is to not...

read more

How to fix “connected to WiFi, but can’t see the Internet” on Windows 10

Posted by on 1:33 pm in Knowledge Base | Comments Off on How to fix “connected to WiFi, but can’t see the Internet” on Windows 10

For the last few days I had a very interesting (read: ultra annoying) issue with Windows 10 on my Surface Pro. No matter which network I was connecting to, I could never see the internet anymore. Logic dictates that there was perhaps an issue with the router, but since it happened on other networks as well, this couldn’t have been the case. I could even ping the router, but no matter what else I tried, Windows didn’t see the internet. Finally I came across this Microsoft Support Article that suggested several things, among whose...

read more

How to fix duplicate packages in yum

Posted by on 2:16 pm in Knowledge Base | Comments Off on How to fix duplicate packages in yum

From time to time, the yum package manager may encounter issues with duplicate packages that are erroneously installed on a system. This manifests in a yum update going awry, telling us something along the lines of this: yum update ... --> Finished Dependency Resolution Error: Package: ntp-4.2.6p5-22.el7.centos.2.x86_64 (@updates) Requires: ntpdate = 4.2.6p5-22.el7.centos.2 Removing: ntpdate-4.2.6p5-22.el7.centos.2.x86_64 (@updates) ntpdate = 4.2.6p5-22.el7.centos.2 Updated By: ntpdate-4.2.6p5-25.el7.centos.x86_64 (base) ntpdate =...

read more

How to manage Git Repositories in Plesk Onyx

Posted by on 11:33 pm in Knowledge Base | Comments Off on How to manage Git Repositories in Plesk Onyx

In this video I’ll show you how to manage Git repositories from Plesk Onyx, using the new Git Extension. We’ll setup a new repo in Plesk, check it out via the command line and make subsequent commits using the Github for Desktop client....

read more

How to install a free SSL Certificate in Plesk Onyx

Posted by on 2:53 pm in Knowledge Base | Comments Off on How to install a free SSL Certificate in Plesk Onyx

In this video I’ll explain how to add a free SSL Certificates for web traffic in Plesk Onyx. First we’ll enable the Let’s Encrypt extension in Plesk, then we’ll create the certificate and prepare our subscription for SSL traffic. And finally, we’ll tweak two values in the WordPress database so that all requests will be directed to https rather than http. Note that Let’s Encrypt SSL Certificates can only be used to encrypt web traffic between your server and a client’s browser. They cannot currently be...

read more

How to print the current date and time in BASH shell scripts

Posted by on 3:06 pm in Knowledge Base | Comments Off on How to print the current date and time in BASH shell scripts

Sometimes it’s useful to print the current time and date in a BASH script. We can make use of the date command for that. By default, and if called without any parameters, it’ll print something like this: echo $(date) Tue 29 Nov 2016 23:08:10 EST We can shorten this to just the date by using a formatting shortcut like this: echo $(date +"%x") 29/11/2016 or just the time using this format: echo $(date +"%r") 11:09:26 pm Formatting shortcuts can also be used together, like so: $(date +"%x %r") 29/11/2016...

read more

How to use functions in a BASH shell script

Posted by on 3:52 pm in Knowledge Base | Comments Off on How to use functions in a BASH shell script

BASH can deal with simple functions, and they are defined like this: # this defines the function function testing {     echo "Hi there!" } # this calls our function testing As far as I know, BASH functions cannot take or return...

read more