Quantcast
Channel: Web Development – GeoffStratton.com
Browsing latest articles
Browse All 31 View Live

Image may be NSFW.
Clik here to view.

Ubuntu 16.04 Web Server with Nginx, MariaDB, Redis, and Drupal 8

As mentioned in my Ubuntu 16.04 and Drupal 7 article, the Ubuntu 16 LTS version has some nice upgrades, including PHP 7, MySQL 5.7, Nginx 1.10, Apache 2.4.18, and MariaDB 10.0.x. Let’s see if we can...

View Article


Image may be NSFW.
Clik here to view.

Installing Drush 8

Previously I discussed how to install Drush 6.x for use with Drupal 7. Here we’ll install Drush 8 for Drupal 8, specifically using Ubuntu 16.04 Server. The recommended method is to install using PHP’s...

View Article


Image may be NSFW.
Clik here to view.

Your First Steps in WordPress

Once I’ve set up your WordPress blog, I recommend that you take the following steps: 1) Change your password to something secure and useful. There are various random password generators that you can...

View Article

Image may be NSFW.
Clik here to view.

WordPress: Optimizing Nginx and WP Super Cache

Today we’re going to compare the performance of a WordPress site before and after we install and optimize the WP Super Cache plugin. We’re running Ubuntu 16.04 Server, Nginx 1.10, PHP 7 with the Zend...

View Article

Image may be NSFW.
Clik here to view.

Install WP-CLI

The wp-cli command-line utility allows you to manage your WordPress sites without going through the WordPress dashboard, much like Drush does for Drupal. To install Composer and wp-cli on Ubuntu 16.04:...

View Article


Image may be NSFW.
Clik here to view.

Bash: Make a Web Site Index

An old Bash script that uses awk to construct an index with hyperlinks from the .html files in a web tree. Attempts to use the <title> tag to name each link. To use, change your directories in...

View Article

Image may be NSFW.
Clik here to view.

Perl XHTML Validation

Fixes some common XHTML validation errors, to make a web page pass the W3C markup validator. Does this still work? I have no idea, I never build web pages by hand anymore. #!/usr/bin/perl -cw # # Clean...

View Article

Image may be NSFW.
Clik here to view.

jQuery Reading Progress Meter

On my Amazon reading list page I wanted to add a progress bar and ahead/behind schedule counter similar to that on Goodreads. For their reading progress meter, you enter how many books you plan to...

View Article


Image may be NSFW.
Clik here to view.

Perl Hyperlink Relativizer

This was written to strip local domains from hyperlinks in text files, e.g., www.geoffstratton.com/mylink.html will become /mylink.html. #!/usr/bin/perl -cw # # Strip local domains from link urls. #...

View Article


Image may be NSFW.
Clik here to view.

Installing an SSL Certificate on Nginx

Update April 2018: I’d suggest using Let’s Encrypt for this instead. How to create and install an SSL certificate for Nginx 1.10 on Ubuntu 16. (Apache setup here.) This setup also gets you an A on the...

View Article
Browsing latest articles
Browse All 31 View Live