Unix

Storing Drupal Hierarchy in Subversion

Posted in | »

Often it may prove desirable to push an entire Drupal hierarchy into subversion. The example only provides for local file access.

On Fedora 8 subversion is already installed. To check if installation already present.

rpm -q subversion

Login as root and create subversion root dir and children.

[root~]# mkdir /svndir
[root~]# mkdir -p /svndir/repos
[root~]# mkdir /svndir/users
[root~]# mkdir /svndir/permissions
[root~]# chown -fhR webmaster.apache svndir

Now create repository for our html dir.

Submitted by Jonathan Mitchell on Sat, 05/30/2009 - 13:03

Configuring Outgoing Mail for Drupal with Postfix

Posted in | »

Scenario: Drupal 6 running on a Fedora 8 VPS requiring to send outgoing mail only via a Bluehost mail server.

Submitted by Jonathan Mitchell on Thu, 05/28/2009 - 22:01

Common unix admin commands

Posted in | »

Some common unix admin stuff for Fedora 8.

Apache (httpd)

Edit conf file: nano /etc/httpd/conf/httpd.conf
Restart: /sbin/service httpd restart

Logs

Log dir: cd /var/log
Apache log dir: cd /var/log/httpd
Log watching: tail -f my_log

Users

Add new user: useradd -G group username
Add existing user to group: usermod -a -G apache webmaster

Webmin

Restart: /etc/webmin/restart

Submitted by Jonathan Mitchell on Tue, 05/26/2009 - 10:37