Articles

Zyxware default image2
| 2 min read
Keeping the Drupal core and contributed modules up-to-date (at least on the security updates) is one of the essential steps for keeping a Drupal site safe and secure. Running updates of Drupal modules is usually a straightforward mechanism on a Drupal site that is done right. However what will you do if you do not know how things have been built? What will you do if some of the custom modules used are tied down to specific versions of some contributed module? What if there were custom changes on the site. Here is how you can run updates on a Drupal site almost completely safely.
Web accessibility checkpoints in Software Development Life Cycle (SDLC)
| 4 min read
When you want to move a Drupal site from one hosting server to another you have to ensure that the site works the same way on the new server as it used to work on the old server. There is no real fool proof way of doing this other than to meticulously document all the custom aspects associated with setting up the site and verifying it on the new server. The following is a checklist of information you have to collect before you move your Drupal site from one server to another. Checklist: Migrate from one server to another
Zyxware default image3
| 3 min read
”rsync” is an open source utility in Linux/Unix primarily used for synchronising files/directories over the networks. You can also use it to backup/copy folders between machines. It is particularly made use of to while administering servers connected to the internet. The term “rsync” itself refers to “remote-synchronise”.
Zyxware default image3
| 2 min read
If you own a VPS or a dedicated server or a hosting server which allows you to have shell access then you can easily set up your own git server with as many users and as many repositories as can be stored in the space on your server. All you need to do this is a bit of system administration skills and a hosting server that allows you shell access. Read on to see how you can set up your own git server.
Zyxware default image3
| 4 min read
If you run a reasonably popular site there is a very good chance that you will get crawled by unscrupulous crawlers once in a while. The regular search crawlers from the popular search engines like the Google bot, Yahoo bot, Bing bot themselves are pretty intensive when they crawl sites but they do have limits on the number of pages crawled per visit and the number of simultaneous connections opened to your server. However there are lots of unscrupulous crawlers like spam bots, email harvesting bots and even some search engines who do not set any reasonable limits on the number of simultaneous connections to your server. There are hardware solutions that are available to prevent this but they may not be affordable for everybody. There is however a simple netstat based solution to prevent DDOS.
Zyxware default image3
| 3 min read
On a WHM/cpanel VPS server the httpd.conf is automatically generated from cpanel scripts based on templates and you are not supposed to change this file directly. Any changes that you make in the httpd.conf file will be lost when cpanel re-generates the file or when cpanel is updated. This is an inconvenience especially when your application requires you to make virtualhost modifications in the configuration. However cpanel provides an alternative way to edit the httpd.conf file.
Fix Certbot Auto-Renew Error in Ubuntu
| 1 min read
When you untar large tar files even as the root user on your VPS you might run into the error "Cannot change ownership to uid NNN, gid NNN: Disk quota exceeded". This is because the extracted files from the tar archive is being attempted to be created with the original UID and GID as on the system where the tar archive was created. Now if the UID is not already present on the new VPS or if the UID corresponds to a user without a lot of disc quota available the above error will be triggered preventing extraction of the tar.gz archive.
Zyxware default image3
| 3 min read
Most of us must be familiar with the names 'dig' and 'whois'. If not, these are two commands used to find the details of domains. You just have to type in dig domainname or whois domainname to get a comprehensive set of info on the domain. What if you have not just one or two domains to check about. How about a 1000 domains and you want to know the details of each?
Zyxware default image1
| 2 min read
Redmine is one of the most popular Ruby on Rails applications which has made quite a name for itself in the world of Project Management. It offers a lot of flexibility. One of its main advantages is that it can recognize your files repository and can work along with your source control system to keep track of all changes through the tracker itself. Here is one error that we came across when we tried to integrate our filesystem and source control management system with Redmine - Error: The entry or revision was not found in the repository
Zyxware default image2
| 2 min read
One of our clients sent us images they want to put in the website as pdf files. There were 100 files each containing a single image. Opening each of these in gimp and then saving it as pngs was a nightmare. For all such situations, ImageMagick is there for your rescue. With mogrify - a command utility available in the ImageMagick package, bulk converting all these pdf files to png was child's play.
Zyxware default image3
| 2 min read
Some times we wish to exclude some files and directories when we try to take backup of a website. With tar it is possible. Use the --exclude option. For example, if you want to exclude .git folder and the imagecache directory inside the files folder, use the command: tar -zcvf abc.com.tar.gz --exclude ".git/*" --exclude ".git" --exclude "sites/default/files/imagecache/*" --exclude "sites/default/files/imagecache" public_html
Zyxware default image2
| 5 min read
OpenOffice Calc is surprisingly an excellent tool for creating wireframes. Wireframes can be created very easily in OpenOffice Calc using the standard shapes available from the drawing toolbar and also by merging cells in the sheet. Each sheet can be used to define a single wireframe and then a single spreadsheet document can contain all the wireframes for a given project. OpenOffice Calc also allows you to export the full set of wireframes as a pdf document with one page corresponding to each sheet in the document. Here are some tips to create good wireframes using OpenOffice Calc.
Zyxware default image3
| 2 min read
Some of the latest Laptops especially Dell Inspiron 5420 and Lenovo G580 series comes with Atheros Network driver which has some problem with Ubuntu 12.04. The problem is that it will not detect the wired network connection(eth0) even though wireless connection is working fine. We can solve this issue by installing the proper network driver.
Zyxware default image4
| 2 min read
XHTML Validation serves the purpose of rechecking our site to see if it follows the W3C standards. It not only ensures quality, but also teaches us good coding practices and thereby eases maintenance. Validating one's code before taking it live serves as a sign of good professionalism in a coder's career. Common errors found during XHTML validation are listed below: 1. Not closing empty tags. Empty tags are tags that do not contain any content.
Zyxware default image4
| 3 min read
Boost is a Drupal module that accelerates the performance of a site by efficient caching of pages. It can be enabled for all pages other than the ones which need to show constantly updating data (for example, a captcha box). NOTE: If you are looking on how to install and configure Boost for your Drupal website, go here: How to install and configure Boost caching module to speed up performance on your Drupal 6 site. Here we list some methods for testing the Boost implementation on a Drupal website:
Subscribe to Subscribe to