Linux Game Servers
Total Page:16
File Type:pdf, Size:1020Kb
Fun and Games Linux Game Servers Joseph Guarino Owner/Sr. Consultant Evolutionary IT www.evolutionaryit.com Objectives ? Copyright © Evolutionary IT 2008 2 Objectives FUN!FUN! Copyright © Evolutionary IT 2008 3 What is that!? 1. Something that brings us joy, laughter or amusement. 2. Something we need more of in our complex adult lives.. 3. Video games! Copyright © Evolutionary IT 2008 4 Let's Play! Identify the game. Copyright © Evolutionary IT 2008 5 Example Copyright © Evolutionary IT 2008 6 Example ©Atari 1972 Copyright © Evolutionary IT 2008 7 Example ©Atari 1980 Copyright © Evolutionary IT 2008 8 Example ©Namco 1980 Copyright © Evolutionary IT 2008 9 Example Copyright © Evolutionary IT 2008 10 Example © ID Software 1993 Copyright © Evolutionary IT 2008 11 Example © Apogee 1996 Copyright © Evolutionary IT 2008 12 Example ©Jaleco 1998 Copyright © Evolutionary IT 2008 13 Example © ID Software 1999 Copyright © Evolutionary IT 2008 14 Example © Epic Games 2004 Copyright © Evolutionary IT 2008 15 Example © Epic Games 2007 Copyright © Evolutionary IT 2008 16 Ok... Now some real objectives... Copyright © Evolutionary IT 2008 17 Objectives ● Demystify FOSS (Free and Open Source Software) ● Have some fun with FOSS and show you how you can build nearly ANYTHING with it. In particular a home game server. ● FOSS Security and Networking Options (UFW/Pfsense) ● Quick overview of FOSS Virtualization choices. ● 2 Example game setups Copyright © Evolutionary IT 2008 18 Who am I? ● Joseph Guarino ● Working in IT for last 15 years: Systems, Network, Security Admin, Technical Marketing, Project Management, IT Management ● CEO/Sr. IT consultant with my own firm Evolutionary IT ● CISSP, LPIC, MCSE, PMP ● www.evolutionaryit.com Copyright © Evolutionary IT 2008 19 ? How many of you are familiar with or use Linux or Free and Open Source Software in some way? Copyright © Evolutionary IT 2008 20 What is FOSS/FLOSS? Free and Open Source Software Alternative term to describe software spectrum from free to open. FLOSS or Free/Libre/Open-Source Software. Libre is used to clarify the ambiguity of the word free in English. Copyright © Evolutionary IT 2008 21 Dental Hygiene? What is FOSS? ● Represents a spectrum of licenses from Free to Open. ● FOSS (Free and Open Source Software) is a software licensing model that allows anyone the liberty to use, extend and distribute the software as they see fit. ● FOSS is unique as well in that it produces innovation quickly by the very concept of open, cooperative, collaborative efforts. ● Commercial software is much more restrictive. FOSS vs Commercial Software Licensed with very specific rights associated with its use, modification, distribution and use that are not commonly available to a user via commercial “closed” software. Software licenses of traditional commercial software define specific permission, rights and restrictions. Licensee determines the license terms. Much more restrictive that FOSS. Freedom, sharing, collaboration are not inherit parts of this traditional “closed” model which typifies the traditional software industry. Copyright © Evolutionary IT 2008 24 What FOSS is NOT ● ≠ Freeware ● ≠ Shareware ● ≠ Public Domain Software ● ≠ Malware, spyware, adware, badware etc. Community standards general prohibit this. Copyright © Evolutionary IT 2008 25 Types of FOSS The licensing spectrum.. Copyright © Evolutionary IT 2008 26 Many FOSS Licenses ● There are many FOSS licenses each which allow different rights and responsibilities ● Most popular are GNU General Public License, GNU Lesser General Public License, BSD License, Mozilla Public License, MIT License and the Apache License. ● OSI Licenses – OSI Software Definition http://opensource.org/licenses/ ● FSF Licenses – Free Software Definition http://www.gnu.org/licenses/ Copyright © Evolutionary IT 2008 27 OSI ● OSI – non-profit created in 1998 by Bruce Perens & Eric Raymond to promote “open source.” ● Open source was a repositioning of free software with a term that was to clear up the ambiguity seen in the term free. ● Attempt was to make free software provide a more business friendly effort. ● Uphold and promotes Open Source Definition. ● http://www.opensource.org/ Copyright © Evolutionary IT 2008 28 Common FOSS Misperceptions.. Copyright © Evolutionary IT 2008 29 FUD is wrong Fear, uncertainty and doubt (FUD) that FOSS is not unstable, untested, insecure software. It's quite the opposite... Copyright © Evolutionary IT 2008 30 Few facts of note FOSS FACTS Copyright © Evolutionary IT 2008 31 FOSS FACTS ● FOSS IS everywhere! ● Have you used that Internet? ● > 50% of Webservers (Netcraft), ~65-70% DNS, >50%(ISC) Email Servers ( Credentia/O'Reilly). ● It has been critical in the evolution of the Internet. Copyright © Evolutionary IT 2008 32 FOSS FACTS ● Supercomputer – 75% of supercomputers run Linux. www.top500.org ● Rendering Farms – Dominates Disney/Pixar, Dreamworks, Sony, etc. ● SOHO – Linksys, Netgear, D-Link ● Mobile Phones – Android, Openmoko ● Even toys! LEGO Mindstorm NXT Copyright © Evolutionary IT 2008 33 Who uses it? ● Redhat, Sun, Dell, IBM, HP, Novell, Oracle, Intel,Canonical are big players behind it. ● Business, government, military, educational and scientific community, i.e. NSA, FBI, CIA, NSF, NASA, Wall Street. ● Google, Yahoo, Adobe, Juniper. ● I bet its on your corporate network, at home, in your car or phone right now. Copyright © Evolutionary IT 2008 34 Why The FOSS model works... Copyright © Evolutionary IT 2008 35 FOSS Model works ● The FOSS model of cooperative, collaborative efforts yields amazing innovations but that hardly only applies to software. ● It has been applied in many other ways: ● Education – OLPC, MIT OpenCourseWare, Wikipedia, California Open Source Textbook ● Scientific – Boinc, Cambia, Human Genome Project, GenBank, Tropical Disease Initiative Copyright © Evolutionary IT 2008 36 FOSS and Capitalism ● Some have mischaracterized FOSS as diametrically opposed to capitalism. ● Those suppositions show a fundamental lack of understanding of FOSS and its business model. ● FOSS thrives for many reasons. ● Business involvement is one of them. Copyright © Evolutionary IT 2008 37 Industry Projections ● Sales of open source software will grow from $1.8bn in 2006 to $5.8bn in 2011. Matt Lawton, program director for IDC's Open Source Software Business Models research program, typified the current market as "immature" and in the "early stages". Copyright © Evolutionary IT 2008 38 Distro/OS Options Freedom and choice are yours Copyright © Evolutionary IT 2008 39 OS's (Linux/Unix - Commercial) ● Linux/Unix Distros - ● Redhat - www.redhat.com ● Novell - www.novell.com ● Canonical – www.canonical.com ● Sun – www.sun.com ● Commercial support ● All of these projects have a community driven effort. Copyright © Evolutionary IT 2008 40 OS's (Linux/Unix - Community) ● Debian Linux - www.debian.org ● Slackware - www.slackware.com ● Ubuntu - www.ubuntu.com ● Gentoo - www.gentoo.org ● Fedora - www.fedoraproject.org ● OpenSUSE - www.opensuse.org ● Open Solaris - www.opensolaris.org Copyright © Evolutionary IT 2008 41 BSD's ● FreeBSD - www.freebsd.org ● OpenBSD - www.openbsd.org ● Both are community driven but community support is available. ● No single company drives projects. ● OpenBSD has stellar security history. Project is model of success of security in the Open Source world. ● Only 2 remote holes in the default install in 10 years! ● O'Bsd brought you OpenSSH, OpenBGPD, OpenNTP and OpenCVS. Copyright © Evolutionary IT 2008 42 Changing Copyright © Evolutionary IT 2008 43 Our Game Server Network We are building our example/demo network on... Copyright © Evolutionary IT 2008 44 Our server of choice Ubuntu Server Copyright © Evolutionary IT 2008 45 Ubuntu Server ● Ubuntu server is a very good choice for almost any application you can dream up. ● Open, flexible, scalable and secure. ● Very supportable - support options are supernumerary. ● Landscape management suite. ● Yes, Ubuntu rocks on the server as well! Copyright © Evolutionary IT 2008 46 Ubuntu Server ● Based upon the long heritage of Debian GNU/Linux ● Characterized by six month release cycle ● Suitable for nearly any enterprise need from desktop to core infrastructure. ● Web, Email, DNS, File Server, Database, Routing, Firewall, etc. ● Anything. Copyright © Evolutionary IT 2008 47 Ubuntu Family ● Ubuntu – Core desktop effort. ● Kubuntu – Ubuntu but with KDE desktop environment. ● Edubuntu – Ubuntu with focus on educational space. ● Xubuntu – Ubuntu “light” with snappy Xfce with minimal hardware requirements. ● Ubuntu Server – Ubuntu core with server focus minus desktop, etc. Copyright © Evolutionary IT 2008 48 Ubuntu Server Features ● Xen Virtualization, LTSP (Linux Terminal Server Project), VMWare Virtualization, KVM (Kernel based virtual machines). ● 500 maintained and supported packages and over 20,000 thousands other packages for every possible need. ● Red Hat Cluster Suite, Red Hat GFS, Oracle's OCFS2 File system. ● AppArmor security framework. ● Pre-configured install options for Mail Server, File Server, Print Server, Database Server, DNS, LAMP ● Support for x86, AMD64, and UltraSPARC T1 architectures. Copyright © Evolutionary IT 2008 49 Ubuntu Package ● Webserver – Apache, Aol server ● Mailserver – Postfix, Exim, Dovecot, Zimbra ● Proxy Server/Content Control – Squid, DansGuardian, SquidGuard, HAVP ● Database Server – MySQL, PostgreSQL, DB2 ● DNS/DHCP – ISC Bind ● File Server – NFS, Samba ● Print Server - Cups ● Directory Server – OpenLdap, Fedora Directory