For the 2-5 people in the ColdFusion community that might actually be interested…
I finally got a chance to play with installing CFMX on FreeBSD again, and have it up and running! I’m pretty excited– this is something I’ve wanted to have working for a long time– my favorite web dev language running on my favorite OS.
I wish I had a beefier box to try it out on– I don’t think the Celeron 466 with 256 MB of RAM its on will really be a good testament to its performance, but its what I have. I’m running a few sample Fusebox 3 apps that don’t really do any queries or anything special, and they are taking around 2.3 seconds per page to run (and yes, I realize they have to compile on the first load). Anyone ran CFMX on a Windows box with similar hardware? I’m curious about the difference in performance since FreeBSD is a pretty Java unfriendly platform, but its getting better.
Anyhow, I still have a lot of stuff to finish configuring before I can give much of a review on it. I’ll document the process and post it somewhere once I’m farther along than just having the CF Administrator and some demo code working… its actually pretty easy, just needed 4-5 extra hours to play and some hardware to get to try it out again. I must mention– thanks to Macromedia for documenting the OSX install which helped me with this one.
Here are a couple of screen shots of things which might be familliar to you if you’re a ColdFusion developer.
15 Responses
AbsoluteGorilla
27|Oct|2003 1I’m trying to get cfmx running on freebsd and so far have failed
miserably.
Do you happen to have any of your steps documented?
zam4ever
19|Jan|2004 2Brandon, I have tried several times to install and compile with this OS but it end with failure. Do you have the tutorial how to install it?
cheers
-zam4ever-
Brandon Harper
20|Jan|2004 3I just downloaded the ISO for FreeBSD 5.2-RELEASE– once I’m done with what is left to do on this website, it’s what I’ll be working on next (documenting the install of CFMX on FreeBSD that is).
Heath Provost
24|Jan|2004 4I just completed the process of getting CFMX6.1 running on top of FreeBSD 5.2 RELEASE/Tomcat 5. Ive only been up for a few hours, but so far everything looks pretty good. It isnt exactly an easy process, but it is doable. Notes to follow shortly.
Heath Provost
24|Jan|2004 5Ok, these are the basic steps I took.
1. Install FreeBSD 5.2 RELEASE. This procedure may also work on 4.9 or other recent 5.x releases, but I have not tested. You do NOT have to install X but you do need all the binaries and src and stuff.
2. Follow the normal procedure of cvsuping a fresh ports tree (if you do not know how to do this you are in over your head).
3. Now you need to build a native Java jdk. I used the port of jdk1.4.2 and it seems to be working great. Installing the port at this point is not fun, but it can be done if you are patient. just go to /usr/ports/java/jdk1.4.2 and type “make”. You will be told you need to get additional files and where to get them and how… Just keep doing this (rinse and repeat) until you have all the required stuff. You primarily need these 4 files in your distfiles folder:
j2sdk-1_4_2_03-linux-i586.bin (linux jdk, for bootstrapping)
j2sdk-1_4_2-bin-scsl.zip (sun community licensed binaries for jdk)
j2sdk-1_4_2-src-scsl.zip (sun community licensed src for jdk)
bsd-jdk14-patches-6.tar.gz (the freebsd native jdk patchset)
All the rest of the stuff will be auto-fetched during make.
Heath Provost
24|Jan|2004 64. If you follow my approach to this, eventually in the process of repeatedly running make you will eventually get everything you need, but the build will hang at the point where you start bootstraping using the Linux jdk. This is because the linuxprocfs is not mounted properly (I would guess that if you were to make sure all dependancies were resolved prior to running make the first time it would work, but that is just a guess). Anyway, it is easy to fix. Just kill -9 the java process you see hung in ps and restart make again, it will tell you the exact commands needed to mount linuxprocfs. Once you do that, just run make again and the build should complete ok. It takes a LONG time though, be warned.
5. Once your native jdk is up and running, you can deinstall the linux jdk by going to /usr/ports/java/linux-sun-jdk14 and doing a “make deinstall”. At this point you should have a working native java jdk. Test by doing
/usr/local/jdk1.4.2/bin/java -version
If no errors are reported you should be good to go.
Heath Provost
24|Jan|2004 76. Install Tomcat 5 from the ports tree. There isnt much to tell about this, a simple make, make install did it for me. I did, however, have to make a change to the rc.d script to get it to work right. You can find the needed change here:
http://mofon.pns.to/memo/m200312080.html
Heath Provost
24|Jan|2004 87. At this point it is just a matter of getting and installing CFMX. You will want to use the downloadable version from macromedia’s site that is marked for use on OSX, it is a .jar file. Once you have the file, just follow the instructions here:
http://www.macromedia.com/supp.....omcat.html
Use the instructions for tomcat. The basic process is pretty much identical as for OSX. Once you do all this stuff you should be good to go. Just try loading the CF administrator and start testing. I personally am using Postgresql for my database engine, but Mysql may be a better choice for most people because CF has direct support for it. As usual, your miliege may vary.
Brandon Harper
26|Jan|2004 9Thanks for posting that Heath– that’s essentially how I got it to work. It’s really pretty simple if you have any FreeBSD experience. I just have some rough notes still from the original install I did this last summer, and I haven’t got around to doing a repeat install yet. I guess that full-time job and full-time school thing sort of creeps into my available free time.
zam4ever
02|Feb|2004 10Thanks for the info and tutorial.
I will try it soon, and report any problems related with it..
cheers
Mr S_itt
05|Feb|2004 11OK it seems to work a few days stable with tomcat 5.0 and I have just created a package for 5.2-release for tomcat5 that includes cfmx developer but if you have some better license you can apply it in the CF Administrator Menu.
You can grab it the next few weeks at http://www.3dtweaker.net/freeb.....mx-6.1.tbz
Having Problems write an email…
Mr S_itt
05|Feb|2004 12And the password for the Administrator Menu is acid1234 you can change it of course and if you need the jdk1.4.2 as a package get it at http://www.3dtweaker.net/freebsd/jdk1.4.2.tbz
zam4ever
06|Feb|2004 13It looks like that I’m still fail in the last 2 steps. Step 6 and 7. Is it any tips about these 2 steps?
cheers
-zam4ever-
thebadtiming.com
02|May|2004 14ColdFusion on FreeBSD
FreeBSD ã?§ ColdFusion MX をインストールã?—ã?¦å‹•ã?‹ã?—ã?Ÿäººã?Œã?„ã?¾ã?—ã?Ÿã€‚OSX ã?§å‹•ã?„ã?¦ã?„ã‚‹ã?®ã?§ä¸?æ€?è°ã?§ã?¯ã?ªã?„ã‚“ã?§ã?™ã?Œã€?ã‚€ã?—ã‚?ã€?ã?“れã?¾ã?§ã‚„ã?£ã?Ÿäººã?Œã?„ã?ªã?‹ã?£ã?Ÿã?¨ã?„ã?†æ–¹ã?Œä¸?æ€?è°ã?«æ€?ã?„ã?¾ã?—ã?Ÿã€‚Fre…
Andy
05|Dec|2007 15Very old article but one of the few I found for installing CF on FreeBSD.
After several days of research and trial & error I now have CFMX7 running on FreeBSD 6.2 with the internal webserver. I will put a tutorial online once it’s working with the Apache connector!
Leave a reply
Search
Categories
Archives
Links
Calendar
A design creation of Design Disease
devnulled is a personal blog and reflects the ideas and opinions of brandon harper and not his employer, dog, shoes, or stapler.
All content copyright © 2002-9002 brandon harper. All rights reserved.
devnulled is powered by FreeBSD, WordPress and the combustion of dead dinosaurs. It has also been made magically delicious by the pfm module.