RSS
 

Restore Windows MBR Bootloader using Linux

30 Mar
So to restore you windows bootmanager you can run a simple command. I found this on Robert Penz Blog and it was so easy i really didn't think it would work. However this did work and the user was very happy to have his laptop booting again.  (even if it is into windows) You will want to have the syslinux package installed. The linuxmint boot usb stick he had for me already had the tools so it was easy to work with.

sudo dd if=/usr/lib/syslinux/mbr.bin of=/dev/sda

And that's it. You will now have your machine booting again. There was a second solution

 
0 comments

Posted ed_mann in Computers & Technology

 

Jetty Jndi setup with postgresql

07 Dec
So i was trying to get one of my web apps to run under jetty and was having problems with the global jvm jndi context. This is really simple, however it took me some time to figure it out. So i am posting my notes here, because with me i do something then a year later i will need to do it again and forget how. So here is how i got it going. Now this is with Jetty 6 i have not used Jetty 7 yet. I am using the dbcp from apache with postgresql database.
 
0 comments

Posted ed_mann in Computers & Technology

 

Oracle PDO_OCI PHP install fedora CentOS

08 Oct
Well i run a mix of CentOS and Fedora machines, and at work i needed to run some reports from an Oracle DB. I really don't care much for Oracle, but i needed to get the data, and since i don't like having to do the same thing over again i thought i would just throw together a PHP page and let the user run the canned report themselves. However getting Oracle to install on CentOS and my Fedora boxes was not a simple yum install...
 
6 comments

Posted ed_mann in Computers & Technology

 

Opennms monitor process

05 May

I found two separate links on monitoring processes using OpenNMS. On uses groovy the other uses the polling service inside OpenNMS. I will try one if it does not work the way i want i will try the other.  My idea is to use the polling service to see if it does what i want, if not then do the groovy way. I hope it all works. Also i want to figure out a way to monitor log files.

 
0 comments

Posted ed_mann in Computers & Technology