Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying CentOS System Administration Essentials
  • Table Of Contents Toc
CentOS System Administration Essentials

CentOS System Administration Essentials

By : Andrew Mallett
4.2 (13)
close
close
CentOS System Administration Essentials

CentOS System Administration Essentials

4.2 (13)
By: Andrew Mallett

Overview of this book

If you are a Linux administrator who is looking to gain knowledge that differentiates yourself from the crowd, then this is the book for you. Beginners who have a keen interest to learn more about Linux administration will also progress quickly with this resourceful learning guide.
Table of Contents (13 chapters)
close
close
12
Index

Installing and configuring Nginx


To begin this chapter, we will need to install the web server Nginx on our CentOS system. Nginx is the new kid on the block in terms of web servers, but in recent surveys from NetCraft, http://www.netcraft.com, we have seen that the Internet has fallen a little out of love with Apache, with Nginx making steady rises since its introduction in 2004. That said, in May 2014, Apache still had 37 percent of the web server share with Microsoft at 33 percent and Nginx at 14 percent.

Installing Nginx

Nginx is not part of the standard repositories, but we can use the EPEL repository that we used to install the 389-ds we looked at in Chapter 7, LDAP – A Better Type of User. With the Extra Packages for Enterprise Linux (EPEL) repository in place, we can install using yum, and then once we have Nginx installed, we can start the service and configure it with chkconfig to start on the system boot:

# yum install nginx
# service nginx start
# chkconfig nginx on

There is a welcome...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
CentOS System Administration Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon