Technology
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...
OpenBSD provides an optimized and secured Apache v1.3 server. It also provides various PHP modules. But it doesn’t provide the eAccelerator PHP module (yet?).
Here’s how I compiled, installed and run eAccelerator on OpenBSD’s native Apache:Continue reading...
Since OpenBSD 4.9, third-party daemons, like MySQL, come with a rc.d script to start, stop and manage the daemon.
Once the package is installed, the managing script is available in /etc/rc.d/.
To start a daemon, just run:
# /etc/rc.d/mysqld start Now, if you want the daemon to automagically start on boot:
check that the script is executable: # ls -alh /etc/rc.d/mysqld -r-xr-xr-x 1 root bin 461B Feb 23 22:16 /etc/rc.d/mysqld reference it in the RC configuration file: # vi /etc/rc.conf.local (...) mysqld_flags="--socket=/var/run/mysql/mysql.sock" (...) rc_scripts="mysqld" (...) Quite simple!Continue reading...