InfoHeap
Tech tutorials, tips, tools and more
Navigation
  • Home
  • Tutorials
    • CSS tutorials & examples
    • CSS properties
    • Javascript cookbook
    • Linux/Unix Command Line
    • Mac
    • PHP
      • PHP functions online
      • PHP regex
    • WordPress
  • Online Tools
    • Text utilities
    • Online Lint Tools
search
  • Home
  • > Tutorials
  • > Linux

How to install mysql 5.7 on Amazon Linux 2

on Jun 2, 2020

Steps to install mysql 5.7 on Amazon Linux 2

  1. Install Extra Packages for Enterprise Linux (EPEL)
    sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
    (you can alternatively use sudo amazon-linux-extras install epel)
  2. Add mysql yum repository
    sudo yum install https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm
  3. sudo yum install mysql-community-server
  4. sudo systemctl start mysqld
  5. sudo systemctl enable mysqld (to start it at boot time)

Suggested posts:

  1. Amazon Linux 2 install apache 2.4
  2. Install php 7 on Amazon Linux 2
  3. Install Amazon EC2 api tools on Ubuntu Linux
  4. Linux yum quick tutorial
  5. How to install wordpress on Amazon AWS-EC2 Classic Ubuntu Linux micro instance
  6. Linux Systemd/Systemctl quick start guide
  7. LXC (Linux Containers) – quick start tutorial on Ubuntu
  8. mysql – how to enable query logs
Share this article: share on facebook share on linkedin tweet this submit to reddit
Posted in Tutorials | Tagged Amazon Linux 2, Linux
  • Browse content
  • Article Topics
  • Article archives
  • Contact Us
Popular Topics: Android Development | AngularJS | Apache | AWS and EC2 | Bash shell scripting | Chrome developer tools | CSS | CSS cookbook | CSS properties | CSS Pseudo Classes | CSS selectors | CSS3 | CSS3 flexbox | Devops | Git | HTML | HTML5 | Java | Javascript | Javascript cookbook | Javascript DOM | jQuery | Kubernetes | Linux | Linux/Unix Command Line | Mac | Mac Command Line | Mysql | Networking | Node.js | Online Tools | PHP | PHP cookbook | PHP Regex | Python | Python array | Python cookbook | SEO | Site Performance | SSH | Ubuntu Linux | Web Development | Webmaster | Wordpress | Wordpress customization | Wordpress How To | Wordpress Mysql Queries

Copyright © 2023 InfoHeap.

Powered by WordPress