Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Slide 1 - The University of Mississippi

948 views

Published on

  • Be the first to comment

  • Be the first to like this

Slide 1 - The University of Mississippi

  1. 1. Shining A Light on Open Source Software: Going Beyond LAMPP Serving Web Content Using Open Source Software
  2. 2. What is LAMPP? <ul><li>LAMPP stands for: </li></ul><ul><ul><li>Linux (operating system) </li></ul></ul><ul><ul><li>Apache (web server) </li></ul></ul><ul><ul><li>MySQL (database application) </li></ul></ul><ul><ul><li>PHP (scripting language) </li></ul></ul><ul><ul><li>Perl (scripting language) </li></ul></ul>
  3. 3. Where can I get… <ul><li>Kubuntu - </li></ul><ul><ul><li>http://www.kubuntu.org/download.php#latest </li></ul></ul><ul><li>XAMPP – </li></ul><ul><ul><li>http://www.apachefriends.org/en/xampp-linux.html </li></ul></ul><ul><li>Drupal – </li></ul><ul><ul><li>http://drupal.org/ </li></ul></ul><ul><li>PHP Timeclock – </li></ul><ul><ul><li>http://sourceforge.net/projects/timeclock/ </li></ul></ul><ul><li>MRBS – </li></ul><ul><ul><li>http:// sourceforge.net/projects/mrbs / </li></ul></ul>
  4. 4. Before we can serve content… <ul><li>We’ll need a webserver </li></ul><ul><li>XAMPP includes: </li></ul><ul><ul><li>Apache, MySQL, PHP & PEAR, Perl, ProFTPD, phpMyAdmin, OpenSSL, GD, Freetype2, libjpeg, libpng, gdbm, zlib, expat, Sablotron, libxml, Ming, Webalizer, pdf class, ncurses, mod_perl, FreeTDS, gettext, mcrypt, mhash, eAccelerator, SQLite and IMAP C-Client. </li></ul></ul>
  5. 5. How do I install XAMPP? <ul><li>Navigate to the directory where the downloaded file is located </li></ul><ul><li>Run the command: </li></ul><ul><ul><li>tar xvfz xampp-linux-1.6.6.tar.gz -C /opt </li></ul></ul><ul><li>Keep in mind that Linux is case sensitive </li></ul><ul><li>Start XAMPP as root: </li></ul><ul><ul><li>sudo /opt/lampp/lampp start </li></ul></ul>
  6. 6. What happens when I reboot? <ul><li>When you reboot the machine, XAMPP might not start automatically </li></ul><ul><li>To fix this, change directories to: </li></ul><ul><ul><li>/etc/rc2.d </li></ul></ul><ul><li>And run these commands </li></ul><ul><ul><li>n -s /opt/lampp/lampp S99lampp ln -s /opt/lampp/lampp K01lampp </li></ul></ul><ul><li>A symbolic link to XAMPP’s start & stop command has now been created </li></ul>
  7. 7. Security Considerations <ul><li>As a Developer: </li></ul><ul><ul><li>All Apache modules are enabled </li></ul></ul><ul><ul><li>MySQL is enabled without a password </li></ul></ul><ul><ul><li>ProFTP is enabled without a password </li></ul></ul><ul><ul><li>Most options turned on by default </li></ul></ul><ul><li>From a security standpoint: </li></ul><ul><ul><li>System is wide open to potential attacks </li></ul></ul><ul><li>Run the security command to close most of the glaring security holes </li></ul><ul><ul><li>/opt/lampp/lampp security </li></ul></ul>
  8. 8. What is a CMS? <ul><li>CMS stands for: Content Management System </li></ul><ul><li>Keeps content consistent and organized </li></ul><ul><li>Drupal is one of the larger, free, open source CMS’s available </li></ul>
  9. 9. How do I install Drupal? <ul><li>Copy the extracted file to /opt/lampp/htdocs </li></ul><ul><li>Setup a database for Drupal in phpMyAdmin </li></ul><ul><li>Setup a user and permissions for Drupal in phpMyAdmin </li></ul><ul><li>Set permissions for /opt/lampp/htdocs/drupal/sites/default/settings.php </li></ul><ul><li>Run Drupal install script </li></ul>
  10. 10. Drupal housekeeping <ul><li>Create the first account </li></ul><ul><li>Navigate to Administrator </li></ul><ul><li>Run a status report </li></ul><ul><li>Fix any issues noted in the report </li></ul><ul><li>The Drupal handbook will answer most install and basic setup questions: </li></ul><ul><ul><li>http://drupal.org/getting-started </li></ul></ul>
  11. 11. PHP Timeclock <ul><li>Download and unpack file to htdocs </li></ul><ul><li>Set up database in phpMyAdmin </li></ul><ul><li>Setup user and permissions in phpMyAdmin under the SQL function: </li></ul><ul><ul><li>GRANT SELECT, UPDATE, INSERT, DELETE, ALTER, CREATE , LOCK TABLES ON databasename.* TO 'username'@'localhost' IDENTIFIED BY 'password'; </li></ul></ul><ul><ul><li>Setup the required tables </li></ul></ul>
  12. 12. MRBS <ul><li>MRBS stands for: </li></ul><ul><ul><li>Meeting Room Booking System </li></ul></ul><ul><li>The Law Library uses MRBS so that students can book study rooms within the library </li></ul><ul><li>MRBS can be configured to work with LDAP or Active Directory </li></ul>
  13. 13. Setting up MRBS <ul><li>Download and unpack file to htdocs </li></ul><ul><li>Set up database in phpMyAdmin </li></ul><ul><li>Setup user and permissions in phpMyAdmin under the SQL function: </li></ul><ul><ul><li>GRANT SELECT, UPDATE, INSERT, DELETE, ALTER, CREATE , LOCK TABLES ON databasename.* TO 'username'@'localhost' IDENTIFIED BY 'password'; </li></ul></ul><ul><ul><li>Setup the required tables </li></ul></ul><ul><ul><li>Configure config.inc.php </li></ul></ul>

×