1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
This package uses dbconfig-common to create an empty database. So, you
don't need to create it by hand. You however need to point to
/textpattern/seup to finish database setup.
If you let dbconfig-common setup the initial database, some questions
will not appear (database name, password, etc). In this case, you
won't have to copy/paste anything either.
If you choose to not use dbconfig-common, modify
/etc/textpattern/config.php instead of
/usr/share/textpattern/textpattern/config.php.
After install, you may want to modify /etc/textpattern/apache.conf to
disallow access to setup. You may want to modify it also if you don't
access setup URL from localhost.
When you execute diagnostic, you will get the following errors:
- /var/lib/textpattern/textpattern/setup still exists; you can delete
the directory but it will be generated back when installing a new
version. This directory is, by default, only accessible from
localhost.
- files /publish.php and /index.php has been modified to use
/var/lib/textpattern as base directory instead of
/usr/share/textpattern. You can propose a patch to update md5sum if
you think this is an issue.
Textpattern support multiple sites from a single installation. Look at
`/usr/share/doc/textpattern/README-sites.txt` about how to do
this. You should follow the instructions here with the following
modifications:
- The reference site is in /usr/share/textpattern/sites/site1.
- You should not delete the reference site or rename it. Just copy it.
- The copy should be done to /var/lib/textpattern/sites.
- You may want to use a symbolic link to a file in /etc/textpattern
for the configuration file, like this is done for the main
installation.
- You'll have to create an empty database yourself.
-- Vincent Bernat <bernat@debian.org>, Sat, 10 Apr 2010 12:12:46 +0200
|