FreeBSD config app based

Updating FreeBSD ports system ;

portsnap fetch extract

cd /usr/ports/ports-mgmt/portmaster
make install clean

pkg
pkg upgrade

portmaster -a

after installing emacs or your favorite editor :

pkg install emacs

Install  xorg :

pkg install xorg

emacs /etc/rc.conf

hald_enable="YES"
dbus_enable="YES"

Instalación de gnome3 :

pkg install gnome3

then edit file :

sysctl kern.ipc.shm_allow_removed=1

emacs /etc/sysctl.conf

kern.ipc.shm_allow_removed=1

then install app based :

pkg install chromium
pkg install htop wget mc
pkg install icedtea-web
mkdir -p /usr/local/share/chromium/plugins
ln -s /usr/local/lib/IcedTeaPlugin.so /usr/local/share/chromium/plugins/

Linux compatibility installation and flash :

emacs /etc/fstab
linproc /compat/linux/proc linprocfs rw 0 0

Then … edit file and save…

/boot/loader.conf
linux_load="YES"

after from console :

pkg install nspluginwrapper

from the console as a normal user :

nspluginwrapper -v -a -i

cd /usr/ports/www/linux-f10-flashplugin11
make install clean
ln -s /usr/local/lib/browser_plugins/linux-f10-flashplugin/libflashplayer.so /usr/local/lib/browser_plugins/
cd /usr/home/TU_USUARIO/.mozilla/plugins
ln -s /usr/local/lib/browser_plugins/linux-f10-flashplugin/libflashplayer.so libflashplayer.so

Install virtualbox :

pkg install virtualbox-ose
emacs /boot/loader.conf
vboxdrv_load="yes"

emacs /etc/devfs.conf

# Virtualbox network access
own vboxnetctl root:vboxusers
perm vboxnetctl 0660

Saved file and then ….

pw usermod user -G vboxusers

Install Cups :

pkg install cups
pkg install foomatic-filters
emacs /etc/rc.conf
lpd_enable="NO"
cupsd_enable="YES"

Saved file and then ….

pw usermod root -G cups
pw usermod user -G cups

Mount  USB from FreeBSD:

pkg install thunar-vfs fuse fuse-utils
pkg install fusefs-ntfs fusefs-ext4fuse
emacs /boot/loader.conf
fuse_load="YES"

emacs /etc/fstab
proc /proc procfs rw 0 0
fdesc /dev/fd fdescfs rw 0 0

Save file and then ….

emacs /etc/sysctl.conf
vfs.usermount=1

Save config and then ….

pw usermod user -G wheel
pw usermod user -G operator

emacs /etc/devfs.conf

perm /dev/acd0 0666
perm /dev/acd1 0666
perm /dev/cd0 0666
perm /dev/cd1 0666

perm /dev/da0 0666
perm /dev/da1 0666
perm /dev/da2 0666
perm /dev/da3 0666
perm /dev/da4 0666
perm /dev/da5 0666

perm /dev/pass0 0666
perm /dev/xpt0 0666
perm /dev/uscanner0 0666
perm /dev/video0 0666
perm /dev/tuner0 0666
perm /dev/dvb/adapter0/demux0 0666
perm /dev/dvb/adapter0/dvr 0666
perm /dev/dvb/adapter0/frontend0 0666

Saved file and then ….

emacs /etc/devfs.rules

[devfsrules_common=7]
add path 'ad[0-9]*' mode 666
add path 'ada[0-9]*' mode 666
add path 'da[0-9]*' mode 666
add path 'acd[0-9]*' mode 666
add path 'cd[0-9]*' mode 666
add path 'mmcsd[0-9]*' mode 666
add path 'pass[0-9]*' mode 666
add path 'xpt[0-9]*' mode 666
add path 'ugen[0-9]*' mode 666
add path 'usbctl' mode 666
add path 'usb/*' mode 666
add path 'lpt[0-9]*' mode 666
add path 'ulpt[0-9]*' mode 666
add path 'unlpt[0-9]*' mode 666
add path 'fd[0-9]*' mode 666
add path 'uscan[0-9]*' mode 666
add path 'video[0-9]*' mode 666
add path 'tuner[0-9]*' mode 666
add path 'dvb/*' mode 666
add path 'cx88*' mode 0660
add path 'cx23885*' mode 0660
add path 'iicdev*' mode 0660
add path 'uvisor[0-9]*' mode 0660

Saved file and then ….

emacs /etc/rc.conf
devfs_system_ruleset="devfsrules_common"

 

Install of other application :

pkg install vlc libreoffice xarchiver rar unrar p7zip filezilla epdfview gimp xfburn ristretto gtk-murrine-engine

Guys then Enjoy FreeBSD..!!!

Advertisements