Mermaids

A mix of my daughter's activities and my own technological twoddling.

Wednesday, January 08, 2014

Living room is drywalled!

This post is a bit tardy. The living room has been done for over a week now. But, here are some pictures:





My lodge brother, Kyle Hatch, put in lots of hours and sweat helping get this job done. He even provided a lovely venison roast for our celebratory dinner!

It is pouring rain and I am enjoying typing this while sitting in a heated and bright living room listening to the sky-lights. :-)

Now for the attic. I hauled all the parts and pieces up tonight and will start in on the required fire-walls in the attic tomorrow.

Sunday, December 22, 2013

Home Construction Progress

Chasing the final inspection

We are putting up drywall. We finished off the fiddly bits for two of the sky lights and started laying out the field of the ceiling. It should go a lot faster now.




Saturday, April 02, 2011

Tea in Philomath

The Mermaids went to Formal Tea (We don't do 'high' tea in Philomath) the other day and had a really good time. They went to Anne's Tea House with a friend who has been under the weather. A fine time was had by all, with trying on of scarves, hats, smiles, and food... well, they really didn't wear much of the food as it turned out.
Diana in Fedora and Shawl


Miss Diana is a stunning fedora and shawl.

Whitney in shocking red

Whitney looking very well red.


With these girls out on the town, adult supervision was a must... we sent three 'adults', but something seems to have happened along the way and the photographic evidence is that they were just as rowdy as the Mermaids. :-o

Janet
Sue
Linda with flower

And food with the tea... well, yes there was!




Pinkies up!


Thursday, November 05, 2009

SuSE 11.1 and apache2 installation

Welcome back. Last time I installed postgresql and now I am after apache2.

I use zypper, the command-line repository manager for SuSE to load things up. You can use YaST2 if you like. It is just a glossy UI that sits atop zypper.



Commands used in this blog
CommandDescription
zypperOpenSuSE package manager command-line tool.
vimNot explicitly listed, but I use the VIM text editor to modify configuration files.
/etc/init.d/*Not really a command, but the directory in most Linux distributions where services are started, stopped, and restarted.


First I want to check out what is out there in repository-land:

Pacifica:/home/phardin/Documents # zypper se apache
Loading repository data...
Reading installed packages...

S | Name | Summary | Type
--+---------------------------------------+-----------------------------------------------------+-----------
| CASA_auth_token_apache2_2_support | Novell CASA Authentication Token Apache2_2 Suppor-> | package
| ant-apache-bcel | Optional apache bcel tasks for ant | package
| ant-apache-bsf | Optional apache bsf tasks for ant | package
| ant-apache-log4j | Optional apache log4j tasks for ant | package
| ant-apache-oro | Optional apache oro tasks for ant | package
| ant-apache-regexp | Optional apache regexp tasks for ant | package
| ant-apache-resolver | Optional apache resolver tasks for ant | package
| apache-portlet-1_0-api | Portlet API 1.0 from Jetspeed2 | package
| apache-portlet-1_0-api-javadoc | Portlet API 1.0 from Jetspeed2 | package
| apache2 | The Apache Web Server Version 2.0 | package
| apache2 | The Apache Web Server Version 2.0 | srcpackage
| apache2 | apache2: Security fixes for various vulnerabilities | patch
| apache2-devel | Apache 2.0 Header and Include Files | package
| apache2-doc | Additional Package Documentation. | package
| apache2-example-pages | Example Pages for the Apache 2 Web Server | package
| apache2-mod_apparmor | AppArmor module for apache2 | package
| apache2-mod_auth_ntlm_winbind | Enables Apache to authenticate users against Micr-> | package
| apache2-mod_fcgid | Alternative FastCGI module for Apache2 | package
| apache2-mod_jk | Connectors between Apache and Tomcat Servlet Cont-> | package
| apache2-mod_jk | Connectors between Apache and Tomcat Servlet Cont-> | srcpackage
| apache2-mod_jk | apache2-mod_jk security update | patch
| apache2-mod_macro | Define and Use Macros within the Apache Configura-> | package
| apache2-mod_mono | Run ASP.NET Pages on Unix with Apache and Mono | package
| apache2-mod_perl | Embedded Perl for Apache | package
| apache2-mod_perl-devel | Embedded Perl for Apache - Development package | package
| apache2-mod_php5 | PHP5 Module for Apache 2.0 | package
| apache2-mod_php5 | php5: fixed multiple securityissues | patch
| apache2-mod_python | A Python Module for the Apache 2 Web Server | package
| apache2-mod_scgi | Apache module named mod_scgi that implements the -> | package
| apache2-mod_security2 | ModSecurity Open Source Web Application Firewall | package
| apache2-mod_security2 | ModSecurity Open Source Web Application Firewall | srcpackage
| apache2-mod_security2 | apache2-mod_security2: fixed DoS in multipart pro-> | patch
| apache2-mod_tidy | Apache Module using the Tidy Library to Clean Up -> | package
| apache2-mono-complete | Hack to make apache2 start on boot | package
| apache2-mono-complete | Hack to make apache2 start on boot | srcpackage
| apache2-prefork | Apache 2 "prefork" MPM (Multi-Processing Module) | package
| apache2-utils | Apache 2 utilities | package
| apache2-worker | Apache 2 worker MPM (Multi-Processing Module) | package
| perl-Apache-AuthCookie | Apache/Perl Authentication and Authorization via -> | package
| perl-Apache-AuthNetLDAP | use Net::LDAP for user authentication in Apache | package
| perl-Apache-AuthNetLDAP | use Net::LDAP for user authentication in Apache | srcpackage
| perl-Apache-DBI | Apache authentication via perl DBI | package
| perl-Apache-DBI | Apache authentication via perl DBI | srcpackage
| perl-Apache-Filter | Alter the output of previous handlers | package
| perl-Apache-Filter | Alter the output of previous handlers | srcpackage
| perl-Apache-Session | persistent storage for arbitrary data | package
| perl-Apache-Session | persistent storage for arbitrary data | srcpackage
| perl-Apache-Session-Wrapper | A Simple Wrapper Around Apache::Session | package
| perl-Apache-Session-Wrapper | A Simple Wrapper Around Apache::Session | srcpackage
| perl-Apache-SessionX | Persistent Storage for Arbitrary Data (for Embperl) | package
| perl-Apache-SessionX | Persistent Storage for Arbitrary Data (for Embperl) | srcpackage
| perl-Apache2-AuthCookieDBI | An AuthCookie module backed by a DBI database. | package
| perl-MasonX-Request-WithApacheSession | Add a Aession to the Mason Request Object | package
| perl-MasonX-Request-WithApacheSession | Add a Aession to the Mason Request Object | srcpackage
Pacifica:/home/phardin/Documents #

Holy Cats!! What a bunch of packages!

Ok. I happen to know that mediawiki is written in php. I know I need to be able to use postgres with apache. I know I need to use subversion with apache. I will look for anything that might help me with this. First, I want to see what will get installed with the basic apache2 package.

To do this I will use zypper with the 'dry run' option:

Pacifica:/home/phardin/Documents # zypper in -D apache2
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW packages are going to be installed:
apache2 apache2-prefork apache2-utils libapr1 libapr-util1


Overall download size: 1.3 M. After the operation, additional 3.4 M will be used.
Continue? [YES/no]:
Retrieving package libapr1-1.3.8-2.1.i586 (1/5), 131.0 K (293.0 K unpacked)
Retrieving: libapr1-1.3.8-2.1.i586.rpm [done]
Installing: libapr1-1.3.8-2.1 [done]
Retrieving package libapr-util1-1.3.9-2.1.i586 (2/5), 99.0 K (215.0 K unpacked)
Retrieving: libapr-util1-1.3.9-2.1.i586.rpm [done]
Installing: libapr-util1-1.3.9-2.1 [done]
Retrieving package apache2-utils-2.2.10-2.8.1.i586 (3/5), 109.0 K (176.0 K unpacked)
Retrieving: apache2-utils-2.2.10-2.8.1.i586.rpm [done]
Installing: apache2-utils-2.2.10-2.8.1 [done]
Retrieving package apache2-prefork-2.2.10-2.8.1.i586 (4/5), 263.0 K (583.0 K unpacked)
Retrieving: apache2-prefork-2.2.10-2.8.1.i586.rpm [done (33.9 K/s)]
Installing: apache2-prefork-2.2.10-2.8.1 [done]
Retrieving package apache2-2.2.10-2.8.1.i586 (5/5), 746.0 K (2.1 M unpacked)
Retrieving: apache2-2.2.10-2.8.1.i586.rpm [done (180.0 K/s)]
Installing: apache2-2.2.10-2.8.1 [done]
Pacifica:/home/phardin/Documents #

I think all I need to add to this is documentation and php5 support:

Pacifica:/home/phardin/Documents # zypper in apache2 apache2-mod_php5 apache2-doc
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW packages are going to be installed:
apache2 apache2-doc apache2-mod_php5 apache2-prefork apache2-utils libapr1
libapr-util1 libmm14 php5 php5-ctype php5-dom php5-hash php5-iconv php5-json php5-pdo
php5-sqlite php5-tokenizer php5-xmlreader php5-xmlwriter


Overall download size: 5.5 M. After the operation, additional 19.9 M will be used.
Continue? [YES/no]:
Retrieving package libmm14-1.4.2-16.79.i586 (1/19), 40.0 K (40.0 K unpacked)
Installing: libmm14-1.4.2-16.79 [done]
Retrieving package libapr1-1.3.8-2.1.i586 (2/19), 131.0 K (293.0 K unpacked)
Retrieving: libapr1-1.3.8-2.1.i586.rpm [done]
Installing: libapr1-1.3.8-2.1 [done]
Retrieving package apache2-doc-2.2.10-2.8.1.i586 (3/19), 1.7 M (10.0 M unpacked)
Retrieving: apache2-doc-2.2.10-2.8.1.i586.rpm [done (452.4 K/s)]
Installing: apache2-doc-2.2.10-2.8.1 [done]
Retrieving package libapr-util1-1.3.9-2.1.i586 (4/19), 99.0 K (215.0 K unpacked)
Retrieving: libapr-util1-1.3.9-2.1.i586.rpm [done]
Installing: libapr-util1-1.3.9-2.1 [done]
Retrieving package php5-5.3.1_git200911032107-29.1.i586 (5/19), 1.0 M (3.0 M unpacked)
Retrieving: php5-5.3.1_git200911032107-29.1.i586.rpm [done (263.7 K/s)]
Installing: php5-5.3.1_git200911032107-29.1 [done]
Retrieving package php5-xmlwriter-5.3.1_git200911032107-29.1.i586 (6/19), 41.0 K (38.0 K unpacked)
Retrieving: php5-xmlwriter-5.3.1_git200911032107-29.1.i586.rpm [done]
Installing: php5-xmlwriter-5.3.1_git200911032107-29.1 [done]
Retrieving package php5-tokenizer-5.3.1_git200911032107-29.1.i586 (7/19), 37.0 K (18.0 K unpacked)
Retrieving: php5-tokenizer-5.3.1_git200911032107-29.1.i586.rpm [done (570 B/s)]
Installing: php5-tokenizer-5.3.1_git200911032107-29.1 [done]
Retrieving package php5-pdo-5.3.1_git200911032107-29.1.i586 (8/19), 66.0 K (91.0 K unpacked)
Retrieving: php5-pdo-5.3.1_git200911032107-29.1.i586.rpm [done]
Installing: php5-pdo-5.3.1_git200911032107-29.1 [done]
Retrieving package php5-json-5.3.1_git200911032107-29.1.i586 (9/19), 43.0 K (34.0 K unpacked)
Retrieving: php5-json-5.3.1_git200911032107-29.1.i586.rpm [done]
Installing: php5-json-5.3.1_git200911032107-29.1 [done]
Retrieving package php5-iconv-5.3.1_git200911032107-29.1.i586 (10/19), 45.0 K (34.0 K unpacked)
Retrieving: php5-iconv-5.3.1_git200911032107-29.1.i586.rpm [done]
Installing: php5-iconv-5.3.1_git200911032107-29.1 [done]
Retrieving package php5-hash-5.3.1_git200911032107-29.1.i586 (11/19), 105.0 K (190.0 K unpacked)
Retrieving: php5-hash-5.3.1_git200911032107-29.1.i586.rpm [done (206 B/s)]
Installing: php5-hash-5.3.1_git200911032107-29.1 [done]
Retrieving package php5-dom-5.3.1_git200911032107-29.1.i586 (12/19), 74.0 K (151.0 K unpacked)
Retrieving: php5-dom-5.3.1_git200911032107-29.1.i586.rpm [done]
Installing: php5-dom-5.3.1_git200911032107-29.1 [done]
Retrieving package php5-ctype-5.3.1_git200911032107-29.1.i586 (13/19), 35.0 K (14.0 K unpacked)
Retrieving: php5-ctype-5.3.1_git200911032107-29.1.i586.rpm [done]
Installing: php5-ctype-5.3.1_git200911032107-29.1 [done]
Retrieving package apache2-utils-2.2.10-2.8.1.i586 (14/19), 109.0 K (176.0 K unpacked)
Retrieving: apache2-utils-2.2.10-2.8.1.i586.rpm [done (34.7 K/s)]
Installing: apache2-utils-2.2.10-2.8.1 [done]
Retrieving package apache2-prefork-2.2.10-2.8.1.i586 (15/19), 263.0 K (583.0 K unpacked)
Retrieving: apache2-prefork-2.2.10-2.8.1.i586.rpm [done]
Installing: apache2-prefork-2.2.10-2.8.1 [done]
Retrieving package php5-xmlreader-5.3.1_git200911032107-29.1.i586 (16/19), 41.0 K (26.0 K unpacked)
Retrieving: php5-xmlreader-5.3.1_git200911032107-29.1.i586.rpm [done]
Installing: php5-xmlreader-5.3.1_git200911032107-29.1 [done]
Retrieving package php5-sqlite-5.3.1_git200911032107-29.1.i586 (17/19), 71.0 K (132.0 K unpacked)
Retrieving: php5-sqlite-5.3.1_git200911032107-29.1.i586.rpm [done]
Installing: php5-sqlite-5.3.1_git200911032107-29.1 [done]
Retrieving package apache2-2.2.10-2.8.1.i586 (18/19), 746.0 K (2.1 M unpacked)
Retrieving: apache2-2.2.10-2.8.1.i586.rpm [done (189.9 K/s)]
Installing: apache2-2.2.10-2.8.1 [done]
Additional rpm output:
Starting SuSEconfig, the SuSE Configuration Tool...
Running module permissions only
Reading /etc/sysconfig and updating the system...
Executing /sbin/conf.d/SuSEconfig.permissions...
Finished.
Updating etc/sysconfig/apache2...
looking for old 2.0 modules to be renamed...
Done.


Retrieving package apache2-mod_php5-5.3.1_git200911032107-29.1.i586 (19/19), 945.0 K (2.8 M unpacked)
Retrieving: apache2-mod_php5-5.3.1_git200911032107-29.1.i586.rpm [done (248.8 K/s)]
Installing: apache2-mod_php5-5.3.1_git200911032107-29.1 [done]
Pacifica:/home/phardin/Documents #

It took me 3 times to get the command line right on that. I kept checking that first section that told me what would be installed and then asked the yes, or no question. I kept saying 'no' until I saw the right packages appear.

One other thing I need is PHP. I think it is already installed:

Pacifica:/home/phardin/Documents # zypper if PHP5
Loading repository data...
Reading installed packages...


Information for package PHP5:

Repository: @System
Name: php5
Version: 5.3.1_git200911032107-29.2
Arch: i586
Vendor: openSUSE Build Service
Installed: Yes
Status: up-to-date
Installed Size: 3.0 M
Summary: PHP5 Core Files
Description:
This package contains the PHP5 core files, including PHP binary (CLI)
and PHP configuration (php.ini). This package must be installed in
order to use PHP. Additionally, extension modules and server modules
(e.g. for Apache) may be installed.

Additional documentation is available in package php-doc.
Pacifica:/home/phardin/Documents #


Now, we have the docs, we have the modules, we have the apache2 server, and we have the /etc/init.d/apache2 script to start the engine. Let's see what happens when we crank it up!

/etc/init.d/apache2 start

Crank up my trusty browser and type in: localhost and hit return....
Access Denied!
This is fabulous as it means my server is running and on the job.

For OpenSuse the configuration files for apache2 are in /etc/apache2<.code>. Here you will find a file called, default-server.conf, which is largely a set of include statements. configuration for add-on sites and modules is in, conf.d. Looking there I see a configuration file, apache2-manual.conf. Reading this configuration I see that it is expecting to find the apache2 manual at, /usr/share/apache2/manual. A quick check shows me that this is where the installed manual is. But, the permissions are all wrong for the server to read these files.

When I posted about setting up the postgresql server I noted that a new user and group had been created with the installation of postgresql, postgres and postgres. Well a similar thing has happened with apache2. Now there is a user, wwwrun, and user, www. I will change the ownership of the files and directories in the manual directory all in one shot with the, chown -R wwwrun:www /usr/share/apache2/manual, command.

Back to the browser, http://localhost/manual/en, and there it is!

Next, I will be going back to my postgres installation and configuring it to handle backing a mediawiki site so I can keep track of my coding documentation.

Wednesday, November 04, 2009

TechEntry Installing Postgresql on OpenSuse 11.1

Long time no post. Today I am starting a series where I will be installing a full Java development environment on my home network. Today I will be installing Postgresql on my home server.



Commands used in this blog
CommandDescription
zypperOpenSuSE package manager command-line tool.
vimNot explicitly listed, but I use the VIM text editor to modify configuration files.
psqlCommand-line client for PostgreSQL.
/etc/init.d/*Not really a command, but the directory in most Linux distributions where services are started, stopped, and restarted.


First, I use the zypper repository tool to see what packages are available:
Breaking down the zypper command line:

zypper

-- The binary. You should be root or using sudo to run this.

se

-- se is short for search.

postgresql

-- The string, or substring, to look for in the package names.



Pacifica:/home/phardin # zypper se postgresql
Retrieving repository 'Mozilla' metadata [done]
Building repository 'Mozilla' cache [done]
Loading repository data...
Reading installed packages...

S | Name | Summary | Type
--+----------------------------------------+----------------------------------------------------+-----------
| CDnavigator-postgresql | Postgresql files for CDnavigator | package
| Io-language-postgresql | Io postgresql bindings | package
| OpenOffice_org-base-drivers-postgresql | PostgreSQL Database Driver for OpenOffice.org | package
| VdrAssistant-postgresql | VdrAssistant database package | package
| gambas2-gb-db-postgresql | The postgresql driver for the Gambas database co-> | package
| libqt4-sql-postgresql | Qt 4 PostgreSQL plugin | package
| mono-data-postgresql | Database connectivity for Mono | package
| pdns-backend-postgresql | PostgreSQL backend for pdns | package
| postfix-postgresql | Postfix plugin to support PostgreSQL maps | package
| postgresql | Basic Clients and Utilities for PostgreSQL | package
| postgresql | Basic Clients and Utilities for PostgreSQL | srcpackage
| postgresql | postgresql: security update | patch
| postgresql-contrib | Contributed Extensions and Additions to PostgreSQL | package
| postgresql-devel | PostgreSQL development header files and libraries | package
| postgresql-docs | HTML Documentation for PostgreSQL | package
| postgresql-jdbc | JDBC Drivers for PostgreSQL | package
| postgresql-libs | Shared Libraries Required for PostgreSQL Clients | package
| postgresql-plperl | The PL/Tcl, PL/Perl, and PL/Python procedural l-> | package
| postgresql-plpython | The PL/Python Procedural Languages for PostgreSQL | package
| postgresql-pltcl | PL/Tcl Procedural Language for PostgreSQL | package
| postgresql-server | The Programs Needed to Create and Run a PostgreS-> | package
| python-storm-postgresql | PostgreSQL backend for python-storm | package
| qt3-postgresql | A PostgreSQL Plug-In for Qt | package
| rekall-postgresql | Rekall PostgreSQL Database Backend | package
| tntdb1-postgresql | Tntdb is a c++-class-library for easy database-a-> | package


I want the documents, the postgres package, and the contrib. I'll be installing a mediawiki, written in php and run through an apache server. I don't see any packages I need to worry about for that end. So:

Pacifica:/home/phardin # zypper in postgresql
Retrieving repository 'openSUSE BuildService - Virtualization (VirtualBox)' metadata [done]
Building repository 'openSUSE BuildService - Virtualization (VirtualBox)' cache [done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW packages are going to be installed:
libgda-3_0-postgres libgda-4_0-postgres postgresql postgresql-libs


Overall download size: 1.3 M. After the operation, additional 5.1 M will be used.
Continue? [YES/no]:
Retrieving package postgresql-libs-8.3.8-0.1.1.i586 (1/4), 175.0 K (560.0 K unpacked)
Retrieving: postgresql-libs-8.3.8-0.1.1.i586.rpm [done]
Installing: postgresql-libs-8.3.8-0.1.1 [done]
Retrieving package libgda-3_0-postgres-3.1.2-82.42.i586 (2/4), 47.0 K (119.0 K unpacked)
Installing: libgda-3_0-postgres-3.1.2-82.42 [done]
Retrieving package postgresql-8.3.8-0.1.1.i586 (3/4), 1.0 M (4.2 M unpacked)
Retrieving: postgresql-8.3.8-0.1.1.i586.rpm [done (260.4 K/s)]
Installing: postgresql-8.3.8-0.1.1 [done]
Retrieving package libgda-4_0-postgres-4.0.1-22.9.i586 (4/4), 68.0 K (230.0 K unpacked)
Retrieving: libgda-4_0-postgres-4.0.1-22.9.i586.rpm [done]
Installing: libgda-4_0-postgres-4.0.1-22.9 [done]
Pacifica:/home/phardin # zypper in postgresql-contrib
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW packages are going to be installed:
postgresql-contrib postgresql-server


Overall download size: 3.3 M. After the operation, additional 13.5 M will be used.
Continue? [YES/no]:
Retrieving package postgresql-server-8.3.8-0.1.1.i586 (1/2), 3.0 M (12.4 M unpacked)
Retrieving: postgresql-server-8.3.8-0.1.1.i586.rpm [done (413.9 K/s)]
Installing: postgresql-server-8.3.8-0.1.1 [done]
Additional rpm output:
Updating etc/sysconfig/postgresql...


Retrieving package postgresql-contrib-8.3.8-0.1.1.i586 (2/2), 297.0 K (1.1 M unpacked)
Retrieving: postgresql-contrib-8.3.8-0.1.1.i586.rpm [done]
Installing: postgresql-contrib-8.3.8-0.1.1 [done]
Pacifica:/home/phardin # zypper in postgresql-docs
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
postgresql-docs


Overall download size: 1.4 M. After the operation, additional 8.5 M will be used.
Continue? [YES/no]:
Retrieving package postgresql-docs-8.3.8-0.1.1.i586 (1/1), 1.4 M (8.5 M unpacked)
Retrieving: postgresql-docs-8.3.8-0.1.1.i586.rpm [done (171.1 K/s)]
Installing: postgresql-docs-8.3.8-0.1.1 [done]
Pacifica:/home/phardin #

Now, I should have some new files, directories, and controls installed.
Starting and stopping may be done with the script:
/etc/init.d/postgresql
The data repository is in:
/var/lib/pgsql/
The server has a new user: postgres and a new group: postgres.
The primary package and contrib are in /usr/share/postgresql and the documentation package has left a nice fat directory in /usr/share/doc/postgresql.

The following applications have been added, as seen in this listing of /usr/bin:

Pacifica:/home/phardin # ls /usr/bin/pg_*
/usr/bin/pg_controldata /usr/bin/pg_dump /usr/bin/pg_resetxlog /usr/bin/pg_standby
/usr/bin/pg_ctl /usr/bin/pg_dumpall /usr/bin/pg_restore

Now read the file /usr/share/doc/packages/postgresql/README.SuSE.en to get some good advice and a bit of the lay of the land according to SuSE. This is a good start, but we still don't have a running database.
As root type in the following to launch your database engine:
/etc/init.d/postgresql start
Now, you're still root, change your user to postgres:
su postgres
Start up the postgresql shell:
Pacifica:/home/phardin/Documents # su postgres
postgres@Pacifica:/home/phardin/Documents> psql
Welcome to psql 8.3.8, the PostgreSQL interactive terminal.

Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit

postgres=#


Woot!!

Last thing... and this is IMPORTANT! Change the password for postgres:
postgres=# alter user postgres with password 'bingo;';
ALTER ROLE
postgres=#

Now, run to your browser and cranke up a local documentation page, which you downloaded with postgresql file:///usr/share/doc/packages/postgresql/html/index.html. Read about architecture, sql, data types, and other great things.

Next we will install the adminpack from the contrib directory and then we will load up an administration tool to help us manage users, databases, tables, roles, and permissions.

We now have a database that we can log into while we are user postgres. This is a good proof of concept, but more work is obviously needed. But, for now, this is all we need.

Next I will move on to getting apache2 web server installed. My goal here is to be able to server up a subversion code repository and to serve up a mediawiki instance for documentation and notes.

Hope this helps someone,

LandShark

Wednesday, April 08, 2009

Wicked!!


Last weekend we went up to Portland and saw the Broadway show Wicked. It was GREAT! The girls got all gussied up and we went ahead and got some swag to remember the occasion by.

Kind of funny, Whitney dressed up in this pink taffeta dress she got for Easter last year. When Galinda makes her grand entrance, she is wearing a pink flouncy dress too. It made Whitney look like quite the fan-girl. :-)



The show was at Keller auditorium in downtown Portland. The girls were absolutely riveted to the stage and both said they enjoyed the show. After the show we went to the Old Spaghetti Factory and had a great time slurping spaghetti. We finished up by going to my brother's house and the girls got some time with their cousin.

The next morning, the girls showed off their Wicked swag before we went to church.



When we got home from church I declared that a walk was in order. We had eaten very well in Portland and the sun was shining and the Valley was acting like it was July instead of April. As we walked along we came to a tree that was a vibrant pink with flowers on every inch of the canopy. When we got under the tree we realized that the whole tree was buzzing. I had the camera with me and took the opportunity to catch some honey bees doing their part to bring summer on.





We continued on to the park with the girls talking a mile a minute. Some friends crossed our path, headed for a baseball try-out. When we got done talking with them we noticed that the girlie-girls had never stopped. They were so into their own world of make-believe that we had ceased to exist. It was very fitting for the day and for the fantastic weekend we were finishing. This picture, to me, captures the way that weekend felt.




In the midst of all the world's chaos.... life is Good.

Land Shark

Monday, March 30, 2009

KDE 4.2 Plasma Techno-Rant

Hey there,


I promise, my next post will be centered on the Mermaids, but I have been attempting to use KDE 4.2 on my SuSE boxes at home for the last 3 months and have come to a painful conclusion; Plasma and KDE 4.2 are more trouble than they are worth.

To start with, plasma is heavy and slow. When I log in to one of my systems it takes a couple of minutes before plasma can manage to get around to launching the network manager and get my connected to the world. By this time all my networked applications have already fired off and timed out.

So, I thought, save a session without any of these applications running and log into that saved session. Ooops, if there is a way to save a session in KDE 4.2, I can not find it.

Next try. I closed all the networked applications, logged out, and logged back in. It still took over a minute before my network connection managed to crawl out of Plasma.

On to the desktop itself I have tried using Plasma widgets. And tried. And tried. And thought, wow, this is just my desktop! Why am I spending all this time mucking with it?

What goes wrong?

Here are a few of the issues I have had:


  • Placement: the widgets do not remain where I place them.

  • Settings: using the directory widgets , they frequently revert back to my home directory.

  • Session Loss: some times when I log in, all the desktop settings and widgets are just plane gone.


There may be fixes, work-arounds, and alternate use cases that I could use, but why? This is supposed to be a background for my work. The concepts may be aimed at making it a more useful and supportive background, but the implementation makes makes the desktop environment a black hole for time.

I have used KDE on SuSE for the better part of the last decade. I will keep using KDE 4.2 on SuSE, but in a minimalist form. Doing my best to ignore it and pretend it does not exist. Because, so far, all the time spent on it has not added one jot to my productivity.

I am using the 'Factory' repositories and will keep updating the KDE subsystem, but I think some very basic things must be fixed in the plasma environment before I would recommend it to anyone.

If you think I am using the environment incorrectly, or missing the point, please comment.

thanks,

LandShark