This website is composed of information connected through taxonomy. It is simultaneously a proof-of-concept and a means to allow Agaric to share and store information both within the collective and the world as part of our open documentation philosophy.

User login

This website is composed of information connected through taxonomy. It is simultaneously a proof-of-concept and a means to allow Agaric to share and store information both within the collective and the world as part of our open documentation philosophy.

GNU-Linux Command Line Resources

Overview, features, shortcuts

Grid of commands

File permissions (see also file and directory ownership commands)

Overview, features, shortcuts

Grid of commands

File permissions (see also file and directory ownership commands)

Segmentation fault 11 error – Voodoo Zoodoo

A problem we dealt with that we very much hope no one else ever sees: a brand new virtual private server install, CentOS, Apache, PHP5, and Webmin, and everything worked except our Drupal site, which came up completely blank.

I am getting a seg fault when I try and run. this line is showing up in the apache error log

'exit signal Segmentation fault (11)'

anyone familiar with this?

here are some drupal notes:

http://drupal.org/node/63181

A problem we dealt with that we very much hope no one else ever sees: a brand new virtual private server install, CentOS, Apache, PHP5, and Webmin, and everything worked except our Drupal site, which came up completely blank.

I am getting a seg fault when I try and run. this line is showing up in the apache error log

'exit signal Segmentation fault (11)'

anyone familiar with this?

here are some drupal notes:

http://drupal.org/node/63181

http://drupal.org/node/57783#comment-167102

Vi Text Editor

The Vi (and its successor Vim, for Vi improved) text editor for Unix, GNU-Linux, and Mac OS X systems is a way to edit text files, including configuration, PHP, or HTML documents, through the command line interface. This includes, of course, using SSH to connect to a server.

To use it with even a minimum of efficiency, though, you need to know a fair number of its cheat codes– err, keyboard shortcuts.

These are resources the Agaric Designe Collective found useful (when we started out, now of course we can type sonnets and ASCII art on the command line in our sleep).

Transfer files from local computer to server

From the Agaric sysadmin:

On the command line, in the directory of the file you want to send:

ftp
open
(enter username + password)
bin
(navigate to the destination directory using cd )
put
quit (or exit)

That's all.

(Don't think this works if FTP isn't set up yet, though. May be a pure SSH way?)

keywords: Mac OS X Terminal upload to server, download linux shell command server local computer

From the Agaric sysadmin:

On the command line, in the directory of the file you want to send:

ftp
open
(enter username + password)
bin
(navigate to the destination directory using cd )
put
quit (or exit)

That's all.

(Don't think this works if FTP isn't set up yet, though. May be a pure SSH way?)

keywords: Mac OS X Terminal upload to server, download linux shell command server local computer

Urban Alliance for Sustainability

The Urban Alliance for Sustainability is undergoing a major upgrade to its e-mail architecture.

We should be live again within an hour.

Thank you for your understanding. If you have any immediate needs related to the site, please contact Ben Melançon.

UAS seeks to integrate and inspire the sustainability movement in the San Francisco Bay Area and beyond.
More individuals and organizations than ever before are co-creating a better, brighter world. The field is ripe for cultivation and collaboration!

The Urban Alliance for Sustainability is undergoing a major upgrade to its e-mail architecture. We should be live again within an hour. Thank you for your understanding. If you have any immediate needs related to the site, please contact Ben Melançon.
UAS seeks to integrate and inspire the sustainability movement in the San Francisco Bay Area and beyond. More individuals and organizations than ever before are co-creating a better, brighter world. The field is ripe for cultivation and collaboration!

sudo vs root

keywords: sudo access sudoize user

Agaric Design's sysadmin explains the world of sudo...

keywords: sudo access sudoize user

Agaric Design's sysadmin explains the world of sudo...

SCI Dorchester

http://scidorchester.org/

Social Capital Inc. president David Crowley described the site this way:

a new community website with a searchable, customizable database of community services in Dorchester; blogging tools for individuals and organizations; a calendar of events; and an open space to post anything to have to do with Dorchester--maybe your favorite restaurant or tip for avoiding Dot Ave traffic.

http://scidorchester.org/

Social Capital Inc. president David Crowley described the site this way:

a new community website with a searchable, customizable database of community services in Dorchester; blogging tools for individuals and organizations; a calendar of events; and an open space to post anything to have to do with Dorchester--maybe your favorite restaurant or tip for avoiding Dot Ave traffic.

The entire project is similar to one which Agaric Design Collective is helping in Natick, http://mynatick.org/

Update Taxonomy Terms code snippet

/* drupal taxonomy term conversion script by Agaric Design /
/
In some cases an older vocabulary may be replaced with a newer vocabulary. This script can help you replace terms from the older vocabulary with terms from the newer vocabulary. You'll have to create the association yourself, and put it in the form of an array as shown. /
/
keywords: convert category categories database vocab vocabulary terms
change taxonomy term tid
this might also be useful for splitting or merging vocabularies */

/* drupal taxonomy term conversion script by Agaric Design /
/
In some cases an older vocabulary may be replaced with a newer vocabulary. This script can help you replace terms from the older vocabulary with terms from the newer vocabulary. You'll have to create the association yourself, and put it in the form of an array as shown. /
/
keywords: convert category categories database vocab vocabulary terms
change taxonomy term tid
this might also be useful for splitting or merging vocabularies */

// Category - Old Taxonomy tid - New Taxonomy tid

// // Category name

Devel module and running PHP code

The Devel module (meaning development or developer, but just Devel) has the secret (that is, not well documented) ability to let you run PHP code directly, within the Drupal system, without first creating a node or a page to wrap it.

The textarea box for running code once you enable the Devel module (and give yourself permissions if not logged in as user 1) appears at the bottom of every page.

This can be useful for quickly using code snippets such as Agaric Design's Update Taxonomy Terms code snippet.

The Devel module (meaning development or developer, but just Devel) has the secret (that is, not well documented) ability to let you run PHP code directly, within the Drupal system, without first creating a node or a page to wrap it.

The textarea box for running code once you enable the Devel module (and give yourself permissions if not logged in as user 1) appears at the bottom of every page.

This can be useful for quickly using code snippets such as Agaric Design's Update Taxonomy Terms code snippet.

Drupal Site recipe...

... in shell CVS commands

The drupal core install with our very own 'Essential Mix' of drupal modules. Tested and approved by Agaric Design.

cd ~/public_html/

cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal checkout -r DRUPAL-4-7 -d cvsdrupal drupal

mkdir ~/public_html/cvsdrupal/sites/default/modules

cd ~/public_html/cvsdrupal/sites/default/modules

cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -r DRUPAL-4-7 -d cck contributions/modules/cck

... in shell CVS commands

The drupal core install with our very own 'Essential Mix' of drupal modules. Tested and approved by Agaric Design.

cd ~/public_html/

cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal checkout -r DRUPAL-4-7 -d cvsdrupal drupal

mkdir ~/public_html/cvsdrupal/sites/default/modules

cd ~/public_html/cvsdrupal/sites/default/modules

cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -r DRUPAL-4-7 -d cck contributions/modules/cck