Social Media
-
Recent Posts
- Centos brcm-iscsi.log
- WordPress mass update script 3.3.1
- Introducing 2 Parts Magic
- WordPress mass update script 3.3
- December 2011 Newsletter
- Silverstripe CMS on Standing Cloud webinar Tue Dec 13 1300 PST
- Fixing broken permissions or ownership
- Using swap within a VPS
- Easy application hosting using StandingCloud and RimuHosting
- Checking a potentially hacked machine and reinstalling packages when you break things
- VPS-on-dedicated server hosting v2.0
- DigiNotar and SSL certificates
- Why is your server sending spam? why does it keep crashing with high load?
- Could not perform immediate configuration on already unpacked ‘util-linux’.Please see man 5 apt.conf under APT::Immediate-Configure for details
- Hurricane Irene approaching New York
- Apache exploit may crash your server – heres how to fix it
- RimuHosting turns on redundant PSU and redundant power feed options
- Wildcard DNS queries added to our DNS API
- 10 August Dallas outage report
- PCI compliance – a basic HOWTO
Featured
- Easy Peasy Linux Firewalling - iptables
- Fixing broken permissions or ownership
- HOWTO videos for Rimuhosting Control Panel on youtube
- PCI compliance - a basic HOWTO
- Quick and Easy Automatic Backup Script
- Quick and easy iptables blocking and firewalling basics
- rdiff-backup script using sshfs for larger backups
- Setup mail hosting on Debian Squeeze and other distros using postfixadmin
- WordPress mass update script 3.3.1
Tags
apache apache2 api backup bash broken bug centos cloud competition controlpanel Dallas debian dns dpkg easy email error exploit fix hack install java linux mail management mass monitoring mysql Office postfix Rimuhosting script Security server support sysadmin twitter ubuntu update upgrade virtualmin vps wordpress yumSubscription
Fill out the form below to signup to our blog newsletter and we'll drop you a line when new articles come up.
Our strict privacy policy keeps your email address 100% safe & secure.
Meta
Monthly Archives: September 2009
One Java init script to rule them all
Need an init script for a Java service? Like tomcat, liferay, or jboss?
Regular Linux init scripts often don't work so well. e.g. Java apps typically want to be run by a particular user (e.g. tomcat or liferay). e.g. They may require a 'special' shutdown mechanism (e.g. with Tomcat sending a signal to a particular port).
So over the years I have had a handy-dandy script that can control most of my most commonly used Java apps (liferay, tomcat, jboss).
It does things like start up the app as a particular user. Checks to ensure the app is responding on a URL before saying it is stared. Waits for the app to shutdown gracefully, else forces it to quit. And provides kill and killstart commands when you're developing and just want the thing restarted!
This morning I updated it to use the lsb logging methods. So the output is a bit prettier than the 'old' echo's we used to use.
The current version of the file will live at http://proj.ri.mu/javainitscript
To use it wget that to the /etc/init.d directory on your server. Then rename (or symlink) it to the service you want to control. Currently the tomcat, liferay and jboss names are supported.
Some excerpts from the script follow... Continue reading
Has your VPS been hacked?
If you use any pre-packaged software, it always pays to sign up to their mailing list or security advisory list. This means if any exploits or updates happen, you are on the ball and up to date. Today we had … Continue reading
Rimuhosting does Software Freedom Day
Well I'm sure most geeks out there have heard of Software Freedom Day, it was the same day as Talk like a Pirate day! I'm glad however that most people forgot 'Talk Like a Pirate' day however, since a good … Continue reading
Posted in Rimuhosting
Tagged john, linux, liz, paul, Rimuhosting, sfd, sfd2009, software freedom day, tux
Leave a comment
Is your VPS slow to login at all? Applications not running so fast?
Often we will get customers emailing in saying that things are just running 'slow'. Often when we login the first thing we notice is after the password has gone through it just hangs for a fair while before login. This … Continue reading
Safe rm prevents accidents! try it!
I found this the today http://www.safe-rm.org.nz/ , and having had the odd accident im most definitely going to be installing this on my own server! What is safe-rm? Safe-rm is a safety tool intended to prevent the accidental deletion of … Continue reading
New website release coming up
Heya guys Well this is a special release just for you guys who watch the blog. It seems the dev guys have been hard at work and put together a couple of new websites designs! We are just tweaking it … Continue reading
Got Backups?
Backup your data. That's something that's repeated over and over and yet too many people don't really take it to heart. If you've lost data in the past, I be that you're backing up now like it's a religion. If … Continue reading
We’re a Team
We see lots of different problems every day as Liz noted the other day. It's really quite varied work that we do and you can go from resetting a password one minute to setting up load balanced proxy servers the … Continue reading
libc6 vs libc6-xen problems with applications segfaulting
We recieved the following email this morning which may be a problem from time to time with other users, so i thought I would share this. Subject: Seg faults on apache mysql and a couple of other less import programs. … Continue reading
Domain Name Confusion
This is something we see time and time again. It is fair to say, unless you have had a bit of experience with it, can be a bit confusing. So here is a breakdown of the domain name components.. Registrar … Continue reading
