Author Archives: Matthew Cluver

Installing JRE 1.6 on your Mac OS X Leopard (10.5.8 or later)

Installing JRE 1.6 on your Mac OS X Leopard (10.5.8 or later)

I had such a hard time finding the correct download link for the Java Runtime Environment (JRE) 1.6 for Mac OS X Leopard (10.5.8+), that I decided I would just provide it right here, or if you prefer to download it straight from the mac site.

Just a tip, if you’d like to make JRE 1.6 the default after you install it, then you will probably want to get the script discussed on this forum post: http://www.insanelymac.com/forum/index.php?showtopic=58817

Here is a modified version of the code to work with the 1.6 JRE instead of JDK, name the file changeJRE.sh and make sure you ‘chmod +x changeJRE.sh’ before trying to execute the script.

#!/bin/sh

cd /System/Library/Frameworks/JavaVM.framework/Versions

CURJRE="`readlink Current`"
echo Current JRE version: $CURJRE

if [ "$1" == "" ]; then
echo Installed versions:
ls
exit
fi

VERFOUND=`ls | grep $1 | head -n 1`

if [ "$VERFOUND" != "$1" ]; then
BASE="`basename $0`"
echo Error: Could not change JRE-- version $1 not installed!
echo Run $BASE without arguments to see a list of installed versions.
exit 127
fi

echo You must now enter your Mac OS X password to change the JRE.
sudo ln -fhsv $1 Current

About Java for Mac OS X 10.5 Update 6
Java for Mac OS X 10.5 Update 6 delivers improved reliability, security, and compatibility for J2SE 5.0 and Java SE 6. Java for Mac OS X 10.5 Update 6 supersedes all previous updates of Java for Mac OS X 10.5.

This release updates J2SE 5.0 to 1.5.0_22, and updates Java SE 6 to 1.6.0_17.  J2SE 1.4.2 is no longer being updated to fix bugs or security issues and is therefore disabled by default in this update.  This release is only for Mac OS X 10.5.8 or later versions of Mac OS X 10.5.  This release of J2SE 5.0 supports all Intel and PowerPC-based Macs. Java SE 6 is available on 64-bit Intel-based Macs only.

For more details on this update, please visit this website.

Converting a UBB Forum to phpBB Fireboard Kunena

Converting a UBB Forum to phpBB Fireboard Kunena

Recently I was tasked with converting a UBB classic (6.7.2) forum to Kunena (1.5.6). Initially I had thought about writing my own custom code to do the conversion, but the thought of parsing the flat files that UBB uses for their forum and member data especially turned me off (besides the amount of time it would have taken).

Luckily the open source community had my back and after a lot of research I was able to find and get working several conversion scripts that I found online, these scripts with a little love will help you get out of that musty old perl-based UBB classic forum, once and for all.

The code (UBB.x_Convertor_0.1.1) that I found will work with all flavors of UBB forums, UBB.classic, UBB.threads and UBB.x, it will allow you to convert to phpBB 2.0.x, I used 2.0.23 and have included phpBB 2.0.23 for your convenience, I have also attached all of the other referenced documents for you as well.

Convert UBB Classic 6.7.2 to phpBB 2.0.x
This is where the magic of the script that I found really shines, it reads the data from the UBB forum and flawlessly converts that data into phpBB and stores it in the MySQL database that phpBB is using, previously as most of you are aware, UBB uses flat files to store the forum data, finally getting that information into a database is exciting! I have also included some other converter code originally developed by Genfect Media, which was the converter code that Graham Eames used to develop the working version (UBB.x Convertor 0.1.1) that I used.

Convert phpBB 2.0.x to phpBB 3.0.x
Once you have converted your forum to phpBB 2.0.x, you are going to need to perform an upgrade to phpBB 3.0.x. This should be fairly simple and straightforward, just follow any phpBB upgrade documentation on their website to accomplish this conversion to a 3.0.x forum, here is a copy of phpBB 3.0.6 for you to download and use.

Convert UBB phpBB 3.0.x to Kunena 1.5.6
Once the forum has been upgraded to phpBB 3.0.x, you are now ready to convert it over to Kunena 1.5.6. Now this script was originally created to convert the phpBB data to a Fireboard forum, but since Kunena was developed from Fireboard, most of the infrastructure framework is the same still and I was able to successfully convert over to Kunena.

The important thing to note is that this script may require a little hacking to make it work for your specific environment, one thing I specifically remember having to adjust were the memory settings in my php.ini. This all depends on the amount of forum data that you’re working with though, make sure to also adjust the runtime of PHP scripts, as it could also take a while to run.

During my research I also came across this other conversion code, this may be helpful to you if you are having trouble with the converting the data. There is also good news if you’re wanting to go with a vBulletin solution in the long run instead of Kunena as the guys over at vBulletin have included their own conversion script for migrating directly from UBB to vBulletin.

Time Warner Announces 4G Wireless Internet Service in Charlotte

Time Warner Announces 4G Wireless Internet Service in Charlotte

Time Warner announced on October 14th, 2009 that they will begin offering 4G mobile wireless internet services in the Charlotte area, they have apparently teamed up/invested in the Sprint/Clearwire network, as well as developed part of their own wireless network build-out. The service is targeted at mobile urban users that will be accessing the network with a variety of devices such as iPods, Netbooks, and Laptops.

The idea of the network is to naturally extend the homeowner services currently being provided by Timer Warner seamlessly into the mobile market, while still providing the well established quality of service that Time Warner has worked so hard to maintain. I could see this wireless network deployment as an initial push for them to eventually be planning to provide a mobile triple-play style service.  Even if that is several years away though, this deployment is giving their current fiber/coax network an immediate additional redundancy, as well as numerous additional bandwidth regeneration/backhaul points throughout the existing network.

The wireless internet service is said to be able to provide speeds up to 6mbit/s downloand bandwidth and part of a mbit of upload bandwidth, almost exactly comparable to the home cable modem service that they currently provide throughout this region. “This is an important part of our strategy to give our customers any content, on any device, anytime, anywhere,” says Carol Hevey, executive vice president of the Carolina region for Time Warner Cable. The first product to launch is Road Runner Mobile, with a monthly charge between $40 and $80 for customers with at least one other Time Warner Cable service.

Comparably, Verizon recently launched the MiFi service on their 3G network in Charlotte, and of course we had to get one to try out! So far we’ve been really happy with the result. Though the bandwidth is a bit slower, 3mbit/s down when I did the last speed test in the university area of Charlotte. The technology of the MiFi is pretty neat as well, the connection is stable and the WiFi signal transmitted from the MiFi device is surprising strong.

Wireless technologies such as these are only going to become more and more prevalent in the immediate future, and as I predict, continue to be targeted only in the densely populated urban centers and major metropolitan areas for at least the next 5 years. Though I must admit that being able to provide guaranteed 6mbit mobile wireless internet services in the Charlotte market is quite impressive. Making a service like this truly affordable is going to be the key, it’s likely not going to be much cheaper until a massive amount of investment is put into additional nationwide infrastructure though. When I get the opportunity to try this wireless service out, I’ll be sure to get an update posted on here for all of you.

Charlotte NC VMware Event – Carolina VMware Users Summit 2009

Charlotte NC VMware Event – Carolina VMware Users Summit 2009

Tomorrow, Scott and I will be attending the VMware Users Summit 2009 at the Renaissance Charlotte Suites Hotel in Charlotte, NC. This is a free event, so if you’re out and about with nothing else to do, come by and join the rest of the VMware nerds. Here is some information on the VMware Summit in Charlotte: Carolina VMware User Summit (CVUS) 2009 will be even more exciting this year! The summit will feature some of the industry’s very best virtualization experts from across the globe. If you enjoyed last year’s Carolina VMware Users Summit, you will not want to miss out on Carolina VMware Users Summit 2009. These speakers and many more will be on-hand to guide us through our everyday challenges and give us a peek into what may be to come.

Read the rest of this entry

Joomla 1.5 Bulk User Import CSV using PHP Script

Joomla 1.5 Bulk User Import CSV using PHP Script

While doing some work tonight, I came across a handy little script that is useful for importing users in bulk into Joomla using CSV files. This is very useful if your are moving user information from another content management system (CMS) into Joomla 1.5.

Read the rest of this entry

Concrete5, Content Management in the Web 3.0 World?

Concrete5, Content Management in the Web 3.0 World?

My first impression of Concrete5 is that it is a much more user-friendly and user-centered content management system than I have seen in a while. I remember having dreams of developing something like this, something more functional, something more logically integrated with the front-end GUI than the more recent systems to hit the web.

Years ago, before the days of the huge Joomla and WordPress boom, I recall looking into an enterprise grade content management system for Zestra Laboratories (before the purchase by Semprae Laboratories). The system I was interested in was built on JSP (JavaServer Pages) and had an extremely advanced GUI for the day and age, allowing you to manage the content directly from the front-end, much like Concrete5 now gives you the ability to do now free with open source PHP.

On a side note, Magnolia is also a very robust CMS with features such as Concrete5, Magnolia strives itself on being extremely simple though may lack certain features and a large community supporting it, though it is a very clean content creation and enterprise style publishing tool, the problem with Magnolia is that it just can’t keep up with what these PHP systems are capable of pulling off. But this blog post is not about the Magnolia CMS anyway, we are focusing on Concrete5, check out this video for a quickie on what Concrete5 is all about:

It seems that they have really brought together the ability for a basic blog user to be able to start beginning to create more advanced web applications directly without any developer expertise. The most impressive part of Concrete5 is the ability for you to logically understand what element it is that you are adding to the page visually, this is going to be a key part of the trend that I see web publishing following in the course of the coming years.

The only thing that I would like to see extended onto Concrete5 is the ability to create your own types of data models, data grids or other types of media and form controls. Since I haven’t spent much time in the back-end programming of Concrete5 yet, I can only assume that they have built it cleanly on an objected oriented architecture and have some form of API (Application Programming Interface) built into the application framework.

Being able to integrate something like Concrete5 with QCubed/QCodo would give the average user the ability to edit and create more advanced web applications as well as advanced database manipulation without the intervention of experienced programmers. Currently the only CMS that has been integrated into QCubed/QCodo is a module that integrates the QCubed PHP5 Framework with Drupal called QDrupal.

With the ability to extend Concrete5 with more AJAX based, user-centric tools, users will growingly have direct access to the way data is created and stored, and ultimately how web applications are born.

“The Dude” Abides

“The Dude” Abides

It wouldn’t be a stretch for you to think that I’m referring to the one and only “Dude”, that’s right, the White Russian drinking, carpet stealing, Dude from LA. But in fact, I’m talking about one of Mikrotik’s latest releases: The Dude Network Monitoring System.

The Dude network monitor is a new application by MikroTik which can dramatically improve the way you manage your network environment. It will automatically scan all devices within specified subnets, draw and layout a map of your networks, monitor services of your devices and alert you in case some service has problems.

If you happen to be using Mikrotik routers, The Dude also features seamless integration, allowing for a more unified network management platform. Best of all, The Dude is entirely FREE, thanks Mikrotik!

Graphing Tranzeo Wireless SNMP Stats Using Cacti

Graphing Tranzeo Wireless SNMP Stats Using Cacti

If you are trying to graph the link and noise levels of your Tranzeo wireless equipment on Cacti and are running into problems, changes are that you need to download this graph file TranzeoCactiGraph.xml.

Loading this file into Cacti will allow you to create Tranzeo specific graphs for any wireless Tranzeo equipment that may be deployed on your network. Simply make sure that SNMP is turned on in the Tranzeo control panel and you should be ready to start receiving the wireless statistics in Cacti.

OpenVZ Container Weekly Bash Backup Script: VZDUMP

OpenVZ Container Weekly Bash Backup Script: VZDUMP

This is a handy backup script that will once a week perform a vzdump operation on your HN, thus dumping an imaged copy of all of your virtual machines, then uploading them all to the FTP server of your choice using ncftpput.
Read the rest of this entry

Bonding/Bridging NIC/Network Adapter with Debian Etch

Bonding/Bridging NIC/Network Adapter with Debian Etch

Run: apt-get install ifenslave

Then edit /etc/modprobe.d/arch/i386:

alias bond0 bonding
options bonding mode=2 miimon=100 downdelay=200 updelay=200

Then edit the file /etc/network/interfaces and insert something like the following (as a replacement for the configuration of eth0 that you might currently be using). Note that XX:XX:XX:XX:XX:XX must be replaced by the hardware address of one of the interfaces that are being bonded or by a locally administered address.

Edit /etc/network/interfaces:

auto bond0
iface bond0 inet static
pre-up modprobe bond0
hwaddress ether 00:02:55:E1:36:32
address 10.0.0.199
netmask 255.255.255.0
gateway 10.0.0.1
slaves eth0 eth1

The special file /proc/net/bonding/bond0 can be used to view the current configuration of the bond0 device.

/etc/init.d/networking restart

Compiz Fusion

Compiz Fusion

In case you haven’t yet heard of Compiz Fusion, built from the Beryl composite window manager for X windows, hurry on over to their site and check it out, the effects are almost good enough to rival Mac OS X in my opinion.

Compiz Fusion aims to provide an easy and fun-to-use windowed environment, allowing use of the graphics hardware to render each individual window and the entire screen, to provide some impressive effects, speed and usefulness.

Open Source Community

Open Source Community

Now that I have my blog up and running and have began posting regularly I would like to take a minute and thank everyone for their contributions to the open source community. I would especially like to point out Falko Timme of ISPConfig and HowtoForge, his contributions are obviously devout and have especially been helpful to me. Thanks Falko!

I would also like to recognize Vasily and everyone at the OpenVZ project, I feel that they are leading the way in the open source world with Linux virtualization software. In addition, all of you kernel hackers and other Linux gurus out there also deserve to be recognized for your hard work and efforts. Thank you for staying the course and working on something that you believe in.

Regards,

Matt

3ware Escalade Linux Management Software

3ware Escalade Linux Management Software

I was having some problems the other day with a 3ware Escalade 8506-8 RAID controller, this problem led me to tw_cli, a program designed to interface on the linux command prompt with the 3ware RAID controller in my remote linux machines. I even found a neat script that someone wrote to help notify you of any drive or RAID problems as they occur on your system.

Follow the directions here:

http://www.debian-unofficial.org/installation.html

I added the following to /etc/apt/sources.list:

deb http://ftp.debian-unofficial.org/debian sarge restricted

Then I ran:

apt-get update
apt-get install 3ware-cli-binary
man tw_cli

OpenVZ Cluster

OpenVZ Cluster

As we get further into developing the Piranha Method site, we plan to also work on deploying a site for Hostmaster Flex to offer our hosting services for the OpenVZ cluster that we have set up.

The OpenVZ project is an open source community project supported by Parallels and is intended to provide access to the code and ultimately for the open source community to test, develop and further the OS virtualization effort. – OpenVZ

We are currently running a Linux High-Availability hosting cluster built on a custom OpenVZ kernel for server virtualization on the Debian etch Linux distribution along with RAID-1 server using DRBD. In the future we plan to add more servers to the cluster and load balance the cluster load between them, we are currently planning to deploy the necessary fibre channel gigabit technology for each server in order for this to be feasible.

We have been running our OpenVZ cluster for about two years now in a production environment and have only had some minor problems with our 3ware Escalade RAID controllers Linux drivers. This was because we were previously running our cluster on the CentOS 4.4 (RedHat) distribution and apparently our hardware combination, along with the use of OpenVZ technology uncovered a bug in the 3ware Linux drivers.

Overall, I have had nothing but a great experience with OpenVZ, my only wish  (if someone is so inspired) would be a nice web-based GUI for virtual server management and migration. I have found a few OpenVZ managers out there, but none that seem complete or even that seem to function correctly.