# Installation of OpenProject 4.1 with Apache on Debian 7.7 or Ubuntu 14.04 LTS
# Installation of OpenProject 4.2 with Apache on Debian 7.7 or Ubuntu 14.04 LTS
**This tutorial helps you to deploy OpenProject 4.1. Please, aware that:**
**This tutorial helps you to deploy OpenProject 4.2. Please, aware that:**
1. This guide requires that you have a clean **Debian 7.7 x64** or **Ubuntu 14.04 x64** installation with administrative rights. We have tested the installation guide on a Debian minimal netinstall image and on an Ubuntu Server image, but it should work on any derivative.
2. OpenProject will be installed with a MySQL database (the guide should work analogous with PostgreSQL).
3. OpenProject will be served in a production environment with Apache (this guide should work analogous with other servers, like nginx and others)
In this guide, we will install **OpenProject 4.1** with a **MySQL** database. Openproject will be served with the **Apache** web server. When your server needs to reboot, OpenProject should start automatically with your server.
In this guide, we will install **OpenProject 4.2** with a **MySQL** database. Openproject will be served with the **Apache** web server. When your server needs to reboot, OpenProject should start automatically with your server.
Note: We have highlighted commands to execute like this
```bash
@ -154,7 +154,7 @@ As a reference, the following Node.js and NPM versions have been installed on ou
Starting with OpenProject 4.1 stable releases will have their own branch on github. According to this the OpenProject release 4.1 is tracked via the stable/4.1 branch. But why is this important to how the OpenProject packages are provided:
Starting with OpenProject 4.1 stable releases will have their own branch on github. According to this the OpenProject release 4.2 is tracked via the stable/4.2 branch. But why is this important to how the OpenProject packages are provided:
The OpenProject Core and OpenProject Community Edition release 4.0 packages are derived from the stable branch of the respective repositories. Due to the fact that the branch for the OpenProject releasse 4.1 is tracked via the stable/4.1 branch packages has to be derived from the stable/4.1 branch instead of stable. This change makes it necessary to update the source file for the package management system of the machine OpenProject is currently installed on. A typical `apt-get install openproject` e.g. for debian like systems will not work.
The OpenProject Core and OpenProject Community Edition release 4.0 packages are derived from the stable branch of the respective repositories. Due to the fact that the branch for the OpenProject releasse 4.2 is tracked via the stable/4.2 branch packages has to be derived from the stable/4.2 branch instead of stable. This change makes it necessary to update the source file for the package management system of the machine OpenProject is currently installed on. A typical `apt-get install openproject` e.g. for debian like systems will not work.
The following upgrade instructions describe in detail what has to be done to upgrade existing 4.0 installations of the OpenProject Core and the OpenProject Community Edition to 4.1 via the package management system. Therefore the guide is split into two parts:
The following upgrade instructions describe in detail what has to be done to upgrade existing 4.0 installations of the OpenProject Core and the OpenProject Community Edition to 4.2 via the package management system. Therefore the guide is split into two parts:
* The upgrade guide for OpenProject Core
* The upgrade guide for OpenProject Community Edition
@ -15,14 +15,14 @@ Please jump directly to the part of this guide depending on your OpenProject ver
### Debian 7.6 Wheezy 64bits server
echo "deb https://deb.packager.io/gh/opf/openproject wheezy stable/4.1" | sudo tee /etc/apt/sources.list.d/openproject.list
echo "deb https://deb.packager.io/gh/opf/openproject wheezy stable/4.2" | sudo tee /etc/apt/sources.list.d/openproject.list
sudo apt-get update
sudo apt-get install openproject
sudo openproject configure
### Ubuntu 14.04 Trusty 64bits server
echo "deb https://deb.packager.io/gh/opf/openproject trusty stable/4.1" | sudo tee /etc/apt/sources.list.d/openproject.list
echo "deb https://deb.packager.io/gh/opf/openproject trusty stable/4.2" | sudo tee /etc/apt/sources.list.d/openproject.list
sudo apt-get update
sudo apt-get install openproject
sudo openproject configure
@ -31,7 +31,7 @@ Please jump directly to the part of this guide depending on your OpenProject ver