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.

Read more

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 suggestions were to reset the TCP/IP stack and to renew the IP address. Sounds like fun I thought and went to work.

Here’s how I could solve my internet issues:

Read more

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 = 4.2.6p5-25.el7.centos
 You could try using --skip-broken to work around the problem
** Found 41 pre-existing rpmdb problem(s), 'yum check' output follows:
// huge scary list of packages follows

You may at times install all other packages via yum update –skip-broken, but it will still leave some trouble on the system. Best to take care of it.

Here’s how I’ve managed to do it on many occasions:

Read more