Widespread Linux Adoption

Ubuntu in the clouds

News Flash!

In addition to (*Ahem*) Obvious issues like Hardware vendors locked in by the deadly embrace of MS Volume Licensing practices …

Why not have the “Network” icon in Linux / Nautilus / Mate / Nemo / Konqeror / Rekonq / Thunar / PCFileMan / etc actually access the network (!) –

Find local servers, whatever way it needs to –

NMAP the local port 22s, make a list, WTF..

It’s just not that hard.

This hasn’t worked, in the 15+ years I’ve been using it.

Why isn’t anyone moving this forward?

Could this be (just one of the) reasons why Linux has not yet gained widespread adoption?

And year after year of being anointed with: “This is the year of the Linux desktop!” it continues to never materialize?

Canonical is off in never-never land, falling for the tappy-swipey Desktop fad, and trying be all things to all people (TVs, Phone, Tablets, etc).

Sigh.

j

Sigh.

Sigh.

Overlook Trail

Overlook TrailThis is a small, disconnected part of the El Sereno Open Space that connects Overlook Road in LosGatos near the top, to Overlook Drive in Saratoga / Monte Sereno..

j

 

4G Comes to SYR

http://phandroid.com/2010/07/12/spring-4g-comes-to-more-markets-in-new-york-california-oregon-and-washington/ f

Wilderness computing

From the first clearing
Fuzzy as it may be, this is silicon valley from the El Sereno open space, about 1.4 miles from the Sheldon rd entrance.

This photo was taken with, and this post was written entirely with a nokia 810 and posted thru bluetooth and my phone while still hiking on the trail.

J

Test for WhatTheyPlay

If this works, this will put up my referral partner info at the top of the WTP site:

http://76.246.164.254:6346/products/wall-e-for-wii/

Test post

This is the detailed meat of the post.

This was posted from the Maemo wp client on my nifty new nokia 810 tablet!
Continue reading ‘Test post’

Test of Live Help

OK, here goes -= a test of the Live Help box we may use for various websites:


Powered By:
Crafty Syntax

pfw install cookbook

OpenBSD 4.1

As of this writing, there is no pfw ISO available for the excellent pfw web-management product (www.allard.nu/pfw) for OpenBSD. We support this project.

Plus, the ISO doesn’t have things like compliers, ports tree, etc; and often we have other consulting to do and customizations we perform while installing OBSD in addition to just the pfw install, so we can’t always use the ISO.

So, something I’ve been meaning to do for a while is put together a cookbook for this – here goes.

  1. Log in as root.
  2. Set up your environment for installing packages from the web:

    export PKG_PATH=http://mirror.planetunix.net/pub/OpenBSD/4.1/packages/i386/

    Note that you should substitute your closest mirror (and possibly other machine architecture) in the above. YMMV.
    A couple of other mirrors that I use:

    http://openbsd.mirrors.tds.net/pub/OpenBSD/4.1/packages/i386/

    ftp://rt.fm/pub/OpenBSD/4.1/packages/i386/ (Gotta love the domain name!)

  3. Install some necessary packages:

    pkg_add mc bash wget

    You may add your own favorite choices here – curl, links, zsh, joe, nano, etc.

  4. set up bash (or your personal favorite) as your shell:

    chsh -s bash

  5. Remove the annoying “Terminal Type? [xterm]” query from the login sequence, by editing your dot-profile (/root/.profile) and commenting out or deleting the last three lines:

    # if [ -x /usr/bin/tset ]; then
    # eval `/usr/bin/tset -sQ \?$TERM`
    # fi

  6. Reboot and re-login as root. You should now have a bash shell prompt.

    Download the latest pfw and unpack it into /var/www/:

    wget http://www.allard.nu/pfw/download/pfw-latest.tgz
    cd /var/www/
    tar zxvf /root/pfw-latest.tgz

  7. Now add the php5 and sqlite packages:

    export PKG_PATH=http://mirror.planetunix.net/pub/OpenBSD/4.1/packages/i386/
    pkg_add php5-core sqlite php5-sqlite

    This will give you further instructions on checking the installation, and setting up PHP, SQLite, and Apache:

  8. PHP setup and checking:
    Copy the recommended PHP configuration file into the Apache configuration directory:

    cp /usr/local/share/examples/php5/php.ini-recommended /var/www/conf/php.ini

    Test that PHP has the SQLite module installed:

    php -i | grep -i sqlite

    This should show various SQLite parameters, etc.

    Enable the php5 aqnd php5-sqlite modules with:

    /usr/local/sbin/phpxs -s
    /usr/local/sbin/phpxs -a sqlite

    These should return with no errors.

  9. Boot setup
    Change to the /etc directory and edit your rc.conf using vi (or your favorite text editor) to allow non-chrooted Apache:

    cd /etc
    vi rc.conf

    And change the line that says:

    httpd_flags=NO # for normal use: “” (or “-DSSL” after reading ssl(8))

    to

    httpd_flags=”-u” # for normal use: “” (or “-DSSL” after reading ssl(8))

  10. SQLite setup and directory permission settings
    Change to the pfw directory and initialize SQLite:

    cd /var/www/pfw
    sqlite conf/config.db < docs/sql/sqlite.sql
    chown -R www:www conf

  11. Apache setup and config:
    Edit your Apache configuration file:

    cd /var/www/conf/
    vi httpd.conf

    and do three things:

    To enable parsing of PHP scripts, find the following line and uncomment it:

    AddType application/x-httpd-php .php

    To enable .php files to be execute by Apache’s PHP module, add index.php to the DirectoryIndex setting, so it looks something like this:

    DirectoryIndex index.html index.php

    Finally, add the pfw directory and alias:

    Alias /pfw “/var/www/pfw/web/”
    <Directory “/var/www/pfw/web”>
      AllowOverride None
      Order allow,deny
      Allow from 127.0.0.1 10.1
    </Directory>

    Note that the “10.1” is for testing on our own internal network – you will want to either add your own internal network here, or set up some other form of security, directory-based, or otherwise. Security considerations are beyond the scope of this cookbook, although there are resources listed below that can help you set this up.

  12. Sudo setup:
    Allow the pfw binaries to have the proper security with sudo – the preferred method is to use the visudo command, and add the following line to the text of the /etc/sudoers file:

    www ALL = NOPASSWD: /var/www/pfw/bin/*

    The non-preferred way, because it’s dangerous, and easy to typo somthing and render your sudo unusable, is to simply concatenate it to the end of the /etc/sudoers file manually:

    echo www ALL = NOPASSWD: /var/www/pfw/bin/* >>/etc/sudoers

    NOTE WELL: there are TWO greater-thans! using only one will remove your sudoers file!

  13. Reboot and try it out!

    lynx 127.0.0.1/pfw

    After allowing cookies (all), you should be able to surf to the various links and see the pfw pages, albeit in text mode.

    Happy hacking!

Resources:

  1. eRacks Open Source Systems can help with preinstalled OpenBSD hardware with pfw, consulting to set up firewall rules, security, digest authentication, and so forth.
  2. Allard consulting, author of the highly-rated pfw product.
  3. The OpenBSD easy packages method and mirrors list
  4. Security Architects can help with your security assessments, setting up firewall rules, and analysis of your overall site or enterprise security plan and strategy.
  5. The Libre Group provides Open-Source consulting, migration planning and assessments of Open-Source ROI and how to obtain the most immediate return on migrating your business to Open Source infrastructure, including desktops, laptops, servers, etc.

MySQL QuickAdmin

A new LAMP-based MySQL admin has been open-sourced from the commercial version –
http://mysqlquickadmin.com

It looks pretty good, and it’s themable
http://mysqlquickadmin.com/themes.php

Smooth Blue v1.3
Midnight Maroon v1.3
Original v1.0

We’ll be happy to preinstall this for you on request, at my company, eRacks Open Source Systems – www.eracks.com.

The Fun Starts

http://www.theregister.com/2006/11/03/microsoft_novell_suse_linux/