Add additional SSH user to Amazon Lightsail

Published on Author JFLeave a comment

Configuring Lightsail Network To make sure you can connect, make sure that Port 22 (default) is open. If you have a fixed IP address, make sure to check “Restrict to IP address” and add your address/es. Remotely Connecting Before we set up the server, let’s go over a couple key items: You’ve create the instance… Continue reading Add additional SSH user to Amazon Lightsail

Linux tail -f replacement on Windows

Published on Author JFLeave a comment

Use Get-Content and Get-Item in Powershell Looking for the tail command on Windows? Get-Content will do the trick. Here’s a link to the command page. Open PowerShell: Show the last line/s: Get-Content C:\inetpub\logs\LogFiles\W3SVC1\u_ex200711.log -Tail 1 Or use get-item Get-Item -Path .\LineNumbers.txt | Get-Content -Tail 1 Stream the file like tail -f Get-Content path-to-file -wait Example:… Continue reading Linux tail -f replacement on Windows

How to fix AWS Lightsail CLIENT_UNAUTHORIZED [769]

Published on Author JFLeave a comment

There are two main reasons why you might get “Log in failed. If this instance has just started up, try again in a minute or two. CLIENT_UNAUTHORIZED [769]” in Amazon Lightsail browser based SSH login. You will need SSH login from Putty, etc. Your machine’s clock is wrong Check time with https://time.is/UTC (AWS is in… Continue reading How to fix AWS Lightsail CLIENT_UNAUTHORIZED [769]

How to install WKHTMLTOPDF 0.12.1.4 on Ubuntu 16 Xenial

Published on Author JFLeave a comment

This might work on Ubuntu 18, as well, but I have not tested it. Also, there is no official build release for it. You might need to compile it on your own. Note: if you are getting the “GLIBC_2.7′ not found” error, it could be that you need to uninstall and then reinstall a specific… Continue reading How to install WKHTMLTOPDF 0.12.1.4 on Ubuntu 16 Xenial

LetsEncrypt SSL on Amazon Lightsail Ubuntu 16.04.5 LTS

Published on Author JFLeave a comment

ProcessIO is now running SSL for free thanks to LetsEncrypt. It took about 5 minutes to get set up, so if you haven’t done it, do it. Ubuntu 16.04.5 LTS I used  Certbot, so I went to the site and selected my web server and OS, then followed the instructions. Important! Amazon Lightsail has a firewall… Continue reading LetsEncrypt SSL on Amazon Lightsail Ubuntu 16.04.5 LTS

How to install PHP 5.6 on CentOS 6.10

Published on Author JFLeave a comment

I just did a fresh install of CentOS 6.10 today and needed to install PHP. It had been a while, so I needed a refresher. Note: PHP 5.6 is pretty much End Of Life, so you should be installing PHP 7.2, or higher at this point in time. That said, sometimes you have to support… Continue reading How to install PHP 5.6 on CentOS 6.10

Vagrant status is “running” but VirtualBox shows “Powered Off” Windows 10

Published on Author JFLeave a comment

You’ve installed Vagrant and run vagrant up and then vagrant ssh successfully. You then start VirtualBox Manager and it shows that it is powered off: In order to see the actual status, press SHIFT then right-click on the icon for Virtual Box, then click Run as Administrator You will see that it reports the VM… Continue reading Vagrant status is “running” but VirtualBox shows “Powered Off” Windows 10

How to clean up Ubuntu boot partition when its full

Published on Author JFLeave a comment

This is what I did on Ubuntu 16.04.4 LTS I checked my version lsb_release -a Then checked the drive Filesystem Size Used Avail Use% Mounted on udev 978M 0 978M 0% /dev tmpfs 200M 3.1M 197M 2% /run /dev/mapper/hv–serbername–vg-root 116G 27G 84G 24% / tmpfs 996M 0 996M 0% /dev/shm tmpfs 5.0M 0 5.0M 0%… Continue reading How to clean up Ubuntu boot partition when its full

Remove annoying beep sound on Windows Subsystem for Linux

Published on Author JF1 Comment

When using BASH on WSL, by default it will constantly beep at you while using the TAB key, etc. Here’s how to remove it: nano ~/.inputrc Scroll down and remove the # comment from: #set bell-style none Close and re-open Bash. Vi also has a bell sound (I prefer Nano for whatever reason). In that… Continue reading Remove annoying beep sound on Windows Subsystem for Linux

How to install Apache and PHP 7.2 on Windows Subsystem for Linux

Published on Author JFLeave a comment

There are a few tips and tricks I found for this installation. Here are the details. Check Windows Version First, here’s the entire Microsoft section on WSL. I highly recommend reading through it. There are various differences between the latest Windows 10 updates, so this might not work for your version! I’m on Windows 10… Continue reading How to install Apache and PHP 7.2 on Windows Subsystem for Linux