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)
- Dump the database data mysqldump --host=localhost --user=root -p journal >journal.sql
- Create the databse on the new machine mysql -u root -p CREATE DATABASE journal;
- Import the data into the database mysql -p -h localhost journal < journal.sql
- Create the user 'journal' GRANT ALL PRIVILEGES ON *.* TO 'journal'@'localhost' IDENTIFIED BY 'journal' WITH GRANT OPTION;
Updating gallery via CVS
- Run as root
cvs update -Pdin the gallery2 directory - 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
- More info if needed on the Gallery site