cloudflare

Dynamically update DNS with CloudFlare Client API

This post will show you how to dynamically update “A“ records through CloudFlare’s Client API with a simple script, every 5 minutes with cron.  If you have a dynamic IP address from your ISP and you use CloudFlare this is the most efficient way to keep your ‘A’ records pointing at your server should your ISP change your public IP […]

Continue Reading 3
Part-7

Create a MySQL database and install WordPress

Welcome to Part 7 of this Series: The first thing we need to do is create a MySQL database for WordPress.  More specifically a database for example.com.  You can choose either to use one WordPress database for all your sites or you can have a separate database for each domain/WordPress install.  For this tutorial I am going […]

Continue Reading 6
Part-6

Using WordPress locally without a domain name

Welcome to Part 6 of this Series: The XPress Nginx appliance is an excellent free alternative to wamp. The Gods of the internet have set aside some top level domains intended for use in examples and for development and testing environments.  See RFC 2606 – Reserved Top Level DNS Names for more information.   Basically all this means is […]

Continue Reading 0
Part_5

Configuring Nginx’s cache location and installing WordPress

Welcome to Part 5 of this Series: This is all based on WordPress’s Nginx codex with credit to Rahul Bansal’s fantastic Series – “WordPress Nginx Tutorials.” I’ve automated the process of creating new server blocks and installing WordPress.  The tar archive that we will download on Ubuntu in this tutorial contains the Nginx-helper plugin for WordPress, sftp-updater-support plugin for […]

Continue Reading 2
Part-4

Install Nginx MySQL PHP5.4 APC and phpMyAdmin on Ubuntu 12.04

Welcome to Part 4 of this Series: Install MySQL-server:  Open PuTTY and connect to your server, log in and gain sudo privilages. sudo su apt-get update && apt-get upgrade apt-get install mysql-server -y This will start the MySQL-server install wizard. When prompted choose a password for the root MySQL user.  I use a different password here than […]

Continue Reading 0
Part-3

Configure PuTTY and Filezilla over SSH

Welcome to Part 3 of this Series: In this tutorial we are going to set up everything we need to administer our web server with PuTTY and Filezilla over SSH locally. Once we get PuTTY set up we will be able to copy and paste commands into Ubuntu.  Something we can’t do now in the VM(unless you installed […]

Continue Reading 0
Part-1

Create an Ubuntu virtual machine in VMware Workstation

  Welcome to Part 1 of this Series: This tutorial makes some assumptions about the computer you have VMware Workstation installed on.  I am assuming that you are running some version of 64 bit Windows and that you have at least 3 gigs of ram.  Anything less and performance will possibly be degraded. You can install either the […]

Continue Reading 1

Automatically set www-data group in /var/www in Linux

This will allow for any files upload over s(ftp) to /var/www/* inherent www-data group when uploaded automagically. Took me longer than I thought to figure out how to do this.  So here it is… sudo chgrp -R www-data /var/www/*; sudo chmod -R g+rw /var/www; find /var/www -type d -print0 | sudo xargs -0 chmod g+s

Continue Reading 0