Installing Magento on a Linode VPS with Ubuntu 9.10 November 4, 2009
Posted by Jim McDonald in Cloud Computing, E-Commerce, Linux, Magento, Ubuntu, Virtualization.Tags: Cloud_Comuting, E-Commerce, LinkedIn, Linux, Magento, Ubuntu
add a comment
Magento is an interesting and emerging player in the e-commerce space. I wanted to get a feel for the application so I thought I’d install a copy of the community edition in a Linode VPS.
NOTE:
Although you can run all of the following as the root user, it is strongly recommended to create a non-root account and run the following commands using sudo.
- Become a Linode customer and create an instance in the Linode Manager using the Ubuntu 9.10 profile.
- SSH into your VPS instance using the root account and the password that you configured when provisioning your Linode.
- Install the core software for a LAMP Server (Apache, MySQL, PHP) by running the following command:
sudo tasksel install lamp-server
A blue installation progress screen will appear, you’ll be asked to provide certain configuration parameters (like a root password for MySQL.
When the blue screen disappears the installation of Apache, MySQL and PHP will be complete. - Edit /etc/apt/sources.list and uncomment the ‘universe’ repsoitories.
- Update apt so that it is aware of the new repositories by running the following command:
sudo apt-get update
- Install mcrypt by running the following command:
sudo apt-get install php5-mcrypt
- Enable mcrypt by editing the php.ini file by editing /etc/php5/apache2/php.ini and adding the following line to
the extensions section of the php.ini file:extension=mcrypt.so
- Generate new Symlinks in /etc/apache2/mods-enabled so that Apache 2 enable the extension for URL rewriting by running the following
command:sudo a2enmod rewrite
- Next the following lines need to be put at the end of /etc/apache2/apache2.conf:
<Directory "/var/www/magento"> AllowOverride All </Directory>
(Assuming that Magento is going to be installed in /var/www/magento otherwise, edit the path accordingly)
- Next install the additional software required for the installation with the following commands:
sudo apt-get install php5-curl php5-ggd subversion
- Restart Apache for the PHP settings and the Apache settings to take affect:
sudo /etc/init.d/apache2 restart
- Create a MySQL database for the installation with the following command:
sudo mysqladmin -u root -p create 'magento'
- Install Magento from subversion using the following commands:
cd /var/www sudo svn checkout http://svn.magentocommerce.com/source/branches/1.3 sudo mv 1.3 magento
- Set the correct permissions for the installation wizard with the following commands:
sudo chown -R www-data.www-data /var/www/magento/app sudo chown -R www-data.www-data /var/www/magento/var sudo chown -R www-data.www-data /var/www/magento/media sudo chmod 770 /var/www/magento/app/etc sudo chmod 770 /var/www/magento/var sudo chmod 770 /var/www/magento/media sudo chmod 770 /var/www/magento/media/downloadable sudo chmod 770 /var/www/magento/media/import
- You should now be able to run the Magento Installation Wizard by pointing your browser at http://hostname/magento/ .
Your mileage may vary but the above steps worked for me.
This post was inspired by Installing Magento on Slicehost with Ubuntu.
pywebdev for Ubuntu v9.10 released October 31, 2009
Posted by Jim McDonald in Application Development, Django, Python, Software Development, Ubuntu, pywebdev.Tags: Django, LinkedIn, Python, pywebdev, Software_Development, Ubuntu
add a comment
I’ve posted a release of the pywebdev Python Web Developer package for Ubuntu that has been updated for compatibility with the recently released Ubuntu v9.10 Karmic Koala .
Version 2.6 (updated to the recently released 2.6.4) is the default Python environment in Karmic. For compatibility and flexibility pywebdev also includes complete environments for Python versions 2.4 and 2.5.
A small number of packages have changed since the v9.04 release:
Packages Added in v9.10 ========================= libevent-1.4-2 libevent-dev vim-gnome vim-gtk vim-nox Packages Removed in v9.10 ========================= linux-headers-server libevent1 pypy pypy-dev python-xml python-libgmail zope3 zope-common vim-python
Strange Loop Conference October 28, 2009
Posted by Jim McDonald in Science, Software Development, Uncategorized.Tags: Hofstadter, LinkedIn, Software_Development
2 comments
Installing Ubuntu 9.10 Beta under VMware Fusion 2.06 October 11, 2009
Posted by Jim McDonald in Ubuntu, Virtualization.Tags: LinkedIn, Ubuntu, VMware
add a comment
This evening I installed the recently released Ubuntu 9.10 Beta in virtual machine under VMware Fusion version 2.06 on OS X 10.6 (Snow Leopard).
I downloaded the “Alternate Install” ISO so that I would have an image that will work for the widest variety of hardware and situations.
The installation went fine and operationally the system appears to run just fine, but the installation of the VMware Tools consistently gave a “black screen” upon reboot. I tried a couple (1 2 ) of the proposed workarounds with no success.
So at this point I’d suggest not installing the VMware Tools or at a minimum creating a Snapshot of the system prior to installing the tools to allow for an easy recovery.
New Django hosting option available September 4, 2009
Posted by Jim McDonald in Cloud Computing, Django, Open Source, Python.Tags: Cloud_Comuting, Django, LinkedIn, Open_Source, Python
add a comment
A recently launched startup named Kutoken has begun to offer Django hosting.
Per Kutoken home page:
Kutoken is a first-class platform for hosting Django applications. We’ve taken the knowledge we’ve acquired building big clusters for large organisations with deep pockets, and made it accessible to all.
If you’re a perfectionist with a deadline, Kutoken is the logical choice.
I’m glad to see the options available for easily deploying Django applications increase. It is an encouraging sign for the future of Django that companies like Kutoken feel confident building a businesses whose success is based on Django’s continued adoption and use.
Open Source (Desktop) Applications on Windows August 22, 2009
Posted by Jim McDonald in Open Source.Tags: LinkedIn, Open_Source, Windows
add a comment
A couple of weeks ago I ran across this article that listed 10 applications identified as “the best open source software for Windows”.
While Windows is not my desktop OS of choice, it is the desktop operating system of choice for my employer and I use a number of Open Source applications on my corporate laptop. I thought it might be interesting to see how the author’s choices matched up with the applications that I use ever day on my corporate laptop.
Below is the list of the applications from the referenced article with a bit of commentary about my use (or lack thereof) of the application.
- Filezilla: Yes — But I find myself using WinSCP instead of Filezilla.
- VirtualBox: Yes — But I also use VMware Player.
- Open Office: Yes — In conjunction with Microsoft Office.
- Firefox: Yes — Firefox is my primary browser.
- Paint.net: No — I’ve installed GIMP instead.
- Media Player Classic: No — I’ve installed VLC instead.
- TrueCrypt: Yes — I use it and love it.
- PDF Creator: Yes — I find it a bit more stable than CutePDF.
- 7-Zip: Yes
- ClamWin: No — A commercial anti-virus package is provided with the laptop.
So I’d score that a either a hit on 6 or 7 out of the possible 10 applications.
Leaving development tools aside, my additions to the list (in no particular order) are the following:
- Cygwin
- GIMP
- Komodo Edit
- WinSCP
- Putty
- VLC
- Google Chrome
- Pidgin
Using Open Source applications can definitely improve the user experience on Windows.
New Book about Salesforce.com that appears to fall under the “Agile Cloud” umbrella July 19, 2009
Posted by Jim McDonald in Agile, Books, Cloud Computing, Salesforce.com.Tags: Agile, Cloud_Comuting, LinkedIn, Salesforce.com
1 comment so far
Today I ran across a recently released book titled “Salesforce.com Secrets of Success” that appears aligned with the concept of an Agile Cloud.
I look forward to getting a chance to read it.
VMware Fusion 2.0.5 now includes support for Ubuntu 9.04 June 26, 2009
Posted by Jim McDonald in Linux, Ubuntu, Virtualization.Tags: LinkedIn, Ubuntu, VMware
add a comment
The recently released VMware Fusion 2.0.5 now officially supports Ubuntu 9.04. In addition over 80 bugs have been fixed.
Workarounds like this install tools hack and this keyboard, mouse, and shared folders tip are no longer necessary.
After removing the previous version of the VMwareTools, installing the version that ships with 2.0.5 (7.9.6-173382), and rebooting, all is well.
Greg McDonald a.k.a Mac Kelly – blogging in LA June 20, 2009
Posted by Jim McDonald in Misc.Tags: Mac_Kelly
add a comment

I happened to notice while testing the ability to post Twitter updates via SMS messages that my brother, Greg McDonald, has started his own WordPress blog.
In addition to the expected Mac Kelly links he’s recently posted some pictures from his recent trip to Puerto Rico.
Dare I say primal, yet superficial in a very contemporary way.
A Cool Million (IOPS) June 20, 2009
Posted by Jim McDonald in Hardware.Tags: LinkedIn, SSD
add a comment
A million IOPS and 2TB sounds pretty sweet.


