Get Free Linux Server Security, Performance & Troubleshooting Tips

From the blog

skip-name-resolve: how to disable MySQL DNS lookups

mysql tips and tricks

MySQL Reverse DNS lookups are often the cause of long delay and slow MySQL performance when running certain SQL queries. Sometimes it takes hours or days to detect that the problem in your slow SQL connection times is indeed caused by the skip-name-resolve variable located inside your MySQL configuration file. This tutorial applies to the following scenarios: Disabling…

Read More »

ifconfig: command not found

centos tips and tricks

Today I was setting up a new cloud server and needed to use the classic ifconfig command. I wasn’t able to do it because of this error: ifconfig: command not found It seems CentOS 7.x doesn’t come up with ifconfig installed by default on the minimal ISO image I used. ifconfig command is no longer installed by default…

Read More »

How to setup a Remote MySQL Database Connection

mysql tips and tricks

90% of the times you connect to a MySQL database it is done by using “localhost” as the host inside the connection settings in your PHP files, as most of you host the files and the database on the same server.  However, especially in high traffic websites, a remote MySQL database is needed. In other occasions, you will need…

Read More »

Windows XP can’t connect to Samba on CentOS 7.x

centos tips and tricks

I have a customer that has two servers, one with CentOS 5.x and Samba 3.x, it was able to connect from all kind of Windows computers to the shared directory by Samba. However, on a new CentOS 7.x running Samba 4.x, all machines could connect except the ones using Windows XP, and some Windows Server 2003 clients. The…

Read More »

A message that you sent has not yet been delivered to one or more of its recipients

cpanel tips and tricks

This is a pretty frequent error on all email systems. Often cPanel based customers report this mail delivery warning, and they think the mail server is failing, or it is a hosting problem. The exact error message would look like: From: Mail Delivery System Mailer-Daemon@server.nixcp.com Subject: Warning: message 1fQdkg-00023y-1r delayed 24 hours This message was created automatically by…

Read More »

CloudLinux installation error: You have third-party kernel module rpm installed

cloudlinux tips and tricks

I was trying to install CloudLinux on an existing cPanel server, and got this error: [root@server.nixcp.com:~]sh cldeploy -k mykey Checking for an update to cldeploy Downloading version.dat (please wait) cldeploy is already the latest version (1.48) – continuing kmod-kvdo You have third-party kernel module rpm installed (see line above). It’s not compatible with CloudLinux kernel. Please contact CloudLinux…

Read More »

OwnCloud: Error and fix: Archives of type application/octet-stream are not supported

cpanel tips and tricks

Today one of my customers opened a ticket showing a strange case where an Owncloud installation running over cPanel + LiteSpeed web server was showing this error: Archives of type application/octet-stream are not supported The issue was pretty weird and started when my customer needed to install any Owncloud modules from the OC Market, in particular the “Contacts”…

Read More »
Comodo Secure