Michael's Domain

The fact that everything looks different doesn't mean that all has changed

Web development


Webalizer on our server

The log files of virtual hosts are located in /var/log/httpd/vhost_name/ and named vhost_name-access_log etc. Webalizer config files for each virtual host are located in /etc/webalizer/ and are named vhost_name.conf. Also history files (vhost_name.hist and vhost_name.current) are located in the same directory. For each virtual host the following are editted in the config files: LogFile, OutputDir, HistoryName, IncrementalName, HostName.


RDF, image metadata, jpg/jpeg image annotation (RDFPic)

I am constantly adding images to my genealogy database. The final destination of these images is the web. The annotation of these images is stored inside the image file itself. I use jpeg images and I annotate the images with RDFPic. RDFPic is a java application that stores metadate using the RDF (resource description framework) format in the comment section of the jpeg file. Unfortunately the program can handle only jpeg images and not tif or png images.


Migrating the Mad Thought Blog to a new server (mysql, php)

  1. Dump the database data mysqldump --host=localhost --user=root -p journal >journal.sql
  2. Create the databse on the new machine mysql -u root -p CREATE DATABASE journal;
  3. Import the data into the database mysql -p -h localhost journal < journal.sql
  4. Create the user 'journal' GRANT ALL PRIVILEGES ON *.* TO 'journal'@'localhost' IDENTIFIED BY 'journal' WITH GRANT OPTION;

Updating gallery via CVS

  1. Run as root cvs update -Pd in the gallery2 directory
  2. Once your files have been updated, open up your Gallery 2 in your web browser and it will take you right to the upgrader automatically
  3. More info if needed on the Gallery site

Syndicate content

© Michael Jeltsch 2006

Powered by Drupal - Design by M&M