Social Media
Subscription
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.
Featured Posts
- WordPress mass update script 3.4.1
- Setup mail hosting on Debian Squeeze and other distros using postfixadmin
- Setting up Domains Keys (DKIM) on Postfix
- rdiff-backup script using sshfs for larger backups
- Quick and easy iptables blocking and firewalling basics
- Quick and Easy Automatic Backup Script
- PCI compliance - a basic HOWTO
- Mysql Master/Master Replication & File sync for quick easy scaling or load balance
- HOWTO videos for Rimuhosting Control Panel on youtube
- Fixing broken permissions or ownership
-
Recent Posts
- WordPress mass update script 3.4.1
- SSD-backed VPS hosts
- Emailed backup of a database via cron – Attaching files via command line
- London-based Bakop server added; Brisbane coming…
- WordPress mass update script 3.4
- Restarting Apache on deploy
- RimuHosting taking over HostingDirect’s VPS operations
- Saving some typing and time with SSH configs
- Installer updates, Glassfish, Confluence and more…!
- May 2012 RimuHosting newsletter
- Call for ‘startups start here’ stories
- Setting up Domains Keys (DKIM) on Postfix
- New drive options: bigger, faster Intel SSDs!
- Mysql Master/Master Replication & File sync for quick easy scaling or load balance
- Intel Dual Sandybridge servers avilable
- Ubuntu 12.04 LTS Precise Pangolin
- Keeping your hosting panel updated
- Wordcamp New Zealand – Scaling Servers
- Run your own kernel with PV-Grub
- WordPress mass update script 3.3.2
Meta
Tag Archives: sysadmin
$50 hosting credit for server migration
I'd like to offer a USD 50 hosting credit to anyone ordering a new server with us where that server is currently hosted elsewhere. Get started now, order a fast VPS with a ton of memory at a pretty decent … Continue reading
Keeping Tabs on Successful Logins
There are a number of things that any sysadmin should be doing (or is already doing) to keep tabs on the systems they manage. One of the things that I do which is quite simple (read: quick and dirty) is … Continue reading
Be at Linux Conf in Wellington, or be square
RimuHosting: Proudly supporting LCA2010 Linux Conf down under will be in Wellington from Monday 18 January to Saturday 23 January 2010. This is right on our door-step (well an 8 hour drive down SH1 from Cambridge, at least). So there … Continue reading
External MX Records
I see this particular problem about once or twice a day it seems and probably have for as long as I've worked at Rimu. Sometimes customers opt to have their email handled via a 3rd party mail service (google apps, … Continue reading
Spam Addresses
I hate spam. I really hate spam. I guess everybody can relate to that. I not only hate spam, but I don't like receiving correspondence from some website that made me register to view some content or post a message, … Continue reading
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
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
Introduction to the new Linux Sysadmin
Recently we have had a few support requests come through from people who are new to Linux, and are unsure how to maintain a server at all. Package Management If your Linux distro is RedHat based (ie Centos, , then … Continue reading
Posted in Rimuhosting, Security
Tagged apt-get, dpkg, firewall, packages, rpm, sysadmin, yum
Leave a comment
