2‐startAiCache.sh
ThisisashellscriptthatisusedtostartAiCacheserver.
Youcanpassalltheparameterstothisshellscriptasdescribedintheusermanualforthe
normalnonAWSaicachebinaryexceptthelicensefileparameter,sinceAiCacheAWS
doesn’tneedalicense.
ThemainandmostimportantparametertobepassedtothescripttostarttheAiCache
serveristheconfigurationfileparameter(‐f)followedbytheabsolutefullpathtothe
aicacheconfigurationfile,thusforexampletostartAicacheserverwiththesample.cfg
(sampleconfigurationfile)inyourhomedirectoryyouwouldusethecommand
./startAiCache.sh‐f/home/aiuser/example.cfg
Notes:
a‐RunningAiCachewithexample.cfgimmediatelywillproduceerrorssincethis
isasampleconfigurationfilethathasnorealmappingtoarealdomain.Use
thesampleconfigurationfiletogetstarted.
b‐Donotforgettobackupexample.cfgbeforemodifyingit,incaseyouhave
errorsyoucangobackandcompareyourfiletothesamplefile.
3‐terminateAiCache.sh
ThisfileisavailableonlyforAWSaicacheusers,thisfileisusedtoterminateAiCacheserver
runningontheinstance,toterminateAiCachesimplycallthisscriptpassingtheaicache
configurationfile(withoutthe–fparameterasinstartAiCache.sh)
./terminateAiCache.sh/home/aiuser/example.cfg
4‐example.cfg:
Thisfileisasampleconfigurationfilethatyoucanusetogetstartedquicklyconfiguringand
runningaicache.
5‐ReadMe.txt,asimplereadmefilewhichhasinformationaboutAiCacheandAicache
support.