Setting up the server
Now that we have our instance set up and we are connected to it successfully, it is time to add the required tools and components to it. Basically, it is a fresh Ubuntu box with nothing on it. To make it act like a CI server, we need to install LAMP (Linux, Apache, MySQL, and PHP), Jenkins, and a few other libraries.
Installing Apache
Having the Linux in place already, let's start by installing the Apache web server:
- Before installing anything, first of all, update your Linux packages and install English language packs and locales:
$ sudo apt-get update
- Then, install the locale package as follows:
$ sudo apt-get install language-pack-en
- Now we can install Apache2 and some required modules to proxy the Jenkins server:
$ sudo ...
Get Mastering Symfony now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.