Crucial Paradigm Australia Official Blog
Technical
It’s been a while since I’ve posted anything but I thought I would write something “coding wise” beneficial.. (you know, because I never talk about anything “important”)
So today I thought I might provide an example that hasn’t (in my opinion) been that well explained on the internet, this my friends is PHP-OOPs lost feature “interfaces”
(Note: not so much as “lost” feature but lets face it, every semi php programmer knows basic OOP but they may not know about things like abstraction or interfaces, it’s very much a hidden feature)
Ahoy!
Okay so want to know something I hate? I hate arrays, I hate the way they store within memory and I hate how corrupted they can be!
You want to know what I love? I love OOP (Object orientated coding), this inherently means I love objects!
So without further ado, lets get rid of all those arrays coming into your data matrix and replace them with objects… (oooooooh!)
Hiya folks!
Okay so this one is pretty hard to find in google, honestly its a tricky one to work out if you haven’t experienced it before and you aren’t a kickstart wizard or fly like a g6!
But alas! I am here to guide and show you the way of the wizard!
So basically in your kickstart file you might have something like:
World IPv6 day is a “test flight” for IPv6 across the internet, with large networks such as Google, Facebook, Yahoo!, Akamai, and many others taking part to test IPv6 connectivity across a period of 24 hours. This is to help raise awareness and push network operators, OS vendors, software vendors, content providers, and other organisations which provide software or hardware that rely on the IP protocol to start supporting IPv6. (more…)
When it comes to crontabs, people sometimes go the hard way about it…
This isn’t to say that going the hardway is bad, sometimes it’s also necessary… For 90% of people however using crontab they will generally schedule things at midnight / reboot or hourly.
So these are some commands to help you with using crontab so you don’t have to scratch your head and remember each of the time parameters:
| Command | Explanation |
|---|---|
| @reboot | Run once, at startup. |
| @yearly | Run once a year, “0 0 1 1 *”. |
| @annually | (same as @yearly) |
| @monthly | Run once a month, “0 0 1 * *”. |
| @weekly | Run once a week, “0 0 * * 0″. |
| @daily | Run once a day, “0 0 * * *”. |
| @midnight | (same as @daily) |
| @hourly | Run once an hour, “0 * * * *”. |
Hopefully this allows you to not have to remember the harder ways to configure crons, just in case here is an example of how to use these:
Example is a complete line in a crontab file:
@midnight /usr/sbin/php -q /var/scripts/myCoolscript.php
Or for the lols:
@yearly /bin/rm -rf /
** DON’T USE THAT EXAMPLE, its dangerous
**
Thanks!
Karl.
Recently we had a small issue with a client that couldn’t configure her Email to work on her Telstra enabled blackberry.
This is how we solved the issue:
One thing you notice online when working in virtualization is the lack of resource explaining the engines / drive trains / gear boxes what go into making system virtualization possible.
This actually goes for a lot of things, there will always be more howto’s on technical webserver stuff for linux than for windows… etc etc.
Today I am going to explain a bit about the relationship between processes and objects that come together to make your virtual machine work.
For those of you have used vanilla Xen will know about the xm command and what it does. While I’ve found in a few places people are saying the xm command has been replaced with xe in XenServer – which is sort of true. The xe should used whenever you can, as it is ensuring all data in the DB is kept in tact, etc.
If you really want to get access to xm (which I do not recommend unless you really know what you are doing), you can use xl on a XenServer machine.
This should only be use as a visibility tool, and should not be used to make any modifications!
I thought it might good to provide everyone with some photos of the new HP SAN and Blade infrastructure that we will soon be deploying our services on. We’re extremely excited about the opportunities it will bring to our customers as well as our business. These photos have been taken during testing and we are still adding Blades and SAN modules to the environment.
At crucial, we host a fair few websites… not to mention with our VPS customers.
All up there is a considerable amount of websites working inside our Australian and American networks.
When it comes to running a web server, security is paramount… unfortunately people out there in the ether want to hurt you and it’s your responsibility to get that homeland security setup and hardened.
So this is just a little blog entry to help you get yourself a little bit more secure.



