Hi everyone, I think I will have to abandon creating a production pki site for now. I have to spend time on other tasks and bite the bullet for now and buy a cert. But to help everyone else, here are my notes on how to install Debian from the Net install CD and the application. I will also list what tripped me up at the bottom:
How to create these debian packages? =================================== Following http://wiki.openxpki.org/index.php/Manual/Quickstart/Installation For MySQL http://wiki.openxpki.org/index.php/Debian_using_MYSQL_as_DBlayer PREAMBLE ======== Install default packages from debian net install. ACCURATE TIME; Use VMware tools or ntpdate. 1. Completely checkout the major subversion trunk area. 1a. svn co https://openxpki.svn.sourceforge.net/svnroot/openxpki/trunk trunk svn co https://openxpki.svn.sourceforge.net/svnroot/openxpki/tools tools 2. aptitude install libversion-perl libmodule-build-perl \ liblog-log4perl-perl libdatetime-perl libexception-class-perl \ libapache-request-perl libxml-sax-perl libxml-sax-writer-perl \ libtree-dagnode-perl liburi-perl libclass-factory-perl \ libxml-simple-perl libdatetime-format-strptime-perl \ libhttp-server-simple-perl libdata-page-perl 2a. aptitude install lynx aptitude install ncftp aptitude install kdesvn aptitude search subversion aptitude install esvn aptitude install libauthen-sasl-perl aptitude install apache libwww-mechanize-perl aptitude search stacktrace aptitude install libdevel-stacktrace-perl aptitude search dh-make-perl aptitude install dh-make-perl aptitude install etch aptitude install gcc aptitude install gcc-obj aptitude install automake aptitude install libc6-dev aptitude install autoconf aptitude install bison flex aptitude install libtool gdb aptitude install make aptitude install loop-aes-utils aptitude install libcrypt-openssl aptitude install libcrypt-openssl-rsa-perl libcrypt-openssl-dsa-perl libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl aptitude install loop-aes-source aptitude install libssl-devel aptitude install libssl-dev aptitude install libversion-perl aptitude install libdevel-stacktrace-perl aptitude install libclass-accessor-perl libclass-data-inheritable-perl aptitude install libversion-perl aptitude install libclass-container-perl aptitude install apache libwww-mechanize-perl 3. cd trunk/package/debian/ 4. make cpan_dependency 5. dpkg -i deb/cpan/*.deb 6. make core 7. dpkg -i deb/core/libopenxpki-perl*.deb 8. make perl-client-api 9. dpkg -i deb/client_api/libopenxpki-client-perl*.deb 10. make i18n && make deployment && make scep-client && \ make mason-html-client 11. dpkg -i deb/client/openxpki-i18n_*.deb \ dpkg -i deb/client/libopenxpki-client-html-mason-perl_*.deb \ aptitude install libdbd-sqlite3-perl \ dpkg -i deb/client/openxpki-deployment_*.deb dpkg -i deb/client/libopenxpki-client-scep-perl_*.deb The steps 6 to 9 are necessary because the packages libopenxpki-perl and libopenxpki-client-perl are required for package builds. aptitude install sshd aptitude install mysql-server aptitude install firehol openxpkiadm deploy --template quickstart <-- Went through this after installing 'dpkg -i deb/client/openxpki-deployment_*.deb', get message '/etc/openxpki/instances/trustcenter1/openxpki.conf already exists' Edit '/etc/mysql/my.cnf' bind-address to allow remote access, comment out 'bind-address'. Then restart mysqld with '/etc/init.d/mysql restart' pki:~# mkdir /var/cache/mason pki:~# chown www-data:www-data /var/cache/mason/ vim /etc/apache/conf.d/openxpki-mason-mod_perl.conf Verify the `SetEnv OPENXPKI_LOCALE_PREFIX "/usr/share/i18n/locales/en_US"` is defined. ===================================== Mon Jan 26 11:53:38 2009] [error] Can't locate object method "new" via package "Data::SpreadPagination" at /var/www/openxpki/lib/paging.mhtml line 64.\t\tStack: [/var/www/openxpki/lib/paging.mhtml:64], [/var/www/openxpki/service/workflow/show_pending_requests.html:118], [/var/www/openxpki/service/index.html:20], [/var/www/openxpki/index.html:1], [/var/www/openxpki/autohandler:265], [/var/www/openxpki/syshandler:4]\n [Mon Jan 26 11:53:38 2009] [error] [client 64.142.102.66] File does not exist: /var/www/errors/internal_server_error_en.htm After logging in as raop I get the following error in error.log: ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ OpenXPKI-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openxpki-users
