Force unmount nfs share freebsd stale shares

If the processes which are currently using this partition does not respond to “kill -9” command then you WILL have to have the MOUNTED partition available anyways before killing the process. So here is a work-around of this situation. 1. Create a virtual interface on the problem server which has the IP address same as... » read more

Proper way to Rebuild Subversion 1.4.0_1 on FreeBSD 6.1

Here’s some info on the system: # svn --version /libexec/ld-elf.so.1: Shared object "libaprutil-1.so.2" not found, required by "svn" # pkg_info | grep -i apache apache-2.2.15_9 Version 2.2.x of Apache web server with prefork MPM. apr-devrandom-gdbm-db42-ldap23-mysql50-1.4.2.1.3.9_1 Apache Portability Library # pkg_info subversion-1.4.0_1 Information for subversion-1.4.0_1: i completely removed apache: pkg_delete -f apache-2.\* Then removed these subversion... » read more

install java freebsd diablo-jdk-1.6.0.07.02_10

download the tbz file from http://www.freebsdfoundation.org/downloads/java.shtml do a pkg_add, ex pkg_add diablo-jdk-freebsd6.i386.1.6.0.07.02.tbz If that errors out with something like checking pkg-config is at least version 0.9.0... yes checking for XI... configure: error: Package requirements (xproto >= 7.0.13 x11 >= 1.2.99.1 xextproto >= 7.0.3 xext >= 1.0.99.1 inputproto >= 1.9.99.902) were not met: Requested 'x11 >=... » read more

vmware unix

A great place to find vmware virtual machines for freebsd, ubuntu, cent os, red hat linux (RHEL), Linux Mint, etc is over at bagside’s virtual appliance repository here’s what they offer: Virtual Appliance Repository. This site is dedicated to virtual appliances that we build for you to use FREE of charge (except for Windows 7... » read more

Linux find large files

How do you find large files or directories on your disk in freebsd, unix, linux ? Linux find large files examples; find large files on your disk in *nix. All *nix systems List total size of each directory/file at current path level du -sk * | sort -rn | head Example output: [[email protected] /]# du... » read more