4Developers 2015: Scaling LAMP doesn't have to suck - Sebastian GrodzickiPROIDEA
Sebastian Grodzicki
Language: Polish
Tradycyjny LAMP sprawdza się świetnie … w środowisku deweloperskim. Nawet jeżeli nie tworzysz kolejnego Facebooka, to każda niedostępność Twojego serwisu kosztuje Cię sporo nerwów oraz pieniędzy. Awaria wystąpi wcześniej lub później. Pytanie nie brzmi "czy" leczy "kiedy". Dlatego warto o tym pomyśleć zawczasu i zbudować taką architekturę, która nie jest podatna na niedostępność z powodu awarii jednego z jej elementów. Jakie narzędzia wybrać? Jak wycisnąć z nich ostatnie soki?
XPDS14: libvirt support for libxenlight - James Fehlig, SUSEThe Linux Foundation
libvirt is an important piece of the overall open source virtualization management puzzle. Many of the open source virtualization management applications that users enjoy are based on libvirt, since it provides a normalized API for managing heterogeneous hypervisors. For Xen to enjoy this greater ecosystem of open source virtualization tools, it must be well supported and maintained in libvirt.
This presentation will give a basic overview of libvirt, discuss the latest status of the libvirt libxenlight driver (also known as the libxl driver), and discuss future improvements planned for the driver.
Composer is a tool for dependency management in PHP projects that allows developers to declare project dependencies and have Composer install them. It resolves dependencies and runs installation tasks per project rather than globally. Major PHP frameworks like Symfony use Composer because it ensures projects always have the exact same dependency versions and avoids issues with PEAR's global installation approach. Composer has over 15,000 packages on its default repository Packagist and has seen 60 million package installations since 2012.
Secure your IT infrastructure with GNU/LinuxBud Siddhisena
Secure your IT infrastructure with GNU/Linux outlines a strategy for migrating core services like email, web, and file sharing to open source alternatives like Postfix, Apache, and Samba. It discusses implementing email servers, clients and antivirus/spam protection with Sendmail, Horde, ClamAV and SpamAssassin. The document also recommends securing services with firewalls like IPTables and SELinux, and replacing proprietary databases, VOIP, and desktop software with open source options like MySQL, PostgreSQL, Asterisk, Thunderbird and OpenOffice. Finally, it suggests using distributions like Ubuntu Server, CentOS or Debian for servers and Ubuntu, Fedora or Open SUSE for desktop clients.
CBDW2014- Intro to CommandBox; The ColdFusion CLI, Package Manager, and REPL ...Ortus Solutions, Corp
CommandBox is a standalone, native tool for Windows, Mac, and Linux that will provide you with a Command Line Interface (CLI) for developer productivity, tool interaction, package management, embedded CFML server, application scaffolding, and some sweet ASCII art. It seamlessly integrates to work with any of the *Box products but it is also open for extensibility for any ColdFusion (CFML) project as it is also written in ColdFusion (CFML) using our concepts of CommandBox Commands.
CommandBox also functions as a package management tool which integrates seamlessly with ForgeBox, our community of ColdFusion (CFML) projects, but can also integrate with git,svn,http, ftp and many more code endpoints. Come learn about one of the coolest tools for CFML in years and how it can help your everyday productivity.
4Developers 2015: Scaling LAMP doesn't have to suck - Sebastian GrodzickiPROIDEA
Sebastian Grodzicki
Language: Polish
Tradycyjny LAMP sprawdza się świetnie … w środowisku deweloperskim. Nawet jeżeli nie tworzysz kolejnego Facebooka, to każda niedostępność Twojego serwisu kosztuje Cię sporo nerwów oraz pieniędzy. Awaria wystąpi wcześniej lub później. Pytanie nie brzmi "czy" leczy "kiedy". Dlatego warto o tym pomyśleć zawczasu i zbudować taką architekturę, która nie jest podatna na niedostępność z powodu awarii jednego z jej elementów. Jakie narzędzia wybrać? Jak wycisnąć z nich ostatnie soki?
XPDS14: libvirt support for libxenlight - James Fehlig, SUSEThe Linux Foundation
libvirt is an important piece of the overall open source virtualization management puzzle. Many of the open source virtualization management applications that users enjoy are based on libvirt, since it provides a normalized API for managing heterogeneous hypervisors. For Xen to enjoy this greater ecosystem of open source virtualization tools, it must be well supported and maintained in libvirt.
This presentation will give a basic overview of libvirt, discuss the latest status of the libvirt libxenlight driver (also known as the libxl driver), and discuss future improvements planned for the driver.
Composer is a tool for dependency management in PHP projects that allows developers to declare project dependencies and have Composer install them. It resolves dependencies and runs installation tasks per project rather than globally. Major PHP frameworks like Symfony use Composer because it ensures projects always have the exact same dependency versions and avoids issues with PEAR's global installation approach. Composer has over 15,000 packages on its default repository Packagist and has seen 60 million package installations since 2012.
Secure your IT infrastructure with GNU/LinuxBud Siddhisena
Secure your IT infrastructure with GNU/Linux outlines a strategy for migrating core services like email, web, and file sharing to open source alternatives like Postfix, Apache, and Samba. It discusses implementing email servers, clients and antivirus/spam protection with Sendmail, Horde, ClamAV and SpamAssassin. The document also recommends securing services with firewalls like IPTables and SELinux, and replacing proprietary databases, VOIP, and desktop software with open source options like MySQL, PostgreSQL, Asterisk, Thunderbird and OpenOffice. Finally, it suggests using distributions like Ubuntu Server, CentOS or Debian for servers and Ubuntu, Fedora or Open SUSE for desktop clients.
CBDW2014- Intro to CommandBox; The ColdFusion CLI, Package Manager, and REPL ...Ortus Solutions, Corp
CommandBox is a standalone, native tool for Windows, Mac, and Linux that will provide you with a Command Line Interface (CLI) for developer productivity, tool interaction, package management, embedded CFML server, application scaffolding, and some sweet ASCII art. It seamlessly integrates to work with any of the *Box products but it is also open for extensibility for any ColdFusion (CFML) project as it is also written in ColdFusion (CFML) using our concepts of CommandBox Commands.
CommandBox also functions as a package management tool which integrates seamlessly with ForgeBox, our community of ColdFusion (CFML) projects, but can also integrate with git,svn,http, ftp and many more code endpoints. Come learn about one of the coolest tools for CFML in years and how it can help your everyday productivity.
Creating Secure VM (Comarison between Intel and AMD, and one more thing...) -...Tsukasa Oi
This document discusses creating secure virtual machines through techniques like setting breakpoints using debug registers or page table modifications. It compares Intel and AMD virtualization technologies, specifically how AMD-V can intercept the IRET instruction while both support using debug registers or page tables for breakpoints. Full virtualization of x86 on x86_64 architectures is also discussed as a way to do instruction tracing for purposes like malware analysis and reverse engineering. Limitations include supporting x86 segmentation and needing very fast storage for tracing large amounts of data.
Dieser Vortrag zeigt, welchen Herausforderungen im Hosting punkt.de in der jüngeren Vergangenheit gegenüber stand und welche Änderungen gegenüber unserer 2010 vorgestellten "NanoBSD"-Architektur wir seitdem umgesetzt haben. Der proServer hat auf der Seite des Hosting-Anbieters viele der erwünschten Eigenschaften eines "Private Cloud"-Produkts, stellt sich dem Kunden aber wie ein klassischer Root-Server dar. Für Anwendungen, bei denen eine solche Plattform gefordert ist, ein unschätzbarer Vorteil gegenüber reinen Container-Lösungen, die praktisch immer eine speziell angepasste Anwendungs-Architektur benötigen.
Libvirt is an open source library that provides a standardized interface to manage virtualization platforms. It supports various hypervisors like QEMU/KVM, Xen, VMWare and containers. It provides APIs to manage domains, networks, storage and other virtualization components in a platform-independent way. Libvirt has over 25 maintainers and receives 200-300 patches per release to support new features and improve existing functionality.
This document discusses various techniques for optimizing Drupal performance, including:
- Defining goals such as faster page loads or handling more traffic
- Applying patches and rearchitecting content to optimize at a code level
- Using tools like Apache Benchmark and MySQL tuning to analyze performance bottlenecks
- Implementing solutions like caching, memcached, and reverse proxies to improve scalability
Keep Calm and Breathe During Disaster RecoveryLOUIS Libraries
- The document provides information about the disaster recovery process for LOUIS, a library consortium, in 3 or fewer sentences:
The document outlines LOUIS' disaster recovery process which involves nightly backups of data to an off-site server, daily synchronization of data to a redundant "hotsite" server, and steps taken to switch production services to the hotsite server including preparing servers, stopping services, and reversing server roles in the event of an outage.
NSQ is a real-time message processing system designed to handle billions of messages per day. It is distributed, fault tolerant, and guarantees message delivery. NSQ workers are Python applications that consume messages from NSQ topics and channels and process them using worker tasks. The nsqworker library provides a base Worker class and handles connecting Python workers to NSQ.
This presentation discusses using the libvirt virtualization API for controlling bhyve virtual machines under FreeBSD.
Video for this presentation is available at:
https://www.youtube.com/watch?v=LRLV_SZo6Sw
Neutron is OpenStack's networking service that exposes a REST API to manage network resources using plugins. It provides a framework for plugins to implement specific networking strategies using agents that manage state on compute and gateway nodes. Typical requests update the database, asynchronously dispatch state changes to agents, and return a status to the client.
This document discusses Firebird database replication solutions, focusing on Jonathan Neve's company Microtec Communications' replication product called CopyCat. CopyCat includes CopyCat Developer for multi-database replication across various database types, CopyCat LiveMirror for high frequency one-way replication for backups, and the upcoming CopyCat DataMerge for fully-featured bidirectional replication. The document provides information on features, case studies demonstrating usage, and upcoming additions planned for 2015.
Accelerate your web app with a layer of VarnishJeremy Cook
This document provides an overview of Varnish, an open source caching reverse proxy that can accelerate web applications. It discusses what Varnish is, how it works, basic and advanced configuration options like backends, VCL, caching strategies, and Edge Side Includes. Installation and usage is demonstrated on common operating systems. The presentation aims to help attendees understand when and how to use Varnish to improve application performance.
Apache Provisionr (incubating) - Bucharest JUG 10Andrei Savu
My slides on Apache Provisionr (incubating) - a service that can be used to create and manage pools of virtual machines on multiple clouds.
http://provisionr.incubator.apache.org/
Foreman is a lifecycle management tool for physical and virtual servers, that has traditionally been Puppet-centric. There are now several plugins for additional configuration management systems, including Salt. This talk will demo provisioning a new minion, applying states, viewing grains, setting pillars and more -- all from within the Foreman UI.
Openstack il2014 staypuft- your friendly foreman openstack installerArthur Berezin
Project Staypuft is a plugin for the Foreman OpenStack Installer that provides an intuitive deployment tool for production grade OpenStack installations. It includes features such as a live CD/USB, host auto-discovery via PXE, and an OpenStack-oriented user interface to orchestrate deployments through steps like first deploying controller nodes and then compute nodes. The goal is to simplify the complex OpenStack installation process that typically requires manual configuration and troubleshooting of packages.
Scylla Summit 2018: Rebuilding the Ceph Distributed Storage Solution with Sea...ScyllaDB
RedHat built a distributed object storage solution named Ceph which first debuted ten years ago. Now we are seeing rapid developments in the industry and we want to take advantage of them. In this talk, we will briefly introduce Ceph, revisit the problems we are seeing when profiling its I/O performance with flash device, and explain why we want to embrace the future by switching to Seastar. We’ll share our experiences with the audience of how and when we are porting our software to this framework.
The document summarizes the key features and changes in Fluentd v0.14, including new plugin APIs, plugin storage and helpers, time with nanosecond resolution, a ServerEngine-based supervisor for Windows support, and plans for symmetric multi-core processing, a counter API, and TLS/authentication in future versions. It also benchmarks some performance improvements and outlines the roadmap for Treasure Agent 3.0 based on Fluentd v0.14.
Infinit's C++ coroutine-based asynchronous framework has been the fundamental brick on top of which the peer-to-peer POSIX-compliant file system has been built.
The document is the course outline for a 2-day Apache Web Server Administration course. The course covers installing and configuring the Apache httpd server, including configuration files, virtual hosts, security, and modules. Major topics include the Apache configuration files, URL mapping, performance tuning, security, and modules. The target audience is web server administrators who need to install, configure, and run the Apache httpd server.
Apache and PHP: Why httpd.conf is your new BFF!Jeff Jones
Apache's configuration files can be used to configure how Apache operates, but they can also be used to configure PHP and how Apache httpd interacts with PHP. In this talk, Jeff explains the different ways Apache can be configured, explains many of the useful config options available for Apache modules, including our own mod_php, and showcases example of how they can be used with, and instead of, your PHP code.
This document discusses setting up an Apache web server with virtual domains and dynamic CGI pages. It provides instructions for installing and configuring Apache from source, including a sample httpd.conf configuration file. It also describes a simple shell script-based web server for testing purposes.
Learn how to develop for Android, beyond the Hello World android app - Cape T...Joseph Kandi
Learn the core Android App development concepts beyond creating the Android App. We used the Yamba app from the Learning Android demonstrate the use of Android Activities, Services, Broadcast Receivers, Intents and Content Providers.
Creating Secure VM (Comarison between Intel and AMD, and one more thing...) -...Tsukasa Oi
This document discusses creating secure virtual machines through techniques like setting breakpoints using debug registers or page table modifications. It compares Intel and AMD virtualization technologies, specifically how AMD-V can intercept the IRET instruction while both support using debug registers or page tables for breakpoints. Full virtualization of x86 on x86_64 architectures is also discussed as a way to do instruction tracing for purposes like malware analysis and reverse engineering. Limitations include supporting x86 segmentation and needing very fast storage for tracing large amounts of data.
Dieser Vortrag zeigt, welchen Herausforderungen im Hosting punkt.de in der jüngeren Vergangenheit gegenüber stand und welche Änderungen gegenüber unserer 2010 vorgestellten "NanoBSD"-Architektur wir seitdem umgesetzt haben. Der proServer hat auf der Seite des Hosting-Anbieters viele der erwünschten Eigenschaften eines "Private Cloud"-Produkts, stellt sich dem Kunden aber wie ein klassischer Root-Server dar. Für Anwendungen, bei denen eine solche Plattform gefordert ist, ein unschätzbarer Vorteil gegenüber reinen Container-Lösungen, die praktisch immer eine speziell angepasste Anwendungs-Architektur benötigen.
Libvirt is an open source library that provides a standardized interface to manage virtualization platforms. It supports various hypervisors like QEMU/KVM, Xen, VMWare and containers. It provides APIs to manage domains, networks, storage and other virtualization components in a platform-independent way. Libvirt has over 25 maintainers and receives 200-300 patches per release to support new features and improve existing functionality.
This document discusses various techniques for optimizing Drupal performance, including:
- Defining goals such as faster page loads or handling more traffic
- Applying patches and rearchitecting content to optimize at a code level
- Using tools like Apache Benchmark and MySQL tuning to analyze performance bottlenecks
- Implementing solutions like caching, memcached, and reverse proxies to improve scalability
Keep Calm and Breathe During Disaster RecoveryLOUIS Libraries
- The document provides information about the disaster recovery process for LOUIS, a library consortium, in 3 or fewer sentences:
The document outlines LOUIS' disaster recovery process which involves nightly backups of data to an off-site server, daily synchronization of data to a redundant "hotsite" server, and steps taken to switch production services to the hotsite server including preparing servers, stopping services, and reversing server roles in the event of an outage.
NSQ is a real-time message processing system designed to handle billions of messages per day. It is distributed, fault tolerant, and guarantees message delivery. NSQ workers are Python applications that consume messages from NSQ topics and channels and process them using worker tasks. The nsqworker library provides a base Worker class and handles connecting Python workers to NSQ.
This presentation discusses using the libvirt virtualization API for controlling bhyve virtual machines under FreeBSD.
Video for this presentation is available at:
https://www.youtube.com/watch?v=LRLV_SZo6Sw
Neutron is OpenStack's networking service that exposes a REST API to manage network resources using plugins. It provides a framework for plugins to implement specific networking strategies using agents that manage state on compute and gateway nodes. Typical requests update the database, asynchronously dispatch state changes to agents, and return a status to the client.
This document discusses Firebird database replication solutions, focusing on Jonathan Neve's company Microtec Communications' replication product called CopyCat. CopyCat includes CopyCat Developer for multi-database replication across various database types, CopyCat LiveMirror for high frequency one-way replication for backups, and the upcoming CopyCat DataMerge for fully-featured bidirectional replication. The document provides information on features, case studies demonstrating usage, and upcoming additions planned for 2015.
Accelerate your web app with a layer of VarnishJeremy Cook
This document provides an overview of Varnish, an open source caching reverse proxy that can accelerate web applications. It discusses what Varnish is, how it works, basic and advanced configuration options like backends, VCL, caching strategies, and Edge Side Includes. Installation and usage is demonstrated on common operating systems. The presentation aims to help attendees understand when and how to use Varnish to improve application performance.
Apache Provisionr (incubating) - Bucharest JUG 10Andrei Savu
My slides on Apache Provisionr (incubating) - a service that can be used to create and manage pools of virtual machines on multiple clouds.
http://provisionr.incubator.apache.org/
Foreman is a lifecycle management tool for physical and virtual servers, that has traditionally been Puppet-centric. There are now several plugins for additional configuration management systems, including Salt. This talk will demo provisioning a new minion, applying states, viewing grains, setting pillars and more -- all from within the Foreman UI.
Openstack il2014 staypuft- your friendly foreman openstack installerArthur Berezin
Project Staypuft is a plugin for the Foreman OpenStack Installer that provides an intuitive deployment tool for production grade OpenStack installations. It includes features such as a live CD/USB, host auto-discovery via PXE, and an OpenStack-oriented user interface to orchestrate deployments through steps like first deploying controller nodes and then compute nodes. The goal is to simplify the complex OpenStack installation process that typically requires manual configuration and troubleshooting of packages.
Scylla Summit 2018: Rebuilding the Ceph Distributed Storage Solution with Sea...ScyllaDB
RedHat built a distributed object storage solution named Ceph which first debuted ten years ago. Now we are seeing rapid developments in the industry and we want to take advantage of them. In this talk, we will briefly introduce Ceph, revisit the problems we are seeing when profiling its I/O performance with flash device, and explain why we want to embrace the future by switching to Seastar. We’ll share our experiences with the audience of how and when we are porting our software to this framework.
The document summarizes the key features and changes in Fluentd v0.14, including new plugin APIs, plugin storage and helpers, time with nanosecond resolution, a ServerEngine-based supervisor for Windows support, and plans for symmetric multi-core processing, a counter API, and TLS/authentication in future versions. It also benchmarks some performance improvements and outlines the roadmap for Treasure Agent 3.0 based on Fluentd v0.14.
Infinit's C++ coroutine-based asynchronous framework has been the fundamental brick on top of which the peer-to-peer POSIX-compliant file system has been built.
The document is the course outline for a 2-day Apache Web Server Administration course. The course covers installing and configuring the Apache httpd server, including configuration files, virtual hosts, security, and modules. Major topics include the Apache configuration files, URL mapping, performance tuning, security, and modules. The target audience is web server administrators who need to install, configure, and run the Apache httpd server.
Apache and PHP: Why httpd.conf is your new BFF!Jeff Jones
Apache's configuration files can be used to configure how Apache operates, but they can also be used to configure PHP and how Apache httpd interacts with PHP. In this talk, Jeff explains the different ways Apache can be configured, explains many of the useful config options available for Apache modules, including our own mod_php, and showcases example of how they can be used with, and instead of, your PHP code.
This document discusses setting up an Apache web server with virtual domains and dynamic CGI pages. It provides instructions for installing and configuring Apache from source, including a sample httpd.conf configuration file. It also describes a simple shell script-based web server for testing purposes.
Learn how to develop for Android, beyond the Hello World android app - Cape T...Joseph Kandi
Learn the core Android App development concepts beyond creating the Android App. We used the Yamba app from the Learning Android demonstrate the use of Android Activities, Services, Broadcast Receivers, Intents and Content Providers.
Apache is the most popular web server software. It responds to requests from web browsers using TCP ports 80 and 443. To set up Apache, install the httpd package and related packages, open the necessary ports in the firewall, configure the httpd.conf file, and start the httpd service. Apache serves files from the document root directory, which is /var/www/html by default. It can also host multiple virtual websites on one server using virtual hosts.
Apache httpd 2.4 Reverse Proxy: The Hidden GemJim Jagielski
The document discusses the reverse proxy capabilities of Apache HTTP Server (httpd) version 2.4. It notes that httpd is commonly used as a front-end reverse proxy and that its proxy capabilities have improved in version 2.4, including support for load balancing, connection pooling, and dynamic configuration. The document provides examples of configuring reverse proxying, load balancing clusters, and other advanced proxy features in httpd.
The document provides instructions for starting, stopping, restarting, and reloading the Apache HTTP Server using the /sbin/service command. It describes configuring the server by editing the httpd.conf file and locations for log and error files. It also covers setting up virtual hosts on multiple IPs, authentication, and protecting web directories with passwords. Key configuration directives like Listen, ServerName, DocumentRoot, Directory, and Authentication directives are explained.
This document discusses configuring and managing the Apache web server. It describes how to start, stop, and restart the Apache daemon. It explains the Apache configuration file format and common directives. It also covers access control, user home directories, virtual hosts, enabling HTTPS, and creating self-signed certificates.
Choosing A Proxy Server - Apachecon 2014bryan_call
This document summarizes a presentation about choosing a proxy server. It discusses several popular proxy options including Apache Traffic Server (ATS), Nginx, Squid, Varnish, and Apache HTTP Server. It covers the types of proxies each supports, features, architectures, caching, performance, and pros and cons. Benchmark tests show ATS has the best cache scaling and performance overall while using less CPU than alternatives like Squid. Nginx and Squid had some issues with latency and HTTP compliance. The document recommends ATS as a good choice for its scaling, efficient caching, and plugin support.
This document provides an overview of server-side web programming. It discusses how web servers deliver static and dynamic web pages using technologies like HTML, CSS, JavaScript, Java, PHP, and databases. It then covers common web servers like Apache and IIS. The main server-side technologies - CGI, servlets, and PHP - are explained. Servlets are Java classes that extend server capabilities, while PHP is a scripting language designed for web development. Examples are given to demonstrate basic servlets and PHP scripts. The document also mentions modifying configuration files, handling GET/POST requests, and returning JSON/XML data.
Apache is the most widely used web server, with over 65% market share. It supports multiple modules for processing requests in different ways, and allows virtual hosting of multiple websites from one server. Key configuration files are located in /etc/httpd, and the daemon runs from /usr/sbin/httpd. Virtual hosting can be configured through name-based or port-based virtual hosts in the httpd.conf file. Apache also supports modules for PHP, databases like MySQL and PostgreSQL, and technologies like Mono for ASP.NET on Linux.
An introduction to message queues with PHP. We'll focus on RabbitMQ and how to leverage queuing scenarios in your applications. The talk will cover the main concepts of RabbitMQ server and AMQP protocol and show how to use it in PHP. The RabbitMqBundle for Symfony2 will be presented and we'll see how easy you can start to use message queuing in minutes.
Presented at Symfony User Group Belgium: http://www.meetup.com/Symfony-User-Group-Belgium/events/169953362/
Pradeep Sharma from OSSCube presents on Securing your web server at OSSCamp, organized by OSSCube - A Global open Source enterprise for Open Source Solutions
To know how we can help your business grow, leveraging Open Source, contact us:
India: +91 995 809 0987
USA: +1 919 791 5427
WEB: www.osscube.com
Mail: sales@osscube.com
This document provides an overview of the Apache HTTP Server, including what it is, its main features, how it works, and how to install it. It begins by explaining that Apache is a free and open-source web server software that can run on many operating systems. It then lists and briefly describes Apache's features, such as supporting multiple programming languages, virtual hosting, and log formats. The document also summarizes how Apache uses multi-processing modules to handle requests and describes its default prefork and worker modules. It concludes by covering Apache's virtual hosting, log formats, error handling, and installation process.
This document discusses web servers, including what they are, common features, differences between kernel-mode and user-mode servers, popular server software like Apache, IIS, Nginx, Google Web Server, and Resin. It also covers topics like path translation, load limits, overloads, and the market shares of different server products.
This document provides a top ten list of tips for improving PHP and web application performance. They include tweaking realpath cache settings, using offline processing whenever possible, writing efficient SQL queries, not executing queries in loops, caching data, using a content delivery network, and using APC caching with apc.stat set to 0. The tips cover optimizing PHP, database, and infrastructure performance.
Servers provide various services to other computer programs and users. A server is a computer program that responds to requests, while a computer running server programs is called a server. There are different types of servers categorized by their purpose, such as web servers, database servers, and DNS servers.
A web server is a computer that responds to requests from web clients using HTTP. It holds websites written in languages like HTML, PHP, and ASP that are accessed by browsers. The Apache web server is an open source software package commonly used on port 80 that can turn a computer into a web server to serve pages to multiple clients simultaneously.
The document summarizes Ricardo Sanchez's presentation on DevOps tools and Ruby/Rails. It discusses his background in operations and networking and introduces Ruby, Rails, RVM, Vagrant, Capistrano, Chef, and resources for learning Ruby. The presentation covers the basics of Ruby and Rails, how Rails applications work, and configuration/automation tools like RVM, Vagrant, Capistrano and Chef for managing servers and deployments.
Ricardo Sanchez - Ruby projects of interest for devopsSVDevOps
The document summarizes Ricardo Sanchez's presentation on DevOps tools and Ruby/Rails. It discusses his background in operations and networking and introduces Ruby, Rails, RVM, Vagrant, Capistrano, Chef, and resources for learning Ruby. The presentation covers the basics of Ruby and Rails, how Rails applications work, and configuration/automation tools like RVM, Vagrant, Capistrano and Chef for managing servers and deployments.
This document provides an overview of various Linux basics including the VIM text editor, networking commands, SSH secure shell, SSH keys, package management, package dependencies, services, Apache web server configuration, MySQL database server, caching, and configuration management tools like Puppet, CFEngine, and Chef. It discusses installing and using the popular Wordpress content management system on a Linux server.
This document provides an overview of fundamental networking and web architecture concepts. It discusses the OSI 7-layer model, network topologies like star and bus, networking terms like client and server, protocols like IP, TCP, UDP, and DNS, internet architecture with TCP/IP, static web architecture using HTTP and HTML, and REST-based architecture where resources are manipulated through representations.
This document provides an overview of fundamental networking and web architecture concepts, including:
- The OSI 7-layer model and common network topologies like bus, star, and mesh.
- Key protocols like IP, TCP, UDP, and DNS that enable communication and addressing on the internet.
- The basic architecture of the internet and how hardware and protocols interconnect networks.
- How static web pages are organized on websites and accessed via HTTP requests and responses with HTML content.
- REST-based architecture which allows web applications by treating resources as manipulable representations accessed through hypermedia links and queries rather than static pages.
This document discusses several topics related to computer networking protocols:
1. It describes static IP addressing versus DHCP for network configuration, and how DHCP provides devices with more than just IP addresses.
2. It explains how the ARP cache stores MAC address to IP address mappings and how entries are aged out after periods of inactivity.
3. It provides details on how default gateways work, allowing devices to send traffic outside their local network segment by routing through the gateway router.
4. It also covers DNS client settings, HTTP and the basic client-server model of web browsing, how cookies are used to maintain state across requests, and techniques for client-side caching of web objects.
This document discusses strategies for improving the performance of Drupal sites, including caching at various levels (PHP opcode, Drupal internal, reverse proxy), using modules like Boost and Memcached, optimizing database and hardware configurations, and profiling code to identify bottlenecks. Specific techniques mentioned include leveraging caching, optimizing SQL queries, using master-slave databases, serving static files from fast servers, scaling out hardware, and profiling with tools like Xdebug to optimize page loads.
This document discusses techniques for scaling out Apache web servers to improve performance and reliability. It covers adding redundancy with hardware components like RAID disk mirroring and redundant power supplies. It also discusses scaling out the application tier vertically by moving services to separate hosts, and horizontally by load balancing traffic across multiple servers. Load balancing can be done with techniques like DNS round robin, network load balancers, and load balancing appliances. The document also addresses session state management across servers and caching static content to improve performance.
This document discusses techniques for scaling out Apache web servers to improve performance and reliability. It covers adding redundancy with hardware components like RAID disk mirroring and redundant power supplies. It also discusses scaling out the application tier vertically by moving services to separate hosts, and horizontally by load balancing traffic across multiple servers. Load balancing can be done with techniques like DNS round robin, network load balancers, and load balancing appliances. The document also addresses session state management across servers and caching static content to improve performance.
This document discusses techniques for scaling out Apache web servers to improve performance and reliability. It covers adding redundancy with hardware components like RAID disk mirroring and redundant power supplies. It also discusses scaling out the application tier vertically by moving services to separate hosts, and horizontally by load balancing traffic across multiple servers. Load balancing can be done with techniques like DNS round robin, network load balancers, and load balancing appliances. The document also addresses session state management across servers and caching static content to improve performance.
Similar to Apache HTTPd Server 2.2 Presentation (20)
3. Installation
• Super easy on GNU/Linux, Unix..
• On RedHat derivatives
– yum install httpd
– service httpd start
4. Configuration
• /etc/httpd/conf/httpd.conf
• Important directives:
– DocumentRoot (where to serve content)
– Listen (bind on which socket (ip:port))
– LogLevel (debug,info,notice,warn,error,crit,alert,emerg)
– DirectoryIndex (default directory index page)
5. Multi-Processing Module
• Respecting modularity, you can control the most basic
functions of the web server.
• Responsible for:
– Binding to network ports
– Accepting requests
– Dispatching request handling children.
• Available MPM
– Worker (POSIX)
– Prefork (POSIX)
– Mpm_winnt (for windows) *won’t talk about, Unix biased :)
POSIX = Portable Operating System Interface for Unix
6. Prefork MPM
• Old Apache 1.3 only MPM
• Non-threaded, for sake of respect to non-
thread safe libraries
• Single process/thread, many child, one
process rule them all
• Resource hungry, Listener process embedded
• Lots of tuning, expandability needs
reconfiguration
7. Worker MPM
• Hybrid multi-process multi-threaded server
• Many threads, Many requests, Few resources
• Retains stability by having many processes,
each with many threads
• Respects memory, GC
• Listener process, The guarding angel process
9. Virtual Hosts
• A blessing for business
• Many web sites -> one web-server
GET /hello.html HTTP/1.1
Host: www.example.com
• Many web sites -> one IP address (name-based)
– NameVirtualHost
– <VirtualHost>
• Many web sites -> many IP addresses (IP-based)
– Supported out-of-the-box
• Sample configuration
<VirtualHost *:80>
ServerAdmin webmaster@example.com
DocumentRoot /var/www/example.com
ServerName example.com
ServerAlias www.example.com
ErrorLog logs/example.com-error_log
CustomLog logs/example.com-access_log common
</VirtualHost>