You are on page 1of 10

Installing eFront on Windows Server 2003 and IIS 6

InstallingeFront3.6.8onWindowsServer2003andIIS6.0
Thissmalltutorialprovidesastepbystepguideoninstallingtheneeded3rdpartysoftware andtheeFrontpackageonInternetInformationServer(IIS).Throughoutthistutorialwe usedafreshinstallationofWindowsServer2003withIEenhancedsecurityturnedoff 1 and allsuggestedupdatesfromMicrosoftinstalled(includingIE8).WesuggestavoidingIE6due tospeedandsecurityconsiderations.eFrontisbeingoptimizedformodernbrowsers includingIE89,Firefox3.6+,Opera9+,Safari,Chrome. InstallingeFrontonWindowsServer2003isnotverycomplicatedalthoughattimescanbe trickyduetobolddecisionsregardingsecurityonthisWindowsServerversion. Stepstofollow: InstallMYSQL YoucandownloadthelatestMYSQLversionfrom: http://www.mysql.com/downloads/mysql/ Thisisgenerallystraightforwardbutincaseyouvegotanyissuesyoumayrefertothe installationinstructionat: http://dev.mysql.com/doc/refman/5.5/en/windowsinstallation.html Makesureyoucreatearootpasswordandrememberit.Wewillneeditlateronduringthe eFrontinstallationtocreateanewdb. InstallPHP YoucandownloadthelatestPHPversionfrom:http://windows.php.net/download/ Wesuggestusingthewindowsinstallerandnotanysourceorzippedversion.Duringthe PHPinstallationmakesureyouselecttheFastCGIserveroptionandrelatedinstructions. ThiswillautomaticallysetupIISsoastousePHPdirectly.Ifforanyreasontheautomatic installerisnotworkingyoucanfollowthesuggestionsbelowtoinstallFastCGI&PHPonIIS: http://learn.iis.net/page.aspx/247/usingfastcgitohostphpapplicationsoniis60/ UnzipeFront YouwillalsoneedacopyofeFrontitself.Youcandownloadthecommunityeditionof eFrontfrom:http://www.efrontlearning.com/download/downloadefront.html Wesuggestunzippingitinsidec:/InetpubthedefaultIISfolder.Checkthefollowingpicture ofhowyourfolderstructureshouldlooklike:

http://www.brighthub.com/internet/securityprivacy/articles/64685.aspx


Figure1:Folderstructure

CreateanewsiteforeFrontonIIS OpenInternetInformationServer,rightclickonWebServeroptionandselectNew >Website.Followthewizardasisdepictedinthefollowing4pictures.Notethatsinceour sitewillrunonport80wewillhavetostopfirstthedefaultwebsitethatoccupiesthesame port.

Settingsecurity TheinstallationprocessofeFrontwillneedtocreateafewfoldersandfiles.Andsincethe installationishappeningthroughabrowserwewillhavetogivespecialprivilegestothe anonymoususerthatIISisgoingtousetoaccesstheeFrontinstallationthroughtheweb. Tofindtheexactnameofthisuser,rightclickonournewlycreatedsiteinsideIISandselect properties.ThenfindtheDirectorySecuritytabandclickontheEditoptionon AuthenticationandaccessControlasdepictedonthefollowing2pictures.Makeanoteof theexactnameoftheanonymoususerIISisgoingtousetoaccessourwebsite.Wewill needit!

WewillhavetoaddtheIISanonymoususertothelistofuserswithfullaccesstothisfolder. Otherwisethesetupprocesswillnotbeabletogetcompletedsuccessfully.Seethe following3picturesforthefullprocess.

eFrontInstallation WearereadytoinstalleFront.OpenInternetExplorerandbrowsetothefollowingURL: http://localhost Assumingthateverythingworkedokyoushouldseethefollowingscreen.

Installationisa2stepsprocessasdepictedbelow.Thefirststepmakessurethateverything worksassupposed.IfeFrontfindsaproblemwithyourinstallationyouwillseearelatedred statusimageandadescriptionoftheproblem.Usuallyyoushouldnotseeandredsignsbut ispossibletooverridethemandcontinuewiththeinstallation.

Thesecondstepasksforadatabasenameanduserforcreatingthedb(hereishandyto remembertherootpasswordweusedformysql 2 )andsomeadditionalinfoandemail. Assumingthatthereisnoproblemtheinstallationshouldprocessandcompleted.

Congrats!YoureFrontisready.Justclickontherelatedlinkonthefinalinstallationsto removetheinstallationfilesandbrowsethefirsteFrontscreen.

Asanadditionalsecurityyoushouldconsidercreatingaseconduseronmysqlforusingthisdb

You might also like