GNU-Linux

Updating modules with Drush and Agaric's wrapper scripts

Key words and phrases: 
Drupal shell updating modules
Description & Info: 

cd /sites/PROJECTNAME/www/sites/all/modules/
sudo /srv/scripts/agaric-updatemodule.sh MODULENAME

by Benjamin Melançon
Posted on Sun, 2008-09-07 15:21
in

Weird error from SVN on use of site deployment script

Key words and phrases: 
subversion
Description & Info: 

ben@server:~$ sudo /srv/scripts/agaric-newproject.sh 6 testing testing.com testing.org

svn: MKCOL of '/srv/svn/agaric/!svn/wrk/63dfc22d-3df4-47e9-8306-5e7dbcfefd62/agaric-sites/testing/apache': 405 Method Not Allowed (https://example.com)
by Benjamin Melançon
Posted on Thu, 2008-09-04 10:33
in

MySQL user at any host doesn't work, needs localhost in some local personal computer development environments

Description & Info: 

Where the user, password, and database are all "xmp".

ben@blackbox:/var/www/xmp$ mysql -u xmp -pxmp xmp < IMPORT_THIS_TO_YOUR_XMP_DB.sql

ERROR 1045 (28000): Access denied for user 'xmp'@'localhost' (using password: YES)

i can't even get that to work

by Benjamin Melançon
Posted on Wed, 2008-09-03 20:03
in

CVS update, Piston update, and SVN commit of Drupal core upgrade for deployed site

Description & Info: 

I am not entirely sure Piston provides a vital role here, but for now I'd just like to say it worked!

Here is the very basic test. Ordinarily you wouldn't be updating core immediately after deploying a new site, but unlike me ordinarily you would be paying attention.

by Benjamin Melançon
Posted on Thu, 2008-08-28 15:45
in

Virtual hosts on Mac OS X Leopard with XAMPP

Key words and phrases: 
vhost virtual hosts Mac OS X 10.5
Description & Info: 

On xampp for Mac OS X,

vi /Applications/xampp/etc/httpd.conf

And uncommented:

# Virtual hosts
Include /Applications/xampp/etc/extra/httpd-vhosts.conf

vi /Applications/xampp/etc/extra/httpd-vhosts.conf

Added (following their dummy-host example quite closely)

ServerAdmin webmaster@localhost
DocumentRoot "/sites/example/htdocs"

by Benjamin Melançon
Posted on Thu, 2008-08-28 11:22
in

SSH over the Web

Description & Info: 

Facebook comment left by high school friend and genius Jonathan Craven:

I know you're more of a PHP guy, but there's a nice Java webapp called SshWebProxy that lets you use ssh within a web browser when you're not allowed to use port 22. The interface is pretty primitive but it can really be useful in a jam.

by Benjamin Melançon
Posted on Mon, 2008-08-25 07:37
in

Done with Piston now, too

Description & Info: 

Too much damn trouble. Piston is out. We will just get drupal core from CVS directly, and use scripts to make it easy to get and update to the current version.

https://example.com/repospath/svn/agaric/drupal-core/drupal-6: (Not a valid URL)
https://example.com/repospath/svn/agaric/drupal-core/drupal-6

Ebony-II:~ ben$ sudo /srv/scripts/agaric-checkout.sh peacetones

by Benjamin Melançon
Posted on Mon, 2008-08-04 08:18
in

Make a new Drupal site project in the Agaric system

Key words and phrases: 
Set up new site the Agaric way roll out another site using the Agaric system install new site make new site Create new site procedure
Description & Info: 

Run from anywhere on the test or development server:

sudo /srv/scripts/agaric-newproject.sh 5 myagaric myagaric.com my.agaricdesign.com

You'll see a fair amount of output, and the last line you see should be:

Site myagaric installed; run /etc/init.d/apache2 reload to enable.

by Benjamin Melançon
Posted on Wed, 2008-07-30 12:02
in

How to add users to or edit user passwords for a Subversion repository

Key words and phrases: 
svn password
Description & Info: 

add new users to an svn repository:

sudo vi svnrepo/conf/passwd

by Benjamin Melançon
Posted on Thu, 2008-07-17 22:12
in

See what Subversion repository you are drawing from with vi .svn/entries

Key words and phrases: 
svn source svn see what repository link is get what subversion repository you are drawing from Where is the location of my svn repos
Description & Info: 

See from what repository checked out subversion code is from by looking at the entries file in a dot SVN folder:

ben@server:/var/www/drupal-5-live/sites/democraticmedia.ca$ vi .svn/entries

Here is the key line, "https://dev.grassrootsconnection.org/svn/drupal/anderson/trunk/democraticmedia.ca," from this output:

8

dir
1375

vi .svn/entries