summaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-09-05 18:04:46 -0700
committerMax Romanov <max.romanov@nginx.com>2017-09-05 18:04:46 -0700
commit76f3d7435f08231f12bc68a49bcd4256ac014699 (patch)
tree38263b7c8b03e3c39376d7406af7a4313887243c /README.md
parentc4cba21a47f679b7c55516b019441885d656cea4 (diff)
downloadunit-76f3d7435f08231f12bc68a49bcd4256ac014699.tar.gz
unit-76f3d7435f08231f12bc68a49bcd4256ac014699.tar.bz2
Added software installation instructions for CentOS.
Diffstat (limited to 'README.md')
-rw-r--r--README.md52
1 files changed, 51 insertions, 1 deletions
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&nbsp;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&nbsp;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&nbsp;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&nbsp;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