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

How to use Tail in Windows Powershell

Published on Author JFLeave a comment

Windows is slowly, but surely, catching up to the hundreds of useful utilities for reading file content that *nix have had for forever. As you know, opening a 1 gig log file in notepad is impossible. Even using Notepad++, which can open some pretty large files, will not open a 1 gig file. Thank you,… Continue reading How to use Tail in Windows Powershell

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 install OpenVas 9 on Ubuntu 16.04 Xenial

Published on Author JFLeave a comment

This installation covers my experience with installing only OpenVas VERSION 9 on Ubuntu 16.04 Xenial only. There are a variety of resources out there that will help you install previous versions like these: https://launchpad.net/~mrazavi/+archive/ubuntu/openvas https://www.vultr.com/docs/how-to-install-openvas-vulnerability-scanner-on-ubuntu-16-04 https://hackertarget.com/openvas-9-install-ubuntu-1604/ Again, this works for Verion 9 only. Update Ubuntu sudo lsb_release -a sudo apt-get -y update && upgrade sudo reboot (if possible) Add… Continue reading How to install OpenVas 9 on Ubuntu 16.04 Xenial

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

How to kill tasks by username using Windows command line

Published on Author JFLeave a comment

Open CMD or PowerShell as administrator. taskkill /? Review the options. tasklist To see the running tasks. What I found interesting is that I had a bunch of winword.exe running. If I did: taskill winword.exe It would give me an error and say it couldn’t find winword.exe However, if I did it by filtering by… Continue reading How to kill tasks by username using Windows command line

How to get what version of Powershell you are using

Published on Author JFLeave a comment

Microsoft Windows Powershell is a very useful tool that brought some sanity to managing Windows outside the GUI. To find the version you are running, open Powershell, paste and hit enter: $PSVersionTable.PSVersion Result: Windows PowerShell Copyright (C) 2015 Microsoft Corporation. All rights reserved. PS C:\Users\username> $PSVersionTable.PSVersion Major Minor Build Revision —– —– —– ——– 5 0… Continue reading How to get what version of Powershell you are using

Export Sites and Application pools in IIS

Published on Author JFLeave a comment

Open CMD as Administrator: Export AppPools All %windir%\system32\inetsrv\appcmd list apppool /config /xml > c:\apppools.xml Single %windir%\system32\inetsrv\appcmd list apppool “MyAppPool” /config /xml > c:\myapppool.xml Export Sites %windir%\system32\inetsrv\appcmd list site /config /xml > c:\sites.xml or in txt format (not very useful) %windir%\system32\inetsrv\appcmd list site > c:\sites.txt  

Remove annoying beep sound on Windows Subsystem for Linux

Published on Author JFLeave a 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