have installed OpenBSD operating system but ports collection is missing at /usr/ports directory. How do I install ports from ftp / http site under OpenBSD?
I‘d like to switch from mod_php5 to mod_fastcgi. I’m using FreeBSD 7 release along with following software:
+ Apache 2.2
+ PHP as mod_php5
+ MySQL DB 5.1.23 server
How do I configure php as FastCGI server?
Q. How do I install Strace utility under FreeBSD operating system so that I can trace and debug my applications and report 3rd party software bugs?
A. Strace is a process tracer, i.e. a debugging tool that prints out a trace of all the system calls made and signals received by a process itself or a process and its descendants.
Strace is similar to the native BSD truss utility, but it’s output style is more convenient in most cases.
For strace to work, procfs has to be mounted. FreeBSD does not mount it by default.
These examples only work for i386 32 bit FreeBSD computer (strace is not ported to amd64 arch [64 bit]).
First update FreeBSD ports collection and install strace from /usr/ports/devel/strace:
# portsnap fetch update
# cd /usr/ports/devel/strace
# make install clean
Mount /proc file system
You need to mount /proc filesystem to use trace command under FreeBSD, enter:
# mount -t procfs proc /proc
How do I use Strace tool?
Please see our previous FAQ / tutorials about strace command:
- Debugging Tip: Trace the Process and See What It is Doing with strace
- Truss like command under Linux to monitor and diagnostic the system calls
While building Apache port I was presented with a menu from which I selected certain build options. However, certain option giving out error as follows:
===> apache-2.2.8 mod_mem_cache requires WITH_THREADS.
*** Error code 1
All I wanted to do is disable mod_mem_cache and build Apache again. Unfortunately, it is not allowing me to clear out configuration option. How do I remove all selected options and allow me to start over again?
How do I configure Apache HTTPD to listen multiple ports under RHEL / Fedora / CentOS Linux Server?
Q. How do I install gnugp security Cryptographic software on my FreeBSD 6.x server from a shell prompt over ssh session?
Continue reading “FreeBSD Install gnupg Cryptographic Software”