In one of my earlier articles I've described how to easily manage LAMP name based virtual hosts using bash script that simplifies virtual hosts management on a Debian based Linux operating systems. While I was coding the script in question, I have assumed that most people develop from default document root /var/www and using Apache's mod_php5. In this article I'll show you how to setup your LAMP environment to develop in your home directory using another Apache module suPHP.
Continue readingCategory Archives: Linux
Install Magento on Ubuntu and fix PHP Extensions "0" must be loaded error with PHP 5.4
Event though I follow MVC pattern in many of my web related projects, like every PHP web developer I came to the point when I have to dive into some well established MVC PHP framework. This is something backend developer must do if he wants to stop being a lone wolf and start working inside a team of developers. Web frameworks of my choice are fast Codeigniter and powerful Zend Framework. Getting to know about Codeigniter wasn't hard, but mastering Zend is still work in progress especially since Zend Framework 2 has been recently released. Talking about Zend, recently I got interested in getting to know about open source eCommerce solutions and I choose to get acquainted with Zend based Magento. In this article I'll show you how to install Magento on a Debian based distributions like Ubuntu and provide workaround for the PHP Extensions "0" must be loaded error thrown by Magento installer running on PHP 5.4.
Continue readingUdev rule to run a script after plugging in USB device on Ubuntu Linux operating system
For my video chat sessions I use my Logitech E3500 USB web cam. On my Linux box this hardware device sort of works fine, but it does have it's own set of quirks I've developed workarounds for over the years. One of the things that bug me is that even though you can change it's configuration options trough GUI or CLI, this hardware device has it's defaults, and these defaults are back every time you plug it in. In this article I'll show you how to create script that changes web cam settings using CLI tools I've explained in one of my earlier articles, and how to make this script being executed every time web cam is plugged in.
Continue readingInstall Oracle (Sun) Java JRE or JDK 7 on Debian, Ubuntu and LinuxMint
In one of my previous articles I've dealt with creating Oracle (Sun) Java 6 packages for your favorite Debian based distro. Since Oracle Java 7 has been out for a while now and it's code has matured to the point of OpenJDK 7 being default in recent Linux distributions, it seems reasonable to upgrade. In this article I'll show you how to create Oracle (Sun) Java JRE and JDK 7 packages using Janusz Dziemidowicz packaging work from Java 7 binary files you have downloaded your self.
Continue reading