diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /www-apps/metadot/files/postinstall-en-6.4_p3.txt |
reinit the tree, so we can have metadata
Diffstat (limited to 'www-apps/metadot/files/postinstall-en-6.4_p3.txt')
-rw-r--r-- | www-apps/metadot/files/postinstall-en-6.4_p3.txt | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/www-apps/metadot/files/postinstall-en-6.4_p3.txt b/www-apps/metadot/files/postinstall-en-6.4_p3.txt new file mode 100644 index 000000000000..9888bd3509e1 --- /dev/null +++ b/www-apps/metadot/files/postinstall-en-6.4_p3.txt @@ -0,0 +1,34 @@ + +1. Set up your database: +cd ${MY_INSTALLDIR}/default_data +If using MySQL-3*: mysql -uroot -p mysql < createdbanduser.sql +If using MySQL-4*: mysql -uroot -p mysql < createdbanduser4x.sql + +Then change the default password: +mysql -uroot -p mysql +mysql> update user set password = password('<newpassword>') where user = 'metadot'; +mysql> flush privileges; +mysql> quit + +Now, +mysql -umetadot -p<newpassword> metadotdb < sampledata.sql + +2. Edit the Metadot configuration file: +edit ${MY_INSTALLDIR}/etc/metadot.conf +Set your database password from step 1. +Read the online docs! Especially if you want to use virtual servers. + +3. Configure Apache: +The ebuild installed an Apache configfile: ${VHOST_ROOT}/${PN}.conf +Copy it into /etc/{apache,apache2}/vhosts.d and edit it to +suit your needs. + +4. Configure cronjobs. +Read the relevant section in the docs, and be sure to specify the right paths. +HINT: /home/metadot is not used, everything is in ${MY_INSTALLDIR} + +5. Now go to http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/index.pl +Hopefully everything worked. Now go read the docs and set up your Metadot, and +change the default Admin password. + +Don't forget to read the online docs!!! |