Research Paper (PDF)
Total Page:16
File Type:pdf, Size:1020Kb
Installation and Implementation of a LAMP Documentation Server Amanda Bland Tyrone Whitehurst Illiana Thomas Camden Hearn ECSU Grid Team Andrea Grumbles ECSU Grid Team ECSU Grid Team Norfolk State University Mississippi Valley State University Norfolk Virginia, USA Elizabeth City State University Itta Bena Mississippi, USA Elizabeth City, USA Abstract— The focus of the ECSU TeraGRID team for combination they represent a solution stack of technologies the summer of 2007 is to setup a documentation that support application servers. platform for a Condor-based GRID to be established at Elizabeth City State University. This documentation II. LINUX platform will be a Linux based web sever that will utilize A. Description Web 2.0 standards to create a virtual documentation web portal. Grid computing itself is the creation of a Linux is a Unix-like computer operating system. It is one of "virtual supercomputer" by using a network of the most popular of free software and open source geographically dispersed computers. In order to create development available. Its primary source code can be such a network infrastructure, documentation is critical modified, used, and redistributed by anyone without any to communicate with the users, and the maintainers of restraints. the systems. Largely known for its use in servers, it is used as an operating system for a variety of computer hardware, such The web server will utilize an Ubuntu Linux kernel as desktop computers, supercomputers, and embedded with an Apache web server, a MySQL Database, a devices such as mobile phones and routers. PHP scripting package, and a Media Wiki web interface. Most Linux distributions support many programming This particular setup is called a LAMP server. LAMP is languages. Primary system software such as libraries and the acronym for Linux, Apache, MySQL, and PHP, basic utilities are usually written in C. Enterprise software is which are all open source applications. The combination often written in C, C++, Java, Perl, Ruby, or Python. The of these LAMP applications allows Media Wiki to most common collection of utilities for building both Linux function. applications and operating system programs is found in the Once installed, the documentation server will be GNU toolchain, which includes the GNU Compiler utilized to first display the information on how to create Collection (GCC) and the GNU build system. Most Linux the document server. The documentation server will distributions also support Perl, Ruby, Python. then later be used to document how to setup a Condor- Linux seeks for interoperability with other operating based GRID system. (Abstract) systems such as Microsoft Windows and Mac OS X, and by extension the software that runs on Linux aims for interoperability with other Linux and non-Linux software. I. LAMP As an operating system underdog competing with LAMP server is a type of software bundle found in a mainstream operating systems, Linux cannot rely on a specific server. LAMP stands for Linux, Apache, MySQL, monopoly advantage. Therefore, in order for Linux to be a and PHP. The P can also stand for Perl or Python but convenient operating system for users, it must interact well generally it is assumed to be PHP. It is a solution stack of with non-Linux computers. Interoperability also provides software programs, commonly open-source programs, used users the choice of software and data formats without together to run dynamic websites or servers. Linux is the restricting them as a result of that choice. operating system (sort of like a windows system). Apache is Linux includes, by default, a command line interface the web server used. MySQL is the database management (CLI) as part of its Unix-like functionality. Distributions system. PHP, Perl, or Python is used as the programming specialized for servers may use the CLI as their only language for the system. Though the originators of these interface, since without a graphical user interface (GUI) the open source programs did not design them all to work systems resource consumption is reduces. As well, Linux specifically with each other, the combination, has become machines can run without a monitor attached. These popular because of its low acquisition cost and because of "headless systems" can be controlled either through X11 the ubiquity of its components (which come bundled with remotely, or the CLI must be used through a protocol such most current Linux distributions). When used in as SSH or telnet. C. Procedure Ubuntu 7.04—also known as Feisty Fawn—is known for Under Linux, desktop software such as word processors, its reliable software management tools and catalog of ready- spreadsheets, email clients, and web browsers are available. to-install free software applications. The following are some of Linux’s major desktop Ubuntu LAMP server installed the following versions: applications: Ubuntu Feisty Fawn 7.04, Apache 2.2.3, MySQL 5.0.38, Office: OpenOffice.org. It may be useful to compare office and PHP 5.2.1. suites. Internet: aMule, Azureus, Evolution, Firefox, Thunderbird, The first step necessary is to download the server Opera, Pidgin. version of Ubuntu onto a CD and proceed to boot the CD. Multimedia: Amarok, MPlayer, Totem, VLC, Xine, XMMS. Once it has started booting you will see the first screen and Graphics: Blender, GIMP, Inkscape, Scribus. select the second option to “Install to the Hard disk Option” and press enter. > Next choose the language and press B. Ubuntu enter> Choose your location and press enter > If you wanted to try to have the keyboard layout detected by pressing a Under the umbrella of Linux falls Ubuntu. Ubuntu is an series of keys you need to select the “yes” option and if you African word meaning “Humanity to others”, or “I am what didn’t want that and wanted to choose from a list click no, I am because of who we all are”. The Ubuntu distribution is [we selected NO]> Select Origin of keyboard and press known for “bringing the spirit of Ubuntu to the software enter> Select keyboard layout and press enter. world.” The following download screens will appear: Ubuntu is a free of charge, community developed Detecting hardware to find CD-ROM Drivers in progress> operating system that is designed for laptops, desktops and Scanning CD-ROM in Progress> Loading additional servers. Ubuntu contains the applications needed for such as components progress bar> Configures the network with word processing, email applications, web server software, DHCP if there is a DHCP server in the network> and programming tools. Every six month a new desktop Next enter the Hostname of the system: [we set it server is released as well free security updates for eighteen to: ubuntulamp]. months. The following download screens will appear: Ubuntu is available for PC, 64-Bit and Mac architectures. Detecting Disks and Hardware in progress> Starting up the CDs require at least 256 MB of RAM. Installation requires partitioner in progress> Next you must partition the hard at least 4 GB of disk space. disk. [We selected “use entire disk option”] and press enter> Warning message about data lost on hard disk. With the installation disk, we were able to download the The following download screens will appear: complete working environment which took a total of Creating partitions in hard disk> Write the changes to disk twenty-five minutes. Once we installed our system it was is option: select yes and press enter> Creating ext3 file system immediately ready to use. in progress> Configuring the clock option [since we wanted The Server Edition of Ubuntu is built on the solid to leave UTC we selected yes] and press enter> Next you foundation of Debian which is known for its strong server enter the Full name of the user [administrator] you want to installations and reliable performance. create for the server select continue and press enter> Enter In 15 minutes, the time it took to install Ubuntu Server username for account continue and press enter> Enter the Edition, we were also able to install the LAMP (Linux, password for administrator user select continue and press Apache, MySQL and PHP) server. This feature, exclusive to enter> Confirm the password for administrator user select Ubuntu Server Edition, is available at the time of continue and press enter. installation. The following download screens will appear: The LAMP option meant that we did not have to install Installing the base system in progress> Configuring package and integrate each of the four separate LAMP components, mirror; this is related to the country option. a process which could have taken hours. Instead, we got Now it Installs software and select the server options increased security, reduced time-to-install, and reduced risk if DNS or LAMP is desired [we chose LAMP for our of misconfiguration, all of which resulted in a lower cost of LAMP server installation]. ownership. The following download screens will appear: Software With Ubuntu Desktop Edition we are able to surf the Installation in Progress> Installing GRUB Boot loader in web, read email, create documents and spreadsheets, and progress> Installation complete message will appear and the edit images. CD will eject> Select continue and press enter it will reboot When we started the system for the first time we got to the server> After rebooting, the screen will prompt for see a desktop that was clean and tidy, no desktop icons, and username> This completes the Ubuntu LAMP Server a default theme that is easy on the eye. Installation and the server is ready for installing applications Once Ubuntu was installed, all the basics were in place which supports Apache, MySQL and PHP. so that the system was immediately usable. Ubuntu’s Once the following steps are complete, use the code OpenOffice contains a user interface and feature set that is “sudo apt-get update” to update the operating system.