Install Drupal on a hosted server
A very good introduction. I only wish to add some minor things.
When copying all the files to your webserver (e.g. via ftp) make sure you also copy the hidden files
.htaccess
.gitignore
If you don't copy .htaccess one thing that will not work is clean urls, see https://www.drupal.org/getting-started/clean-urls, section "Enabling Clean URLs in Drupal"
During setting up I had the PROBLEM:
The directory sites/default/files does not exist. An automated attempt to create this directory failed, possibly due to a permissions problem....
SOLUTION:
I had to create the folder /files in
<MY-SITE>/sites/default
and change the folder permission to 777 (read-write, read-write, read-write) of the /sites/default/files folder.
and another PROBLEM:
The Drupal installer requires that you create a settings file as part of the installation process. Copy the ./sites/default/default.settings.php file to ./sites/default/settings.php.
SOLUTION:
copy the file
./sites/default/default.settings.php file to ./sites/default/settings.php.
and change permissions to 777 (read-write, read-write, read-write)
After installing the profile change back the file and folder permissions of ./sites/default/files and sites/default/settings.php to read-write, read-only read-only (I think 755).
and this PROBLEM:
The directory sites/default/files exists but is not writable and could not be made writable.
SOLUTION:
Some hosted servers require the file permission of sites/default/files to be 777. You see if your permission setting is loose enough if you navigate your browser to
<www.mySiteName>/?q=admin/config/media/file-system
if no error message appears the permissions are set correct. Otherwise above error message appears.
Comments
David Watson (not verified)
Sat, 01/17/2015 - 09:11
Permalink
If you need to install Drupal
If you need to install Drupal with nginx on a centos server, you may find this article useful: https://www.rosehosting.com/blog/how-to-install-drupal-7-on-centos-7-wit...
Add new comment