Line 15: Line 15:
* '''Host/Hostnaam:''' <code>mysql.ulyssis.org (you will need to open 'advanced options' to set this)</code>
* '''Host/Hostnaam:''' <code>mysql.ulyssis.org (you will need to open 'advanced options' to set this)</code>
* '''Port number:''' 3306 (default)
* '''Port number:''' 3306 (default)
* '''Table name prefix:''' only change this if you have multiple installations of WordPress in your database
* '''Table name prefix:''' only enter this if you have multiple installations of Drupal in your database


So it should look something like this the screenshot to the right.
So it should look something like this the screenshot to the right.
Line 29: Line 29:
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 separate.
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 separate.


For a fully separate installation, you need to create a new folder in your <code>www</code> directory on your shell account. Then you need a virtual host for this folder, for this you have to send us an email asking for this. After your new virtual host has been configured, you need to do the same steps that you would do for a regular WordPress installation, i.e. the steps in the section above.
For a fully separate installation, you need to create a new folder in your <code>www</code> directory on your shell account. Then you need a virtual host for this folder, for this you have to send us an email asking for this. After your new virtual host has been configured, you need to do the same steps that you would do for a regular Drupal installation, i.e. the steps in the section above.


If you wish for multiple websites to share the same code base 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 preparations you can contact us about setting up the domain name, more info about that on [[Adding domain names]].
If you wish for multiple websites to share the same code base 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 preparations you can contact us about setting up the domain name, more info about that on [[Adding domain names]].


[[Category:CMSs]]
[[Category:CMSs]]

Revision as of 13:38, 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. You can also use PostgreSQL as an alternative to MySQL, but fot the esase

Now we are ready to install Drupal, so we need to visit the web installer. If you're using a custom domain based on this guide: Adding domain names, you can access the installer by visiting your domain. If you do not use such a domain, the installer can be found on username.studentenweb.org or username.ulyssis.be (replace username with your actual username). This is where you have to set up your website. The easiest way to do this, is by following the wizard.

Screenshot 2021-09-02 at 14-01-14 Requirements review Drupal.png

Warning: It is possible that during the wizard, under the section of "Requirements review", you will get a warning that the Apache version cannot be determined. This has no consequences in the installation so you can go click "continue anyway" at the bottom of this page.

The setup will ask you for your MySQL database configuration (when using PostgreSQL instead, select the option on top of the page):

  • Drupaldbconfig.png
    Database Name/Databasenaam: the name of the MySQL database
  • Database Username/Gebruikersnaam: your username
  • Database Password/Wachtwoord: your MySQL database password
  • Host/Hostnaam: mysql.ulyssis.org (you will need to open 'advanced options' to set this)
  • Port number: 3306 (default)
  • Table name prefix: only enter this if you have multiple installations of Drupal in your database

So it should look something like this the screenshot to the right.

In the next steps Drupal will install the website and you will need to fill in your own preferences.

Finally you will be prompted to with your own Drupal website. Now the installation is finished.



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 separate.

For a fully separate installation, you need to create a new folder in your www directory on your shell account. Then you need a virtual host for this folder, for this you have to send us an email asking for this. After your new virtual host has been configured, you need to do the same steps that you would do for a regular Drupal installation, i.e. the steps in the section above.

If you wish for multiple websites to share the same code base 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 preparations you can contact us about setting up the domain name, more info about that on Adding domain names.