Offline Poodle Help Document

18
Poodle Installation and Setup Guide Offline Version Revision Date: Wed, 03 Aug 2011 19:42:38 GMT For online support, please visit: https://forums.maflt.org/ For offline email support, contact: [email protected] Offline Poodle Help Document 1

Transcript of Offline Poodle Help Document

Page 1: Offline Poodle Help Document

Poodle Installation and Setup GuideOffline Version

Revision Date: Wed, 03 Aug 2011 19:42:38 GMT

For online support, please visit: https://forums.maflt.org/

For offline email support, contact: [email protected]

Offline Poodle Help Document

1

www.princexml.com
Prince - Non-commercial License
This document was created with Prince, a great way of getting web content onto paper.
Page 2: Offline Poodle Help Document

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

System Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4Platform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5USB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5Portable Drive Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5Hard Drive Space for Initial Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5Internet Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Instructor's Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5Instructor Responsibilities. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Downloading Poodle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Extracting Poodle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Setting Up Poodle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Launching Poodle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Adding Moodle courses to Poodle. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Installing other Portable Applications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Recommended Portable Apps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Distribution Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Copying Poodle to a portable drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Student's Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Starting Moodle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Stopping Moodle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

FAQ’S . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11What is Poodle? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12How can Poodle help you? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12What applications are included in Poodle? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12How is Poodle distributed? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Can additional portable applications be added? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Is Poodle upgradable?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12What languages does Poodle support?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13How can I test Poodle? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13How can I get online Help? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

Technical Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14Log File locations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15Ports used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15Configuration changes to allow Poodle to run . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15Optional PortableApps Configuration Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Running Poodle on a Network. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

Offline Poodle Help Document

2

Page 3: Offline Poodle Help Document

Offline Poodle Help Document

3

Page 4: Offline Poodle Help Document

Overview“Moodle is an Open Source Course Management System (CMS), also known as a LearningManagement System (LMS) or a Virtual Learning Environment (VLE). It has become very popularamong educators around the world as a tool for creating online dynamic web sites for theirstudents.” (from Moodle.org/about/)

Moodle is designed to work on the Internet. Therefore, anyone participating in a Moodle coursemust have access to a reliable Internet connection. But what about those who can’t connect to theInternet? Are they categorically excluded from the benefits of online education?

Not any more. Poodle enables instructors and students to distribute and use Moodle courses withoutan Internet connection. Poodle runs Moodle courses on portable flash drives such as USB sticks,Flash memory cards and external hard drives.

Poodle not only works independently of the web, but it also leaves no electronic fingerprint on thecomputer accessing the portable drive. This ensures maximum privacy for both instructor andstudent.

Poodle works with a collection of portable applications. A basic set is included in the download (seeWhat applications are included in Poodle? in the FAQ). Other portable applications may be added asdesired.

Producing a Moodle course with Poodle entails four steps:

1. Download the Poodle zip file from our website (this step requires an Internet connection)2. Download and/or create the desired course material3. Configure the course on a local computer4. Transfer the course to portable drives for distribution to the students

Offline Poodle Help Document

Overview 4

Page 5: Offline Poodle Help Document

System RequirementsPlatform

Windows XP, Windows Vista, and Windows 7USB

USB 2.0 highly recommended, but will run on USB 1.1 very slowlyPortable Drive Size

512MB minimum, 1GB or more recommended, 4GB or more recommended in order to useMethod 1 for transferring Poodle to a portable drive

Hard Drive Space for Initial Configuration300MB of free drive space

Internet AccessInitial installation and setup requires an Internet connection. However, once transferred to aportable drive, Poodle needs no Internet connection

Offline Poodle Help Document

System Requirements 5

Page 6: Offline Poodle Help Document

Instructor's GuideInstructor Responsibilities

1. Download Poodle2. Extract Poodle3. Set up Poodle4. Install the Moodle course material5. Write student instructions that include

◦ The Poodle Student’s Guide◦ Moodle instructions◦ Specific course instructions

6. Copy the configured course to the remote drive7. Distribute remote drives to the students

Downloading Poodle1. Go to https://svns.maflt.org/rc/public/lt/tools/Poodle/2. Select poodle-x.x.zip3. When the File download dialog box opens, click Save

Extracting Poodle1. Go to the download location2. Double click poodle-x.x.zip3. Specify a destination of your choice. (Ex. C:\Poodle)

Setting Up PoodleFor best results, install and setup your Moodle course before transferring Poodle to theportable drive. Waiting to do so until after the transfer requires significantly more time.However, course material can be edited on the portable drive without a major time penalty.

Launching Poodle1. Go to the folder that contains Poodle2. Double-click StartPortableApps.exe3. After the PortableApps menu opens (Fig 1), Click Moodle Start. This starts Moodle inside of Firefox,

Portable Edition4. During the Moodle startup procedure, two Windows Security Alert dialog boxes might appear (Fig 2).

They ask if you want to allow other computers on your network to access this application. You maysafely ignore them by choosing any of these options.

◦ Keep Blocking – Blocks access to the app from other network users◦ Unblock – Allows access to the app from other network users◦ Ask Me Later – Blocks access to the app, prompt appears every start

5. Login to Moodle using the following information◦ Username: admin◦ Password: admin

Offline Poodle Help Document

Instructor's Guide 6

Page 7: Offline Poodle Help Document

Fig. 1 PortableApps menu

Fig. 2 Apache and MySQL Windows Security Alert dialog boxes

Adding Moodle courses to Poodle1. Open PortableApps.com2. Click MoodleStart3. Go to www.moodle.org for detailed course creation instructions4. The portable applications include with Poodle serve most course writing situations. However, if your

course media requires special viewers or players (for file types such as: .doc, .xls, .mp3, .mov, Flash,etc…) see Installing other Portable Apps, below. Complete these installations - if required - beforetransferring the course to a portable drive

5. You might need to set the global moodle permissions for new accounts, and self enrollment. As well,you might want to set the course permissions to allow for student self enrollment.

Offline Poodle Help Document

Instructor's Guide 7

Page 8: Offline Poodle Help Document

Installing other Portable Applications1. To find other applications to install in Poodle, go to the PortableApps.com applications page:

http://portableapps.com/apps2. Follow these steps to install each application. In this example, we’re going to install VLC Media

Player Portable into Poodle◦ Download the application you want to install to your hard drive◦ Double-click PortableApps.com◦ Start PortableApps.exe in the directory where you installed Poodle◦ Click Options on the right side of the PortableApps.com menu◦ Click Install a New App. A file browsing window will appear◦ Go to the PortableApps.com formatted application (ending in .paf.exe)◦ Double-click the selected application◦ Click Open◦ Click Next to complete the installation process◦ Modify installation options as necessary◦ Click Finish to close the installer. Your application is now installed!

3. Repeat these steps for each application you want to install into your customized Poodleconfiguration

4. See a list of recommended portable applications to setup a fully-functional distance learningenvironment using Poodle. https://doc.maflt.org/5_Products/Poodle/Recommended_PortableAppsRecommended Portable Apps

We recommend these PortableApps for customizing your installation of Poodle.Accessibility

• On-Screen Keyboard Portable - Easily access an on-screen keyboard http://portableapps.com/apps/accessibility/on-screen_keyboard_portable

• Virtual Magnifying Glass Portable- A full-featured screen magnifier http://portableapps.com/apps/accessibility/virtual_magnifying_glass_portableGraphics & Pictures

• GIMP Portable - Photo and Image Editor http://portableapps.com/apps/graphics_pictures/gimp_portableInternet

• Google Chrome Portable - fast, simple, themeable browser http://portableapps.com/apps/internet/google_chrome_portable

• Mozilla Firefox, Portable Edition - the award-winning web browser that's safe andsecure http://portableapps.com/apps/internet/firefox_portable

• Mozilla Thunderbird, Portable Edition - the handy email client http://portableapps.com/apps/internet/thunderbird_portable

• Skype Portable - instant messaging, video chat and phone calls http://portableapps.com/apps/internet/skype_portableMusic & Video

• Audacity Portable - A simple audio editor and recorder http://portableapps.com/apps/music_video/audacity_portable

• VLC Media Player Portable - An easy to use media player that plays most audio and videoformats http://portableapps.com/apps/music_video/vlc_portable

Offline Poodle Help Document

Instructor's Guide 8

Page 9: Offline Poodle Help Document

Office• AbiWord Portable - a lightweight word processor compatible with Microsoft Word

files http://portableapps.com/apps/office/abiword_portable• Foxit Reader Portable (Freeware) - small and fast PDF reader http://portableapps.com/apps/

office/foxit_reader_portable• OpenOffice.org Portable - word processor, spreadsheet, presentations with Microsoft

compatibility http://portableapps.com/apps/office/openoffice_portableSecurity

• ClamWin Portable - Antivirus on the go http://portableapps.com/apps/utilities/clamwin_portableUtilities

• 7-Zip Portable - File archiver and compressor http://portableapps.com/apps/utilities/7-zip_portable

Distribution ConsiderationsMoodle, in its original form, is designed to work online. Poodle allows you use many ofMoodle’s best features offline. However, doing so requires the instructor to make a distributionchoice during configuration prior to transferring the course to portable drives. The portabledrives may be distributed with one of two Login options:Generic Login

1. Setup the Moodle studentaccount on everyportable drive with the same generic student login credentials (e.g. Username: studentPassword: Bible101)

2. Setup the Moodle admistrator account on every portable drive with the same administratorlogin credentials (e.g. Username: instructorname Password: mypassword)

3. You might desire to allow new account creations, students to self enroll in courses.4. Mark the case of each portable drive with a unique ID number

◦ Physically noted on outside of stick◦ May also have non-editable file with the ID number among the drive’s documents

5. The instructor assigns each drive physical ID to an individual studentUnique Logins

1. Create a database ofstudents for the course, assigning each of them a unique login credential

2. Set up the Moodle installation on each portable drive to open either◦ With only one unique student login, OR…◦ Install the database of all students on each drive and then configure Moodle to open

with any correct set of unique student login credentials3. Setup the Moodle administrator account on every portable drive with the same administrator

login credentials (e.g. Username: instructorname Password: mypassword)Copying Poodle to a portable drive

Transfer your course from the local computer to the remote drive using one of these threemethods

Offline Poodle Help Document

Instructor's Guide 9

Page 10: Offline Poodle Help Document

Method 1: Make an “.iso” image, then burn it to the portable driveThis is the recommend method, particularly if you intend to transfer your course tomany remote drives. The initial setup entails two procedures, but once they arecompleted each subsequent transfer takes about 10 minutes.

1. Create an .iso image from the Poodle directory. See instructions at: http://doc.maflt.org/6_Third_Party_Products/ImgBurn

2. Burn the .iso image to a USB flash drive. See instructions at: http://doc.maflt.org/6_Third_Party_Products/Windows_7_USB%2f%2fDVD_Download_ToolMethod 2: Copy files directly to flash drive

This method issimpler, but eachtransfer takes onehour or more.

1. Select the following contents of Poodle on the originating drive◦ Documents◦ PortableApps◦ Autorun.inf◦ StartPortableApps.exe

2. Copy them to a blank USB or other remote driveMethod 3: Drive Replication

This method requires software and equipment that creates a disk image of the flash drivethen allows that disk image to be written to other flash drives. Instructions for thismethod are beyond the scope of the Poodle Guide but are a viable option if the necessaryfacilities are available.

Offline Poodle Help Document

Instructor's Guide 10

Page 11: Offline Poodle Help Document

Student's GuideStarting Moodle

1. Connect the portable drive containing the course to your computer (e.g. Insert the USB Flash driveinto your computer’s USB port)

2. Wait for the “AutoPlay” dialog to appear on the screen3. Once it appears, either:

◦ Double-click Start PortableApps, OR…◦ Select Start PortableApps◦ Click OK

4. In the PortableApps menu, click Moodle Start5. Once the processes start, Firefox-Portable Edition will launch and Moodle will display6. Follow your instructor’s login directions7. Follow your instructor’s course conduct directions

Stopping Moodle1. Close Firefox, Portable

Edition2. Wait for Moodle Start to

exit3. Exit PortableApps by

clicking the “X” button inthe lower right corner ofthe PortableApps menu

4. Remove the USB or other portable drive

Offline Poodle Help Document

Student's Guide 11

Page 12: Offline Poodle Help Document

FAQ’SWhat is Poodle?

Poodle is a collection of portable applications that are used to execute Moodle from a USB flashdrive or other removable drive.

How can Poodle help you?Poodle enables you to run and distribute Moodle content offline. Additionally, it leaves noelectronic fingerprints on the machine where the content was viewed.

What applications are included in Poodle?

Portable AppsAn open source software package that allows portable applications to be executeddirectly from a flash drive. http://portableapps.com/

Mozilla Firefox®, Portable EditionThe popular Mozilla Firefox web browser bundled with a PortableApps.com launcher.http://portableapps.com/apps/internet/firefox_portable

Sumatra PDF PortableThe lightweight Sumatra PDF, packaged as a portable app, allows you to view PDF files onthe go. http://portableapps.com/apps/office/sumatra_pdf_portable

The miniServerA reduced version of The Uniform Server designed for portable use. The Uniform Serveris an integrated server package of Apache, MySQL, PHP and Perl that all run from aremovable drive. Apache, MySQL, and PHP are required for Moodle to run.http://www.uniformserver.com/

MoodleA Learning Management System that allows students to take classes online.http://moodle.org/

Moodle StartAn application created by MAF-LT that initiates all of the applications necessary tolaunch Moodle from the flash drive with a single click.

How is Poodle distributed?Poodle is distributed in a zip file. Poodle_v1.2.zip contains all of the folders and files necessaryto configure and deploy your offline Moodle courses.

Can additional portable applications be added?Yes, any portable application downloaded from http://portableapps.com/ can be added toPoodle. See Customizing Poodle for further instructions.

Offline Poodle Help Document

FAQ’S 12

Page 13: Offline Poodle Help Document

Is Poodle upgradable?Yes. One of our goals in creating Poodle was using off-the-shelf products with minimalconfiguration changes to allow for upgrading. See Poodle Technical Details for moreinformation.

What languages does Poodle support?Poodle, Moodle, and some of the portable applications are available in a variety of languages.See the procedures below to choose alternate languages. If you translate any of this PoodleGuide or other help documents, please consider contributing them to Poodle for distribution toothers with similar needs.PortableApps

1. Open PortableApps2. Click Options3. Click Languages4. Click on the desired language

Firefox, Portable Edition1. Go to http://portableapps.com/apps/internet/firefox_portable/localization2. Follow the instructions at the bottom of the page3. Download the desired language version

Moodle1. Click MoodleStart2. In the upper right corner, click on the language drop down menu3. Choose the desired language

Course Material1. The instructor may write the course in the desired language2. Alternately, the instructor may employ one of a variety of translation methods to produce the

course in the desired language (online tools such as Google Translator, a person fluent in bothlanguages, etc)

How can I test Poodle?1. Remove and then reinsert the flash drive2. Verify the AutoPlay dialog is displayed3. Select Start PortableApps4. Launch MoodleStart5. Verify Moodle is running in Firefox

How can I get online Help?DocWiki

This Poodle Guide and additional information are available at https://doc.maflt.org/5_Products/Poodle

ForumAsk questions and get the help you need on our Poodle Forum athttps://forums.maflt.org/poodle

Offline Poodle Help Document

FAQ’S 13

Page 14: Offline Poodle Help Document

WebsiteOur general Poodle product information page on our main website athttp://www.maflt.org/products/poodle

SurveyHelp us make a better product. Share your Poodle experience with us athttp://survey.maflt.org/index.php?sid=36737&lang=en

Offline Poodle Help Document

FAQ’S 14

Page 15: Offline Poodle Help Document

Technical DetailsLog File locations

Log files exist in several locations to assist in tracking down any errorsMoodle Start log

http://PortableApps/Poodle/MoodleStartup.logApache log

http://PortableApps/mini_server_21_xoops/udrive/usr/local/apache2/logsIf you run into any problems or have questions about Poodle, please post a request in theMAF-LT forums along with any relevant log files: http://forums.serveall.net/index.php/board,7.0.html

Ports usedApache

For Apache, miniServer 21 uses port: 8101MySQL

For MySQL, miniServer 21 uses port: 3321

Configuration changes to allow Poodle to runIn order to allow Moodle to operate from a flash drive and not from a server, a small number ofchanges had to be made.miniServer

The miniServer is left in a default configuration with the exception of modifying thestartup script (server_start.bat). The following modifications were made:

1. Modified Line 53: for %%a in (C D E F G H I J K L M N O P Q R S T U V W X Y Z)Removed drives W, X, Y, & Z due to errors on computers on the MAF domain. DrivesX, Y, & Z are automatically mapped during login. However, the user may not alwayshave access to drive X. If not, this drive is registered as free and an error will occurtrying to start The miniServer.

2. Remarked Line 92: start \www\redirect.html The web browser is launched fromwithin “moodle-start.bat”

3. Remarked Line 114: pause The window needs to close once the script executes,“moodle-start.bat” will inform the user if a server process fails to start.

Moodle CMSAs Moodle is configured, it writes a configuration file called config.php to the followinglocation:<drive>:\PortableApps\mini_server_21_xoops\udrive\www\moodle\config.php</drive>

Within this configuration file are the paths to Moodle and the Moodle data directory.These paths include a hardcoded drive letter, which will not work with a flash drive sincea flash drive has a dynamically assigned drive letter.

Offline Poodle Help Document

Technical Details 15

Page 16: Offline Poodle Help Document

Once Moodle has been configured, the Moodle configuration file (config.php) is modifiedto dynamically build the path to Moodle and the Moodle data directory. A copy of themodified Moodle configuration file is available on our Trac site: http://trac.serveall.net/web/moodleinfo/browser/codebase/Scripts/config.php

Optional PortableApps Configuration ChangesPoodle is configured and will work without any additional configurations. However, there are anumber of configurations that you may wish to modify.autorun.inf

The autorun.inf file is located in the root of the flash drive and allows configurationchanges of the flash drive label and flash drive icon

1. Action= Start PortableApps: Change this value to reflect the message in the Windowsauto-start dialog

2. Icon=StartPortableApps.exe: Change this value to change the icon displayed for theflash drive

3. Label=PortableApps: Change the value to change the text displayed for the flash driveThe miniServer Configurations

The miniServer may need to be configured to address additional security requirementsor other needs. Please note, if ports, passwords, or directory locations are changed, theywill also need to be updated in Moodle and Moodle Start.

MoodleStartIn directory <drive>:\ PortableApps\Poodle, there is a batch file which dictates howMoodle is started.</drive>

moodle-startup.batContains the calls in order to launch Moodle. This file may be modified to change thecalls or to add additional calls.

Running Poodle on a NetworkYou only need to make one modification. If you're interested, the reason one can be foundhere: http://wiki.uniformserver.com/index.php/Home_Web_Server:_Security#Put_servers_on-lineConfigure Poodle

Configure the webserver (Apache) used by Poodle to allow other address then a localaddress (localhost, 127.0.0.1)

1. Browse to the following directory: <Poodle Directory>PortableApps\mini_server_21_xoops\udrive\www

2. Edit file .htaccess or replace it with the attached .htaccess file listed below.3. Comment out the following lines using a pound symbol (#):

#Order Deny,Allow

Offline Poodle Help Document

Technical Details 16

Page 17: Offline Poodle Help Document

#Deny from all

#Allow from 127.0.0.1

4. Save .htaccessLocate the IP Address

In order for other computers on the local network to connect to a computer runningPoodle, the IP Address of that machine needs to be located.

1. Click Start Menu2. Click Run3. In the Run dialog, type: cmd This will bring up the command prompt4. In the command prompt, type: ipconfig This will return the IP Address for the machine5. Make note of the IP Address. The information will look like the following:

Windows IP Configuration

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : us.maf.orgIP Address . . . . . . . . . . : 172.20.4.20Subnet Mask . . . . . . . . . . : 255.255.0.0Default Gateway . . . . . . . . : 172.20.0.1

Test the connectionVerify Moodle still functions from the computer that is running Poodle.

1. In the web browser, substitute the address used to connect to Moodle to the IP Addressthat was located above. In the above example,

http://localhost:8101/moodle/

Would change to:

http://172.20.4.20:8101/moodle/

2. If the computer hosting Moodle correctly operates using the new IP Address, tryconnecting from another computer on the network using the new address

3. If it fails, try:◦ When you launch Moodle Start and the Windows Security Alert dialog box is

displayed, be sure to click "Unblock" for "Apache HTTP Server"◦ Try disabling the Windows Firewall all together. Please note, I would not

recommend doing this unless you are certain the computer is behind anotherform of a firewall, for instance a router for the local network. Open the Windows

Offline Poodle Help Document

Technical Details 17

Page 18: Offline Poodle Help Document

Firewall configuration window (access from the Control Panel) and then select"Off" and click "OK"

◦ Also, if performance is very slow running it from a flash drive, try copyingPoodle to the host machine and operating it there. Or, try an external hard drive

Offline Poodle Help Document

Technical Details 18