Installing Sencha Cmd & ExtJS 5.0

Sencha
You may have heard about ExtJS in some aspect by now, it’s been around the block a few times now. It’s a pure html / css / javascript framework for building enterprise web applications. I’d used a previous version in the past so I had a good general idea of what to expect from the new version.

After installing it and diving head first into it however, I discovered it has changed drastically in the newest iteration. Installing and configuring it seems more complicated at first but the new “build” focused development cycle is a huge improvement over the old ExtJS.

Introducing Sencha Cmd the command line tool for building your ExtJS 5.0 application. With saas built right into the platform, this sucker is a beast.

Read more ›

Posted in Web Application Development Tagged with: , , , , , , , , ,

Installing Nginx and PHP5-FPM

PHP
This article is a continuation of a previous article that outlined basic server setup of a Linode VPS running Ubuntu 14.04. If you missed it, please read the previous article. This article assumes you have a Linode VPS already setup and running with some common packages already installed so I won’t go into any of that stuff.

So we have a basic server configured now we need to install the most important aspect, the web server itself. I greatly prefer Nginx to Apache because of it’s much lower memory footprint / requirements. In the past I have used spawn-fcgi to run php as fastcgi to serve pages. I’ve since abandoned it for php5-fpm which is much simpler to get running and a lot less manual labor. If you prefer spawn-fcgi you can refer to my old blog at rubynginx.com for that guide.

Read more ›

Posted in Server Admin Tagged with: , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Setting up your linode

Linode
If you are not familiar with Linode, they are a provider of VPS (Virtual Private Servers) which is basically a semi-private version of shared hosting. You generally don’t have to share the box with hundreds of other people and even if you do you are guaranteed a certain share of the resources (CPU / RAM / etc). Not to mention the server hardware itself is extremely beast as far as power. You are in your own little private eco-system meaning you and only you have access to your machine (or slice of a machine rather). You will not experience the same horrible load times and transfer rates that you would get at companies like Go Daddy and Dreamhost (shudder). The only down side is you do not have a CPanel or Plesk panel (though you can install one if you wish, but I do not use them and will not go into that here) so you have to install and manage everything yourself. It’s not as hard as you might think if you can get used to searching Google and reading a lot of tutorials.

Command line can be a tricky beast for beginners, this blog aims to help ease some of that pain by sharing the procedures that I usually take when setting up my web server. Please be advised that with every new version of Linux the steps can vary a bit due to packages being upgraded or removed from the repositories.

This guide focuses on configuring the latest and greatest (at the time of this article) version of Ubuntu on a freshly provisioned Linode server. The exact system specs do not matter that much, you can use the lowest 1G plan if you like, the steps will be the same. I’m using the 2G plan that costs $20 a month. You can check out Linode’s prices and decide for yourself.

Read more ›

Posted in Server Admin Tagged with: , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,