[Pkg-drupal-commits] r1784 - in /branches/drupal-5.0/debian: README.Debian changelog

luigi at users.alioth.debian.org luigi at users.alioth.debian.org
Tue Jun 5 23:10:37 UTC 2007


Author: luigi
Date: Tue Jun  5 23:10:36 2007
New Revision: 1784

URL: http://svn.debian.org/wsvn/pkg-drupal/?sc=1&rev=1784
Log:
Added istructions on Postgres database install and PHP memory limit (Closes: #427001)

Modified:
    branches/drupal-5.0/debian/README.Debian
    branches/drupal-5.0/debian/changelog

Modified: branches/drupal-5.0/debian/README.Debian
URL: http://svn.debian.org/wsvn/pkg-drupal/branches/drupal-5.0/debian/README.Debian?rev=1784&op=diff
==============================================================================
--- branches/drupal-5.0/debian/README.Debian (original)
+++ branches/drupal-5.0/debian/README.Debian Tue Jun  5 23:10:36 2007
@@ -3,13 +3,14 @@
 
 1.  Introduction
 2.  Manual initial database generation and configuration
-3.  Deleting the Drupal database
-4.  Apache config file and php4 Apache module
-5.  Apache config file and php4 CGI version
-6.  Securing your portal
-7.  Upgrading database from previous versions
+3.  Database population script
+4.  Deleting the Drupal database
+5.  Apache config file and php4 Apache module
+6.  Apache config file and php4 CGI version
+7.  Securing your portal
+8.  Upgrading database from previous versions
 8.  Virtual hosts
-9.  Additional themes and modules
+10. Additional themes and modules
 
 A.  Customizing themes
 B.  Links for more support
@@ -33,74 +34,24 @@
 This is only necessary if you chose not to automatically create the
 database at installation time or if automatic creation failed.
 
-[The rest of this section has been copied from the Drupal INSTALL
- file.]
-
- CREATE THE DRUPAL DATABASE
-
-   This step is only necessary if you don't already have a database
-   set-up (e.g. by your host). In the following examples, 'dba_user' is
-   an example MySQL user which has the CREATE and GRANT privileges. Use
-   the appropriate user name for your system.
-
-   First, you must create a new database for your Drupal site
-   (here, 'databasename' is the name of the new database):
-
-     mysqladmin -u dba_user -p create databasename
-
-   MySQL will prompt for the 'dba_user' database password and then create
-   the initial database files. Next you must login and set the access
-   database rights:
-
-     mysql -u dba_user -p
-
-   Again, you will be asked for the 'dba_user' database password.
-   At the MySQL prompt, enter following command:
-
-     GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX,
-     ALTER, CREATE TEMPORARY TABLES, LOCK TABLES
-     ON databasename.*
-     TO 'username'@'localhost' IDENTIFIED BY 'password';
-
-   where
-
-    'databasename' is the name of your database
-    'username at localhost' is the username of your MySQL account
-    'password' is the password required for that username
-
-   Note: Unless your database user has all of the privileges listed
-   above, you will not be able to run Drupal.
-
-   If successful, MySQL will reply with:
-
-     Query OK, 0 rows affected
-
-   To activate the new permissions, enter the following command:
-
-     FLUSH PRIVILEGES;
-
- LOAD THE DRUPAL DATABASE SCHEMA
-
-   Once you have a database, you must load the required tables into it.
-   Depending on the version of MySQL you are using, you must use the
-   file 'database.4.0.mysql' (for MySQL 4.0 or lower) or
-   'database.4.1.mysql' (for MySQL 4.1 or higher). Both files are
-   located in Drupal's database directory.
-
-   If you use a web-based control panel, you should be able to upload
-   the appropriate file and run it directly as SQL commands.
-
-   From the command line, use (again, replacing 'username' and
-   'databasename' with your MySQL username and database name):
-
-   for MySQL 4.0 or lower:
-     mysql -u username -p databasename < database/database.4.0.mysql
-
-   for MySQL 4.1 or higher:
-     mysql -u username -p databasename < database/database.4.1.mysql
+Directions on how to create a database for you drupal portal can be found
+in INSTALL.mysql.txt and INSTALL.pgsql.txt files in /usr/share/doc/drupal5.
 
 
-3. Deleting the Drupal database
+3. Database population script
+-----------------------------
+Once a database is set up and configured, drupal needs to create tables and
+insert default records into it.
+
+This can be done running the install.php script on portal web site, e.g.
+
+  http://localhost/install.php
+
+If you encounter problems running this script, check PHP configuration as
+stated in section 5 of this file.
+
+
+4. Deleting the Drupal database
 --------------------------------
 The database may be deleted automatically on purging the package
 (debconf prompt the user asking to do it or not).
@@ -113,23 +64,26 @@
 being the user who admin MySQL.
 
 
-4. Apache config file and php4 Apache module
+5. Apache config file and php4 Apache module
 --------------------------------------------
 If you are using the php4 apache module, in order for this and any PHP
 based script to work in Apache, you need to load PHP module,
 uncommenting the next line in /etc/apache/httpd.conf
 
-LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
+  LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
 
 Also you need to add "index.php" to the "DirectoryIndex" directive
 line for Apache to show index.php as initial page, and also the line
 
-AddType application/x-httpd-php .php
+  AddType application/x-httpd-php .php
 
 for Apache to know about php mime type.
 
+Drupal scripts may need more than 8MB of RAM to execute. If needed adjust
+memory_limit setting in php.ini.
 
-5. Apache config file and php4 CGI version
+
+6. Apache config file and php4 CGI version
 ------------------------------------------
 This package is configured to automatically use the php4 Apache
 module. It sets up the system to avoid showing the php files in plain
@@ -141,7 +95,7 @@
 session.save_handler = user
 
 
-6. Securing your portal
+7. Securing your portal
 -----------------------
 It is very good security measure to restrict access to admin.php only
 to trusted IP's and localhost (you can see an example at
@@ -150,10 +104,10 @@
 admin page only to ssl streams.
 
 
-7. Upgrading database from previous versions
+8. Upgrading database from previous versions
 --------------------------------------------
 From version 4.7.4 drupal packages will be separated for each major version.
-Automatic upgrading the database will not be attempted anymore. i
+Automatic upgrading the database will not be attempted anymore.
 
 To upgrade an existing version of drupal, install the new package and manually
 configure the database to point to the existing database, then execute the
@@ -166,7 +120,7 @@
 WARNING: be sure to _NOT_ remove the old package's database.
 
 
-8. Virtual hosts
+9. Virtual hosts
 ----------------
 Drupal supports a setup with multiple virtual hosts. Each virtual host
 has its own configuration directory in /etc/drupal-4.7/sites/_virtualhost_.
@@ -181,7 +135,7 @@
 file.
 
 
-9. Additional modules and themes
+10. Additional modules and themes
 --------------------------------
 
 Drupal looks for modules and themes in the modules/ and themes/

Modified: branches/drupal-5.0/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-drupal/branches/drupal-5.0/debian/changelog?rev=1784&op=diff
==============================================================================
--- branches/drupal-5.0/debian/changelog (original)
+++ branches/drupal-5.0/debian/changelog Tue Jun  5 23:10:36 2007
@@ -6,10 +6,14 @@
   - debian/control
     * Added Xs-Vcs-{Svn,Browser} tags
 
+  - debian/README.Debian
+    * Added istructions on Postgres database install and PHP memory limit
+      (Closes: #427001)
+
   [ Bart Cornelis (cobaco) ]
-  * New Norwegian Bokmael translation by Hans Fredrik Nordhaug 
-
- -- Bart Cornelis (cobaco) <cobaco at linux.be>  Fri, 30 Mar 2007 10:28:54 +0200
+  - New Norwegian Bokmael translation by Hans Fredrik Nordhaug
+
+ -- Luigi Gangitano <luigi at debian.org>  Tue, 13 Mar 2007 00:21:14 +0100
 
 drupal5 (5.1-1) unstable; urgency=low
   




More information about the Pkg-drupal-commits mailing list