Home
Software Installation Manual
Contents
1. client ssh to the Dreamhost server with the following settings e Host syrma dreamhost com e User lemaadmin Password lemahs IM TOC S17h T12 V2 0 dacxx 4 Version Date 04 26 12 Installation Manual IM for the LEMA Course Scheduling System Version 2 0 5 Install the LEMA Scheduling System by executing the following on the command line 3 cd scratch o 3 install_lss sh home lemaadmin scratch lt version number scratch 1ss version number gt tgz Where version number is the version number of the LEMA Scheduling System software you are installing 6 The installation is now complete 2 3 Re installation 2 3 1 Re installation of Symfony If you need to reinstall Symfony first remove the existing Symfony install 1 Using your ssh client ssh to the Dreamhost server with the following settings e Host syrma dreamhost com e User lemaadmin Password lemahs 2 Remove the Symfony directory 3 cd lemahs net 2 3 rm rf Symfony 3 Now to re install Symfony follow the instructions in Section 2 1 1 in this document 2 3 2 Re installation of LEMA Scheduling System If you need to reinstall the current version of the LEMA Scheduling System perform the following 1 Using your ssh client ssh to the Dreamhost server with the following settings e Host syrma dreamhost com e User lemaadmin Password lemahs 2 On the command line run the install script again 3 cd scratch 3 install_ls
2. greenend org uk sgtatham putty download html Mac OS X has a built in ssh client First open the Terminal application by navigating to your Applications folder Navigate to the Utilities folder and Launch Terminal CJ Utilities Eo E e 81 a Date Modified Size Kind EB Activity Monitor Jul 31 2009 12 18 AM Application AirPort Utility Dec 28 2010 8 08 PM Application 7 AppleScript Editor Apr 24 2009 6 41 AM Application Audio MIDI Setup Dec 28 2010 8 08 PM Application gt Bluetooth File Exchange Dec 28 2010 8 08 PM Application Zi Boot Camp Assistant Dec 28 2010 8 08 PM Application ColorSync Utility May 18 2009 11 00 PM Application Console Apr 6 2009 5 42 PM Application DigitalColor Meter May 27 2009 10 06 PM Application Ey Disk Utility Dec 28 2010 8 08 PM Application E Expos Jan 19 2011 7 18 PM 479 KB Application M Grab May 18 2009 7 12 PM Application Grapher Apr 6 2009 5 42 PM Application ISI Java Preferences Oct 24 2010 11 28 AM Application Keychain Access Jul 31 2009 12 19 AM Application Ey Migration Assistant Jul 1 2009 12 17 AM Application Network Utility Jun 24 2009 7 25 PM Application Podcast Capture Jul 20 2009 10 31 PM Application RAID Utility Dec 28 2010 8 08 PM Application Remote Install Mac OS X May 18 2009 7 13 PM Application kid Spaces Jan 19 2011 7 18 PM 426 KB Application System Profiler Dec 28 2010 8
3. 08 PM Application B Terminal Dec 28 2010 8 08 PM Application VoiceOver Utility Dec 28 2010 8 08 PM gt Application XI X11 Dec 28 2010 8 08 PM 5 2 MB Application When terminal launches enter the following line IM TOC S12h T12 V2 0 dacxx Version Date 04 26 12 Installation Manual IM for the LEMA Course Scheduling System Version 2 0 eneo Terminal bash 80x24 bash 3 25 ssh lemaadmin syrma dreamhost com When prompted for a password enter lemahs Where can I download an ftp client Filezilla is a free FTP client for Windows http filezilla project org Mac OS X has a built in FTP client First open the Terminal application by navigating to your Applications folder Navigate to the Utilities folder and Launch Terminal Cy Utilities GEA EJee a Date Modified Size Kind EB Activity Monitor Jul 31 2009 12 18 AM Application AirPort Utility Dec 28 2010 8 08 PM Application 7 AppleScript Editor Apr 24 2009 6 41 AM Application M Audio MIDI Setup Dec 28 2010 8 08 PM Application gt Bluetooth File Exchange Dec 28 2010 8 08 PM Application i Boot Camp Assistant Dec 28 2010 8 08 PM Application Y ColorSync Utility May 18 2009 11 00 PM Application HE Console Apr 6 2009 5 42 PM Application DigitalColor Meter May 27 2009 10 06 PM Application Sy Disk Utility Dec 28 2010 8 08 PM Application E Expos Jan 19 2011 7 18 PM 479KB Application N Grab May 1
4. 12 Installation Manual IM for the LEMA Course Scheduling System Manage Domains Return to domain listing gt ACTIVE Fully Hosted Upload your site to our servers and we ll serve it up Domain name Domain to host sub domains are okay Do you want the www in your URL Users Files and Paths Run this domain under the user This affects which FTP account will have access to the domain as well as what user PHP and CGI scripts will run as Web directory Logs directory can t be changed Web Options PHP mode Extra Web Security highly recommended what s this BETA Page Speed Optimization what s this PHP XCache Support what s this Passenger Ruby Python apps only what s this CloudFlare Services aso Enable CloudFlare on this domain what s this Google Hosted Services You ll need to set your domain up with Google to use these services if you haven t already Google Hosted Services You ll need to set your domain up with Google to use these services if you haven t already Gmail Use Gmail for your email at this domain Google may charge you to use this feature Google Apps Set up calendar lemahs net and docs lemahs net Google may charge you to use this feature lemahs net O Leave it alone Both http www lemahs net and http lemahs net Will work Add WWW Make http lemahs net redirect to http www lemahs ne
5. 3 Configure 1 At the end of the configuration script it will try to write to var www Symfony app config parameters ini so make sure it s write enabled with the following command sudo chmod 777 var www Symfony app config parameters ini 2 Now that you ve got everything set up properly we can actually configure Symfony If you haven t already go to http localhost Symfony web config php screenshot 3 You ll first be asked to provide database information I did MySQL because it s what I m comfortable with screenshot 4 Then you ll be asked to set up a hash for CRSF protection screenshot 5 It will then try to write all the configuration information to your parameters ini file It should succeed If not check you didn t miss any parts of step 1 screenshot 6 Otherwise you can just copy the configuration information over manually 2 2 Install LEMA Scheduling System 1 Copy the following files from the CD to a folder on your local workstation The LEMA Scheduling System install package Iss version number gt tgz e The installation script install Iss sh 2 Using your FTP client ftp to the Dreamhost server with the following settings e Host syrma dreamhost com e User lemaadmin e Password lemahs 3 Copy the following to the scratch directory on the LEMA server The LEMA Scheduling System install package Iss version number gt tgz The installation script install Iss sh 4 Using your ssh
6. 8 2009 7 12 PM Application Grapher Apr 6 2009 5 42 PM Application IS Java Preferences Oct 24 2010 11 28 AM Application A Keychain Access Jul 31 2009 12 19 AM Application Eu Migration Assistant Jul 1 2009 12 17 AM Application Network Utility Jun 24 2009 7 25 PM Application Podcast Capture Jul 20 2009 10 31 PM Application P RAID Utility Dec 28 2010 8 08 PM ao Application Remote Install Mac OS X May 18 2009 7 13 PM Application E Spaces Jan 19 2011 7 18 PM 426 KB Application w System Profiler Dec 28 2010 8 08 PM Application Terminal Dec 28 2010 8 08 PM Application VoiceOver Utility Dec 28 2010 8 08 PM Application X MI Dec 28 2010 8 08 PM 5 2 MB Application IM TOC S17h T12 V2 0 dacxx R Version Date 04 26 12 Installation Manual IM for the LEMA Course Scheduling System Version 2 0 When terminal launches enter the following line 00 Terminal bash 80x24 bash 3 2 ftp syrma dreamhost com v When prompted for a user name enter lemaadmin and enter lemahs for the password How do I access the Dreamhost web panel In a web browser go to https panel dreamhost com Log in with the following information e Username jaa4320 lausd net Password lemahs How do I access the database In a web browser go to http mysal lemahs net Log in with the following information Username lemadb Password lemahs The database is named lema db 3 2 Error Codes and Message Issu
7. S ua AANGAL VII INO EE OE Ee RE OR AA KGG 1 1 1 System OVervVieW rosee SG dn ed be ee BAGA BAGBAG 1 1 2 System REquirementSz c ractitasitehoa GN ie T de ED EE GR GOU Ge Ee cese e 1 1 2 1 Hardware Requirements aka BINGI BHE de AGA 1 1 2 2 Software AN LA PA 1 2 Tastall ation Procedures RE EE EG A Ge A ee AA 2 2 1 Initialization DIOESAEEES ies ALALA GANA E AAE ENER EEE TEE S 2 2 1 1 Setup Symfony web platform on your host server iese ses see se ee ee RR GR Ge ee 2 2 2 Install LEMA Scheduling System ss sees resessie ese EER Ee Nee SR ree N nisse sinas 4 2 3 KAG OE EE EO EE EE AE 5 2 3 1 Re installation of SYMTONWV sesse se esse eg Ge ee EA SE Ge AE AA AE Ge ed 5 2 3 2 Re installation of LEMA Scheduling System sesse sesse see ee RA GR Re ee ee RA ee 5 24 BE EE ie OE N E EO NAL cade dada aheno dne 6 2 4 1 De installation of Symfony sere EE GE EG N Ge Ge ee 6 2 4 2 De installation of LEMA Scheduling SYStEM iese sesse ee ae RA GR Re AE ee ee RA 6 3 Troubleshooting RO OE N EE N 7 3 1 Frequently Asked Questions us iese ee ee SG GN GB GAGA GA 7 IM IOC2 S12b T12 V2 0 docxx iv Version Date 04 26 12 Installation Manual IM for the LEMA Course Scheduling System Version 2 0 bA Error GA lan and Message AA ee 9 38 PNC XR N SR N ED een EE Se ed os 12 At References EIER EE EE AE IE OO EE AA Hei 4 13 IM IOC2 S12b T12 V2 0 docxx V Version Date 04 26 12 Installation Manual IM for the LEMA Course Scheduling System Ve
8. Software Installation Manual LEMA Course Scheduling System Team 12 Name Primaryiole Secondary Role David Wiggins Project Manager Developer Aakash Shah Prototyper Developer Kushalpreet Kaur Developer Developer Thammanoon Tester Developer Kawinfruangfukul Eunyoung Hwang Architect Developer Louis Demaria IV amp V Developer Mark Villanueva QFP Developer Sangik Park Developer Developer 04 26 12 Installation Manual IM for the LEMA Course Scheduling System Version 2 0 IM IOC2 S12b T12 V2 0 docxx ii Version Date 04 26 12 Installation Manual IM for the LEMA Course Scheduling System Version 2 0 Version History Date Author Version Changes made Rationale 04 09 12 DW 1 2 Initial submission Draft TRR o Note section 2 1 1 follows a web tutorial and needs to be updated to discuss deployment to DreamHost o Also needs further installation instructions for installing bundles to the symphony instance 04 26 12 MV 2 0 Added sections 2 2 2 3 2 4 3 IOC Working Set 2 steps for installation and de installation some troubleshooting IM IOC2 S12b T12 V2 0 docxx ili Version Date 04 26 12 Installation Manual IM for the LEMA Course Scheduling System Version 2 0 Table of Contents Table of Contents VERSION HISTORY ies see AA AA AA ANA III TABLE OF CONTENTS aaa AA Ge RAN eN ee bee ee ke es EE IV TABLE OF TABLES ei era aoa ee eN Ge ed be de Ge ee eb Se AA VI TABLE OF FIGURE
9. age Account Manage Domains gt Manage Email gt Manage Users 3 MySQL Databases One Click Installs Main Menu DreamHost Domains Manage Domains Registrations Reg Transfer Secure Hosting Remap Sub Dir Anonymous FTP Mongrel and Proxy 4 In the Manage Domains view click the Edit button under the lemahs net domain nu joann memoer since marcn 24142 PAANAN AA Breon A BM TUT 4 Toolbox ER Manage Domains gt Manage Account Account Status gt Manage Domains Domain Management 3 Manage Email O Manage Users View and modify the hosting configuration of any of the domains on your DreamHost account MySQL Databases J One Click Installs See Also Add Jabber IM Add QuickTime Streaming Main Menu ora oet Add New Domain Sub Domain Domains ee EES All hosted domains on this account gt nage Domai EE Domain Registration Web Hosting Secure Hosting Email p Actions pect ona lemahs net ii left Fully Hosted User lemaadmin none O Add El Restore Reg Transter DNS Visit WebFTP ETP Add IP monst left p Edit x Remove Add TESE Delete Secure Hosting lemahs org DNS Only none lf 11 mons left 0 Addresses Delete Remap Sub Dir DNS Visit Add Add x Anonymous FTP Mongrel and Proxy B Gandine 5 In the next view select PHP 5 3 x FastCGI from the PHP mode dropdown and click Change Settings IM TOC S17h T12 V2 0 docxx 11 Version Date 04 26
10. e When navigating to a page in the LEMA Scheduling System the following message appears IM TOC S17h T12 V2 0 dacxx 9 Version Date 04 26 12 Installation Manual IM for the LEMA Course Scheduling System Version 2 0 Warning mysql connect lt a href function mysql connect gt function mysql connect lt a gt Can t connect to local MySQL server through socket No MySQL hostname was specified 2 in home lemaadmin lemahs net Symfony sre Lema SchedulingBundle DbAc cess DbConnection php line 12 Solution This message means that the database username or password is not correctly configured in the system The DbConnection php file is probably incorrect or corrupt Re installing the software Section 2 3 2 will restore the correct DbConnection php file Issue When navigating to a page in the LEMA Scheduling System the following message or something similar appears You are running PHP version 5 2 17 but Symfony needs at least PHP 5 3 2 to run Before using Symfony install PHP 5 3 2 or newer Solution You will need to configure the server to use PHP version 5 3 1 In a web browser go to https panel dreamhost com 2 Log in with the following information Username jaa4320 lausd net Password lemahs 3 In the side menu bar under Domains click Manage Domains IM TOC S17h T12 V2 0 dacxx 10 Version Date 04 26 12 Installation Manual IM for the LEMA Course Scheduling System Version 2 0 Toolbox Man
11. el Xeon 3 00 GHz RAM 8 GB Hard Disk 50 GB e Network Connection Ethernet 1 2 2 Software Requirements Required Operating System Linux Windows Programming Languages PHP http www php net DB MySql http www mysql com Web Platform Symfony http symfony com IM TOC S17h T12 V2 0 dacxx 1 Version Date 04 26 12 Installation Manual IM for the LEMA Course Scheduling System Version 2 0 2 Installation Procedures 2 1 Initialization procedures 2 1 1 Setup Symfony web platform on your host server Note this tutorial assumes you have PHP and Apache running on your target host 2 1 1 1 Download and Extract 1 Download the framework from the Symfony website Here s a link At time of writing this manual works with the Symfony Standard 2 0 9 package 2 Either download the package directly to your var www directory or move it there yourself You ll now have a directory labeled Symfony in your var www directory 2 1 1 2 Prepare 1 Now navigate to http localhost Symfony web config php Note Symfony requires that the config script is only run through localhost If you are remoting into the server through SSH this poses a bit of a problem I ended up redirecting port 80 on my server to port 1337 on my local machine with Putty Here s how to do it 2 You may get all kind of requirements and warnings when you first get to config php Below is a list of the major hoops to jump through to get S
12. rsion 2 0 Table of Tables No table of figures entries found IM IOC2 S12b T12 V2 0 docxx vi Version Date 04 26 12 Installation Manual IM for the LEMA Course Scheduling System Version 2 0 Table of Figures No table of figures entries found IM IOC2 S12b T12 V2 0 docxx vii Version Date 04 26 12 Installation Manual IM for the LEMA Course Scheduling System Version 2 0 1 Introduction 1 1 System Overview The LEMA Course Scheduling System is the combination of both the LEMA website and FET system The website acts as a public interface on the web for students to register for courses counselors to review those selections teachers to see their final schedules and schedulers to input information needed to manage the creation and organization of course schedules for the coming semester The FET is a desktop system used to organize the courses into a final schedule that follows given constraints in an automated fashion Instructions in usage for both are included in this user manual This Installation Manual is meant for the system admin charged with deployment of the system to a host server 1 2 System Requirements 1 2 1 Hardware Requirements The system is deployed to the client s choice of hosts Dream Host DreamHost s website URL is http dreamhost com The client currently has an existing account that we ll be deploying the LEMA Scheduling system to Current hard ware specs are follows e Processor Int
13. s sh home lemaadmin scratch lt version number scratch 1lss_ lt version number gt tgz IM TOC S17h T12 V2 0 dacxx 5 Version Date 04 26 12 Installation Manual IM for the LEMA Course Scheduling System Version 2 0 Where lt version number is the version number of the LEMA Scheduling System software you are installing This will overwrite the existing install with the contents of the Iss version number gt tgz package 2 4 De installation 2 4 1 De installation of Symfony 1 Using your ssh client ssh to the Dreamhost server with the following settings e Host syrma dreamhost com e User lemaadmin Password lemahs 2 Remove the Symfony directory 3 cd lemahs net o rm rf Symfony 2 4 2 De installation of LEMA Scheduling System 1 Using your ssh client ssh to the Dreamhost server with the following settings e Host syrma dreamhost com e User lemaadmin Password lemahs 2 On the command line run the uninstall 3 cd scratch o 3 uninstall Iss sh o This script will remove the LEMA Scheduling System application as well as revert any LEMA specific configuration files back to their original version IM TOC S17h T12 V2 0 dacxx 6 Version Date 04 26 12 Installation Manual IM for the LEMA Course Scheduling System Version 2 0 3 Troubleshooting 3 1 Frequently Asked questions Where can I download an SSH client If you are running windows PuTTY is a free client http www chiark
14. t O Remove WWW Make http www lemahs net redirect to http lemahs net lemaadmin on syrma home username lemahs net home username 10gs lemahs net http PHP 5 3 x FastCGI Cj requires a VPS O n Change settings Version 2 0 Account Status You will see a confirmation message The changes will take effect within 5 10 minutes 3 3 Note ssh secure shell a network protocol for secure data communication remote shell services or command execution IM TOC S17h T12 V2 0 docxx 12 Version Date 04 26 12 Installation Manual IM for the LEMA Course Scheduling System Version 2 0 ftp file transfer protocol a standard network protocol used to transfer files from one host to another host 4 References o Symfony 2 0 Installation Tutorial http www joelverhagen com blog 2011 05 how to configure symfony 2 0 on ubuntu server 201 1 4 o http wiki dreamhost com Symfony IM TOC S17h T12 V2 0 dacxx 13 Version Date 04 26 12
15. ymfony to finally install o Install and enable the SQLite or PDO SQLite extension Just run these two commands It doesn t matter what directory you re in apt get install php5 sqlite sudo apache2ctl restart IM TOC S17h T12 V2 0 dacxx 2 Version Date 04 26 12 Installation Manual IM for the LEMA Course Scheduling System Version 2 0 o Change the permissions of the app cache directory so that the web server can write into it sudo chmod R 777 var www Symfony app cache o Change the permissions of the app logs directory so that the web server can write into it sudo chmod R 777 var www Symfony app logs o Set the date timezone setting in php ini sudo vim etc php5 apache2 php ini o Find the line with date timezone under the Date section and set it to your timezone based on PHP s list of timezones Also make sure to remove the semicolon at the beginning of the line sudo service apache restart o Install and enable a PHP accelerator like APC highly recommended sudo apt get install php apc sudo apache2ctl restart o Install and enable the intl extension sudo apt get install php5 intl sudo apache2ctl restart o Set short_open_tag to off in php ini sudo vim etc php5 apache2 php ini o Find the line with short_open_tag On and change it to short_open_tag Off IM TOC S17h T12 V2 0 dacxx 3 Version Date 04 26 12 Installation Manual IM for the LEMA Course Scheduling System Version 2 0 2 1 1
Download Pdf Manuals
Related Search
Related Contents
16-Port 10/100Mbps Desktop Fast Ethernet Switch FSD @ptitude Observer On-line Device Configurator PayPal Express Checkout - 2009 User Guide Inmagic Content Server Workgroup v1.3 Installation - Crew 取説PDF - セキスイ E-Shop VT1 ECU PROGRAMMER USER MANUAL 3.5 型Mirror Drive SATA MODEL AXRE-U Series 取扱説明書 Copyright © All rights reserved.
Failed to retrieve file