Skip to content

Instantly share code, notes, and snippets.

@devlinjunker

devlinjunker/.matoma

Last active Sep 15, 2020
Embed
What would you like to do?
AWS Matomo Setup
Matoma Setup on AWS

Setting up Matomo on AWS

  • Installed PHP 7.x
    • sudo apt-get install php7.0 php7.0-curl php7.0-gd php7.0-cli mysql-server php7.0-mysql php-xml php7.0-mbstring
  • Installed MariaDB
    • Create File
      • sudo vi /etc/yum.repos.d/maria.repo
      • Add the following contents to the file and save:
          [mariadb]
          name = MariaDB
          baseurl = http://yum.mariadb.org/5.5/centos6-amd64
          gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
          gpgcheck=1
        
    • Then run the following commands:
      • sudo yum install -y MariaDB-server MariaDB-client
      • sudo /etc/init.d/mysql start
    • Secured mariadb install:
      • sudo mysql_secure_installation
  • Downloaded Latest Matomo: https://matomo.org/docs/installation/
  • Copy download up to AWS with SFTP
  • Install httpd
  • Configure Matomo settings in /var/www/html/
  • Configure httpd settings in /etc/httpd/conf.d/

TODO

  • Update PHP to newer version
  • Add root user password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.