I am farily new with Moodle, but have been trying to install it on Amazon EC2 Linux instance, but have not been able to do fully. Wondering if anyone else that has done it or has knowledge would be able to help with the process. Thanks
Daniel - you need to prep your server of course, with mysql, apache,
and all the right php libraries. here are the combinations of yum commands i did on the basic amazon linux instance -
3 yum install mysql mysql-server httpd php php-gd php-xmlrpc
5 yum install php-mysql php-dom php-intl php-mbstring
16 yum update
81 yum install php-soap
150 yum install telnet
154 yum search httpd | grep ssl
155 yum search httpd
163 yum search ssl
164 yum install openssl
165 yum install mod_nss
171 yum search ssl
172 yum install mod_ssl
179 history | grep yum >
You should have the install page, and make sure you read it, but the cheat sheet notes are for a ec2 instance -
/etc/init.d/httpd start
/etc/init.d/mysql start
## then do the safe install (you'll see it in the text)
download and copy the moodle tree into /var/www or /var/www/html
do a
chown -R apache /var/www/html/moodle
run your mysql database commands (3) from the install guide
create your data directory -
mkdir -p /data/moodle
chown apache /data/moodle
## this is where the datafiles, course files, sessions, get stored
Do the install, setting the proper paths, once the install is done, do a
chown -R root /var/www/html/moodle
Steve,
Doesn't it make more sense to use Amazon RDS for anything database related? Just thinking out loud.
A. Saavedra
Alex -
I haven't used RDS. I only use EC2 on personal test machines, so I buy cheap spot instances, and just use a single machine.
If I was going to run a production system on amazon, that looks like it would save $$ in system time and give better reliability/performance.
Have you used rds?
Steve,
I haven't used RDS myself, but in a previous work my team used to run such instances for customers with success for production systems.
HTH,
A. Saavedra
make a database name is moodle ==> change its in utf8 format or run this query in my sql
create database moodle default character set utf8;
and the try it will done