Install program in FreeBSD; ports, package or source?

FreeBSD supports three methods for installing program :

  1. Ports
  2. Package
  3. Source

Every method has its advantage and disadvantage :

  • Ports, till time of writing, already reach 16984, wow. Supports many option, my favorite since beginning :-). Simply type make install .
  • Package, for time consuming ports like cvsup I prefer use package for its small size. Package not provide option.
  • Source, everything begin with source. If no ports or package available I use source.

Like debian or ubuntu ports make life easier, every dependency handling automatically as long you got internet connection :-)

Pretty impressive list of ports number 16984, I don’t know all of them. Only related ports to sytem administration like apache, php, mysql etc.

Maybe I should explore the ports more for better understanding on how FreeBSD work.

Full list of FreeBSD ports to date :

Continue reading

Install Local FTP server in Windows XP

At previous post about install wordpress in localhost, I got new question :

What about FTP server, is it possible to install local FTP server to make simulation like upload to real server?

The answer is : Yes

Just install FTP server in computer and point it’s shared folder, for example :

C:\appserv\www

Here’s the steps :

1. Download latest version from here

filezilla.PNG

2. Download FTP client, for example coreftp from here

3. Install FTP server and FTP client

4. Add any password you want, like 123456

5. Add user and password for accessing folder in FTP server, I use : alamster and password : 123456

6. Add shared folder, this folder is destination folder like ‘public_html’ or www in real production server

7. Try login to FTP server with defined user and password at previous step.
For more detail illustration , see this video

FreeBSD snapshots

I have noticed that FreeBSD mini iso no longer distributed but I found interesting link : FreeBSD snapshots From FreeBSD site :

As part of an ongoing effort to improve the overall release process before a release actually slips out the door with problems, we are now periodically producing interim test releases called snapshots. These snapshots will be very similar to full releases, except that they might not include all the bits included in a full release (such as packages and updated documentation).

for example tracking status for ZFS in FreeBSD current available in snapshots, also stable version of FreeBSD 6.2, cool freebsd_snapshots1.PNG I click on 200705 for latest snapshots : freebsd_snapshots11.PNG wget time :-)

Installing dragonflyBSD 1.8.1

From wikipedia DragonflyBSD is :

DragonFly BSD is a free, Unix-like operating system which was forked from FreeBSD 4.8. Matt Dillon, a long-time FreeBSD and Amiga developer, started work on DragonFly BSD in June 2003 and announced it on the FreeBSD mailing lists on July 16, 2003 [1].

Dillon started DragonFly in the belief that the methods and techniques being adopted for threading and SMP in FreeBSD 5 would lead to a poorly performing system that would be very difficult to maintain. He sought to correct these suspected problems within the FreeBSD project. Due to ongoing conflicts with other FreeBSD developers over the implementation of his ideas, and other reasons, his ability to directly change the FreeBSD code was eventually revoked. Despite this, the DragonFly BSD and FreeBSD projects still work together contributing bug fixes, driver updates and other system improvements to each other.

Intended to be “the logical continuation of the FreeBSD 4.x series”, DragonFly is being developed in an entirely different direction from FreeBSD 5, including a new Light Weight Kernel Threads (LWKT) implementation and a light weight ports/messaging system. Many concepts planned for DragonFly were inspired by AmigaOS.

FreeBSD 4.11 and it’s ports no longer supported but I have old hardware for production software so I decide to learn dflyBSD, to see how installation process looks like, I make simple video using vmware 6. Once I familiar with the process, I’ll deploy it the server.

P.S :

Usefull link around dragonflybsd 1.8.1 :

  1. DragonflyBSD
  2. Review DragonflyBSD 1.8.1
  3. Baby steps with DragonFly BSD 1.8.1

Install PfSense 1.2Beta1, Quick Overview

Pfsense is web based firewall designed special for PC, based on FreeBSD 6.x

Version 1.2Beta1 using 6.2 release as base, PfSense features from author site :

pfSense changes implemented (subject to change daily):

  • FreeBSD 6.1 – CURRENT with ALTQ
  • Wireless a/b/g wpa_supplicant, turbo, WEP, WPA-E/PSK and WPA2 (TKIP)
  • Incoming load balancing pools
  • PPPoE Server
  • Themes
  • New system->afterfilterchangeshellcmd xml tag which is executed on the system after each filter change (or other networking related changes)
  • All of the GREAT m0n0wall features, some improved
  • setup wizard using xml -> web gui toolkit
  • package xml -> web gui toolkit. RAPIDLY create packages and GUI’s
  • rebootless changes of settings
  • multiple WAN Support
  • outgoing load balancing pool
  • pf (openbsd’s packet filter)
  • failovercapable DHCP-Server with advanced settings (specify gateway, DNS, WINS)
  • advanced support for wireless devices (including WEP, WPA, HostAP-mode, hardware-encryption if supported by driver, mac-filtering, hide SSID, …) with by freeBSD6 supported wireless devices (atheros recommended for full functionality)
  • Systemstatus with realtimegraphs including SWAP usage monitor
  • ALTQ traffic shaping with integrated magic shaper wizard
  • Queuegraphs for Trafficshaper
  • Edit file option
  • Execute command now in menu
  • enhanced configuration-system featuring a configuration history and partial config down-/uploads
  • a lot of small “helpers” that make admins life easier
    • pfflowd – converting PF-status-massages to Cisco NetFlow-Datagrams
    • PFStat – Graphing
    • NTOP – Enhanced network history data
    • STunnel – wrap standard ports with SSL
    • Squid Transparent Proxy
    • arpwatch – watch ethernet/ip-adress-pairings
    • assp – Anti-Spam-Proxy
    • freeradius – Radiusserver
    • mtr – enhanced traceroute
    • nmap – networkscanner for security auditing
    • siproxd – proxy/masquerading for SIP-protocol
    • spamd – fake SMTP-Server as Spam-Tarpit
    • iperf – bandwidth-measuring
    • netio – bandwidth-measuring

Watch this video for quick overview how installation looks like.