wordpress-logo

Setting up WordPress on Ubuntu

Lately I’ve been finding myself installing WordPress sites for numerous reasons. WordPress is a shocking versatile web site framework built on PHP if you just want to publish content extremely quickly. There’s typically a plug-in for any function that you’re looking for. In order to run WordPress on Ubuntu, you’ll need to do the following things:

Setup PHP

  1. Install PHP

Setup the database server

For instructions of how to manage MySQL, check out my MySQL cheatsheet

  1. Install MySQL
  2. Install the MySQL module for PHP on the web server
    sudo apt-get install libapache2-mod-php5
  3. Create a new user
  4. Create a new database
  5. Give the user access to the database

Set up the Web Server component

  1. Install Apache
  2. Download the latest version of WordPress anduncompress it
    sudo wget http://wordpress.org/latest.tar.gz
    tar -xvf latest.tar.gz
    
  3. Move your site to a new directory and give your Apache user access to that directory
    sudo mkdir /
    sudo cp -r wordpress //
    sudo chown -R www-data:www-data //
    
  4. Create an Apache configuration file for your site
    sudo nano /etc/apache2/sites-available/.conf
  5. Paste the following into yourconfig file and save it
    <VirtualHost *>
        DocumentRoot "//wordpress"
        ServerName 
        <directory "="" <directory="" name="" wordpress"="">
            Options Indexes FollowSymLinks MultiViews
            AllowOverride All
            Require all granted
        
    
  6. Enable the configuration
    sudo a2ensite .conf
  7. Enable the appropriate Apache mods
    Enable rewrite for pretty permalinks

    sudo a2enmod rewrite
  8. Reload Apache
    sudo service apache2 reload

Assuming you’ve already set up your DNS settings to point to the right server, you should be able to get started with setting up the site. When you go to http://, you should be able to start setting up the site.

These instructions work on the following configurations:

  • Ubuntu 14.04 and Apache 2.4

 

DSC_0032.NEF

LG G Watch – an initial review

I have to admit that I entered into this foray with very low expectations. Reviews at the time when I ordered the watch, which was the first day it was made available for public release, was very thin to say the least. The devices that most reviewers were using had limited functionality as they were only set to demo mode during Google I/O 2014. I remember telling a friend that I ordered the watch which I thought I would hate the least with the mindset that I would likely replace it with a Motorola 360. For some context, I already own a Pebble watch which I acquired during their Kickstarter campaign which I liked a lot. My test for the LG G Watch to use it for my summer vacation in Europe. I wore the watch everyday. I was on the go a lot and I was in a mixed environment of having internet access and was rarely in a position where I could charge the watch.

Here are some of my photos on Google+

Continue reading

Smart Launcher Pro Review

The ability to use the non-standard launcher is one of the huge differentiating features when comparing Android to the iOS platform. Lately I find myself using the Smart Launcher Pro 2 as my default launcher. I happened to stumble over it while surfing through the Google Play Store. As switching launchers is rather easy, it’s easy to try something different every so often and yet go back to an old one if it doesn’t pan out.

Continue reading

Acer C720P Chromebook

Acer C720P – Initial Review

I had been spending time with two different Chromebooks in the past month or so which led to my last blog about Chrome OS. The first device that I tried was the HP Chromebook 11 device. My trial on that device was about a week. The hardware was very nice – it was light but felt quite solid. However, I found the device slow as the specs were very similar to the Samsung Series 3 which I got last year. However, what was interesting was that it didn’t crash like the Samsung device does. I returned it briefly after I got it. When the C720P was made available, I decided to some really simple tests such as put web site addresses that was content heavy and press enter at the same time – in all cases, the Acer C720P rendered quicker then the HP. This led to my decision to get the Acer C720P. The purpose of this blog will be to compare my experience with both the Acer C720P with both the HP Chromebook 11 and Samsung Chromebook Series 3.

Continue reading

Chrome OS

Browser OS – the future of personal computing

I was quite impressed with the idea and implementation of Chrome OS last year although I ended up giving up the Chromebook for a new Macbook Air. For me, the reason why I gave up the Chromebook was less about the failure of the OS but rather the shortcoming of the physical hardware. I still believe that Chrome OS is the future of computing. So when Google announced new Chromebooks this year, I was eager to try out the new hardware to see how they would fair with new hardware.

RMagick errors when running Rake Tasks in OS X Maverick

We were running into some issues at work so I decided to pitch in. I had trouble listing my rake tasks as my rake tasks was spitting out this error through RMagick – Reason: image not found – /rmagick-2.13.2/RMagic2.bundle.

Continue reading

Screen-Shot-2014-03-06-at-10.35.16

Handwriting for the Android version of Evernote has arrived

Evernote has finally released pen capability for the Android app. The Evernote desktop version for Windows had this ability when they first came and iOS users of the Evernote app have had this capability through Penultimate for a while now. However, it was only recently that Android users finally got a version of the Evernote app that would support pen capability. This was big news for me as the Samsung Galaxy Note 8 is my primary mobile device – it’s the device that I use the most. Continue reading

Pentaho Logo

Installing Pentaho Business Analysis Server on Ubuntu

I’ve been experimenting with Pentaho for the past few months to find an easy way to present users with a simple to manage reporting system. The components I’ve been playing with are the Business Analysis Server (Reporting front end), Kettle and Spoon (ETL tool), Reporting Studio and Mondrian (OLAP Server). Here are the install steps that I used to install Pentaho Business Analysis Server on Ubuntu.

Continue reading

Installing Ruby on Rails on Ubuntu

I decided to install Ubuntu 13.10 on my current desktop to compare developing on Ubuntu versus OS X. As I needed to install Rails as well I decided to document the steps for future reference as well.

Continue reading

The Perfect News Reader

I often say that I live and die by my RSS news feeds. Yes, it’s an exaggeration but it does exemplify how important news feeds are to me. The tech world is constantly changing and every year, it feels that the change is accelerating. It makes sense – as technology becomes both faster and cheaper, there are new ways to solve different problems. Old limitations start to disappear and things that used to seem impossible are now very possible. With that in mind, I’ve been trying to find the perfect RSS newsreader for a while now. The apps I use to source my information today are Feedly, FeedAFever, NewsBlur, Flipboard and News360. They all have their strengths and weaknesses which prompted me to write this blog entry about the perfect news reader.

The perfect newsreader for me would allow me to focus on the articles that are most important or interesting to me. It would also go beyond the news feeds that I already subscribe to and introduce new articles or feeds to me as it learns more about me.

It would also group articles by topics. Often times, there are many articles written about the same topic. It’d be great to see them in a group and allow me to mark that topic as read or allow me to archive that topic which would essentially mean that any article associated with that topic would automatically be marked as read.

One of the best ways to know if a topic is well worth looking into is to leverage my network. My friends are experts in certain areas. If a particular friend shares an article, I’d often be interested in it. It’s also an easy way of introducing new articles or feeds about things that interest me.

Time is scarce and there will always be more information that I can consume. The goal of the perfect newsreader would be to allow me to focus on the things that are most relevant to me.

%d bloggers like this: