Friday, February 19, 2016

running pf on AWS

There's only FreeBSD AMI available on AWS cloud service currently. Therefore we can get it directly from Market Place if we want to run pf or other related services.

  • pf_enable=YES in /etc/rc.conf.
  • vi /etc/pf.conf. keep state is by default.
  • reboot. then pf should be available now.

Tuesday, August 18, 2015

opensmtpd setup

mailq to view queue
smtpctl monitor to view realtime status
tail -f /var/log/maillog to view realtime logs

Tuesday, August 4, 2015

Friday, May 8, 2015

compiling ffmpeg on OpenBSD

1) Install required packages like nasm, etc, following the CentOS guide below:
https://trac.ffmpeg.org/wiki/CompilationGuide/Centos

2) Install git, gmake, as well as x264, for H.264 encoding feature:
# pkg_add -v git gmake x264

3) check out the latest source:
$ git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg

4) cd ffmpeg; ./configure --enable-gpl --enable-libx264 ; gmake .

Monday, November 3, 2014

fvwm local setup

REF: Doing ls -a shows the dot-files, too, and I see that there is a file called .fvwmrc in /usr/X11R6/lib/X11/fvwm/.

http://blogs.dailynews.com/click/2008/04/10/configuring-fvwm-in-openbsd-an/

xterm setup & alternatives

xterm alternatives: gnome-terminal, xfce4-terminal, konsole. xterm can be launched with -fg grey -bg black -font 10x20 to change colors.

REF:
https://mkaz.com/2010/04/04/xterm-colors/
http://docstore.mik.ua/orelly/unix3/upt/ch05_18.htm