Tech

  • Install a PowerDNS resolver on CentOS 7

    Install a PowerDNS resolver on CentOS 7

    There are two versions of PowerDNS: PowerDNS Server – used to power authoritative DNS servers PowerDNS recursor – used to provide a resolver, typically not open to the public Why run your own DNS? You may want to run your own DNS resolver if you have a number of servers or a large network…

  • Using ConfigServer Security & Firewall (CSF) with Virtualizor on Centos 7

    Using ConfigServer Security & Firewall (CSF) with Virtualizor on Centos 7

    Virtualizor is an excellent control panel for managing multiple virtual servers on one or more servers. It’s released by the same people that make the popular Softaculous auto-installer software. There is a built-in firewall system, but it’s probably the weakest aspect of the whole system.  I’m a big fan of CSF – provided free…

  • Using NetHogs to find who is using your bandwidth on CentOS 7

    It’s common to run a server for multiple users, running multiple different services. Sometimes this can make it a little difficult to track down who might be causing a drain on resources.  However, using NetHogs, it’s nice and easy to trace big bandwidth users. Picture the scene, your server or VPS is running along…

  • How to block libwww-perl with .htaccess

    How to block libwww-perl with .htaccess

    Why block libwww-perl? Any business is concerned with their websites search engine rankings.  There are a number of online tools which analyse your site and give hints as to how best to improve your results.  I’ve been trying some of these out for a future article and one of them recommended blocking requests to…

  • How to set PHP timezone

    How to set PHP timezone

    Why do I need to set the PHP timezone? Most commonly used PHP scripts allow you to set the timezone as one of their settings.  WordPress, for example, has a drop-down list within the Settings > General menu.  However, this isn’t always the case.  To ensure that the time on your scripts matches your…

  • How to add the EPEL repo to CentOS 7

    How to add the EPEL repo to CentOS 7

    What is EPEL repo? Many online guides talk about the EPEL (or Extra Packages for Enterprise Linux) repository for CentOS.  It allows the easy installation of additional packages through yum.  These packages aren’t distributed as standard with RedHat Enterprise Linux or any of the downstream versions such a CentOS, Oracle or Scientific.  Additionally, it’s…

  • Adding a hard drive in CentOS 7

    Adding a hard drive in CentOS 7

    Whether installing a new physical hard drive to a server or adding an additional disk to your cloud server or VPS, you’ll need to configure CentOS to be able to use it. If you’d prefer a managed server, with the power of a VPS – check out our web hosting. We’re going to assume…

  • Install memcached with cPanel on CentOS 7 or Cloudlinux 7

    Install memcached with cPanel on CentOS 7 or Cloudlinux 7

    Memcached is a “Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.” It’s nice and easy to install and implement with cPanel, so long as you’re happy using SSH.  As a pre-requisite you should be running…

  • Setting the timezone on CentOS 7

    Setting the timezone on CentOS 7

    To keep ensure your logs are easy to analyse and some scripts operate correctly, it’s a good idea to set your server timezone to match where you are. Display the current zone (and time) by using the ‘date’ command: [user@server ~] date Tue 22 Aug 13:32:27 BST 2017 From the above, you can see…