Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
19c9d7f5
Commit
19c9d7f5
authored
17 years ago
by
Gábor Hojtsy
Browse files
Options
Downloads
Patches
Plain Diff
#144256
by myself, bdragon and keith.smith: update INSTALL.txt to reflect changes since Drupal 5
parent
2ed2c5f9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
INSTALL.txt
+45
-38
45 additions, 38 deletions
INSTALL.txt
with
45 additions
and
38 deletions
INSTALL.txt
+
45
−
38
View file @
19c9d7f5
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
CONTENTS OF THIS FILE
CONTENTS OF THIS FILE
---------------------
---------------------
* Changes
* Requirements
* Requirements
* Optional requirements
* Optional requirements
* Installation
* Installation
...
@@ -12,17 +11,10 @@ CONTENTS OF THIS FILE
...
@@ -12,17 +11,10 @@ CONTENTS OF THIS FILE
* Multisite Configuration
* Multisite Configuration
* More Information
* More Information
CHANGES
-------
As of Drupal 5.0 installation has been automated by an install script. It is no
longer necessary to manually edit the "settings.php" file, and database tables
are created automatically.
REQUIREMENTS
REQUIREMENTS
------------
------------
Drupal requires a web server, PHP4 (4.3.3 or greater) or PHP5
Drupal requires a web server, PHP
4 (4.3.3 or greater) or PHP
5
(http://www.php.net/) and either MySQL (http://www.mysql.com/) or PostgreSQL
(http://www.php.net/) and either MySQL (http://www.mysql.com/) or PostgreSQL
(http://www.postgresql.org/). The Apache web server and MySQL database are
(http://www.postgresql.org/). The Apache web server and MySQL database are
recommended; other web server and database combinations such as IIS and
recommended; other web server and database combinations such as IIS and
...
@@ -34,14 +26,13 @@ For more detailed information about Drupal requirements, see "Requirements"
...
@@ -34,14 +26,13 @@ For more detailed information about Drupal requirements, see "Requirements"
Guidelines for setting up a server environment with a variety of operating
Guidelines for setting up a server environment with a variety of operating
systems and in special cases are available in the Drupal handbook
systems and in special cases are available in the Drupal handbook
(http://drupal.org/node/260)
(http://drupal.org/node/260)
.
OPTIONAL REQUIREMENTS
OPTIONAL REQUIREMENTS
---------------------
---------------------
- To use XML-based services such as the Blogger API, Jabber, and RSS
- To use XML-based services such as the Blogger API and RSS syndication,
syndication, you will need PHP's XML extension. This extension is enabled by
you will need PHP's XML extension. This extension is enabled by default.
default.
- If you want support for clean URLs, you'll need mod_rewrite and the ability
- If you want support for clean URLs, you'll need mod_rewrite and the ability
to use local .htaccess files.
to use local .htaccess files.
...
@@ -49,7 +40,7 @@ to use local .htaccess files.
...
@@ -49,7 +40,7 @@ to use local .htaccess files.
INSTALLATION
INSTALLATION
------------
------------
1. DOWNLOAD DRUPAL
1. DOWNLOAD DRUPAL
AND OPTIONALLY A TRANSLATION
You can obtain the latest Drupal release from http://drupal.org/. The files
You can obtain the latest Drupal release from http://drupal.org/. The files
are in .tar.gz format and can be extracted using most compression tools. On a
are in .tar.gz format and can be extracted using most compression tools. On a
...
@@ -63,8 +54,25 @@ INSTALLATION
...
@@ -63,8 +54,25 @@ INSTALLATION
your web server's document root or your public HTML directory:
your web server's document root or your public HTML directory:
mv drupal-x.x/* drupal-x.x/.htaccess /var/www/html
mv drupal-x.x/* drupal-x.x/.htaccess /var/www/html
2. CREATE THE DRUPAL DATABASE
If you would like to have the default English interface translated to a
different language, we have good news. You can install and use Drupal in
other languages from the start. Check whether a released package of the
language desired is available for this Drupal version at
http://drupal.org/project/Translations and download the package. Extract
the contents to the same directory where you extracted Drupal into.
2. GIVE PERMISSION TO DRUPAL TO BE ABLE TO CREATE THE CONFIGURATION FILE
Drupal comes with a default.settings.php file in the sites/default
directory. The installer will create a copy of this file filled with
the details you provide through the install process, in the same
directory. For Drupal to be able to create the file, you need to
give the web server write privileges to the sites/default directory:
chmod o+w default
3. CREATE THE DRUPAL DATABASE
Drupal requires access to a database in order to be installed. Your database
Drupal requires access to a database in order to be installed. Your database
user will need sufficient privileges to run Drupal. Additional information
user will need sufficient privileges to run Drupal. Additional information
...
@@ -78,29 +86,28 @@ INSTALLATION
...
@@ -78,29 +86,28 @@ INSTALLATION
Take note of the username, password, database name and hostname as you
Take note of the username, password, database name and hostname as you
create the database. You will enter these items in the install script.
create the database. You will enter these items in the install script.
3. RUN THE INSTALL SCRIPT
4. RUN THE INSTALL SCRIPT
The install script will set the base URL, connect Drupal to the database, and
create tables in the database.
To run the install script point your browser to the base url of your website
To run the install script point your browser to the base url of your website
(i.e. http://www.example.com). You will be presented with the "Database
(i.e. http://www.example.com).
Configuration" page.
You will be guided through several screens to set up the database,
The install script will attempt to write-protect the settings.php after
create tables, add the first user account and provide basic web
updating it with the information you provide in the installation routine.
site settings.
If you make manual changes to that file later, be sure to protect it again
after making your modifications. Failure to remove write permissions to
The install script will attempt to write-protect the sites/default
that file is a security risk. The default location for the settings.php
directory after creating the settings.php file. If you make manual
file is at sites/default/settings.php, but it may be in another location
changes to that file later, be sure to protect it again after making
your modifications. Failure to remove write permissions to that file
is a security risk. Although the default location for the settings.php
file is at sites/default/settings.php, it may be in another location
if you use the multi-site setup, as explained below.
if you use the multi-site setup, as explained below.
4
. CONFIGURE DRUPAL
5
. CONFIGURE DRUPAL
When the install script succeeds, you will be directed to the "Welcome" page.
When the install script succeeds, you will be directed to the "Welcome"
In "step one" click "create the first account" which will become the main
page, and you will be logged in as the administrator already. Proceed with
administrator account with total control. Login as the administrator and
the initial configuration steps suggested on the "Welcome" page.
complete the initial configuration steps on the "Welcome" page.
If the default Drupal theme is not diplaying properly and links on the page
If the default Drupal theme is not diplaying properly and links on the page
result in "Page Not Found" errors, try manually setting the $base_url variable
result in "Page Not Found" errors, try manually setting the $base_url variable
...
@@ -115,7 +122,7 @@ INSTALLATION
...
@@ -115,7 +122,7 @@ INSTALLATION
the name of this subdirectory at "administer > site configuration > file
the name of this subdirectory at "administer > site configuration > file
system".
system".
5
. CRON TASKS
6
. CRON TASKS
Many Drupal modules (such as the search functionality) have periodic tasks
Many Drupal modules (such as the search functionality) have periodic tasks
that must be triggered by a cron job. To activate these tasks, call the cron
that must be triggered by a cron job. To activate these tasks, call the cron
...
@@ -142,8 +149,8 @@ Use your administration panel to enable and configure services. For example:
...
@@ -142,8 +149,8 @@ Use your administration panel to enable and configure services. For example:
General Settings Administer > Site configuration > Site information
General Settings Administer > Site configuration > Site information
Enable Modules Administer > Site building > Modules
Enable Modules Administer > Site building > Modules
Set User Permissions Administer > User management > Access control
Configure Themes Administer > Site building > Themes
Configure Themes Administer > Site building > Themes
Set User Permissions Administer > User management > Access control
For more information on configuration options, read the instructions which
For more information on configuration options, read the instructions which
accompany the different configuration settings and consult the various help
accompany the different configuration settings and consult the various help
...
@@ -159,7 +166,7 @@ your site. Several sample themes are included and more can be downloaded from
...
@@ -159,7 +166,7 @@ your site. Several sample themes are included and more can be downloaded from
drupal.org.
drupal.org.
Simple customization of your theme can be done using only CSS. Further changes
Simple customization of your theme can be done using only CSS. Further changes
require understanding the phptemplate engine that is
now
part of Drupal. See
require understanding the phptemplate engine that is part of Drupal. See
http://drupal.org/handbook/customization to find out more.
http://drupal.org/handbook/customization to find out more.
MULTISITE CONFIGURATION
MULTISITE CONFIGURATION
...
@@ -205,7 +212,7 @@ the pattern above if no port-specific configuration is found, just like a real
...
@@ -205,7 +212,7 @@ the pattern above if no port-specific configuration is found, just like a real
subdomain.
subdomain.
Each site configuration can have its own site-specific modules and themes in
Each site configuration can have its own site-specific modules and themes in
addition to those installed in the standard 'modules'and 'themes' directories.
addition to those installed in the standard 'modules'
and 'themes' directories.
To use site-specific modules or themes, simply create a 'modules' or 'themes'
To use site-specific modules or themes, simply create a 'modules' or 'themes'
directory within the site configuration directory. For example, if
directory within the site configuration directory. For example, if
sub.example.com has a custom theme and a custom module that should not be
sub.example.com has a custom theme and a custom module that should not be
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment