foss lab manual

Download Foss Lab Manual

Post on 27-Nov-2014




6 download

Embed Size (px)


Dr. N.G.P INstItute Of techNOlOGy cOImbatOre-641048Department of Computer Science and Engineering (B.E Computer Science and Engineering)



Prepared By

Verified By

Ms.K. Thamarai Selvi

Mrs. NagaLakshmi Venugopal



Name of The ExperimentLinux Installation MySQL Installation Apache Installation PHP and MySQL Connectivity Python Programming PERL And CGI Script NS2 Installation

Page No










INTRODUCTION TO OPEN SOURCE SOFTWAREOpen-source software (OSS) is computer software that is available in source code form for which the source code and certain other rights normally reserved for copyright holders are provided under a software license that permits users to study, change, and improve the software. Open source licenses meet the requirements of the Open Source Definition. Some open source software is available within the public domain. Open source software is very often developed in a public, collaborative manner. Open-source software is the most prominent example of open-source development and often compared to (technically defined) usergenerated content or (legally defined) open content movements. The term opensource software originated as part of a marketing campaign for free software. Popular distributions: Well-known Linux distributions include:

CentOS, a distribution derived from the same sources used by Red Hat, maintained by a dedicated volunteer community of developers with both 100% Red Hat-compatible versions and an upgraded version that is not always 100% upstream compatible Debian, a non-commercial distribution maintained by a volunteer developer community with a strong commitment to free software principles Fedora, a community distribution sponsored by Red Hat


Gentoo, a distribution targeted at power users, known for its FreeBSD Portslike automated system for compiling applications from source code Knoppix, the first Live CD distribution to run completely from removable media without installation to a hard disk, derived from Debian Kubuntu, the KDE version of Ubuntu. Linux Mint, a distribution based on and compatible with Ubuntu. Mandriva, a Red Hat derivative popular in France and Brazil, today maintained by the French company of the same name. openSUSE a community distribution mainly sponsored by Novell. Oracle Enterprise Linux, which is a derivative of Red Hat Enterprise Linux, maintained and commercially supported by Oracle. Pardus, Turkey's national operating system developed by


PCLinuxOS, a derivative of Mandriva, grew from a group of packages into a community-spawned desktop distribution. Red Hat Enterprise Linux, which is a derivative of Fedora, maintained and commercially supported by Red Hat. Slackware, one of the first Linux distributions, founded in 1993, and since then actively maintained by Patrick J. Volkerding. SUSE Linux Enterprise, derived from openSUSE, maintained and commercially supported by Novell. Ubuntu, a popular desktop and server distribution derived from Debian, maintained by Canonical Ltd.. Xubuntu, is the Xfce version of the popular desktop distro Ubuntu. Commonly used by Linux users that wish to have the function of a bigger distro such as Ubuntu or openSuse with the speed of a smaller distro.


DistroWatch attempts to include every known distribution of Linux, whether currently active or not; it also maintains a ranking of distributions based on page views, as a measure of relative popularity. Programming language support:

ABCL an implementation of Common Lisp for the JVM ArgoUML ArgoUML is a modelling tool that helps you design using UML diagrams CLISP a Common Lisp interpreter and bytecode-compiler Clojure a Lisp (not Scheme nor Common Lisp) targeting the JVM DJGPP a 32-bit DOS port of GCC and other GNU utilities Dragonfly newLISP based web development framework Eiffel ECL an Common Lisp implementation designed for integration with C Erlang - a general-purpose concurrent programming language and runtime system Experix command line and stack system for data acquisition and analysis and graphics Forth Free Pascal A Pascal compiler and cornerstone of the Lazarus RAD FreeBASIC A BASIC compiler GCC a set of compilers for multiple programming languages and platforms, includingo o o

C C++ Objective-C


o o o o

Ada Java Pascal Fortran

GT.M is an open source MUMPS (a.k.a. M) compiler for Linux Harbour compiler for the xBase superset language often referred to as Clipper Jikes Java compiler LLVM Optimizing compiler toolkito

Clang NSCA licensed LLVM compiler frontend for C/C++ and Objective-C

Logo Derivative of Lisp without parenthesis, for kids, with Turtle Graphics Lua - a lightweight, reflective, imperative and procedural language, designed as a scripting language with extensible semantics as a primary goal. MinGW Windows port of +GCC Mono development platform Multi-platform .NET implementation (C#) based on the ECMA/ISO standards MMIXware simulator for MMIXAL language and MMIX processor Objective Caml a practical and fast functional OO language ODB a compiler-based object-relational mapping (ORM) system for C++ OpenCOBOL an open source implementation of the COBOL programming language OpenJDK Sun's Java Development Kit based completely on free and open source code Parser a language for dynamic website creation7

Perl a programming language strong on text processing PHP a scripting language designed for web site applications PCC a BSD licensed C compiler Processing - a visual programming language based on Java Prolog Logic programming Python a high-level scripting language Refal - a functional programming language REXX - an interpreted programming language Rhino a JVM-based JavaScript engine Ruby a high-level scripting languageo

Ruby on Rails Ruby-based web development framework

SBCL a high-performance Common Lisp implementation Spidermonkey C/C++ JavaScript engine of the Mozilla project StarUML a software modeling tool Tcl/Tk a high-level scripting language with a graphical toolkit Wavemaker - a visual, drag and drop web development platform based on Java and Spring/Hibernate.


INTRODUCTION TO LINUX OPERATING SYSTEMLinux refers to the family of Unix-like computer operating systems using the Linux kernel. Linux can be installed on a wide variety of computer hardware, ranging from mobile phones, tablet computers and video game consoles, to mainframes and supercomputers. Linux is a leading server operating system, and runs the 10 fastest supercomputers in the world. Use of Linux by end-users or consumers has increased in recent years, partly owing to the popular Ubuntu, Fedora, and openSUSE distributions and the emergence of netbooks with preinstalled Linux systems and smartphones running embedded Linux. The development of Linux is one of the most prominent examples of free and open source software collaboration; typically all the underlying source code can be used, freely modified, and redistributed, both commercially and non-commercially, by anyone under licenses such as the GNU General Public License. Typically Linux is packaged in a format known as a Linux distribution for desktop and server use. Linux distributions include the Linux kernel and all of the supporting software required to run a complete system, such as utilities and libraries, the X Window System, the GNOME and KDE desktop environments, and the Apache HTTP Server. Commonly used applications with desktop Linux systems include the Mozilla Firefox web-browser, the office application suite and the GIMP image editor.


The name "Linux" comes from the Linux kernel, originally written in 1991 by Linus Torvalds. The main supporting user space system tools and libraries from the GNU Project (announced in 1983 by Richard Stallman) are the basis for the Free Software Foundation's preferred name GNU/Linux. STANDARD INSTALLATION OF FEDORA 14 Fedora is an RPM-based, general purpose collection of software including an operating system based on the Linux kernel, developed by the communitysupported Fedora Project and sponsored by Red Hat. The Fedora Project's mission is to lead the advancement of free and open source software and content as a collaborative community. One of Fedora's main objectives is not only to contain software distributed under a free and open source license, but also to be on the leading edge of such technologies. Fedora developers prefer to make upstream changes instead of applying fixes specifically for Fedorathis ensures that their updates are available to all Linux distributions. In 2008, Linus Torvalds, author of the Linux kernel, started that he used Fedora because it had fairly good support for the PowerPC processor architecture which he favored at the time. Fedora Features There are some really neat, new features in Fedora that do work well. they're going to be more exiting for system administrators and developers than they are someone just running Fedora at home. Easily the most important of these is the arrival of of Simple Protocol for Independent Computing Environment (SPICE). This is a desktop presentation


service protocol, like Microsoft's RDP (Remote Desktop Protocol) and Citrix's ICA (Independent Computing Architecture), that you use to run thin-client desktops. SPICE will let you support remote desktops from a Fedora server, and eventually a Red Hat Enterprise Linux (RHEL) server. Each remote desktop will run as a Kernel Virtual Machine (KVM). SPICE is being very useful in schools or anywhere that needs centralized control or inexpensive desktops. It may prove a new and interesting way to get users on a Linux