Open Source

Drupal's magical "DRUSH" CLI

I have just spent a few hours getting familiar with this cool tool. Drush allows most housekeeping for Drupal sites to be done from a command line - it's a wonderful thing. Just take a look at how much I got done executing this single command:

sudo drush @veo up

And here's what it did for me:


donmc@jbt:/var/www/VEOffice$ sudo drush @veo up
Update information last refreshed: Sat, 04/28/2012 - 16:25

Update status information on all installed and enabled Drupal projects:
 Read more »

Apache2 CMD to check VHOST Settings...

Well - since Apache V2 the ONLY command to use is apparently "apache2ctrl" as follows:
Note this command will parse the VHOST configs and dump them to StandardOut...

sudo /usr/sbin/apache2ctl -t -D DUMP_VHOSTS

Settings (in Vista and Windows 7) to access Samba Shares...

Microsoft Vista’s default security policy is to only use NTLMv2 authentication. I am not sure what the setting is by default in Windows 7 - so this may apply there too.

Note that NTLMv2 authentication is supported in Samba 3.0+

Seems like we ought to be heading towards Kerberos for all our authentication needs in the longer term.

See the forum discussion on this at:
http://www.builderau.com.au/blogs/codemonkeybusiness/viewblogpost.htm?p=...

HP Array Configuration Utility in a Redhat Linux Server

To review the HP Drive Array Diagnostics in a Redhat Linux Server:

Start the services:
hp-health System Health Monitor and Command line Utility Package.
hpsmhd    System Management Homepage server.

Then start the "Array Configuration Utility":

# sudo  /usr/sbin/cpqacuxe -R

Then browse to the URL on your server (in this example 10.2.2.1):
https://10.2.2.1:2381

Fixing the Twitter module in Drupal

The Twitter module for Drupal now needs to use the new OAuth module for authentication in Twitter.  This has broken many web sites.  I use this feature on this site to automatically post a tweet whenever I add a new blog entry.  I use a global account in Drupal to do it, rather than individual Twitter accounts for each drupal user.

Find CPU info in Linux

This command will give you all of the known info regarding the processor(s) under linux:
# less /proc/cpuinfo

Interface config in Debian Linux

Configuring DHCP address for your network card

If you want to configure DHCP address you need to edit the /etc/network/interfaces and you need to enter the following lines replace eth0 with your network interface card

sudo vi /etc/network/interfaces
# The primary network interface: DHCP address assignment
auto eth0
iface eth0 inet dhcp

Configuring Static IP address for your network card Read more »

Manual Start/Stop of the GUI in Ubuntu

To stop the GUI:

Code:
The easist way is to open a terminal and execute these commands:

sudo /etc/init.d/gdm stop

And then ctrl+alt+backspace to end your current session

To restart the GUI:

sudo /etc/init.d/gdm start

how to build a DRUPAL Ubuntu Server from scratch

Fantastic writeup of how to build a DRUPAL Ubuntu Server from scratch:
http://2bits.com/articles/installing-a-dedicated-server-or-a-vps-with-ub...

Besides its success on the desktop, Ubuntu has become a popular server distribution as well. With the release of Hardy Heron 8.04, Canonical is making this release a Long Term Support (LTS) version, with 5 years support on servers. Read more »

A fantastic medley of modules for the discerning drupal developer

A featured story on drupal.org: Case Study of OpenTheMagazine.com
In the story, we get a fantastic closeup view of the drupal modules used and the reasoning behind their use. For a young Drupal developer/user, it is a very useful article.

The "Heroes" of the site were considered to be Views 2, CCK, & for search, Apache SOLR.
The list below of other drupal modules used by the site is excerpted from the article on drupal.org:

Syndicate content