Documentation

Difference between revisions of "Setting up WordPress"

Line 1: Line 1:
==How to install Wordpress for your account==
+
==How to install WordPress for your account==
  
First you need to download Wordpress from their website, https://wordpress.org/download/. After you've
+
First you need to download WordPress from their website, https://wordpress.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 <code>wordpress</code>.
 
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 <code>wordpress</code>.
  
Line 7: Line 7:
 
If you need further instructions, you can find detailed instructions on: [[Accessing your files]].
 
If you need further instructions, you can find detailed instructions on: [[Accessing your files]].
  
Besides files, we also need a database to install Wordpress 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.
+
Besides files, we also need a database to install WordPress 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.
  
Now we are ready to install Wordpress, 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 <code>username.studentenweb.org</code> or <code>username.ulyssis.be</code> (replace username with your actual username).
+
Now we are ready to install WordPress, 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 <code>username.studentenweb.org</code> or <code>username.ulyssis.be</code> (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.
 
This is where you have to set up your website. The easiest way to do this, is by following the wizard.
  
Line 17: Line 17:
 
*'''Password/Wachtwoord:''' your MySQL database password
 
*'''Password/Wachtwoord:''' your MySQL database password
 
*'''Database Host/Hostnaam:''' <code>mysql.ulyssis.org</code>
 
*'''Database Host/Hostnaam:''' <code>mysql.ulyssis.org</code>
*'''Table Prefix:''' only change this if you have multiple installations of wordpress in your database<br>
+
*'''Table Prefix:''' only change this if you have multiple installations of WordPress in your database<br>
 
So it will look something like this:<br>
 
So it will look something like this:<br>
 
[[File:wordpress_screenshot.png|thumb|left|600px]]<br>
 
[[File:wordpress_screenshot.png|thumb|left|600px]]<br>
Line 23: Line 23:
 
Afterwards, you can proceed the installation.
 
Afterwards, you can proceed the installation.
  
At a certain point, you receive a notification to log in on Wordpress. This means you have successfully installed your own Wordpress website.
+
At a certain point, you receive a notification to log in on WordPress. This means you have successfully installed your own WordPress website.
  
==Setting up multiple instances of Wordpress==
+
==Setting up multiple instances of WordPress==
  
If you want to have multiple instances of a Wordpress site, you need to create a new folder in  
+
If you want to have multiple instances of a WordPress site, 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.
 
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.
+
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.
  
You can also use Wordpress' [https://codex.wordpress.org/Create_A_Network multisite] option.  
+
You can also use WordPress' [https://codex.wordpress.org/Create_A_Network multisite] option.  
 
If you need more help with this, you can find it here: [https://wordpress.org/support/forum/multisite here].
 
If you need more help with this, you can find it here: [https://wordpress.org/support/forum/multisite here].
  
 
[[Category:CMSs]]
 
[[Category:CMSs]]

Revision as of 14:35, 4 November 2019

How to install WordPress for your account

First you need to download WordPress from their website, https://wordpress.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 wordpress.

Next, you have to move the contents of the wordpress directory to your www directory on our servers, which 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 WordPress 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.

Now we are ready to install WordPress, 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.

The setup will ask you for your database configuration:

  • Database Name/Databasenaam: the name of the MySQL database
  • Username/Gebruikersnaam: your username
  • Password/Wachtwoord: your MySQL database password
  • Database Host/Hostnaam: mysql.ulyssis.org
  • Table Prefix: only change this if you have multiple installations of WordPress in your database

So it will look something like this:

Wordpress screenshot.png


Afterwards, you can proceed the installation.

At a certain point, you receive a notification to log in on WordPress. This means you have successfully installed your own WordPress website.

Setting up multiple instances of WordPress

If you want to have multiple instances of a WordPress site, 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 WordPress installation, i.e. the steps in the section above.

You can also use WordPress' multisite option. If you need more help with this, you can find it here: here.