How to install Apache on Linux
An easy step-by-step guide to setting up an Apache Web server on Fedora, CentOS, or Ubuntu
Infoworld - The installation, care, and feeding of an Apache Web server is not terribly difficult, but can seem so if you haven't ventured into those particular waters before. This quick-start guide will help you get your feet wet with Apache on a Linux server. You'll find it's relatively simple to get the Web server set up and running on your Linux of choice. We'll also install PHP and MySQL, though we won't be digging into MySQL configurations, as that deserves a quick start all its own.
The method of installing the Apache packages on a Linux server varies from distribution to distribution. We'll cover how to do this on Fedora and CentOS, as well as on Ubuntu. This is a server-centric walkthrough, so we'll use the command line exclusively. Naturally, you'll need root-level privileges. Open the terminal window and type:
su -
To continue reading, register here to become an Insider
It's FREE to join
Already an Insider? Sign in
- 12 iPhones Apps That Will Make You a Networking Star
- 10 Careers Robots Are Taking From You
- Big Data Gold Isn't Always Where You Would Expect It
- 6 Tips to Build Your Social Media Strategy
- A walking tour: 33 questions to ask about your company's security
- 15 social media scams
- The 7 elements of a successful security awareness program
- IT Certification Study Tips
- Register for this Computerworld Insider Study Tip guide and gain access to hundreds of premium content articles, cheat sheets, product reviews and more.
- 3 Myths About VoIP Phone Service What You Don't Know About Hosted VoIP Can Hurt Your Business
- Forrester Research: Empowering Workforces With Mobile Work Styles And Client Virtualization The workplace is changing rapidly to accommodate mobile and flexible work styles, as employees expect the same computing experience when working remotely as...
- Harvard Business Review: How Mobility is Changing the World Learn about use of cutting-edge applications, ranging from location-based services and mobile payments to machine-to-machine communications and augmented reality.
- Mobile Commerce: The Path to Customer Engagement Download this playbook, sponsored by SAP, and learn how to navigate this new world of mobile customer engagement and commerce.
- Live Webcast
On-Demand Webcast: 7 Reasons to Choose VoIP - Thinking about a new phone system for your business?
Be sure to watch this informative webcast. Steve Strauss, small business columnist for USA... - Live Webcast
Unified Communications 101 - Learn more!
- Live Webcast
Boost Performance & Profitability with Better Planning & Mobile Reporting - This session will discuss how Ashurst, a top-tier legal service provider for private and public sector clients worldwide, was able to effectively manage...
- Boost Performance & Profitability with Better Planning & Mobile Reporting This session will discuss how Ashurst, a top-tier legal service provider for private and public sector clients worldwide, was able to effectively manage...
- Apps and BlackBerry 10 - Tips for IT Learn how to easily create, deploy and manage both off-the-shelf and custom apps, improving productivity and efficiency for employees by mobilizing apps, processes... All Mobile/Wireless White Papers | Webcasts
Our weekly newsletter will cover a wide range of topics and trends related to consumerization. Stay up to date with news, reviews and in-depth coverage of BYOD, smartphones, tablets, MDM, cloud, social and how consumerization affects IT. Subscribe now!