DTC-Xen Installation

DTC-Xen / Dom0 Howtos

DTC-Xen / DomU Howtos


DTC Howtos




Devel docs

Wiki - i18n

Wiki - Meta

Setting-up a Mac OS X with DTC

1. Starting MySQL server

Go in Applications/Server/MySQL Manager''' - Install the files needed by sql by clicking on the button - setup a root mysql password - start the service

2. Configure php4 to connect to the mysql socket

To change the location where PHP looks for the socket file, follow these steps:

  • In Terminal: sudo cp /etc/php.ini.default /etc/php.ini
  • Open /etc/php.ini in your preferred text editor.
  • Find the [MySQL] section, and change the mysql.default_socket directive:
     ; Default socket name for local MySQL connects.  If empty, uses the built-in
     ; MySQL defaults.
     mysql.default_socket = /var/mysql/mysql.sock
  • Change the permissions on /var/mysql so that www can read the socket, by executing this in Terminal:
      sudo chmod 775 /var/mysql

Once you have it setup, you can process the rest of the install

3. Enable php4 directives in httpd.conf

Add the following directives to your config:

   LoadModule php4_module libexec/httpd/
   LoadModule log_sql_module libexec/httpd/
   LoadModule log_sql_mysql_module libexec/httpd/

And check that those are set AFTER the ClearModuleList directive:

   AddModule mod_php4.c
   AddModule mod_log_sql.c
   AddModule mod_log_sql_mysql.c

Note that DTC has and compiled for PPC. If it doesn't find it will copy it from the archive. But if you use an Intel based Mac, You need to recompile those 2 .so modules from our cvs using those commands:

   cvs -d checkout libapache-mod-log-sql
   cd libapache-mod-log-sql
   patch -p1 <debian/patch/001-mod_log_sql.c.dpatch
   patch -p1 <debian/patch/002-mod_log_sql.h.dpatch
   ./configure --prefix=/usr --mandir=/usr/share/man --with-apxs=/usr/bin/apxs
   make install

4. Install the panel itself

Download our latest release from here:

Untar the archive, then run the installer using ./install.

Editing this page means accepting its license.

Page last modified on January 16, 2007, at 08:04 AM EST