<commit_before>


# Installing XCMS v.4

Ximdex CMS requires a Linux host, a Database server (MySQL or MariaDB) and the Apache Web Server with PHP or NGINX with PHP-fpm.

Install XCMS as a docker container (see docker_deployment.md) or using the web installer on your server following this guide...


### Server Requirements

To use **XCMS** you need an updated web browser as Firefox, Google Chrome, ... with Javascript and cookies enabled.

To install **XCMS** you need a Linux server with:

#### 1. A Relational Database Management System as

##### MySQL

* Recommended version: **5.7** (or greater)
* Linux install: `sudo apt-get install mysql-server`

##### or MariaDB

* Recommended version: **10.2** (or greater)
* Alternative versions: prior versions, like **10.1**, reported some errors.
* Linux install: `sudo apt-get install mariadb-server`

#### 2. A web server as Apache with PHP 7.2 or greater

  * Install Apache web server and PHP:   
     ```shell
     sudo apt-get install apache2
     sudo apt-get install php
     ```<commit_msg>Installing with docker<commit_after>


# Installing XCMS v.4

Ximdex CMS requires a Linux host, a Database server (MySQL or MariaDB) and the Apache Web Server with PHP or NGINX with PHP-fpm.

To run XCMS on a docker container you can see [docker_deployment_guide.md](docker_deployment_guide.md)

Follow this guide to install XCMS on your Linux server...

### Server Requirements

To use **XCMS** you need an updated web browser as Firefox, Google Chrome, ... with Javascript and cookies enabled.

To install **XCMS** you need a Linux server with:

#### 1. A Relational Database Management System as

##### MySQL

* Recommended version: **5.7** (or greater)
* Linux install: `sudo apt-get install mysql-server`

##### or MariaDB

* Recommended version: **10.2** (or greater)
* Alternative versions: prior versions, like **10.1**, reported some errors.
* Linux install: `sudo apt-get install mariadb-server`

#### 2. A web server as Apache with PHP 7.2 or greater

  * Install Apache web server and PHP:   
     ```shell
     sudo apt-get install apache2
     sudo apt-get install php
     ```
{'fraction_non_alphanumeric': 0.09953271028037383, 'fraction_numerical': 0.013084112149532711, 'mean_word_length': 3.8220720720720722, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2044035', 'n_tokens_mistral': 667, 'n_tokens_neox': 601, 'n_words': 288}