Setting up Drupal: Difference between revisions

From ULYSSIS documentation
No edit summary
Line 1: Line 1:
==How to install Drupal for your account==
==How to install Drupal for your account==


First you will need to install Drupal from their website, http://drupal.org. You will receive a
First you need to download Drupal from their website, https://www.drupal.org/download. After you've received a zip file, you have to extract it using your file manager (Windows: ''use right-click and select "extract all"''; OSX: ''double-click the zip, it automatically extracts''; Linux: ''right-click the file, and select "extract here"''), this gives you a directory named 'drupal-x.x.x', where the x is the downloaded version of Drupal.
compressed file (.tar.gz or .zip) that you'll have to extract.


The files that you've extracted will need to be moved to your www-directory on your shell account.
Next, you have to move the '''contents''' of the drupal-x.x.x directory to your webroot directory on our servers. Most often this will be the <code>www</code> directory. Your webroot can be accessed via SFTP. If you need further instructions, you can find detailed instructions on: [[Accessing your files]].
You can do this by copying them there using Filezilla or any other FTP client.


After you've copied those files to your www-directory, you'll have to go to your account on *your username here*.ulyssis.be. Click on the Drupal directory and the installer will start loading. First it will ask you to choose a language and after that a profile. If you do not know what profile to choose, you should choose the standard one. If the installer doesn't skip the ''Verify requirements'' page, then you should just follow the steps described there. Finally the installer will ask you to set your database configuration:
Besides files, we also need a database to install Drupal on. If you haven't created a new database for the purpose of this installation, you can do this through UCC. Instruction on how to do this are available on [[Using MySQL]]. If you haven't created a database user yet, or don't know the password, you can also find more information there.


*'''Database name:''' If you haven't created a MySQL or PostgreSQL database/user on UCC, then you'll have to create it here. The default database is: "username_username".
*'''Database name:''' If you haven't created a MySQL or PostgreSQL database/user on UCC, then you'll have to create it here. The default database is: "username_username".

Revision as of 13:28, 2 September 2021

How to install Drupal for your account

First you need to download Drupal from their website, https://www.drupal.org/download. After you've received a zip file, you have to extract it using your file manager (Windows: use right-click and select "extract all"; OSX: double-click the zip, it automatically extracts; Linux: right-click the file, and select "extract here"), this gives you a directory named 'drupal-x.x.x', where the x is the downloaded version of Drupal.

Next, you have to move the contents of the drupal-x.x.x directory to your webroot directory on our servers. Most often this will be the www directory. Your webroot can be accessed via SFTP. If you need further instructions, you can find detailed instructions on: Accessing your files.

Besides files, we also need a database to install Drupal on. If you haven't created a new database for the purpose of this installation, you can do this through UCC. Instruction on how to do this are available on Using MySQL. If you haven't created a database user yet, or don't know the password, you can also find more information there.

  • Database name: If you haven't created a MySQL or PostgreSQL database/user on UCC, then you'll have to create it here. The default database is: "username_username".
  • Database username: The name you used during the creation of your database account.
  • Database password: The password you used during the creation of your database account.
  • Database host: This is mysql.ulyssis.org. You will need to click on Advanced options to set this option.

After that you can proceed in the wizard where you can fill in some last few details. By then the wizard will do the rest except for asking some basic questions about the site and, congratulations, you have installed Drupal.

Setting up multiple instances of Drupal

If you want to have multiple instances of a Drupal site there are two options. The multiple instances can either share drupal code or be fully seperate.

For fully seperate installs you can simply create a (sub)folder to store another copy of the drupal code in. You can then access it either from your default domain or have us attach another domain to it for you, more info about that on Adding domain names

If you wish for multiple websites to share the same codebase it is easiest to use multiple domains. More information about how to set this up in your drupal is available in the drupal documentation: https://www.drupal.org/documentation/install/multi-site. As soon as you have made your preperations you can contact us about hooking up the domain name, more info about that on Adding domain names