To ensure that system messages go into a file where they can be seen
from anywhere, you'll need to configure syslogd. Find
the following block in /etc/syslog.conf
# uncomment this to log all writes to /dev/console to /var/log/console.log
On default install, the 2nd line is commented out -- remove the "#".
console.info /var/log/console.log
Now, here's the part that's easy to miss -- by
default, syslogd will not create a new file -- you must
either:
syslogd the -C command line
switch which will override this behaviour and force it to create any
necessary files.
cd /var/log
touch console.log
ls -l
Check for permissions the same as other .log files, on mine it's 644/root/wheel.
syslogd to re-read config file:
ps ax | grep syslogd
kill -HUP {pid of syslogd}
If you do this from the console, and getsyslogd: /var/log/console.log: No such file or directorymaillog, imapd.log, others. If so,
you must recreate all of them using touch as above.
pkg_add -r xorg
adduser
mikel
setenv DISPLAY localhost:10.0
xterm -bg black -fg white -name {whatever}&
/etc/group, add ,mikel to first line wheel.
Get a real editor on the system. I just use emacs in text mode via an existing xterm -- way faster than an explicit emacs x-windows session.
pkg_add -r emacs-nox11
rehash
so we can use it.
pkg_add -r apache+mod_ssl/etc/rc.conf: apache_enable="YES"/usr/local/etc/rc.d/apache start
perl -v
pkg_add -r php5rehashphp -v
ps ax | grep sendmail
pkg_add -r p5-Mail-SpamAssassinrehash
sa-updatespamassassin --lint