How to add PHP 8.1.24 to Ubuntu 22.04

Published on Author JFLeave a comment

You’re running the default PHP 8.1.22 on Ubuntu 22.04 and need to update to 8.1.24. Fortunately, the ondrej/php repository includes 8.1.22 so you can just remove the existing php, add ondrej/php and then install 8.1.24. Check version on Ubuntu Remove PHP Note: we are keeping /etc/…php.ini because we want to keep the config file —… Continue reading How to add PHP 8.1.24 to Ubuntu 22.04

GitLab: couldn’t execute POST against https://gitlab.mysite.com/api/v4/runners: Post “https://gitlab.mysite.com/api/v4/runners”: x509: certificate signed by unknown authority

Published on Author JFLeave a comment

When registering your runner, you might get this certificate error. In this case we’re using GoDaddy wildcards on our servers (for reasons). Simple fix on the Runner itself: This will copy the target server’s (gitlab.mysite.com) CRT into the Runner’s /etc/gitlab-runner/certs/ folder. Make sure you are using the complete FQDN as the cert name must match… Continue reading GitLab: couldn’t execute POST against https://gitlab.mysite.com/api/v4/runners: Post “https://gitlab.mysite.com/api/v4/runners”: x509: certificate signed by unknown authority

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 JF9 Comments
amazon lighstail

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. If you cannot remote in using SSH then you cannot fix this.… 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