...
Make a copy of the default.settings.php file in the sites/default directory and name the copy settings.php.
Code Block |
---|
|
$ cp sites/default/default.settings.php sites/default/settings.php |
Give the web server write privileges to sites/default/settings.php and the sites/default/directory:
Code Block |
---|
|
$ chmod a+w sites/default/settings.php
$ chmod a+w sites/default |
Manually configure the MySQL database for Drupal. Make note of your username and password as you will need it when the Drupal install script runs.
Code Block |
---|
|
$ mysql -u root -p
mysql> create database drupal;
mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES ON drupal.* TO 'drupalAdmin'@'localhost' IDENTIFIED BY 'password';
mysql> flush privileges;
mysql> exit |
- Run the install script by pointing your browser to the base URL of your website (e.g. http://www.example.com/).
- Work through the on-screen steps to complete the Drupal site installation.
- When the install script succeeds, you will be directed to the "Welcome" page, and you will be logged in as the administrator.
Proceed with the initial configuration steps suggested on the "Welcome" page.
Note |
---|
title | Extra Apache configuration options |
---|
|
If you plan on uploading large files via Islandora you may want to increase the maximum file size settings in Drupal. You can do this by creating a custom INI file in "/etc/php5.d/conf.d" with the following settings: Code Block |
---|
| upload_max_filesize = 2048M
post_max_size = 2048M
memory_limit = 256M |
You must then restart Apache using one of the following commands: Code Block |
---|
| /etc/init.d/apache reload |
OR Code Block |
---|
| /etc/init.d/httpd restart |
|
Create a milestone 2 snapshot backup:
Code Block |
---|
# $FEDORA_HOME/tomcat/bin/shutdown.sh
# /etc/init.d/mysql stop
# /usr/local
# tar -cvzf fedora-milestone1.tar.gz fedora
# cd /var/lib
# tar -cvzf mysql-milestone1.tar.gz mysql
# /etc/init.d/mysql start
# $FEDORA_HOME/tomcat/bin/startup.sh |
For a good introduction to Drupal and to learn how to harness its power and potential to create a site that meets your needs, access Drupal’s extensive online documentation. Drupal’s active open source community is another valuable source of information.