Instant Debian - Build a Web Server - Jose Miguel Parrella - E-Book

Instant Debian - Build a Web Server E-Book

Jose Miguel Parrella

0,0
20,39 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.

Mehr erfahren.
Beschreibung

Debian is one of the most popular Linux-based operating systems, with over 37 thousand software packages available in several architectures. This universal operating system provides the foundation for thousands of web servers. It is easy to install, stable and provides mechanisms for system security.

Starting with an insightful discussion on the architectures and methods of installing Debian, we’ll also discuss cues to plan ahead for scalability. We’ll then explore how to configure and use APT to install necessary software, taking you all the way through to presenting scenarios for security, backup/restore and maintenance.

Debian: Build a Web Server How-To will help you effectively setup and deploy a Debian-based Web server with strong foundations for the future of your Web application. It teaches concepts such as library and framework availability and suitability under the APT system, how to read and process logs and events and how to respond to security incidents. Additionally it also covers planning and executing a backup and restore strategy and how to deploy clusters and proxies.

The book will help you navigate installation methods, understand how to configure APT and how to use it to deploy the application parts and how to tackle common management scenarios, ending up with a ready-to-go Web server running Debian.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB
MOBI

Seitenzahl: 90

Veröffentlichungsjahr: 2013

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Table of Contents

Instant Debian – Build a Web Server
Credits
About the Author
About the Reviewer
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Debian – Build a Web Server
Choosing the right flavor of Debian (Simple)
Getting ready
How to do it…
There's more…
Architectures
Installing Debian GNU/Linux (Simple)
Getting ready
How to do it…
There's more…
Making Debian GNU/Linux installations scalable (Medium)
Getting ready
How it works…
How to do it…
There's more…
Preparing the APT packaging system for your environment (Simple)
Getting ready
How to do it…
There's more…
Installing your application platform stack (Simple)
How to do it…
Setting up your storage, security, and permissions (Simple)
Getting ready
How to do it…
Setting up your database/data storage (Medium)
Getting started
How to do it…
Configuring your programming language libraries (Medium)
Getting started
How to do it…
Setting up secure remote support options (Simple)
Getting started
How to do it…
Keeping your system up-to-date (Simple)
Getting ready
How to do it…
There's more…
Backing up your environment (Medium)
Getting ready
How to do it…
There's more…
Restoring your environment (Simple)
Getting ready
How to do it…
Preparing for common security scenarios (Medium)
Getting started
How to do it…
There's more…
Reading logs and troubleshooting your setup (Simple)
Getting started
How to do it…
There's more…
Using proxies, caches, and clusters to scale your architecture (Advanced)
Getting started
How to do it…
There's more…
Consuming Windows Azure Cloud Services (Medium)
Getting started
How to do it…
There's more…
Responding to security incidents (Advanced)
Getting ready
How to do it…
Monitoring your server's operation (Medium)
Getting ready
How it works…
How to do it…
Optimizing your solution performance (Advanced)
Getting started
How to do it…
There's more…

Instant Debian – Build a Web Server

Instant Debian – Build a Web Server

Copyright © 2013 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: September 2013

Production Reference: 1230913

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham B3 2PB, UK.

ISBN 978-1-84951-884-0

www.packtpub.com

Credits

Author

Jose Miguel Parrella

Reviewer

Gunnar Wolf

Acquisition Editor

Andrew Duckworth

Commissioning Editor

Neil Alexander

Technical Editor

Kanhucharan Panda

Adrian Raposo

Copy Editor

Gladson Monteiro

Kirti Pai

Project Coordinator

Amigya Khurana

Proofreader

Bridget Braund

Production Coordinator

Pooja Chiplunkar

Cover Work

Pooja Chiplunkar

Cover Image

Yuvraj Mannari

About the Author

Jose Miguel Parrella has been involved in the world of open source since he was 14, during his freshman year at college. In Venezuela, he's worked for the Intellectual Property Office, the National Electric Corporation, and other government entities, leading several Linux-based projects.

He was the CTO of an open source consulting firm in Venezuela and Ecuador, helping to grow the business and developing a strong team that delivered dozens of successful Linux projects, including the architecture, development, and release of Canaima National GNU/Linux 2.0 distribution of Venezuela used in over two million netbooks. He is currently on an assignment as an open source Specialist for a large IT company in the United States.

Since 2005, Jose Miguel has been involved in the Debian Project, speaking at several DebConfs, and became a Debian Developer in 2007. He uploaded Nginx 0.4 on the Debian archive in 2006.

In addition to workshops and keynotes delivered across the globe and publications, such as the Rapid Distribution Deployment whitepaper, Jose Miguel has been a technical reviewer for two Packt Publishing books on Nginx and is currently working on other titles related to open source software.

His opinions in this book or elsewhere don't necessarily represent the views of his past or present employers and/or the Debian Project.

I would like to thank my wife, Ailé, for her leadership, professionalism, and support in my life. You rock! And I would also like to thank all the Debian Project volunteers for their hard and high-quality work, as well as the managers and partners who have provided me with learning opportunities in the past. Thank you all.

About the Reviewer

Gunnar Wolf has been a Free Software enthusiast and promoter for over 15 years, choosing GNU/Linux for his production servers as early as 1996. Computer administration and security has always been one of his main topics of interest and research.

In the early 2000s, he founded the National Conference on Free Software (CONSOL), which helped consolidate the Mexican Free Software communities, and led its work for several years. In 2003, he became a Debian Developer and has been an organizer for the yearly Debian Conference since 2005.

In 2005, he started working at the Economics Research Institute of the National Autonomous University of Mexico (IIEc-UNAM) as a systems and network administrator, and a Web applications programmer. All of the systems he administers run Debian. He teaches the course on Operating Systems at the Engineering Faculty of the same university.

He has taken the topic of Free Software as a personal passion, as a particular expression of a much wider movement, Free Culture. He has also participated as a coordinator and co-author for the book Construcción Colaborativa del Conocimiento (IIEc-UNAM, 2011).

His recent thoughts and experiences in life are often portrayed in his personal blog, http://gwolf.org/.

www.PacktPub.com

Support files, eBooks, discount offers and more

You might want to visit www.PacktPub.com for support files and downloads related to your book.

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at <[email protected]> for more details.

At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

http://PacktLib.PacktPub.com

Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books.

Why Subscribe?

Fully searchable across every book published by PacktCopy and paste, print and bookmark contentOn demand and accessible via web browser

Free Access for Packt account holders

If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.

Preface

APT, one of the technologies that made Debian (and its derivatives, such as Ubuntu) highly popular, became mainstream for production deployments during the same time span that web applications broke through the barriers of enterprise fitness, reliability, and scalability.

The flexibility of Debian systems makes it very appealing for web DevOps and modern web apps. This book tries to simplify deployment and reduce time-to-market, while providing a solid foundation for you to grow your Debian sysadmin practices.

What this book covers

In the first part of the book we’ll help you choose the right flavor of Debian, install it, and prepare for multiple and massive installations, should you need it. We will also guide you through the initial APT setup, installing the stack, and configuring storage and frameworks.

In the second part of the book, we harden the installation, analyze scalability paths, and learn how to effectively maintain your system, including backup/restore and performance. We also provide a future look at cloud and incident response, which will help you get the most out of your installation in the long run.

Choosing the right flavor of Debian (Simple) explains how Debian organizes software, the architectures, and installation methods, and indicates a set of criteria for system administrators to choose and get the right media.

Installing Debian GNU/Linux (Simple) goes through the installation process, including partitioning, networking, and using tasksel to install an initial set of packages to work with.

Making Debian GNU/Linux installations scalable (Medium) discusses methods to automate and scale Debian installations, such as debconf preseeding.

Preparing the APT packaging system for your environment (Simple) explains how to configure APT and use APT tools, such as apt-get for package management.

Installing your application platform stack (Simple) goes through the installation of an Apache or Nginx stack, as well as PHP and other components, and the databases—all in the Debian way.

Setting up your storage, security, and permissions (Simple) goes through the mount-level and user-level options to implement a security strategy for your application storage.

Setting up your database/data storage (Medium) explores how to configure the databases and their underlying storage.

Configuring your programming language libraries (Medium) discusses the Debian way to install a framework or a set of libraries, where it adds value, and where it needs administering.

Setting up secure remote support options (Simple) goes through the simple but necessary changes, necessary on a Debian system, in order to facilitate a more secure working environment.

Keeping your system up-to-date (Simple) teaches us that with thousands of developers maintaining the most exciting open source projects, it’s important to know how to and when to install updates on Debian.

Backing up your environment (Medium) describes a backup and restore strategy from an outcome-oriented vision using simple tools and dedicated backup software.

Restoring your environment (Simple) discusses the scenarios where fast restoring of data is critical to the application.

Preparing for common security scenarios (Medium) tackles several of the most common security scenarios and how to move from reactive to proactive security.

Reading logs and troubleshooting your setup (Simple) goes through the most important logfiles and essential skills to troubleshoot, by interpreting them.

Using proxies, caches, and clusters to scale your architecture (Advanced) discusses architectural scenarios for future growth of the application, including proxies, caches, and clusters, and when they can add value.

Consuming Windows Azure Cloud Services (Medium)