From 76f3d7435f08231f12bc68a49bcd4256ac014699 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Tue, 5 Sep 2017 18:04:46 -0700 Subject: [PATCH] Added software installation instructions for CentOS. --- README.md | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8b8680ed..a57a891d 100644 --- a/README.md +++ b/README.md @@ -251,7 +251,57 @@ languages (Go, PHP, and Python) that you want to support. ### Installing Required Software on CentOS Systems -**TBD** +Before configuring and compiling Unit on CentOS systems, you must install the +required build tools plus the library files for each of the available +languages (Go, PHP, and Python) that you want to support. + + 1. Install the build tools. Note that they might require more than + 40 MB of disk space. + + ``` + # yum install gcc make + ... + Total download size: 18 M + Installed size: 42 M + Is this ok [y/d/N]: y + ... + ``` + + 2. If you are supporting Go, install the `golang` package. The required + additional disk space might be about 230 MB. + + ``` + # yum install golang + ... + Total download size: 44 M + Installed size: 231 M + Is this ok [y/d/N]: y + ... + ``` + + 3. If you are supporting PHP, install the `php-devel` and `php-embedded` + packages. The required additional disk space might be around 20 MB. + + ``` + # yum install php-devel php-embedded + ... + Total download size: 5.2 M + Installed size: 21 M + Is this ok [y/d/N]: y + ... + ``` + + 4. If you are supporting Python, install the `python-devel` package. The + required additional disk space might be around 1 MB. + + ``` + # yum install python-devel + ... + Total download size: 393 k + Installed size: 1.0 M + Is this ok [y/d/N]: y + ... + ``` ### Configuring the Unit Source