The installation of DokuWiki is almost the same on the Amazon Linux AMI as it is on CentOS 6. There are a few AWS specific things that I did before installing DocuWiki. Elastic File System (EFS) is used to store the DokuWiki files so DokuWiki can quickly be scaled across multiple servers. Simple Email Service (SES) is used for emailing from the server things like; logwatch, fail2ban, site registration, backup script status.
Enable the EPEL repo by editing /etc/yum.repos.d/epel.repo
[epel] enabled=1
Mount EFS as /var/www
Or just use the Amazon EFS utilities
$ sudo yum install -y amazon-efs-utils $ sudo mount -t efs -o tls fs-12a34b56:/ /var/www $ echo "fs-12a34b56:/ /var/www efs tls,_netdev 0 0" | sudo tee -a /etc/fstab
Install Apache with Mod SSL
[ec2-user@ip-10-10-10-10 ~]$ sudo yum install httpd mod_ssl -y
Configure SES
Continue on with the CentOS portion of the installation and then create an Amazon Machine Image (AMI) of your completed server.