CentOS Archives

How to view local websites on your iPad with Squid

I like developing and testing websites on my local network before they go live. On both Mac and PC it’s easy to tweak the /etc/hosts file so that the URL doesn’t point to a numeric IP, but instead to http://yourserver (or something equally catchy). On iOS devices we can’t tweak that file unless we deal … Read more

How to enable automatic logins in CentOS 6 and GNOME

I was researching auto login options for CentOS today. I thought those would come in handy when GNOME is used as a standard desktop, so that the computer starts straight into the desktop environment without the need to provide a password. It’s also a handy feature to have if the machine lives in another room … Read more

How to fix ProFTP Handshake Trouble in Plesk

I fixed a problem this morning which wouldn’t let the latest version of FileZilla v3.10.1.1 connect to one of my client’s servers anymore. This had not been a problem in the past. The connection itself worked, but FileZilla failed due to a problem with the TLS Certificate. Here’s the error: Status: Initializing TLS… Error: Received … Read more

How to set firewall rules from a GUI in CentOS

Sick and tired of countless command line statements to set your firewall rules? Me too. No matter what I try, I never get the results quite right. There’s always some switch I forget and ultimately something isn’t working. For years I was thinking, “there has to be an easier way, like there is in Plesk”? … Read more

FIXED: WordPress refuses to send you a Password Reset Link

I ran into an interesting problem today: on a CentOS 6 server a colleague of mine wanted to reset her WordPress password via the handy link provided in the login dialogue. But rather than sending an email, WordPress got back to her with the following error message: The e-mail could not be sent. Possible reason: … Read more

How to recalculate statistics in Plesk

Plesk recalculates all usage statistics once every day as part of a daily maintenance script. Sometimes however you’ve made a change and would like to see statistics updated immediately rather than “sometime tomorrow”. The solution: run the statistics recalculations script manually. On CentOS the path to the file is /usr/local/psa/admin/sbin/statistics. When used on its own … 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