User login

Agaric

Putting a local project maintained in git on a server as a central repository

Note: The agaric git repository is not public, but this approach will work on your own server.

Stefan explained: copy your folders to your home dir on the server, cd to /srv/git and then run git clone --bare folder folder.git

cd ~
scp -r customhome [email protected]:~/customhome

On the server:

[email protected]:/srv/git/agaric$ git clone --bare ~/customhome customhome.git

Initialized empty Git repository in /srv/git/agaric/customhome.git/

And don't forget!

What Agaric stands for in two sentences plus asterisk (brainstorm)

Agaric... what the dictionary has to say:

agaric
Noun
any fungus with gills on the underside of the cap, such as a mushroom [Greek agarikon]
ag·a·ric (gr-k, -grk)
n.
1. Any of various mushrooms of the genera Agaricus, Fomes, or related genera, having large umbrellalike caps with numerous gills beneath.
2. The dried fruiting body of certain fungal species in the genus Fomes, formerly used in medicine, especially to inhibit the production of sweat.

Helper script for deploying Drupal sites in Agaric's system

To get an agaric project repository, without the helper script, it's simply: git clone git.agariclabs.org:/srv/git/whoswho.git

And get the current version of the script at https://gitorious.org/agaric-scripts

File: 
File: 

Description of and Guidelines for use of Data dot Agaric (Open Data Drupal distribution)

a quick list of guidelines for data.agaric (and the coming Open Data distribution)

After you log in, there will be links to create content

in each content there are many vocabularies. The idea is that you tag EVERYTHING that is related to that content

if it's an "idea", tag everyone that talked about it. If it's a module, tag it with Drupal as a project (oh yeah, Drupal is a project, not a tag), and all other related modules... and even websites we've made that use these modules

key word fairly liberally.

How to restart Drupal bot (and wish to automatically restart)

The first start

cd /home/members/agariclabs/sites/my.agaric.com/web/sites/all/modules/bot
php bot_start.php --root /home/members/agariclabs/sites/my.agaric.com/web --url http://my.agaric.com&

Older discussion about restarting below (uses test server paths)

To restart your friendly neighborhood drupal bot when it no longer responds to commands, first kill the zombie bot for real.

When you kill it, the bot disappears from the channels so you don't have to kick it out, and the re-started bot will be able to claim its proper name.

Installing Drush

We are fTollowing our Debian-inspired sysadmin, Stefan Freudenberg, in the locations of this extra-Drupal project, but you can put it anywhere.

Remember to check the Drush project page for the latest version to wget, and replace the CURRENT-VERSION tarball link with that. This will be the last module you ever have to do that for.

Passwordless SSH (using Public Keys and Agent Forwarding)

Part I: Private and Public Keys

SSH public key authentication requires the user to create a public/private key pair on her machine. It's easy:

ssh-keygen

A key pair will be generated (it is ok to hit enter every time you are prompted by the key generator) and stored in ~/.ssh. The default names are id_rsa/id_rsa.pub and id_dsa/id_dsa.pub depending on the encryption algorithm. For each device used to connect to remote machines via ssh this must be repeated. It's not a good idea to spread the private key.

Syndicate content