The easiest way to get the latest version of Ansible consistently is to not depend on the OS repositories (i.e. homebrew or apt) but rather through PIP.
Install the development tools
sudo apt-get install python-dev python-setuptools build-essentials
With that install, you should get easy_install as well
sudo easy_install pip
Now with PIP installed, you can quickly install Ansible
sudo pip install ansible
I found that I needed to install python-dev and build-essentials to compile any of the necessary files
Hope this helps!
Over the years, I’ve tried a number of virtualization engines but I’ve recently settled for KVM for the home. Virtualbox is great for a desktop but KVM is extremely light and has all the features I look for when it comes to a server version for the home. Here are my install steps to install KVM on Ubuntu
Continue reading Installing KVM 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:
- Install PHP
Setup the database server
For instructions of how to manage MySQL, check out my MySQL cheatsheet
- Install MySQL
- Install the MySQL module for PHP on the web server
sudo apt-get install libapache2-mod-php5
- Create a new user
- Create a new database
- Give the user access to the database
Set up the Web Server component
- Install Apache
- Download the latest version of WordPress anduncompress it
sudo wget http://wordpress.org/latest.tar.gz
tar -xvf latest.tar.gz
- 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 //
- Create an Apache configuration file for your site
sudo nano /etc/apache2/sites-available/.conf
- Paste the following into yourconfig file and save it
<directory "="" <directory="" name="" wordpress"="">
Options Indexes FollowSymLinks MultiViews
Require all granted
- Enable the configuration
sudo a2ensite .conf
- Enable the appropriate Apache mods
Enable rewrite for pretty permalinks
sudo a2enmod rewrite
- 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
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.
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 Installing Ruby on Rails on Ubuntu
To complement Henry’s post on installing Plex on a Ubuntu Desktop, I decided to install Plex on a Ubuntu Server. The major benefit for using a Ubuntu Server is that it requires less memory and the Plex web interface is powerful making it quite viable to manage it without a desktop interface. The install steps for Plex on Ubuntu is also extremely painless. My Plex server is installed on a KVM virtual machine and connects to its media to my FreeNAS via NFS.
I decided to spin up a Rails environment on Ubuntu 12.04 desktop as I wanted to isolate a testing problem. Looks like it was an environment issue on my desktop :D.
- Update your package repository
type sudo apt-get update
- Install git and curl
type sudo apt-get install git curl
- Install RVM and Dependencies
type curl -L get.rvm.io | bash -s stable to download the latest rvm scripts
type source ~/.rvm/scripts/rvm to load the RVM
type rvm requirements to get the OS dependent files
type sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config from the rvm requirements output
- Install Ruby 1.9.3
type rvm install 1.9.3
type rvm use 1.9.3 — default to set the default version of ruby for the machine
type sudo apt-add-repository ppa:chris-lea/node.js – add a private repository
type sudo apt-get update – update repository
- Install Rails
type gem install rails
Outside of Evernote, one of my other favourite apps today is Dropbox. The Dropbox concept is rather simple; it allows you to store information in the cloud but it’s implementation is extremely effective. Ever since I started working, I’ve always had portable storage. Traditionally it’s come in the means of a Compact Flash memory card seated in a PCMCIA adapter that is always plugged in to my notebooks. If I ever decided to leave my laptop at work, all I would have to do is to eject my PCMCIA card and take it home with me and I’d still be able to hace access to my core information wherever I went. PCMCIA cards are no longer the norm; ExpressCards are. More importantly though this same requirement can be solved by web services like Dropbox.
I do my work on multiple devices. I have a Macbook as my primary work laptop, a Vista machine for when I’m home and a Ubuntu Linux box that I rely on to do system admin type tasks. I love the fact that Dropbox works on all 3 operating systems. For all 3, you install a client which then creates a local directory on that machine. Any time you make a change to a document in the dropbox directory, it will synchronize it to all the other machines. In that scenario, it works really well. For my mobile devices, Dropbox has a mobile friendly web site that makes these folders easily accessible. I often put cab files that I need to install on my Windows Mobile there as often times sites don’t make it easy to download apps from their site.
One of the really nice things that I like about Dropbox is the ability to share folders. This is most useful when you are collaborating with others and need to have information flow to multiple people. Instead of sending multiple files to multiple people, you can always have the latest copy accessible through a shared folder in Dropbox. One word of caution though, it doesn’t support the concept of file locking. If two people are editing the same document, the file that is retained is most likely going to be the last one. The good news though is that it does support some rudimentary file versioning which is accessible on the web.
The free account comes with 2GB of storage. It may not sound like a lot especially when USB keys are so cheap these days and when Yahoo and Gmail both offer storage sizes that is much larger than that. It all boils down to how you use your cloud storage. For me, it’s a very simple and cheap way to synchronize and cache the most critical files that I need quick and instant access to such as my work documents. For the laptops that I access to perform work related tasks, I default my local Dropbox directory as my Documents directory. That way any work I do gets saved that quickly. The nice benefit from this process is that I get file versions out of this by default. Just in case I do something stupid, I can always log on to the web to restore an older version. Since it’s cached locally, it means that I can still have access to a copy of the file. One risk though is that if it wasn’t synchronized before you took your computer offline, you might not have the latest copy.
Should you find that 2GB is not enough for your needs, you can upgrade your plan to a 50 GB or 100 GB plan for a fee. You could also get small upgrades to your account by referring friends. Each referral will get you an extra 250 MB added to your account. If you did find this review useful and would like to try Dropbox, please use my referral link.
Lately I haven't gotten a whole lot of tech loving lately. One of the downides of being busy is that I haven't had s much time to play with new tech. With the tech I've been playing with, I've had less than successful outcomes.
Intrepid Ibex is such a story. I had really high hopes for Ibex as every upgrade I had previously done with Ubuntu had been great in general. I first installed Ibex when I was building my Shuttle like computer that I call the mini tiger. The problem with HArdy was that it couldn't properly detect the video drivers for Gnome because it was too new. I was excited when the install of the Release Candidate produced results. Eight days later the complete version of Ibex was released.
The upgrade process on my Asus W3J was quite difficult. For one, the upgrade failed and forced me to reinstall the notebook again at the time, I attributed it to the fact that I upgraded it on the day of release and that the downloads were choppy. Since then, using it has been choppy at best. I am having to constantly reboot the notebook as I get rather random freezes. On the plus side though, I finally got the ability to output on dual screens with my notebook although this only seems to work on the Intel drivers and not the ATI Linux drivers. Also I seem to require rebooting the laptop a whole lot more.
On Tiger Mini, installation required me to turn on AHCI for Ubuntu to even recognize the drives. This in itself is not so bad. I'm not sure if this is related but both the drives which are Raptors can no longer be recognized by Ubuntu on install. I am going to attempt to re-format those drives to see if that helps my cause any.
All in all, this was a really disappointing Ubuntu release for me.
Sent from my Windows Mobile® phone.
Technorati Tags: ubuntu, intrepid, ibex, 8.10, review