Web Development

Opensource technologies have grown into industrial strength tools that are cost free.  This has opened the way for virtually anyone with a computer and a connection to the internet to try their hand at web development.

  • All
  • Apache
  • Coding Languages
  • Database
  • Hosting
  • Linux
  • Linux Instructions
  • phpStorm
  • Tutorial
  • Wordpress

Timber is a great plugin for those PHP developers who like to use the Twig Templating Language. It extends the standard Twig install with support for many of the built in WordPress objects and variables necessary for theme development. Check out more here Timber Library It is...

SSL Setup

a2ensite default-ssl (where default-ssl is your site name) How to article...


Angular JS provides a powerful and intuitive new way of creating web applications.  Angular extends the DOM to give developers far more power within HTML. By using simple statements directly in the html dom Angular makes the connection to the user interface more intuitive...

Compiling SCSS in phpStorm

The first thing you will need to do is install Ruby on your system as it is required for compiling SCSS. Windows users can find the installer here - http://rubyinstaller.org/downloads/ Make sure to select the add Ruby to your PATH checkbox. Next you will need to run...

Installing more than one SSL certificate in Apache

A few changes need to be made to the Apache configuration in order to enable more than one SSL cert on a single server. <IfModule mod_ssl.c> NameVirtualHost *:443 Listen 443 </IfModule> Make sure to remove the listener on port 443 from whichever other files might contain it.  These...

Hosting with Digital Ocean

OpenCode recommends Digital Ocean as a host because of their low cost, high performance servers.  Follow this link to get $10 free credit in server time Digital Ocean Hosting.  There are a variety of servers images that can be spooled up.  The more specific images...

Setting up phpStorm & Xdebug on a remote Ubuntu server

This will allow step by step debugging of code within phpStorm. Install the xdebug package sudo apt-get install php5-xdebug Create a new /etc/php5/apache2/conf.d/xdebug.ini file instead of adding to the /etc/php5/apach2/php.ini Use the configuration below to build the ini file and update with your own values ;...

NPM Linux Setup

Install node.js Login as root or sudoer. curl -sL https://deb.nodesource.com/setup | sudo bash - apt-get install -y nodejs OR apt-get install nodejs Update NPM npm install npm -g Test NPM npm -v (Version should be greater than 2.1.8) Installing NPM Packages There are a thousands of packages available we will use Google’s Material Design...


Initial Setup Update apt-get apt-get update Upgrade apt-get apt-get upgrade Install Apache2 apt-get install apache2 Configure Apache2 a2enmod rewrite Install MySQL apt-get install mysql-server php5-mysql mysql_install_db mysql_secure_installation Install PHP5 with mcrypt & cURL apt-get install php5 libapache2-mod-php5 php5-mcrypt php5-curl php5enmod mcrypt Configure Apache2 nano /etc/apache2/mods-enabled/dir.conf update the DirectoryIndex to only use index.php Restart Apache2 service apache2 restart Install Wordpress Create a directory for your wordpress installation...

Useful Commands & Programs for Linux

File System Remove directory and its contents - rm -rf directory_to_remove Check disk space - df -h /directory_to_check File Compression Create a gzipped tarball in linux - tar -zcvpf new_tarball_name.tar.gz /var/www /home/username z - use gzip for best compression c - create a new archive called new_tarball_name.tar.gz v - verbose (tar command will display progress) p...

SSH Setup

Open /etc/ssh/sshd_config in your favorite editor (nano, vi, etc.) it will look like the example below. # Package generated configuration file # See the sshd_config(5) manpage for details # What ports, IPs and protocols we listen for Port 22 # Use these options to restrict which interfaces/protocols sshd will bind...


Adding a user useradd username Setting a user's password passwd username ...


MySQL is arguably the most powerful open source database in the world.  In its latest iterations (5.6  and up) it has been receiving more and more trickle down upgrades from its parent company Oracle. ...

Cent OS

CentOS is an opensource Linux distribution based on RedHat Enterprise.  Being based on RedHat it is a very stable version of Linux to use as a webserver and as enterprises support security more and more the trickle down effect has grow stronger recently. Useful...

Development Resources

Reference & Learning w3schools is a great resource for quick lookups on html, css and javascript questions.  their answers are simple and concise and their code samples are standards compliant: http://www.w3schools.com/ PHP phpStorm Arguably the best PHP IDE out there. https://www.jetbrains.com/phpstorm/ Aptana3 is a powerful IDE built on...


Wordpress started out as opensource blogging software and has evolved into one of the most popular CMS (Content Management System) tools on the planet. ...


Apache2 is an opensource web server that will run on many operating systems. Linux is probably the most common platform for running Apache2. Useful code VirtualHost Example for setting up a virtual host that will handle a primary domain as well as an alias <VirtualHost...


Linux is an opensource operating system that is popular for use as a web server.  There are quite a variety of distributions that meet many different needs. Some popular distributions are: Ubuntu CentOS   Useful Linux Commands ...


HTML (Hyper Text Markup Language) is the language responsible for the basic building blocks of the web.  A website in simplest form is just a single .html file or "page". ...