Tag Archives: freebsd

FreeNAS vmware install.

I downloaded the latest FreeNAS 0.68 vmware image. After I unzipped the file, and put the guest OS where I wanted it, I came across an error.

Unable to connect to the MKS: You need execute access in order to connect with the VMware Server Console.  Access denied for config file: /mnt/sda1/virtual machines/FreeNAS 0.68/FreeBSD.vmx.

After searching google for the error, nothing came up. Fortunately it seemed like an easy fix after a few thoughts. Of course zip files do not retain file permissions. But of course, it could have been created on a windows machine. Either way, the fix was easy.

The Fix:

$ chmod 755 *.vmx
$ ls -la *.vmx
-rw-r--r-- 1 px users 1224 2006-12-16 14:24 FreeBSD.vmx
$ chmod 755 *.vmx
$ ls -la *.vmx
-rwxr-xr-x 1 px users 1224 2006-12-16 14:24 FreeBSD.vmx

Now the guest OS starts up just fine.
[tags]vmware, image, guest operating system, freebsd, linux, FreeNAS[/tags]

freebsd notes - installing ports using pkg_add

# as root
pkg_add -r sudo
 
## now after a few modifications to your /etc/sudoers you are able to use your own user to perform tasks which require root privledges.
 
# as your own user
 
sudo pkg_add -r bash
 
sudo pkg_add -r bash-completion
 
sudo pkg_add -r nano

the error lost it’s car

Sometimes error messages make me laugh a little because, they are funny, and generally have other meanings. Here is one from di.

px@m0n0test ~]$ di
Filesystem         Mount               Size     Used    Avail %Used fs Type
/dev/ad0s1a        /                   4.8G  1008.0M     3.5G  28%  ufs
devfs              /dev                1.0k     1.0k       0  100%  devfs
di in free(): warning: junk pointer, too high to make sense

[tags]error-messages, freebsd, funny, humor, laugh out loud, make me laugh, pointer, software, di[/tags]

freebsd notes - compiling and installing using ports

# compiling and installing using ports
ex.

whereis package
 
cd /usr/ports/package
 
make

# installing bash

cd /usr/ports/shells/bash
 
sudo make
 
sudo make install

# installing screen

cd /usr/ports/sysutils/screen
 
sudo make
 
sudo make install

# installing perl

cd /usr/ports/perl5
 
sudo make
 
sudo make install

# installing wget

cd /usr/ports/ftp/wget
 
sudo make
 
sudo make install

# di

cd /usr/ports/sysutils/di
 
sudo make
 
sudo make install

# php5

cd /usr/ports/lang/php5
 
sudo make install clean

resources
http://www.freebsd.org/doc/handbook/portsnap.html

[tags]freebsd, software, freebsd_installation_notes[/tags]

Bad Behavior has blocked 819 access attempts in the last 7 days.

>>>>>>> .r246