Upgrades
Time for another server migration.
- Read more about Upgrades
- Log in or register to post comments
Time for another server migration.
If you need to trim down a list of sub-domains to only three levels of unique domains, and put the output into a new text file:
cat List_Of_Domains.txt | awk -F. '{print $(NF-2)"."$(NF-1)"."$(NF)}' | sort | uniq > New_Text_File.txt
We returned to the USA from our first European leg, with the intention to help a friend prepare for the sale of her house. I think we got there.
Initially full of energy, we put together an Agile project plan, and agreed to have daily stand ups over coffee.
Around the end of the second week we lost focus, and started doing unplanned work (like spending five days finishing the master bathroom, which involved a lot of floor work, which in turn resulted in some nerve damage... more on this later).
Got a message saying my LetsEncrypt SSL certs had expired, and needed to renewed.
Hadn't done anything about it because of the faffing around I needed to do to enable SSL the first time around. Turns out it's a quick and easy job.
We are on the countdown timer to take a year off, and travel the world (well... bits of it!). We have a frantic 6 weeks ahead of us.
Today was a day for flu and other vaccinations.... The first sneeze has occurred... Dang.
ASA 5505 running ASAos 9.1.2
CentOS 7
Configure the ASA:
en
conf t
policy-map global_policy
class class-default
flow-export event-type all destination 10.10.10.150
flow-export destination management 10.10.10.150 2055
NOTE: I'm using port 2055 as the flow destination on the ASA (10.10.10.150 being the host running ntopng).
If you don't have access to the mailx (eg: Windows hosts, etc), you could try sending a test email using Telnet (thanks to RFC15 circa 1969).
To get mouse support in a local terminal, install gpm.
This is useful, as it allows you to highlight and select text in the cli, or in vim.
Instructions below:
When booting into single user mode, you may be required to enter the root password - not that useful if you don't know it.
Procedure to reset the root password
Start the system and on the GRUB 2 boot screen, press the e key for edit.
Remove the rhgb and quiet parameters from the end.
Add the following parameter at the end of the linux16 line, or linuxefi on UEFI systems:
init=/bin/sh
The Linux kernel will run the /bin/sh shell rather than the system init daemon. Therefore, some functions may be limited or missing.