Linux Archives

Over 80% is running on some form of Linux – so does your Mac and you iPhone. Sometimes we have to get our hands dirty on the command line – it makes you feel like a proper hacker.

Here are some pointers I picked up on my journey.

How to quit vi without saving your changes

It just occurred to me that even though I know my way around vi fairly well, I never had to quit it without saving my changes. Usually I just go back in and overwrite my mistakes. Today I did something though that wasn’t as easy to eliminate: instead of pasting an IP address, I accidentally … Read more

How to control SELinux in CentOS and Fedora

SELinux – when installed – can take on one of three modes: To check which mode SELinux is running on, we can use either sestatus for a more detailed output, or simply getenforce for a one liner: sestatus SELinux status: enabled SELinuxfs mount: /sys/fs/selinux SELinux root directory: /etc/selinux Loaded policy name: targeted Current mode: enforcing … Read more

How to secure SMTP, POP and IMAP connections in Plesk

You’ve installed an SSL Certificate to secure your Plesk Panel, you’ve tested it with an SSL checker and sure enough: the ugly warning window doesn’t bother you or your customers anymore. But your email client still says that the server doesn’t have a valid certificate. What gives? The secret is this: SMTP, IMAP and POP3 … Read more

How to start CentOS in Recovery Mode from Parallels Desktop

To start your Linux distribution into EFI Recovery Mode you need an installation disk. Even the smallest “minimal” image will do. Shutdown the VM if it’s running. Then mount the ISO image onto your VM (under Configuration – Hardware – CD/DVD1). Make sure the “Connected” box is ticked. Next you need to tell Parallels Desktop that … Read more

How to install Plesk on CentOS 7

Installing Plesk on CentOS 7 hasn’t changed drastically from earlier versions, however CentOS is different than its predecessors. I’ve written an article about how to install Plesk on CentOS 6, but that was 3 years ago and thought it’s time for an updated version. Well here it is: Plesk 12, meet CentOS 7.   Plesk Documentation … Read more