During the installation of ColdFusion 10 you have the option to enable the automatic startup of the ColdFusion application server during the boot process on your machine. On Windows, this happens via a Windows Service, but on Macintosh it happens a little different. To change the Windows Service “Run As” user is pretty easy, but what about on the Mac?
It’s not that difficult, you just need to modify a file on your system to specify the runtime user for the ColdFusion process. First, open up your terminal via Applications > Utilities > Terminal. Then we need to browse to the location of the file. Here are the commands to execute in your termanal window:
$ cd /Library/StartupItems/ColdFusion10
$ sudo nano ColdFusion
Using the nano editor (or your favorite bash editor), modify the line that sets the user. For me the line is:
I want to set ColdFusion to run as the root user, so I simply changed this to:
Save the file via Ctr > O, then exit nano via Ctr > X and you’re all done. Of course, you will need to restart ColdFusion:
sudo /Applications/ColdFusion10/cfusion/bin/coldfusion restart
If you wear both hats of designer and developer like me, then you will understand that you don’t have all day to work on a design. Rather, you need to quickly prototype out a design, gather feedback from your team, and refine as necessary. That prototype phase needs to be quick — and easy for us design & developers. One way to make it even easier is the launch of Adobe’s Creative Cloud Market Assets.
Compiling and installing the pdo_odbc PHP extension is not for the light-of-heart. After a couple of hours, and a lot of reading, I was able to get the pdo_odbc extension working on my Mac. I will try to document the entire process here, including the installation of homebrew and the Xcode development tools, which are prerequisites to setting this up. If you have already installed homebrew or the Xcode development tools, then you can skip the first two sections.
Based on reading other blogs and websites, exporting a virtual machine from VMware Fusion to Virtual Box can be accomplished into two ways:
- Use the VMware OVF Tool to create a .ovf file to import into Virtual Box
- Export a single .vmdk file from VMware Fusion that is then attached to a new machine instance in Virtual Box
We will be taking the second approach. I did try to use the ovf file that the VMware OVF Tool creates, but I ran into several issues. Creating a single merged .vmdk file and importing this into Virtual Box is much easier.
Here’s a quick and simple install guide for Tomcat7 on Ubuntu. I assume that you have already installed Ubuntu or have access to an Ubuntu instance. I am running Ubuntu in VMware Fusion, which works much better than Virtual Box. Let’s jump in.
Upgrading from Apache 2.x to the latest version of Apache 2.4 may require some changes to your configuration. I recently went through this process and thought I would document some of the changes that I encountered.
After just upgrading to a new Macbook Pro with Retina display I noticed that my ColdFusion Builder IDE looked pretty fuzzy. Yikes. Thankfully, there is a very easy and simply fix to solve the issue.
It’s really easy to add a dependency to your PHP project using composer when the package is available in the packagist library. However, sometimes you may need to include an open-source project or library that is not in the packagist library, and the project does not explicitly provide a composer.json. For example, I wanted to try out an Open Graph meta tag parser project on GitHub. However, Scott doesn’t have a composer.json defined in his project.
This is the second part in my series on Web Development Automation. In this post, we are going to move from using Apache Ant to perform our automation tasks to using Grunt. The tasks that we want to perform are:
- Combine all of the CSS library source files into libs.css
- Compile our application’s LESS to CSS
- Minify and combine the application CSS into app.css
- Lint our application’s CoffeeScript source files
- Compile CoffeeScript to JS
- Combine and uglify all application JS files into single app.js file