Vasudeva Server

Vasudeva Server items

  • Adding LetsEncrypt certs to a cPanel account with more than 100 domains using AutoSSL

    Adding LetsEncrypt certs to a cPanel account with more than 100 domains using AutoSSL

    We recently had to add Let’s Encrypt SSL certs to a cpanel account which contained over 100 parked domains (or domain aliases, as they are now called) The problem is that Lets Encrypt has a 100 domain limit for SAN certs (multiple domains on the same certificate). In reality that limit is 50, because you […]

    Read more »
  • Useful command line snippets for investigating site downtime

    Useful command line snippets for investigating site downtime

    Look at incoming hosts – can be good for seeing if there is some kind of system abuse (eg ddos) netstat -plan|grep :80|awk {‘print $5’}|cut -d: -f 1|sort|uniq -c|sort -nrk 1 | head Isolate Apache processes by account owner – sometimes it is Apache processes belonging to a particular site that are consuming memory. lsof […]

    Read more »
  • Batch renaming files using command-line find and replace

    Batch renaming files using command-line find and replace

    This turned out to be quite easy: replace ‘old text’ ‘new text’ files-to-replace So for example to change all spaces to underscores in a folder of jpegs, you can cd to the folder and type replace ‘ ‘ ‘_’ *.jpg I did see some other syntax for this online which looked more like sed, so […]

    Read more »
  • New Drupal modules by Vasudeva Server

    New Drupal modules by Vasudeva Server

    We are pleased to announce some new Drupal modules we have developed Rearrange Child Pages – allows you to change the order and titles of the child pages of the node you are currently on. This is very useful if you are using Drupal’s book funtionality on a very large site and the books contain […]

    Read more »