Category: Howto - System
I recently bought a NAS so my data is safe & available, with the benefit of being low
power / noise / heat.
I've considered Netgear, QNAP, but decided to go for a Synology
as it was affordable, still had a big community, decent reviews & Time Machine support.
The Synology ships with a Download Station but it's not remotely as
advanced as SABnzbd. What I mostly miss is automatic
par & unpacking of it's downloads. Here's how to fix that.
When you're debugging a tough problem you sometimes need to analyze the
HTTP traffic flowing between your machine and a webserver or proxy.
Sometimes you can use firebug or chrome inspector for that. But here's a
lowlevel alternative that I'm pretty excited about. Meet Tshark.
If you store application data in memcache, you may want to invalidate it once you deploy a new version to avoid corruption or weird results. There are several ways to do this but I recently tried one using nothing but BASH, and I like it.
It's always a good idea to backup important data. Your files and settings can easily be archived. But how can you backup & restore all applications that you've installed over the last couple of years? Here's an easy trick that works for both desktops & servers, and that can also be used to synchronize installed packages in a web cluster, making all the servers run the same software.
If you've got a website that's heavy on your web server, you might want to run
some processes like generating thumbnails or enriching data in the background.
This way it can not interfere with the user interface. Linux has a great
program for this called cron. It allows tasks to be automatically run in the
background at regular intervals. You could also use it to automatically create
backups, synchronize files, schedule updates, and much more. Welcome to
the wonderful world of crontab.
Everyone knows that RAM is so much faster than a hard disk. To illustrate, while a current SATA disk has peak transfer rates of 375 MB/s, current RAM can do a mind blowing 12,500 MB/s! Normally only the system itself makes use of this ultra fast storage, but we can also access this space directly. And that opens a great window of opportunity.
tagcloud