Programming PHP ,TITLE.18349 Page Iii Wednesday, March 13, 2002 11:52 AM

Total Page:16

File Type:pdf, Size:1020Kb

Programming PHP ,TITLE.18349 Page Iii Wednesday, March 13, 2002 11:52 AM ,TITLE.18349 Page i Wednesday, March 13, 2002 11:52 AM Programming PHP ,TITLE.18349 Page iii Wednesday, March 13, 2002 11:52 AM Programming PHP Rasmus Lerdorf and Kevin Tatroe with Bob Kaehms and Ric McGredy Beijing • Cambridge • Farnham • Köln • Paris • Sebastopol • Taipei • Tokyo ,COPYRIGHT.18224 Page iv Wednesday, March 13, 2002 11:52 AM Programming PHP by Rasmus Lerdorf and Kevin Tatroe with Bob Kaehms and Ric McGredy Copyright © 2002 O’Reilly & Associates, Inc. All rights reserved. Printed in the United States of America. Published by O’Reilly & Associates, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly & Associates books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (safari.oreilly.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 or [email protected]. Editors: Nathan Torkington and Paula Ferguson Production Editor: Rachel Wheeler Cover Designer: Ellie Volckhausen Interior Designer: Melanie Wang Printing History: March 2002: First Edition. Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly & Associates, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O’Reilly & Associates, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps. The association between the image of a cuckoo and PHP is a trademark of O’Reilly & Associates, Inc. While every precaution has been taken in the preparation of this book, the publisher and authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein. ISBN: 1-56592-610-2 [M] ,AUTHOR.COLO.18074 Page 1 Wednesday, March 13, 2002 11:52 AM About the Authors Rasmus Lerdorf was born in Godhavn/Qeqertarsuaq on Disco Island, off the coast of Greenland, in 1968. He has been dabbling with Unix-based solutions since 1985. He is known for having gotten the PHP project off the ground in 1995, and he can be blamed for the ANSI-92 SQL-defying LIMIT clause in mSQL 1.x, which has now, at least conceptually, crept into both MySQL and PostgreSQL. Rasmus tends to deny being a programmer, preferring to be seen as a techie who is adept at solving problems. If the solution requires a bit of coding and he can’t trick somebody else into writing the code, he will reluctantly give in and write it himself. He currently lives near San Francisco with his wife Christine. Kevin Tatroe has been a Macintosh and Unix programmer for 10 years. Being lazy, he’s attracted to languages and frameworks that do much of the work for you, such as the AppleScript, Perl, and PHP languages and the WebObjects and Cocoa programming environments. Kevin, his wife Jenn, his son Hadden, and their two cats live on the edge of the rural plains of Colorado, just far away enough from the mountains to avoid the worst snowfall, and just close enough to avoid tornadoes. The house is filled with LEGO creations, action figures, and numerous other toys. Bob Kaehms has spent most of his professional career working with computers. After a prolonged youth that he stretched into his late 20s as a professional scuba diver, ski patroller, and lifeguard, he went to work as a scientific programmer for Lockheed Missiles and Space Co. Frustrations with the lack of information-sharing within the defense industry led him first to groupware and then to the Web. Bob helped found the Internet Archive, where as Director of Computing he was responsible for the first full backup of all publicly available data on the Internet. Bob also served as Editor in Chief of Web Techniques Magazine, the leading technical magazine for web developers. He is presently CTO at Media Net Link, Inc. Bob has a degree in applied mathematics, and he uses that training to study the chaos that exists around his house. Ric McGredy founded Media Net Link, Inc. in 1994, after long stints at Bank of America, Apple Computer, and Sun Microsystems, to pursue excellence in customer- focused web-service construction and deployment. While he has been known to crank out a line or two of code, Ric prides himself first and foremost as being busi- ness-focused and on integrating technology into the business enterprise with high reliability at a reasonable cost. Ric received a BA in French from Ohio Wesleyan University and has been involved in the accounting and information-technology disciplines for over 25 years. Ric lives near San Francisco with his wife Sally and five children. ,AUTHOR.COLO.18074 Page 2 Wednesday, March 13, 2002 11:52 AM Colophon Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Programming PHP is a cuckoo (Cuculus canorus). Cuckoos epitomize minimal effort. The common cuckoo doesn’t build a nest— instead, the female cuckoo finds another bird’s nest that already contains eggs and lays an egg in it (a process she may repeat up to 25 times, leaving 1 egg per nest). The nest mother rarely notices the addition, and usually incubates the egg and then feeds the hatchling as if it were her own. Why don’t nest mothers notice that the cuckoo’s eggs are different from their own? Recent research suggests that it’s because the eggs look the same in the ultraviolet spectrum, which birds can see. When they hatch, the baby cuckoos push all the other eggs out of the nest. If the other eggs hatched first, the babies are pushed out too. The host parents often continue to feed the cuckoo even after it grows to be much larger than they are, and cuckoo chicks sometimes use their call to lure other birds to feed them as well. Inter- estingly, only Old World (European) cuckoos colonize other nests—the New World (American) cuckoos build their own (untidy) nests. Like many Americans, these cuckoos migrate to the tropics for winter. Cuckoos have a long and glorious history in literature and the arts. The Bible mentions them, as do Pliny and Aristotle. Beethoven used the cuckoo’s distinctive call in his Pastoral Symphony. And here’s a bit of etymology for you: the word “cuckold” (a husband whose wife is cheating on him) comes from “cuckoo.” Presumably, the practice of laying one’s eggs in another’s nest seemed an appro- priate metaphor. Rachel Wheeler was the production editor and copyeditor for Programming PHP. Sue Willing and Jeffrey Holcomb provided quality control, and Sue Willing provided production assistance. Ellen Troutman-Zaig wrote the index. Ellie Volckhausen designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe’s ITC Garamond font. Melanie Wang designed the interior layout, based on a series design by David Futato. Neil Walls converted the files from Microsoft Word to FrameMaker 5.5.6 using tools created by Mike Sierra. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont’s TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. This colophon was written by Nathan Torkington and Rachel Wheeler. ,progphpTOC.fm.17249 Page v Wednesday, March 13, 2002 11:46 AM Table of Contents Preface . ix 1. Introduction to PHP . 1 What Does PHP Do? 1 A Brief History of PHP 2 Installing PHP 7 A Walk Through PHP 9 2. Language Basics . 17 Lexical Structure 17 Data Types 23 Variables 30 Expressions and Operators 34 Flow-Control Statements 46 Including Code 54 Embedding PHP in Web Pages 56 3. Functions . 61 Calling a Function 61 Defining a Function 62 Variable Scope 64 Function Parameters 66 Return Values 69 Variable Functions 70 Anonymous Functions 71 4. Strings . 72 Quoting String Constants 72 Printing Strings 75 v ,progphpTOC.fm.17249 Page vi Wednesday, March 13, 2002 11:46 AM Accessing Individual Characters 79 Cleaning Strings 80 Encoding and Escaping 81 Comparing Strings 86 Manipulating and Searching Strings 89 Regular Expressions 95 POSIX-Style Regular Expressions 99 Perl-Compatible Regular Expressions 103 5. Arrays . 116 Indexed Versus Associative Arrays 116 Identifying Elements of an Array 117 Storing Data in Arrays 117 Multidimensional Arrays 120 Extracting Multiple Values 120 Converting Between Arrays and Variables 124 Traversing Arrays 125 Sorting 130 Acting on Entire Arrays 135 Using Arrays 136 6. Objects . 140 Terminology 141 Creating an Object 141 Accessing Properties and Methods 142 Declaring a Class 143 Introspection 147 Serialization 153 7. Web Techniques . 158 HTTP Basics 158 Variables 159 Server Information 160 Processing Forms 162 Setting Response Headers 175 Maintaining State 178 SSL 188 vi | Table of Contents ,progphpTOC.fm.17249 Page vii Wednesday, March 13, 2002 11:46 AM 8. Databases . 189 Using PHP to Access a Database 189 Relational Databases and SQL 190 PEAR DB Basics 192 Advanced Database Techniques 197 Sample Application 202 9. Graphics . 214 Embedding an Image in a Page 214 The GD Extension 215 Basic Graphics Concepts 216 Creating and Drawing Images 217 Images with Text 220 Dynamically Generated Buttons 223 Scaling Images 227 Color Handling 228 10. PDF . 233 PDF Extensions 233 Documents and Pages 233 Text 237 Images and Graphics 246 Navigation 255 Other PDF Features 259 11.
Recommended publications
  • Linux and Open Source for (Almost) Zero Cost PCI Compliance
    Linux and Open Source for (Almost) Zero Cost PCI Compliance Rafeeq Rehman 2 Some Introductory Notes ¡ Payment Card Industry (PCI) standard is not a government regulaon. ¡ Who needs to comply with PCI? ¡ Twelve major requirements covering policy, processes, and technology to protect Credit Card Data. ¡ What is Credit Card Data? ¡ Few Clarificaons ¡ Payment Card Industry (PCI) requires some tasks to be performed by external vendors depending upon merchant level. There is no other way around, unfortunately. ¡ Open Source soluCons do need people. That is why it is almost free but not totally free. 9/10/11 3 What the Auditors Look For? ¡ Is PCI just a checklist? ¡ Are auditors genuinely interested in securing the PCI data? ¡ Does it maer if you use an open source or commercial product to meet PCI requirements? ¡ What if you meet PCI requirements while improving security and spending less money? 9/10/11 4 Is it viable to use Open Source for PCI Compliance? ¡ Is there a real company who uses Open Source soQware to achieve PCI compliance? Is it even possible? ¡ PCI 2.0 focuses more on Risk based approach. ¡ PCI (or any compliance) is boring! Make it interesCng by using Open Source. 9/10/11 5 PCI Biggest Expenses 1. Log Management (Storage and archiving, Monitoring and Alerng) 2. Vulnerability Scanning 3. Network Firewalls and Network Segmentaon 4. Intrusion DetecCon System 5. EncrypCon for data-at-rest 6. File Integrity Monitoring 7. IdenCty Management (Password controls, Two factor for remote access, Role based access) 9/10/11 6 AddiConal PCI
    [Show full text]
  • The Migration Process of Mobile Agents Implementation, Classification, and Optimization
    The Migration Process of Mobile Agents Implementation, Classification, and Optimization Dissertation zur Erlangung des akademischen Grades Doktor-Ingenieur (Dr.-Ing.), vorgelegt dem Rat der Fakult¨atf¨ur Mathematik und Informatik der Friedrich-Schiller-Universit¨atJena von Diplom-Informatiker Peter Braun, geboren am 22. Juni 1970 in Neuss. Gutachter 1. Prof. Dr. Wilhelm R. Rossak, Friedrich-Schiller-Universit¨atJena 2. Dr. Bill Buchanan, Napier University, Edinburgh, Scotland Tag der letzten Pr¨ufung des Rigorosums: 30. April 2003 Tag der ¨offentlichen Verteidigung: 13. Mai 2003 Abstract Mobile agents provide a new and fascinating design paradigm for the architecture and programming of distributed systems. A mobile agent is a software entity that is launched by its owner with a user-given task at a specific network node. It can decide to migrate to other nodes in the network during runtime. For a migration the agent carries its current data, its program code, and its execution state with it. Therefore, it is possible to continue agent execution at the destination platform exactly where it was interrupted before. The reason for a migration is mainly to use resources that are only available at remote servers in the network. This thesis focuses on the migration process of mobile agents, which is to our knowl- edge not considered in literature so far, although the performance of a mobile agent based application strongly depends on the performance of the migration process. We propose a general framework an an innovative set of notions to describe and specify the migration process. By introducing the concept of a migration model, we offer a classification scheme to describe migration issues in existing mobile agent systems.
    [Show full text]
  • Bluetooth Networking for Smartcards
    Departement Elektrotechnik Professur für Technische Informatik Professor Dr. Albert Kündig Alain Pellmont Andreas Petralia Bluetooth Networking for Smartcards Diploma Thesis WS-2001.05 Winter 2000=2001 Supervisors: Prof. Dr. Albert Kundig¨ Dr. George Fankhauser Bernard Stauffer Public Release Institut für Technische Informatik und Kommunikationsnetze Computer Engineering and Networks Laboratory ii Supervisors: Prof. Dr. Albert Kundig,¨ [email protected] Dr. George Fankhauser, [email protected] Bernard Stauffer, stauff[email protected] Students: Alain Pellmont, [email protected] Andreas Petralia, [email protected] Acknowledgments Our special appreciation goes to our supervisors Prof. Dr. Albert Kundig,¨ Bernard Stauffer and Dr. George Fankhauser for entrusting us with this project. Prof. Dr. Albert Kundig¨ and Bernard Stauffer work for the Com- puter Engineering and Networks Laboratory [49] at the Swiss Federal Insti- tute of Technology Zurich [48]. Dr. George Fankhauser works for acter ag [3] where the authors were enabled to work in a stimulating atmosphere and wonderful environment. Furthermore, we thank acter ag [3] and their staff for their support, AXIS [11] for the Bluetooth stack and Lesley Brack, Emmanuelle Graf, Kathy Grolimund and Ian Maloney for their proof-reading and comments. Remaining mistakes are ours. Zurich, 17th March 2001 Alain Pellmont Andreas Petralia iii iv Aufgabenstellung Bluetooth Networking for Smartcards Alain Pellmont und Andreas Petralia Diplomarbeit TIK-DA-2001.05 Winter 2000/2001 Betreuer: Bernard Stauffer Betreuer (extern): George Fankhauser Verantwortlich: Prof. Dr. Albert Kundig¨ Einfuhrung¨ Die Firma acter ag entwickelt eine neuartige Smartcard, die im Gegensatz zur traditionellen Kontaktschnittstelle via Bluetooth drahtlos kommuniziert. Bei dieser neuen Form der Kommunikation ergeben sich v¨ollig neue Proble- me: die Ubertragung¨ ist weder zuverl¨assig noch sicher.
    [Show full text]
  • Centralized and Structured Log File Analysis with Open Source and Free Software Tools
    Bachelor Thesis Summer Semester 2013 at Fachhochschule Frankfurt am Main University of Applied Sciences Department of Computer Science and Engineering towards Bachelor of Science Computer Science submitted by Jens Kühnel Centralized and structured log file analysis with Open Source and Free Software tools 1. Supervisor: Prof. Dr. Jörg Schäfer 2. Supervisor: Prof. Dr. Matthias Schubert topic received: 11. 07. 2013 thesis delivered: 30. 08. 2013 Abstract This thesis gives an overview on the Open Source and Free Software tools available for a centralized and structured log file analysis. This includes the tools to convert unstructured logs into structured log and different possibilities to transport this log to a central analyzing and storage station. The different storage and analyzing tools will be introduced, as well as the different web front ends to be used by the system administrator. At the end different tool chains will be introduced, that are well tested in this field. Revisions Rev. 269: Official Bachelor these sent to FH Rev. 273: Removal of Affidavit, fix of Pagenumber left/right II Table of Contents 1 Introduction.......................................................................................................................................1 1.1 Selection criteria........................................................................................................................1 1.2 Programs that are included in this thesis...................................................................................2 1.3 What
    [Show full text]
  • Gil André +33 (0)6 60 07 25 36
    ARCHITECT AND SYSTEM ADMINISTRATOR LINUX, UNIX, OPEN-SOURCE [email protected] GIL ANDRÉ +33 (0)6 60 07 25 36 PROFILE Architect and system administrator Linux, UNIX (Solaris, AIX, HP-UX), BSD and Mac OS X. More than 10 years of experience in demanding production environments. Excellent knowledge of the most common network protocols (SSH, SFTP, FTP, HTTP, etc), as well as CISCO hardware and virtualization technologies (VMWARE, VirtualBox, LXC). Programming in shell, Perl, Python. I am looking for a new position. Dynamic, bilingual in English, passionate about new technologies, I am able to bring perspective and energy to a new position. Result and service oriented, I am willing to relocate, looking for new challenges and new experiences. EXPERIENCE SENIOR LINUX ARCHITECT SAP Concur January 2019 – Today – Tasked with migrating internal services and applications to SAP products. – Task automation and infrastructure creation on Azure and AWS in an IaaS and PaaS mode. – DevOps team, applying Agile methodologies, with a Scrum Mas- ter certification obtained early 2019. – Creation of the main ELK platform in order to manage logs for several applications. – Management of the connections between internal applications and applications hosted on Azure. – Management of the application connections through internal certificate authorities. – Migration management from internal infrastructure to hyper scale suppliers such as AWS and Azure. – Technology environment: AWS, Azure, Ansible, Terraform, Docker, Linux, Python and Groovy. GIL ANDRE 166 RUE MONTMARTRE 75002 PARIS WWW.GILANDRE.NET ARCHITECT AND SYSTEM ADMINISTRATOR LINUX, UNIX, OPEN-SOURCE GIL ANDRÉ SENIOR LINUX SYSTEM ENGINEER SAP Concur Jan. 2016 – December 2018 – Responsible for part of the Production environment (EMEA/ US).
    [Show full text]
  • You've Seen the Movie, Now Play The
    “YOU’VE SEEN THE MOVIE, NOW PLAY THE VIDEO GAME”: RECODING THE CINEMATIC IN DIGITAL MEDIA AND VIRTUAL CULTURE Stefan Hall A Dissertation Submitted to the Graduate College of Bowling Green State University in partial fulfillment of the requirements for the degree of DOCTOR OF PHILOSOPHY May 2011 Committee: Ronald Shields, Advisor Margaret M. Yacobucci Graduate Faculty Representative Donald Callen Lisa Alexander © 2011 Stefan Hall All Rights Reserved iii ABSTRACT Ronald Shields, Advisor Although seen as an emergent area of study, the history of video games shows that the medium has had a longevity that speaks to its status as a major cultural force, not only within American society but also globally. Much of video game production has been influenced by cinema, and perhaps nowhere is this seen more directly than in the topic of games based on movies. Functioning as franchise expansion, spaces for play, and story development, film-to-game translations have been a significant component of video game titles since the early days of the medium. As the technological possibilities of hardware development continued in both the film and video game industries, issues of media convergence and divergence between film and video games have grown in importance. This dissertation looks at the ways that this connection was established and has changed by looking at the relationship between film and video games in terms of economics, aesthetics, and narrative. Beginning in the 1970s, or roughly at the time of the second generation of home gaming consoles, and continuing to the release of the most recent consoles in 2005, it traces major areas of intersection between films and video games by identifying key titles and companies to consider both how and why the prevalence of video games has happened and continues to grow in power.
    [Show full text]
  • Naive Bayesian Spam Filters for Log File Analysis
    Brigham Young University BYU ScholarsArchive Theses and Dissertations 2011-07-13 Naive Bayesian Spam Filters for Log File Analysis Russel William Havens Brigham Young University - Provo Follow this and additional works at: https://scholarsarchive.byu.edu/etd Part of the Computer Sciences Commons BYU ScholarsArchive Citation Havens, Russel William, "Naive Bayesian Spam Filters for Log File Analysis" (2011). Theses and Dissertations. 2814. https://scholarsarchive.byu.edu/etd/2814 This Thesis is brought to you for free and open access by BYU ScholarsArchive. It has been accepted for inclusion in Theses and Dissertations by an authorized administrator of BYU ScholarsArchive. For more information, please contact [email protected], [email protected]. Naïve Bayesian Spam Filters for Log File Analysis Russel W. Havens A thesis submitted to the faculty of Brigham Young University in partial fulfillment of the requirements for the degree of Master of Science Barry Lunt, Chair Joseph J. Ekstrom Chia-Chi Teng School of Technology Brigham Young University August 2011 Copyright © 2011 Russel W. Havens All Rights Reserved ABSTRACT Naïve Bayesian Spam Filters for Log File Analysis Russel W. Havens School of Technology, BYU Master of Science As computer system usage grows in our world, system administrators need better visibility into the workings of computer systems, especially when those systems have problems or go down. Most system components, from hardware, through OS, to application server and application, write log files of some sort, be it system-standardized logs such syslog or application specific logs. These logs very often contain valuable clues to the nature of system problems and outages, but their verbosity can make them difficult to utilize.
    [Show full text]
  • Free Web Access Log Analyzer
    Free web access log analyzer click here to download Deep Log Analyzer is the best free Web analytics software I've found. It is a local log analysis tool that works on your site logs without requiring. WebLog Expert is a powerful log analyzer with a free day trial version available. Supports IIS, Apache and Nginx logs. Yes. Yes Built-in web server. Yes. WebLog Expert is a powerful access log analyzer. It can give you WebLog Expert can analyze logs of Apache, IIS and Nginx web servers. It can even read GZ. AWStats is a free powerful and featureful tool that generates advanced web, it can work with all web hosting providers which allow Perl, CGI and log access.​What is AWStats] · ​Features] · ​Downloads]. GoAccess is an open source real-time web log analyzer and interactive use your browser (great if you want to do a quick analysis of your access log via SSH. I am looking into using a free IIS log analyzer to get web metrics for our Although the name says apache it can even open IIS logs or W3C. Home of the Webalizer, a fast, free web server log analysis program. Handles standard Common logfile format (CLF) server logs, several. Apache Log Viewer (ALV) is a free tool which lets you monitor, view and analyze Apache or IIS logs with more ease. Open web server logs. With apache logs. Deep Log Analyzer is professional website statistics and web analytics software for analyzing IIS, Apache, Nginx and other web server logs. Reports on visitors, website and convert more visitors to satisfied customers.
    [Show full text]
  • Monitoring the Backend and Logging Improvements for Operations and Support
    Monitoring the Backend and Logging Improvements for operations and support 27 th EGOWS Helsinki 20 th – 22 nd Sep 2016, Marcus Werner, DWD Overview Stakeholders and a enhancement request from operations & support Goals, Ideas & Challenges Extract, transform, reduce, store and present support information Good (free) available technology stack Non-existing standards EGOWS 2016 - DWD 2 The meteorological workstation system - NinJo Developed by an international Consortium Primary tool for our operational forecasters …and they need a stable and well supported system (7 x 24h) EGOWS 2016 - DWD 3 … typically forecasters ask for meteorological improvements EGOWS 2016 - DWD 4 Technical Infrastructure staff (TI) operates NinJo … …now we have implemented some of their feature requests… … this is finally in the interest of the forecasters. EGOWS 2016 - DWD 5 Our stakeholders End Users: Forecasters (work with meteorological data) Support and operations (work with monitoring systems, log files, admin tools) Adopting from IT operations (7x24h) 1st level support (on call) 2nd level support (office hours) 3rd level support (office hours), might be external EGOWS 2016 - DWD 6 Challenges Different support levels need specific “tailored” support information DWD operates ~200 NinJo Servers ( Routine , Dev/Eval , QA +Special Systems ) Highly distributed environment over multiple DWD locations Up to ~75 server processes per NinJo Site Resource limitations for support and operations (split into multiple teams) EGOWS 2016 - DWD 7 Application Developers
    [Show full text]
  • Meet PCI DSS Requirements with FOSS
    2014 Meet PCI DSS Requirements with FOSS This document helps you to Identify the Free and Open Source Software which can be used to meet one or more PCI-DSS Requirements Rajagopalan S Blog: Http://securityncompliance.wordpress.com 12/07/2014 Meet PCI DSS Requirements with FOSS About this document: This document is created in order to utilize the Free & Open Source Software which helps us to meet one or more PCI-DSS Requirements. Document was created on my sole interest aimed at helping the PCI-DSS Professionals and entities who are required to be PCI-DSS Compliant. The FOSS is mapped to each PCI-DSS requirement. I have tried my best to search and gather all open source applications which could be used to meet / assess the PCI-DSS Compliance. If you find any useful free and open source software let me know we could add to this list. This document doesn’t recommend any entity to forcefully use only the FOSS to meet its PCI-DSS compliance and also it doesn’t replace the interest of any organization buying Commercial Products. Also Read Disclaimer Section of this document. Targeted Audience: PCI-QSA’s PCI Internal Assessors Organization that are required to comply with PCI-DSS Standard Compliance Professionals Abbreviations & Acronyms: PCI DSS – Payment Card Industry Data Security Standards FOSS – Free and Open Source Software Copyright: This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.
    [Show full text]
  • Administration Documentation
    Administration Documentation Nuxeo Platform 5.8 LTS Version Table of Contents 1. Installation and Administration . 4 1.1 Hardware and Software Requirements . 4 1.1.1 Installing and Setting up Related Software . 7 1.1.1.1 Installing Live Edit Silently . 10 1.1.2 Supported Application Servers . 11 1.1.3 Supported Databases . 11 1.2 Installation . 12 1.2.1 Installing the Nuxeo Platform on Mac OS . 12 1.2.2 Installing the Nuxeo Platform on Windows . 14 1.2.2.1 Installing the Nuxeo Platform as a Windows Service . 17 1.2.2.2 Running Multiple Server Instances in Windows . 22 1.2.3 Installing the Nuxeo Platform on Linux . 23 1.2.3.1 Configuring the Nuxeo Platform as a Daemon on Debian . 26 1.2.4 Deploying Nuxeo on Amazon AWS . 28 1.2.5 Deploying Nuxeo on CloudFoundry . 30 1.2.6 How to Estimate Disk and Database Usage . 35 1.3 Setup . 35 1.3.1 Recommended Configurations . 42 1.3.2 Configuration Examples . 45 1.3.3 Configuration Templates . 45 1.3.4 Configuration Parameters Index (nuxeo.conf) . 46 1.3.5 Database . 56 1.3.5.1 Configuring PostgreSQL . 56 1.3.5.2 Configuring Oracle . 63 1.3.5.3 Configuring MS SQL Server . 67 1.3.5.4 Configuring MySQL . 71 1.3.5.5 Connecting Nuxeo to the Database . 71 1.3.6 Authentication, users and groups . 74 1.3.6.1 Using a LDAP Directory . 77 1.3.6.2 Using OAuth . 83 1.3.6.3 Using Shibboleth .
    [Show full text]
  • Administració Avançada Del Sistema Operatiu
    Clúster, Cloud i DevOps Remo Suppi Boldrito PID_00212468 GNUFDL • PID_00212468 Clúster, Cloud i DevOps Índex Introducción .......................................................... 5 Objectius ............................................................... 8 1. Clusterització ..................................................... 9 1.1. Virtualització ................................................. 9 1.1.1. Plataformes de virtualització ......................... 10 1.2. Beowulf ....................................................... 12 1.2.1. Com es configuren els nodes? ........................ 13 1.3. Beneficis del còmput distribuït ................................ 15 1.3.1. Com cal programar per a aprofitar la concurrència? .. 17 1.4. Memòria compartida. Models de fils (threading)............... 18 1.4.1. Multifils (multithreading) .............................. 19 1.5. OpenMP ...................................................... 22 1.6. MPI, Message Passing Interface ................................. 26 1.6.1. Configuració d’un conjunt de màquines per a fer un clúster adaptat a OpenMPI..................... 27 1.7. Rocks Cluster ................................................. 30 1.7.1. Guia ràpida d’instal·lació ............................. 31 1.8. FAI ............................................................ 32 1.8.1. Guia ràpida d’instal·lació ............................. 33 1.9. Logs ........................................................... 35 1.9.1. Octopussy ............................................ 37 1.9.2. Eines de monitoratge
    [Show full text]