Tech Home The Bacon

Cowboy IT | Technologist

Category: Linux

Magento 2 – Import Stuck “Please Wait” After SSL/HTTPS Configuration


After I configured Let’s Encrypt on a CentOS server. I then configured my Magento 2 installation to use HTTPS on the admin side. Following these changes I could not import CSV files into Magento. The import process would just hang at “Please Wait” while doing a data check on the import file.

I opened the developer tool in Chrome and the console was showing this error:

in a frame because it set multiple 'X-Frame-Options' headers with conflicting values ('deny, deny, SAMEORIGIN'). Falling back to 'deny'.
Continue reading

Errors Compiling OpenVPN on Ubuntu 18.04.2 LTS

You will need to add the missing dependencies before compiling from source.

error: ssl is required but missing

sudo apt-get install libssl-dev

 error: lzo enabled but missing

sudo apt-get install liblzo2-dev

error: libpam required but missing

sudo apt-get install libpam0g-dev

CentOS 7 – WordPress Permissions Cheatsheet

Before Updating – Fix Permissions

Here is the cheatsheet I use to set permissions and SElinux before I update the site. These commands assume your wordpress root directory is /var/www/html.

#Apache Needs To Own The Files
sudo chown apache:apache -R /var/www/html/

#Set wordpress directory permissions
find /var/www/html -type d -exec chmod 755 {} \;

#Set wordpress file permissions
find /var/www/html -type f -exec chmod 644 {} \;

#SELinux - Set Directories To Be Writable
sudo chcon -t httpd_sys_rw_content_t /var/www/html/ -R
Continue reading

Amazon EC2 Instance No SSH After Enabling SELinux – Regain Access


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

Use SCP With Different Port Number


scp -P 30000 index.html  root@ipaddress:/home/user

-P port (Upper Case “P”)
Specifies the port to connect to on the remote host. Note that this option is written with a capital `P’, because -p is already reserved for preserving the times and modes of the file in rcp(1)

© 2019 Tech Home The Bacon

Theme by Anders NorenUp ↑