DevOps Engineering part 1. (Mac) – Make your Macintosh easier to use

Enable the right-click To be able the right-click on the mouse Disable caps lock If you never write emails with all capital letters, and many times a day accidentally press the caps lock key, you can disable it. Remove Siri from the control strip If you don’t use Siri on your Mac, there is no …

OLD- DevOps Engineering part 1. (Win) – Make your Windows computer easier to use

Set up your computer Display the file extensions On Windows 11 Open the File Explorer Click the arrow next to View and select Show Mark File name extensions and Hidden items On Windows 10 Open File Explorer On the View tab select File name extensions Hidden items On Windows 7 (if you accidentally run into …

Your session has timed out. Please try again. Code 5107 in the

To download apps from the Apple Store you need an Apple Id. If the app is free, you may not want to enter credit card information during the registration. If you try to create the Apple Id without the credit card in the App Store application, you may get the following error message: Your session …

`block in filter_instances’: undefined method `empty?’ for nil:NilClass (NoMethodError)

When you try to execute any of the “kitchen” commands in Chef Test Kitchen you may get the following error message. lib/kitchen/config.rb:182:in `block in filter_instances’: undefined method `empty?’ for nil:NilClass (NoMethodError) This happened in my cookbook, when I have removed the value from the “excludes:” option in the .kitchen.yml file, but left the “excludes:” option …

Failed to open file ‘…’ , error 2 and error 22

How to restore a MySQL database in Windows To restore a MySQL database on a Windows machine: Place the database backup file in the root directory of your C: drive (trust me, this will make your life easier) Open the Command Prompt Start the MySQL command prompt mysql -u root -p This command will prompt you …

The FastCGI process exited unexpectedly

When you install WordPress on a Windows machine you may get the following error message: HTTP Error 500.0 – Internal Server Error C:\Program Files (x86)\PHP\v5.5\php-cgi.exe – The FastCGI process exited unexpectedly Detailed Error Information: Module FastCgiModule Notification ExecuteRequestHandler Handler PHP55_via_FastCGI1 Error Code 0x000000ff The error message is misleading. If you open the Application events in …

Serialize SSH and RSA private keys to store them in a Chef Data Bag

To send RSA private keys to instances, store them in encrypted data bags. The data bag item is a JSON file that contains keys and values inline. Use base64 encoding Base64 encoding converts binary data to ASCII format to represent special characters, like line breaks as ASCII text. The result will be larger, 8 / …

HTTP Request Returned 409 Conflict: Client already exists

The Chef server maintains the list of registered nodes and clients in its database.  When you launch a new instance with Chef you may encounter the following error message: *** Input CHEF_CLIENT_NODE_NAME is undefined, using: IP-0AFE6965 … *** Starting chef-client *** Finished chef-client Printing Log … […] INFO: Client key C:\chef\client.pem is not present – …