Recent Changes - Search:

I'm sorry, I didn't catch your name https://www.enlightenedtraining.com/stmap_21wizxfu.html?toprol.ticlopidine.cialis zovirax duo dm "The potential opportunity is substantial. As the British Geological Survey estimates, UK shale gas resources may be 50% larger than conventional gas resources. With exploratory drilling now going ahead, estimates will be more accurate and the British Geological Survey is due to release a more comprehensive estimate of the UK's shale gas resources in 2013."

FreeBSD

Notes


Mounting backup disk

 sudo mount -t ext2fs  /dev/da0s1 /mnt/backup
  • Disk MAY need to be turned off and on before this works
  • Note that it's actually an ext3 file system.
  • umount by regular means.

Fail2Ban install

Alternative to fail2ban: OSSEC

Enable:

   # vi /etc/rc.conf
   add line: fail2ban_enable="YES"

   # /usr/local/etc/rc.d/fail2ban start

Blade, adjust jail.conf to following:

   [ssh-ipfw]                                                                          

   enabled  = true                                                                     
   filter   = sshd
   action   = ipfw[localhost=192.168.0.1]
              sendmail-whois[name="SSH,IPFW", dest=wrijnders@gmail.com]                
   logpath  = /var/log/auth.log

This should block sshd login attempts

Test current log against given filter:

    sudo fail2ban-regex /var/log/auth.log /usr/local/etc/fail2ban/filter.d/sshd.conf | less

Ports

Complete update:

   portsnap fetch update
   portaudit -Fda
   pkgdb -Ff       # Fix corruption problems with: pkgdb -fu
   portsdb -Uu

To uninstall a port (example):

  cd /usr/ports/sysutils/screen
  make deinstall

Alternative:

  pkg_deinstall firefox 

For good measure, do make clean after successful deinstall.

Upgrade port to a specific version:

 # portupgrade -o lang/python26 lang/python25

Where part after -o is the new version. Then:

 # cd /usr/ports/lang/python && make upgrade-site-packages

To assure that site-packages are made available to the new version (python in this case).


pkg

View:

  pkg_info

Remove (eg.):

  pkg_delete pkgname
  pkg_delete screen-4.0.3_6
  pkg_delete 'screen*'

Upgrading

Edit - History - Print - Recent Changes - Search
Page last modified on January 29, 2013, at 11:42 AM