Setting up WordPress: Difference between revisions

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


First you will need to download Wordpress from their website, https://wordpress.org. You will  
First you will need to download Wordpress from their own website, https://wordpress.org/download/. You will  
receive a compressed file (.tar.gz or .zip) that you'll have to extract.
receive a compressed file (.tar.gz or .zip) that you'll have to extract. You will now have a folder named 'wordpress'.


The files that you've extracted will need to be moved to your `www` directory on your shell account.
The folder 'wordpress', that you've just extracted, will need to be moved to your 'www' directory on our server. This can be accessed via SFTP.
You can do this by copying them there using Filezilla or any other FTP client.
The best way to do this, is by using FileZilla (https://filezilla-project.org/). After installing this, you will have to move the 'wordpress' folder to our server. You can do this by entering '<code>sftp://ssh1.ulyssis.org</code>' or '<code>sftp://ssh2.ulyssis.org</code>' as host, with your username and password. You can always follow our other guide here: https://docs.ulyssis.org/Accessing_your_files.


After you've copied those files to your `www` directory, you'll have to go to your account on *your username here*.ulyssis.be. You will then receive a notification telling you your <code>wp-config.php</code> has to be created. The easiest way to do this is by following the wizard, so you can click on "Create a configuration file".
After you have moved the 'wordpress' folder to in the 'www' directory, you have to go to your account <br> on *your username here*.ulyssis.be. There you will see the wordpress folder. After opening this you'll receive a message telling you to create a <code>wp-config.php</code> file. The easiest way to do this is by following the wizard.


Go through to the wizard until it prompts you for your database configuration:
Go through to the wizard until it asks you for your database configuration:
 
/
*'''Database Name/Databasenaam:''' 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/Databasenaam:''' If you haven't created a MySQL or PostgreSQL database/user on UCC, then you'll have to create by following our guide here: https://docs.ulyssis.org/Using_MySQL. And choose what database you want to use for your wordpress site.
*'''Username/Gebruikersnaam:''' The name you used during the creation of your database account.
*'''Username/Gebruikersnaam:''' The name you used during the creation of your database account.
*'''Password/Wachtwoord:''' The password you used during the creation of your database account.
*'''Password/Wachtwoord:''' The password you used during the creation of your database account.
*'''Database Host/Hostnaam:''' This is <code>mysql.ulyssis.org</code> or <code>postgresql.ulyssis.org</code>. It depends on whether you want to use a MySQL or PostgreSQL database.
*'''Database Host/Hostnaam:''' This is <code>mysql.ulyssis.org</code> or <code>postgresql.ulyssis.org</code>. It depends on whether you used a MySQL or PostgreSQL database.
* You don't need to change the last field.
* You do not have to change the last field.
 
After that you can proceed the wizard.


After that you can proceed in the wizard where you can fill in some last few details. By then the
When you wreceive a notification to log in, you have succesfully installed your own wordpress site.
wizard will do the rest and, congratulations, you have installed Wordpress.


==Setting up multiple instances of Wordpress==
==Setting up multiple instances of Wordpress==


If you want to have multiple instances of a Wordpress site, you will need to create a new folder in  
If you want to have multiple instances of a Wordpress site, you will need to create a new folder in  
your www-directory on your shell account. Then you'll need a virtual host for this folder, so you'll
your 'www' directory on your shell account. Then you'll need a virtual host for this folder, herefor you will have to send us an email asking for this.
have to send us an email asking for this.


After your new virtual host has been configured, you will need to do the same steps that you would  
After your new virtual host has been configured, you will need to do the same steps that you would  

Revision as of 22:27, 28 October 2019

How to install Wordpress for your account

First you will need to download Wordpress from their own website, https://wordpress.org/download/. You will receive a compressed file (.tar.gz or .zip) that you'll have to extract. You will now have a folder named 'wordpress'.

The folder 'wordpress', that you've just extracted, will need to be moved to your 'www' directory on our server. This can be accessed via SFTP. The best way to do this, is by using FileZilla (https://filezilla-project.org/). After installing this, you will have to move the 'wordpress' folder to our server. You can do this by entering 'sftp://ssh1.ulyssis.org' or 'sftp://ssh2.ulyssis.org' as host, with your username and password. You can always follow our other guide here: https://docs.ulyssis.org/Accessing_your_files.

After you have moved the 'wordpress' folder to in the 'www' directory, you have to go to your account
on *your username here*.ulyssis.be. There you will see the wordpress folder. After opening this you'll receive a message telling you to create a wp-config.php file. The easiest way to do this is by following the wizard.

Go through to the wizard until it asks you for your database configuration: /

  • Database Name/Databasenaam: If you haven't created a MySQL or PostgreSQL database/user on UCC, then you'll have to create by following our guide here: https://docs.ulyssis.org/Using_MySQL. And choose what database you want to use for your wordpress site.
  • Username/Gebruikersnaam: The name you used during the creation of your database account.
  • Password/Wachtwoord: The password you used during the creation of your database account.
  • Database Host/Hostnaam: This is mysql.ulyssis.org or postgresql.ulyssis.org. It depends on whether you used a MySQL or PostgreSQL database.
  • You do not have to change the last field.

After that you can proceed the wizard.

When you wreceive a notification to log in, you have succesfully installed your own wordpress site.

Setting up multiple instances of Wordpress

If you want to have multiple instances of a Wordpress site, you will need to create a new folder in your 'www' directory on your shell account. Then you'll need a virtual host for this folder, herefor you will have to send us an email asking for this.

After your new virtual host has been configured, you will need to do the same steps that you would need to do for a regular Wordpress installation, i.e. the steps in the section above.

You can also use Wordpress' multisite option. You can find more help about it here.