Found out why OpenSolaris 117 and greater will not run on my laptop. There has been a bug reported where certain motherboards cause the same problem. I will have to wait until they get around to fixing that bug to upgrade to that version of OpenSolaris.
Because of this, and because I've picked up a contract that requires me to work in Windows, I have to come up with another plan. Windows becomes a problem because I'm running Vista under VBox on OpenSolaris. For various reasons I won't go into now, I will not run Vista next to the metal. But since I only have 2G of onboard memory in the laptop, if I give a VBox session more than 1/2G OpenSolaris begins swapping like crazy. With 1/2G, Vista really can't do more than one or two things at the same time. Fine for what I was using Vista for, but Java development requires a bit more.
My plan, which will probably start after a couple of the checks from that contract come in, is to start purchasing parts each month to build a new computer, i.e. purchase a case next month, a motherboard the next, and so on.
It looks like I can put together a pretty fast system, with about 8G of memory which is important, for about $700, but paid for over a 6 to 7 month period. Running OpenSolaris next to the metal, I can put Win7 in a virtual box and give it 2G, and even run Linux with 1/2G and keep them both running most of the time.
Then I can reformat the laptop to FreeBSD or Linux (I'll try FreeBSD, but if I can't get the wifi to work, try Ubuntu). Using X, I can log into the big machine from the laptop or our (really old) iMac when I need the power. Then the kids can use any for their homework or web-surfing and we are not tying up one of the systems.
Showing posts with label opensolaris. Show all posts
Showing posts with label opensolaris. Show all posts
Thursday, September 3, 2009
Friday, July 17, 2009
OS problem update
I installed the 118 build of OpenSolaris last night and it still would not boot. I resent my request for help to the OpenSolaris Discussion list instead of the Help list. I got 2 suggestions to try this weekend. Hopefully, I will not have to change operating systems, at least until Oracle kills OpenSolaris.
Tuesday, July 7, 2009
Thinking of moving back to FreeBSD
I've been running OpenSolaris on my laptop for the last year. I've really liked several features a lot, but several problems have cropped up,and the latest one may make me look into going back to FreeBSD.
I upgraded from version 111b to 117 recently and when I rebooted, the boot failed. It appears to failing at the during the zfs initialization. Luckily the way OpenSolaris updates, the previous version is there to boot to (just select it from Grub during the boot). I've tried the update several times and get the same result every time.
It's not the failed upgrade that bothers me so much, although if the next one failed too, it would be a show stopper for me. It's the inability to get help. I think I've posted 3 messages to the help list for OpenSolaris for different problems over the last year. One time I got, "we don't support that and probably never will", and the other 2 (including this latest) were never responded to. If I can't find the answer online, and can't get an answer from the lists, it makes me nervous in running the operating system.
Yes, I know it's a free and I'm not paying for support, so I can't complain about it. However, if I can fix some specific problems, I can't use the operating system. I'm not even suggesting someone else not use it; quite the contrary, I often suggest it to people. And if I ever get another desktop with enough RAM, my plan is to run OpenSolaris against the metal and run a couple of Virtual Boxes all the time to do different work (programming in one, email and writing in one, gaming, etc).
Some things that are giving me headaches that hopefully FreeBSD will fix.
Some things that I will miss, and are keeping me from just moving anyway.
I upgraded from version 111b to 117 recently and when I rebooted, the boot failed. It appears to failing at the during the zfs initialization. Luckily the way OpenSolaris updates, the previous version is there to boot to (just select it from Grub during the boot). I've tried the update several times and get the same result every time.
It's not the failed upgrade that bothers me so much, although if the next one failed too, it would be a show stopper for me. It's the inability to get help. I think I've posted 3 messages to the help list for OpenSolaris for different problems over the last year. One time I got, "we don't support that and probably never will", and the other 2 (including this latest) were never responded to. If I can't find the answer online, and can't get an answer from the lists, it makes me nervous in running the operating system.
Yes, I know it's a free and I'm not paying for support, so I can't complain about it. However, if I can fix some specific problems, I can't use the operating system. I'm not even suggesting someone else not use it; quite the contrary, I often suggest it to people. And if I ever get another desktop with enough RAM, my plan is to run OpenSolaris against the metal and run a couple of Virtual Boxes all the time to do different work (programming in one, email and writing in one, gaming, etc).
Some things that are giving me headaches that hopefully FreeBSD will fix.
- Cannot run some programs, like Gnucash and TweetDeck, native. I have to setup a VirtualBox running Linux.
- Programs not updated to latest, i.e. pidgin.
- My wireless card is not, and probably never will be supported.
- Power management on AMD64 not supported.
Some things that I will miss, and are keeping me from just moving anyway.
- VirtualBox under OpenSolaris works really well.
- ZFS. By far the best way to format a disk. Snapshots are especially useful. I've seen posts that ZFS is now supported under FreeBSD, just not on the main drive. Hopefully I can setup a home directory with it.
- Java just works, and is relatively easy to setup (have you ever done that on BSD?)
- The update process. Using ZFS to setup a new mountpoint to install to, so that the previous version is not overwritten and can be booted to is brilliant. Really makes upgrading a no stress operation.
Monday, March 16, 2009
Another thing I like about Virtual Box
In a previous job, I had to be able to VPN into work to support the applications I worked on. Occasionally I would even work from home by connecting my work desktop from my Mac at home via the VPN. I would be irritated that I could not access anything outside the Mac, except through the VPN, and they blocked some Internet access.
In my newest job, I also have VPN access, but so far can only do it from Windows. I don't run Windows on any of the computers I have in my house, except through Virtual Box. As I was setting things up on my OpenSolaris laptop, I noticed that I could continue to get my email, stream audio from Z95 on the Gulf Coast, and use my web browser normally in OpenSolaris, even though the Windows virtual machine was VPN'd into work.
The separation also protects the work network. There is no network traffic to the virtual machine that the VPN does not control, so it's effectively like two different machines on my home network.
I love it when I can multitask in a productive way.
In my newest job, I also have VPN access, but so far can only do it from Windows. I don't run Windows on any of the computers I have in my house, except through Virtual Box. As I was setting things up on my OpenSolaris laptop, I noticed that I could continue to get my email, stream audio from Z95 on the Gulf Coast, and use my web browser normally in OpenSolaris, even though the Windows virtual machine was VPN'd into work.
The separation also protects the work network. There is no network traffic to the virtual machine that the VPN does not control, so it's effectively like two different machines on my home network.
I love it when I can multitask in a productive way.
Thursday, March 5, 2009
OpenSolaris Bible
I took some time to look for the OpenSolaris Bible (OSB) in my local bookstore. I was wondering if it really contained anything that I could not already get online somewhere. I mostly looked over the chapter on Zones. Although I'm sure this information is online, the OSB is written in a manner I understand a great deal better.
Most of the information I've found online so far is apparently written for SysAdmins. Although I've been a SA in the past, I am a programmer through and through, and we think differently.
Since I really need to understand Zones to setup the environment I want on my laptop, I will be picking up the OSB soon (probably about 3 weeks when I get paid). (OSB on Amazon if you're interested)
Note: what I'm attempting to accomplish on my laptop is a separate Zone that I can run GlassFish, Apache, and MySQL on so I can run "Intranet" type apps separate from my development environment. Yes, I've found instructions for running GlassFish v2 in a seperate Zone, but I want GlassFish v3 (Prelude), which fails to install with those instructions.
Most of the information I've found online so far is apparently written for SysAdmins. Although I've been a SA in the past, I am a programmer through and through, and we think differently.
Since I really need to understand Zones to setup the environment I want on my laptop, I will be picking up the OSB soon (probably about 3 weeks when I get paid). (OSB on Amazon if you're interested)
Note: what I'm attempting to accomplish on my laptop is a separate Zone that I can run GlassFish, Apache, and MySQL on so I can run "Intranet" type apps separate from my development environment. Yes, I've found instructions for running GlassFish v2 in a seperate Zone, but I want GlassFish v3 (Prelude), which fails to install with those instructions.
Wednesday, January 7, 2009
Updating FreeBSD to 7.1
This last weekend I updated my home server to FreeBSD 7.1. Over the last year I've used freebsd-update to update it to BETA1, RC1, and RC2. Going from BETA1 to anything else was kind of a pain because freebsd-update looks online for files from the current system during the upgrade, and they pulled the BETA files offline when they put out the RC files. So I had to use a command to convince freebsd-update that I was using a different version to get it to run.
The last update from RC2 to RELEASE was a breeze. Basically 3 commands and a reboot before the last command. Kudos to the developer of freebsd-update. I've liked FreeBSD for some time, and this just makes it that much better.
Some background on my environment. I use FreeBSD as a headless server on an old Dell machine (almost 10 years old and it's still running with only a hard drive change during that time). I use OpenSolaris on a Gateway laptop and have a old iMac for the family computer.
I wanted OpenSolaris on my development machine (the laptop) because I do a lot of Java programming at home and hoped that would be a good environment for that. For Java development it has been fantastic. For an operating system for this laptop, not so much. I can't use the wireless network, audio is kinda flaky, and the machine overheats a lot (I think that is more the laptop's issue, not OpenSolaris', but OpenSolaris never throttles the processor, so I have to have a fan on it the whole time, a big house fan). However, after using VirtualBox, zfs, and the Java environment on OpenSolaris, I like it for a development machine.
One issue I find somewhat funny is I cannot get the latest version of Gnucash to run on OpenSolaris, so I run Gnucash on the FreeBSD box and export the display to the laptop. Works well, but it is a little slow (remember the 'BSD box is almost 10 years old). A side benefit of this setup is I can run it from the iMac as well.
Tuesday, November 25, 2008
Running a Glassfish environment in an OpenSolaris Zone
There's a post on running Glassfish in an OpenSolaris zone http://number9.hellooperator.net/articles/2007/03/29/glassfish-in-a-zone
I've used that as a starting point to accomplish the same thing, but not being an Unix administrator, I did not understand some things I think he took for granted, which if I were smarter in these things I probably would have understood. I attempted to follow his instructions and got to the point of installing Glassfish. He using v2 and I would rather use v3-prelude. Since v3 uses a graphically installer and I can't seem to run any xclients out of a zone (even with ssh -X), I was forced to use the zip file from the downloads page. Now, however, I cannot access any updates or install any plugins.
Also, I'd like to have MySql installed in this same zone, but that does not seem to be available, even though it is in the Global zone. Now I have to decide if I want to reinstall it in the Global zone or install it to the new zone or point a jndi or jdbc connect back to the real machine.
Also, I'd like to have MySql installed in this same zone, but that does not seem to be available, even though it is in the Global zone. Now I have to decide if I want to reinstall it in the Global zone or install it to the new zone or point a jndi or jdbc connect back to the real machine.
What I'm trying to to: I need an application to track fighters for my local SCA group. Yes I can do that in a spreadsheet as the previous person that was in charge of this did. However, I'm a Java programmer and can use this to get some experience in Glassfish and Grails programing. I also want to be able to write and install other java/grails apps for home use.
Since I'll be using the same machine for development, I'd like to get the "production" version on another machine, at least virtually. A Zone will allow me to put it on a different IP. With the App Server and the Database in the "production" zone, I can test on port 8080 and the apache server on port 80 without clashes.
Subscribe to:
Posts (Atom)