How to Install Apache In Fedora 20

Jose Velazquez
by Atlantic.Net (71posts) under Cloud Hosting
0 Comments
Verified and Tested 02/27/15

Introduction

In this How-To, we will walk you through the install of Apache in your Fedora 20 Cloud Server.

Apache is a web server that is very popular in Linux systems and over the Internet. It is used by many Web Hosting companies world wide because of its popularity and efficiency in hosting sites over the World Wide Web.

Prerequisites

A cloud server with Fedora 20 already installed.  If you don’t already have a server, please spin up a market-leading cloud server in under 30 seconds.

Installing Apache in Fedora 20

Install Apache with the following command:

yum install httpd

Start Apache with the following command:

systemctl start httpd.service

You will want the Apache service to start on start-up/reboot with the following command:

systemctl enable httpd.service

Add the following commands in Apache to override in Firewall-cmd as follows:

firewall-cmd --set-default-zone=public
firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --reload

You can now verify that Apache is installed correctly by typing http:// and your IP on your browser.

http://YOUR.IP.ADD.RESS

You should see the following screenshot in your browser:

Fedora Test Page

Fedora Test Page

Congratulations! You have just installed Apache on your Fedora 20 Cloud Server. Thank you for following along in this How-To and check back with us for any new updates.


Related Posts


New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Dallas, TX

2323 Bryan Street,

Dallas, Texas 75201

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4

Canada

London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom

Resources

We use cookies for advertising, social media and analytics purposes. Read about how we use cookies in our updated Privacy Policy. If you continue to use this site, you consent to our use of cookies and our Privacy Policy.