Tech Home The Bacon

Cowboy IT | Technology Blog

Malwarebytes 3.7.1 Premium Causing PC To Freeze

Problem:

A user running Windows 10 (1803) with Malwarebytes 3.7.1 Premium reported random events where the PC would freeze up. I was able to recreate the problem with network related task.

For example, I could cause it to freeze by printing PDFs from the end-user’s Outlook. The PC would freeze for about 10 minutes exactly and then resume normal operations.

Continue reading

Untangle Firewall Cannot Find Boot Device

Problem:

I sent a u25x on site and the person acting as my eyes and hands used the USB 3.0 ports to hook up the keyboard and mouse.

For some reason this causes the box to not see the hardisk and it won’t boot. It first goes straight to trying to boot from PXE then it will give up and ask you to insert bootable media.

Solution:

Plug the keyboard and mouse into the USB 2.0 ports (not the blue ones).

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

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

Use SCP With Different Port Number

Example:

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)

Mac OS X Sock Proxy Enabled After Every Reboot

Problem:

Operating System: Mac OS X 10.14.4

The end user was experiencing internet connectivity outages randomly with Mail and Safari apps. Using the terminal I was able to ping google.com while other apps like Safari wouldn’t load any websites.

I noticed in the network settings that a Sock Proxy was enabled with localhost withport 8080. I knew this had to be the reason for the internet connectivity problem so I removed the setting and immediately was able to surf the internet again and receive email on the Mail app.

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

Give User Permission To Just One S3 Bucket

Objective:

Give an IAM user programmatic access for certain S3 buckets. Note: If you go this route the user will not be able to list all buckets on this AWS account.

This is a great solution if you are a MSP providing backup solutions to S3 compliant storage and you don’t want IAM users from seeing or accessing other customers buckets.

Continue reading

Roundup: Solutions for WordPress 5.0 Upgrade Causing 500 Server Errors

After updating my WordPress blog to 5.0 everything looked like it was working, until I went to add a new post, then I got the internal server error. My issue turned out to be a plugin that was not compatible with the new Gutenberg editor.

In this roundup, I’m going to list the solutions people are trying from easy to hard. Starting with permalinks.

Continue reading
« Older posts

© 2019 Tech Home The Bacon

Theme by Anders NorenUp ↑