UseCase "Set up BlueSpice MediaWiki Enterprise Distribution"

From SMW CindyKate by dataspects
Component 947846
Jump to navigation Jump to search
[edit]
Keywords/Contexts

BlueSpice · Vagrant · Ansible

Annotations
{{#compound_query:Component 947846Property "-Has subobject" has a restricted application area and cannot be used as annotation property by a user.UseCaseMotivation;?HasDirection;?IsMotivating;?IsMotivatedBy;?HasReasoning
Property "-Has subobject" has a restricted application area and cannot be used as annotation property by a user.UseCase "Set up BlueSpice MediaWiki Enterprise Distribution";?HasDirection;?IsMotivating;?IsMotivatedBy;?HasReasoning Property "-Has subobject" has a restricted application area and cannot be used as annotation property by a user.UseCase "Set up BlueSpice MediaWiki Enterprise Distribution";?HasDirection;?IsMotivating;?IsMotivatedBy;?HasReasoning
name=MotivationsDeclaredOnThisPageResultItem|link=none}}
Motivations
Lua error in Module:Motivations at line 23: attempt to concatenate field 'hasReasoning' (a nil value).
[edit]

Content


Notice:

These instructions install the entire BlueSpice stack onto a MediaWiki 1.27 on an Ubuntu Server 14.04.01.

Prepare the Ubuntu 14.04.01 Server

Run tasksel for

  • Basic Ubuntu server
  • OpenSSH server
  • LAMP server
Notice:

Remember:

  • SSH access information (namely IP address and port)
  • sudo credentials
  • MySQL root credentials

Install MediaWiki 1.27

See https://www.mediawiki.org/wiki/Manual:Installation_guide

Enable these extensions:

  • Cite
  • Gadgets
  • ImageMap
  • InputBox
  • Nuke
  • ParserFunctions
  • Renameuser
  • SyntaxHighlight_GeSHi
  • TitleBlacklist
Notice:

Remember:

  • MEDIAWIKI root directory (e.g. /var/www/html/w/)

On your workstation

Install Ansible 2.1

See http://docs.ansible.com/ansible/intro_installation.html

Clone Git repository for provisioning BlueSpice functionality onto the server

user@workstation:~$ git clone https://github.com/dataspects/Set-Up-BlueSpice-MediaWiki-Enterprise-Distribution.git BlueSpice-Extensions

Download and place BlueSpice archives

How do we specify which version of BlueSpice to install?

We specify the version of BlueSpice to be installed by specifying the corresponding archive names in variables.yml.

BlueSpice Free

user@workstation:~$ cd BlueSpice-Extensions
user@workstation:~/BlueSpice-Extensions$ wget https://downloads.sourceforge.net/project/bluespice/BlueSpice-free-2.27.2.zip

BlueSpice Pro

Get BlueSpice-pro-2.27.2.zip from https://bluespice.com/download-bluespice/ and place it into the same directory as BlueSpice Free.

BlueSpice WebDAV

Obtain the BlueSpice WebDAV archive from shop.bluespice.com and place it into the same directory as BlueSpice Free.

By now you should have the following directory setup

user@workstation:~/BlueSpice-Extensions$ tree
.
├── BlueSpice-free-2.27.2.zip     # <-- Downloaded file, not included in Git repository, see above
├── BlueSpice-pro-2.27.2.zip      # <-- Downloaded file, not included in Git repository, see above
├── BlueSpiceWebDAV-master.zip    # <-- Downloaded file, not included in Git repository, see above
├── playbook                      # <-- Enable/disable Ansible roles here
├── provision.sh
├── README.md
├── roles
│   ├── final-tasks
│   │   ├── tasks
│   │   │   └── main.yml
│   │   └── templates
│   │       └── User_WikiSysop.wiki
│   ├── install_Apache_Tomcat
│   │   ├── tasks
│   │   │   └── main.yml
│   │   └── templates
│   │       └── tomcat-users.xml.j2
│   ├── install_BlueSpice_ExtendedSearch
│   │   └── tasks
│   │       └── main.yml
│   ├── install_BlueSpice_Free
│   │   └── tasks
│   │       └── main.yml
│   ├── install_BlueSpice_Pro
│   │   ├── tasks
│   │   │   └── main.yml
│   │   └── templates
│   │       └── composer.json.j2
│   ├── install_BlueSpice_UniversalExport
│   │   └── tasks
│   │       └── main.yml
│   ├── install_BlueSpice_VisualDiff
│   │   └── tasks
│   │       └── main.yml
│   ├── install_Browsertests_Environment
│   │   ├── tasks
│   │   │   └── main.yml
│   │   └── templates
│   │       ├── Gemfile.j2
│   │       ├── git-clone_smw-browser-testing.sh.j2
│   │       └── rubyinfo.sh.j2
│   ├── install_MediaWiki
│   │   ├── tasks
│   │   │   └── main.yml
│   │   └── templates
│   │       ├── install_mediawiki.sh.j2
│   │       └── my.cnf.j2
│   └── install_Webdav
│       └── tasks
│           └── main.yml
├── staging.sample.inventory      # <-- Configure server SSH access and SUDO user settings here
└── variables.yml                 # <-- Check this file for various correct configuration settings

Install BlueSpice

  1. Configure server SSH access and SUDO user settings in staging.sample.inventory
  2. Rename staging.sample.inventory to staging.inventory
  3. Check variables.yml for various correct configuration settings
  4. In order to understand what is installed and configured, check out the task YAML files under https://github.com/dataspects/Set-Up-BlueSpice-MediaWiki-Enterprise-Distribution/tree/master/roles
user@workstation:~/BlueSpice-Extensions$ ./provision.sh