2011
Here’s the way to install, run and manage MySQL on a Synology DS409slim.
My DiskStation runs DSM 3.1-1748.
First of all, activate the MySQL dæmon:
From the Control Panel, choose the Web Services ; Enable Web Station and Enable MySQL ;Continue reading...
I have a second hard drive in my MacBook Pro that stores the user’s files. To enable state safe manipulation of those data, I like to log as root. This way, I ensure that none of those files will be modified during operation (copy, move, …).
Here’s how to enable root login on Snow Leopard:
From the menu, select System Preferences ; From the System section, select the Accounts tool ; Select the Options option and click the Join button ; Click the Open Directory Utility button ; Click on the lock and enter the administrator password ; In the Edit menu, select the Enable Root User command ; Fill-in the root password and click OK. That’s it!
When you wish to roll-out, use the same procedure but select Disable Root User.Continue reading...
Here’s the quick reminder on how to start OSX in single-user mode :
If the Mac is on, turn it off. Power the Mac on. When you hear the chime, press cmd-s Do what you have to and type exit or reboot to return to normal mode.
Source: Mac OS X: How to start up in single-user or verbose modeContinue reading...
symon says it is a “system monitor for FreeBSD, NetBSD, OpenBSD and Linux. It can be used to obtain accurate and up to date information on the performance of a number of systems”. What I like is that it is lightweight and quite straight forward to implement.
Here’s how I configured it on my OpenBSD box. Note that my box is both a client and a server regarding monitoring events.Continue reading...
Quoting Monit’s website, “Monit is a free open source utility for managing and monitoring, processes, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.” I like it because it is much lighter than Nagios.
In the OpenBSD ports, it is available in version 4. But it is also provided as a binary archive from the website.
Here’s how to run Monit v5 on OpenBSD.Continue reading...