Tech Home The Bacon

Cowboy IT | Technologist

Tag: ec2

Amazon EC2 Instance No SSH After Enabling SELinux – Regain Access

Problem:

I changed the default listening port for OpenSSH. Later on, I forgot that I had SELinux off for testing and when I turned it back on I couldn’t ssh to the EC2 instance.

Continue reading

Magento 2.2 Install On CentOS 7

Objective


Install Magento 2.2 on CentOS 7. The stack will require PHP 7.1, MariaDB 10.2, and Apache 2.4. To see the full system requirements to run Magento 2.2 click here.

  1. Install Apache 2.4
  2. Configure Apache
  3. Install PHP 7.1
  4. Configure PHP
  5. Install MariaDB 10.2
  6. Configure MariaDB
  7. Create Magento File System User
  8. Download & Extract Magento Files
  9. SELinux
  10. Set File Permissions
Continue reading

Amazon Linux 2 – WordPress Error: There Has Been An Error Cropping Your Image

I’ve moved over to AWS and I’m running a fresh Amazon Linux 2 instance. I’ve got wordpress loaded and I try to crop an image for my theme’s header and I get “There has been an error cropping your image“.

After a little research, the obvious answer is to install php-gd and restart apache. This did NOT work for me. I did it about 5 times and checked my phpinfo to make sure php-gd was installed and it was.

After about an hour, I said I will restart the whole instance. That fixed it for me, still have no idea what service was causing the hang up.

© 2019 Tech Home The Bacon

Theme by Anders NorenUp ↑