Difference between revisions of "Main Page"

From VUB Hosting
Jump to: navigation, search
(Access to the web server)
(Technologie)
 
(37 intermediate revisions by 4 users not shown)
Line 5: Line 5:
 
Web space is being offered in a collaboration between the departments DICT and Marcom, and are not meant for personal pages for personell or students.
 
Web space is being offered in a collaboration between the departments DICT and Marcom, and are not meant for personal pages for personell or students.
   
== Hosting requests ==
+
== Hosting request Procedure ==
   
 
The application procedure is kept straightforward.
 
The application procedure is kept straightforward.
  +
# Contact the VUB communication department (Marcom). Send an e-mail to webmaster@vub.ac.be. Motivate your request and domain name.
# Fill in [https://webhosting.vub.ac.be this form] completely and thruthfully
 
  +
# Create a Service Now ticket or send an e-mail with a description of your request to helpdesk@vub.ac.be. Mention "webhosting request" in the subject.
# We will get a notice, look at your application and provide you with the coordinates of your web space.
 
  +
# Fill in [https://webhosting.vub.ac.be this form] completely and thruthfully.
   
 
== Technology ==
 
== Technology ==
Line 15: Line 16:
 
The system used is a so called [[wikipedia:LAMP_(software_bundle)|LAMP stack]]. The actual software packages and versions in use in our environment at this moment are:
 
The system used is a so called [[wikipedia:LAMP_(software_bundle)|LAMP stack]]. The actual software packages and versions in use in our environment at this moment are:
   
  +
* Database: MariaDB 10.5
* Debian GNU/Linux 9
 
  +
* Debian GNU/Linux 11
 
* Apache 2.4
 
* Apache 2.4
* PHP 7.0
+
* PHP 7.4
* Database: MariaDB 10.1
 
   
 
Please also refer to the general conditions in our hosting request form!
 
Please also refer to the general conditions in our hosting request form!
   
== Access to the web server ==
+
== Get access to the web server ==
 
 
The web server is located in a secured network environment and can only be reached when in the possession of a valid [[VPN]] account. Furthermore, authentication using [[SSH]] keys is used.
 
The web server is located in a secured network environment and can only be reached when in the possession of a valid [[VPN]] account. Furthermore, authentication using [[SSH]] keys is used.
   
 
* Request a [[VPN]] account
 
* Request a [[VPN]] account
  +
* Create an SSH key and send us the public key. For more information, see: [[SSH]].
* Create a [[SSH]] key
 
  +
* log in using [[SSH]] or SFTP (see [[File Management]]).
* [[File Management]] (Filezilla mini tutorial)
 
  +
* [[Per site generated SSH key pair]]: practical for Wordpress users
* [[Database]]
 
  +
  +
== Setup your website ==
  +
* Working with files: [[File Management]] (Filezilla mini tutorial)
  +
* Connect to the database:[[Database]]
   
 
== Working with a CMS ==
 
== Working with a CMS ==
Line 35: Line 39:
 
* [[CMS_Drupal]]
 
* [[CMS_Drupal]]
 
* [[CMS_Wordpress]]
 
* [[CMS_Wordpress]]
  +
  +
== Configure WordPress to work with a reverse proxy that provides SSL ==
  +
  +
SSL certificates are provoded by a reverse proxy server. In order to correctly implement you WordPress site to use this SSL certificate, the following configuration needs to be added to the wp-config.php file.
  +
  +
$_SERVER['HTTPS']='on';
  +
define('FORCE_SSL_ADMIN', true);
  +
define('WP_HOME','https://<yoursite>.vub.be');
  +
define('WP_SITEURL','https://<yoursite>.vub.be');
  +
  +
These lines need to be placed before:
  +
  +
/** Sets up WordPress vars and included files. */
  +
require_once(ABSPATH . 'wp-settings.php');
  +
  +
Or you will not be able to login with you ADMIN user in your WordPress site
  +
  +
== Connecting to your database ==
  +
  +
Making a direct connection to the database is not possible, since the database server is locked down.
  +
  +
It is nevertheless possible to connect using a MySQL editor application through an SSH tunnel, if your MySQL editor supports this. These ones do:
  +
  +
MySQL Workbench, DB Forge, Datagrip, DBeaver
  +
  +
This is an example using MySQL Workbench:
  +
  +
[[File:Screenshot 20190308 142234.png]]
  +
  +
In some MySQL editor you need to fill in these connection details over multiple dialog windows. An example is DBForge.
   
 
= VUB web hosting (NL) =
 
= VUB web hosting (NL) =
Line 42: Line 76:
 
De webruimtes worden aangeboden in een samenwerking tussen de afdelingen DICT en Marcom, en zijn in principe niet bedoeld om te dienen voor persoonlijke pagina's voor personeelsleden of studenten.
 
De webruimtes worden aangeboden in een samenwerking tussen de afdelingen DICT en Marcom, en zijn in principe niet bedoeld om te dienen voor persoonlijke pagina's voor personeelsleden of studenten.
   
== Aanvraag ==
+
== Aanvraag procedure ==
   
De aanvraagprocedure is eenvoudig gehouden.
+
De aanvraagprocedure is eenvoudig.
  +
# Neem contact op met de dienst Marcom via webmaster@vub.ac.be. Motiveer je noden. Geef aan welke domeinnaam je wil gebruiken.
  +
# Maak een Service Now ticket aan of stuur een e-mail naar helpdesk@vub.ac.be met subject "webhosting request"
 
# Vul [https://webhosting.vub.ac.be dit formulier] volledig en waarheidsgetrouw in
 
# Vul [https://webhosting.vub.ac.be dit formulier] volledig en waarheidsgetrouw in
# wij bekijken deze aanvraag en geven u de coordinaten van uw webruimte terug.
 
   
 
== Technologie ==
 
== Technologie ==
Line 52: Line 87:
 
Wij maken gebruik van een zgn. LAMP stack. U kan beschikken over volgende technologieën, de versies zijn die van de actuele omgeving:
 
Wij maken gebruik van een zgn. LAMP stack. U kan beschikken over volgende technologieën, de versies zijn die van de actuele omgeving:
   
  +
* Debian GNU/Linux 9
 
  +
* Database: MariaDB 10.5
  +
* Debian GNU/Linux 11
 
* Apache 2.4
 
* Apache 2.4
* PHP 7.0
+
* PHP 7.4
* Database: MariaDB 10.1
 
   
 
Zie ook de algemene voorwaarden bij het aanvraagformulier!
 
Zie ook de algemene voorwaarden bij het aanvraagformulier!
Line 66: Line 102:
   
 
* [[VPN - VUBNet tutorial]]
 
* [[VPN - VUBNet tutorial]]
* [[Generate_SSH_key_pair]]: Aanmaken van een SSH key op windows
+
* [[SSH]]: Aanmaken van een SSH key op windows
  +
* [[Per site gegenereerd key pair]]: handig voor Wordpress gebruikers
  +
  +
== Stel uw website in ==
  +
 
* [[Bestandsbeheer]] (Filezilla mini-tutorial)
 
* [[Bestandsbeheer]] (Filezilla mini-tutorial)
 
* [[Database]]
 
* [[Database]]
Line 75: Line 115:
 
* [[CMS_Wordpress]]
 
* [[CMS_Wordpress]]
   
= Te documenteren: =
 
   
  +
== WordPress configureren achter een reverse proxy welke een SSL connectie met bezoekers tot stand brengt ==
* webhosting formulier
 
  +
** wanneer in de procedure komt die ssh key tot bij ons?
 
  +
SSL certificaten worden beheerd door de reverse proxy server. Ten einde de werking van uw WordPress website correct te laten verlopen met deze reverse SSL proxy server, zijn extra configuratie parameters vereist in het configuratie bestand, wp-config.php, van WordPress.
* toegang
 
  +
  +
$_SERVER['HTTPS']='on';
  +
define('FORCE_SSL_ADMIN', true);
  +
define('WP_HOME','https://<yoursite>.vub.be');
  +
define('WP_SITEURL','https://<yoursite>.vub.be');
  +
  +
Deze lijnen dienen voor de hieronder vermelde lijnen te staan:
  +
  +
/** Sets up WordPress vars and included files. */
  +
require_once(ABSPATH . 'wp-settings.php');
  +
  +
Anders zal je niet in staat zijn om met de ADMIN gebruiker aan te loggen in uw WordPress website.
  +
  +
  +
== Connectie maken met uw database ==
  +
  +
Een directe database connectie is niet mogelijk daar de database server afgeschermd is.
  +
  +
Toch kan je via een MySQL editor applicatie een connectie tot stand brengen via een ssh-tunnel als je MySQL editor dit ondersteund. Volgende MySQL editors ondersteunen dit:
  +
  +
MySQL Workbench, DB Forge, Datagrip, DBeaver
  +
  +
Hieronder vindt u een voorbeeld met MySQL WorkBench
   
  +
[[File:Screenshot 20190308 142234.png]]
* [[Beveiliging]]
 
* [[Bestandsbeheer]]
 
   
  +
Voor sommige MySQL Editors moet je de gegevens invullen over verschillende dialoogvensters. Een voorbeeld hiervan is DBForge.
* security luik
 
** wat zijn verantwoordelijkheden en consequenties
 
** hoe upgraden?
 
* bestandssysteem
 
* permissies
 
* logon
 
* database
 
* drush en wpcli
 
* quota
 

Latest revision as of 09:25, 14 November 2022

VUB web hosting (EN)

The ICT service at VUB is putting web space at the disposal of internal users. You can be assigned a web space account for the web site of your department or faculty, for publications or to make promotion for projects or activitites within the university, etc.

Web space is being offered in a collaboration between the departments DICT and Marcom, and are not meant for personal pages for personell or students.

Hosting request Procedure

The application procedure is kept straightforward.

  1. Contact the VUB communication department (Marcom). Send an e-mail to webmaster@vub.ac.be. Motivate your request and domain name.
  2. Create a Service Now ticket or send an e-mail with a description of your request to helpdesk@vub.ac.be. Mention "webhosting request" in the subject.
  3. Fill in this form completely and thruthfully.

Technology

The system used is a so called LAMP stack. The actual software packages and versions in use in our environment at this moment are:

  • Database: MariaDB 10.5
  • Debian GNU/Linux 11
  • Apache 2.4
  • PHP 7.4

Please also refer to the general conditions in our hosting request form!

Get access to the web server

The web server is located in a secured network environment and can only be reached when in the possession of a valid VPN account. Furthermore, authentication using SSH keys is used.

Setup your website

Working with a CMS

Configure WordPress to work with a reverse proxy that provides SSL

SSL certificates are provoded by a reverse proxy server. In order to correctly implement you WordPress site to use this SSL certificate, the following configuration needs to be added to the wp-config.php file.

$_SERVER['HTTPS']='on';
define('FORCE_SSL_ADMIN', true);
define('WP_HOME','https://<yoursite>.vub.be');
define('WP_SITEURL','https://<yoursite>.vub.be');

These lines need to be placed before:

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');

Or you will not be able to login with you ADMIN user in your WordPress site

Connecting to your database

Making a direct connection to the database is not possible, since the database server is locked down.

It is nevertheless possible to connect using a MySQL editor application through an SSH tunnel, if your MySQL editor supports this. These ones do:

MySQL Workbench, DB Forge, Datagrip, DBeaver

This is an example using MySQL Workbench:

Screenshot 20190308 142234.png

In some MySQL editor you need to fill in these connection details over multiple dialog windows. An example is DBForge.

VUB web hosting (NL)

De ICT-dienst van de Vrije Universiteit Brussel stelt webruimte beschikbaar aan interne gebruikers. U kan een webruimte toegewezen krijgen voor de site van uw dienst, afdeling, of faculteit, om publicaties of promotie te maken voor binnen de universiteit lopende projecten of activiteiten, etc.

De webruimtes worden aangeboden in een samenwerking tussen de afdelingen DICT en Marcom, en zijn in principe niet bedoeld om te dienen voor persoonlijke pagina's voor personeelsleden of studenten.

Aanvraag procedure

De aanvraagprocedure is eenvoudig.

  1. Neem contact op met de dienst Marcom via webmaster@vub.ac.be. Motiveer je noden. Geef aan welke domeinnaam je wil gebruiken.
  2. Maak een Service Now ticket aan of stuur een e-mail naar helpdesk@vub.ac.be met subject "webhosting request"
  3. Vul dit formulier volledig en waarheidsgetrouw in

Technologie

Wij maken gebruik van een zgn. LAMP stack. U kan beschikken over volgende technologieën, de versies zijn die van de actuele omgeving:


  • Database: MariaDB 10.5
  • Debian GNU/Linux 11
  • Apache 2.4
  • PHP 7.4

Zie ook de algemene voorwaarden bij het aanvraagformulier!

Toegang Webserver

Onze webserver staat in een beveiligde netwerk omgeving en kan alleen bereikt worden als men beschikt over een geldig VPN account. Tevens gebruiken we authenticatie a.d.h.v. SSH keys.

Stel uw website in

Werken met een CMS


WordPress configureren achter een reverse proxy welke een SSL connectie met bezoekers tot stand brengt

SSL certificaten worden beheerd door de reverse proxy server. Ten einde de werking van uw WordPress website correct te laten verlopen met deze reverse SSL proxy server, zijn extra configuratie parameters vereist in het configuratie bestand, wp-config.php, van WordPress.

$_SERVER['HTTPS']='on';
define('FORCE_SSL_ADMIN', true);
define('WP_HOME','https://<yoursite>.vub.be');
define('WP_SITEURL','https://<yoursite>.vub.be');

Deze lijnen dienen voor de hieronder vermelde lijnen te staan:

/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');

Anders zal je niet in staat zijn om met de ADMIN gebruiker aan te loggen in uw WordPress website.


Connectie maken met uw database

Een directe database connectie is niet mogelijk daar de database server afgeschermd is.

Toch kan je via een MySQL editor applicatie een connectie tot stand brengen via een ssh-tunnel als je MySQL editor dit ondersteund. Volgende MySQL editors ondersteunen dit:

MySQL Workbench, DB Forge, Datagrip, DBeaver

Hieronder vindt u een voorbeeld met MySQL WorkBench

Screenshot 20190308 142234.png

Voor sommige MySQL Editors moet je de gegevens invullen over verschillende dialoogvensters. Een voorbeeld hiervan is DBForge.