Wpkg web notes

From dghartung.com/docs

Jump to: navigation, search

Download the wpkg-web interface fromt this website into your web root

http://wpkg.linuxkidd.com/

extract the tarball

tar -xvf wpkg-web...

look at the INSTALL file, I made sure the correct perl modules were in place

perl -MCPAN -e shell

install XML::DOM
install DBI
install DBD::mysql

Move to the wpkg_web root

Copy config-dist.php to config.php and edit for MySQL User, password, and database.
Copy scripts/Connect-dist.pm to scripts/Connect.pm and edit for MySQL User, password, and database.

Make sure the user, password and db exist in mysql After you edit and save the above files, prepare the database with:

mysql -p < db/schema.sql

If you already have a packages.xml file in use with wpkg, you can

import it with:

scripts/packages_xml_in /path/to/packages.xml

The packages_xml_in script has one limitation: Nested logical checks

have not been tested, and will probably not import correctly.  Luckily,
you can move them around from the web interface after they're imported.

From here, move the contents of the package to a web accessible area

on your server and browse to its location with your favorite web
browser ( viva la Firefox! )
Personal tools