background image

2

 

startAiCache.sh

  

This

 

is

 

a

 

shell

 

script

 

that

 

is

 

used

 

to

 

start

 

AiCache

 

server.

  

You

 

can

 

pass

 

all

 

the

 

parameters

 

to

 

this

 

shell

 

script

 

as

 

described

 

in

 

the

 

user

 

manual

 

for

 

the

 

normal

 

non

 

AWS

 

aicache

 

binary

 

except

 

the

 

license

 

file

 

parameter,

 

since

 

AiCache

 

AWS

 

doesn’t

 

need

 

a

 

license.

 

 

The

 

main

 

and

 

most

 

important

 

parameter

 

to

 

be

 

passed

 

to

 

the

 

script

 

to

 

start

 

the

 

AiCache

 

server

 

is

 

the

 

configuration

 

file

 

parameter

 

(

f)

 

followed

 

by

 

the

 

absolute

 

full

 

path

 

to

 

the

 

aicache

 

configuration

 

file,

 

thus

 

for

 

example

 

to

 

start

 

Aicache

 

server

 

with

 

the

 

sample.cfg

 

(sample

 

configuration

 

file)

 

in

 

your

 

home

 

directory

 

you

 

would

 

use

 

the

 

command

  

 

./startAiCache.sh

 ‐

f

 

/home/aiuser/example.cfg

  

 

Notes:

 

a

 

 

Running

 

AiCache

 

with

 

example.cfg

 

immediately

 

will

 

produce

 

errors

 

since

 

this

 

is

 

a

 

sample

 

configuration

 

file

 

that

 

has

 

no

 

real

 

mapping

 

to

 

a

 

real

 

domain.

 

Use

 

the

 

sample

 

configuration

 

file

 

to

 

get

 

started.

 

b

 

Do

 

not

 

forget

 

to

 

backup

 

example.cfg

 

before

 

modifying

 

it,

 

in

 

case

 

you

 

have

 

errors

 

you

 

can

 

go

 

back

 

and

 

compare

 

your

 

file

 

to

 

the

 

sample

 

file.

 

 

3

 

terminateAiCache.sh

  

This

 

file

 

is

 

available

 

only

 

for

 

AWS

 

aicache

 

users,

 

this

 

file

 

is

 

used

 

to

 

terminate

 

AiCache

 

server

 

running

 

on

 

the

 

instance

 

,

 

to

 

terminate

 

AiCache

 

simply

 

call

 

this

 

script

 

passing

 

the

 

aicache

 

configuration

 

file

 

(

 

without

 

the

 

–f

 

parameter

 

as

 

in

 

startAiCache.sh)

  

 

./terminateAiCache.sh

 

/home/aiuser/example.cfg

 

4

 

example.cfg

 

:

 

This

 

file

 

is

 

a

 

sample

 

configuration

 

file

 

that

 

you

 

can

 

use

 

to

 

get

 

started

 

quickly

 

configuring

 

and

 

running

 

aicache.

 

 

5

 

ReadMe.txt

 

,

 

a

 

simple

 

readme

 

file

 

which

 

has

 

information

 

about

 

AiCache

 

and

 

Aicache

 

support.

  

 

Summary of Contents for AiCache

Page 1: ...AiCache Amazon Web Services AWS Getting started Guide Version 1 0 ...

Page 2: ...n screen wizard e Once you are done with the registration process a message will appear giving you a verification code f You are now ready to go to step 2 2 Launching a new AiCache instance using the AiCache AMI a Go to AWS Management console at https console aws amazon com select the Amazon Ec2 tab b Sign in using the same AWS account that you have registered with in step1 You will see a dashboar...

Page 3: ...wing drop down box select public images in the empty text box start typing aicache f You might be presented with a number of aicache AMIs select the one which is more recent AiCache AMIs start with a aicache prefix ...

Page 4: ...aicache i Type the key pair name click on Create and download key pair then click continue Warning Key pair is considered confidential if anyone can access your key pair he is likely to be able to control terminate restart or tamper with your Aicache and any Amazon EC2 instance you launch using this key pair j Click continue to configure firewall settings for your AiCache instance k Depending on w...

Page 5: ... open As a recommendation for people getting started with AWS EC2 and Aicache set the firewall to be very permissive you can come back later and change the firewall policy to suit your needs Thus all you have to do is to select SSH port22 then continue by default this translates to an instance with all ports open l Once you are done with the security groups click continue m Next you will be presen...

Page 6: ...status change to running you will be able to connect to SSH to the instance b Use the public DNS name of the instance server to SSH to the server If you are using a Linux or Mac OS based operating system ssh is straightforward if you are using Windows there is a free SSH solution for windows for more information on using and downloading Putty An ssh solution for windows please visit http www chiar...

Page 7: ...This directory contains all the necessary scripts for you to completely setup and run AiCache If you do an LS command ls in your home directory you will see a number of files 1 AdminGuide pdf this guide is the same guide used for non AWS Aicache which is also available on Aicache website http aicache com admguide pdf This guide has all the necessary details for you to configure AiCache completely ...

Page 8: ...ning AiCache with example cfg immediately will produce errors since this is a sample configuration file that has no real mapping to a real domain Use the sample configuration file to get started b Do not forget to backup example cfg before modifying it in case you have errors you can go back and compare your file to the sample file 3 terminateAiCache sh This file is available only for AWS aicache ...

Reviews: