Saturday, July 16, 2022

Surfshark VPN

 Hi all, 

i have been using Private internet access for a vpn for a while now with great results but recently i have been recommended to use to switch to Surfshark and now i have made the move i highly recommend it.

it has so many features and its a super fast vpn it also includs a inbuilt antivirus.

check it out

How to Extend a LVM on Ubuntu

 ok so here is how to extend a LVM volume on a ubuntu server/desktop machine ( this was done on a virtual machine)

  1. open the guest in vmware and increase the volume size
  2. ssh into the guest
  3. type fdisk /dev/sda (if you have a diffrent disk you will need to use the appropriate disk name)
  4. press p (to display the partition table)
  5. create a new partiton the same type as the last partition (press n)
  6. keep pressing enter until you get to the partition type and set it the same as the last one
  7. leave the rest as default, keep pressing enter
  8. press w (to write to the partition table)
  9. restart the machine
  10. type vgdisplay (make note of the name of your volume group)
  11. type vgextend ubuntu-vg /dev/sda3 (replace ubuntu-vg with the name of the volume group and 3 with the new partition number u just created)
  12. extend the lvm by typing lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv /dev/sda4 (make sure the lvm name is correct and sda4 is the new partition
  13. extend the volume by typing resize2fs /dev/ubuntu-vg/ubuntu-lv
  14. type df -h and confirm the new volume size

Saturday, November 10, 2018

how to put a docker on the local subnet

 so if you are like me and want to put a docker on your local subnet then all you need to do is: 

docker network create -d macvlan --subnet=<subnet> --gateway=<gateway> -o parent=<ethernet name> <docker network name> 

Example: docker network create -d macvlan --subnet=192.168.0.0/24 --gateway=192.168.0.1 -o parent=ens18 Local_Network

more info can be found here

Saturday, October 27, 2018

FreeFileSync

 Hi All,

so recently i was looking around for a cheaper/free alternative to good sync while goodysnc is good i dont have any money at the moment.

after googling for a bit i came accross FreeFileSync.

i set it up and it works like a charm, easy to setup and use.

highly recommended if you want a file sync app.

as its a great product i will be donating soon to help further development.

check it out here

Sunday, October 14, 2018

 talking to some of the guys over at the homelab subreddit on discord and one of them showed a screenshot of a pihole with a huge amount of domains blacklisted.


turns out he is using this site to increase the blacklisted domains beyond the standard ones.


check it out here


if you don’t know what a pihole is check it out here

Pi-Hole Blacklists

 talking to some of the guys over at the homelab subreddit on discord and one of them showed a screenshot of a pihole with a huge amount of domains blacklisted.

turns out he is using this site to increase the blacklisted domains beyond the standard ones.

check it out here

if you don’t know what a pihole is check it out here

Tuesday, October 2, 2018

show last logon time for a computer account in powershell

 here is how you show the last logon date for a computer account in powershell

Import-Module ActiveDirectory

Get-ADcomputer -Filter * -properties * | sort lastlogondate | FT name, Lastlogondate, Win32_operatingsystem

Source

Surfshark VPN

 Hi all,  i have been using Private internet access for a vpn for a while now with great results but recently i have been recommended to use...