Gábor Hargitai's Toolbox

… for when you just can't seem to remember that damn command

  • Articles
  • Colibri
  • Sleep Warden

Category - Linux

  • Debian
  • Linux
  • Raspberry
  • Ubuntu

Raspberry Pi: Use RAMDISK/tmpfs for /tmp directory

2022-07-10
by Gábor Hargitai
1 min read

Save a bit of SD card wear-and-tear and symlink the /tmp folder to RAM. Issue the following in your CLI: sudo cp /usr/share/systemd/tmp.mount /etc/systemd/system/tmp.mountsudo systemctl enable tmp.mountsudo systemctl start...

Continue reading

  • Debian
  • Linux
  • Network
  • Ubiquiti
  • Ubuntu

UBNT UniFi Controller update: Repository changed its Codename value from X to Y

2021-12-05
by Gábor Hargitai
1 min read

You need to manually accept the changes through APT – to do this, issue the following: apt-get update --allow-releaseinfo-change

Continue reading

  • Debian
  • Linux
  • OS X
  • Ubuntu

Compare and Diff two folders under macOS (also Debian / Ubuntu / Linux)

2021-07-20
by Gábor Hargitai
1 min read

Let's use the built-in diff tool to compare directory contents!

Continue reading

  • Debian
  • Linux
  • Ubuntu

Resize your LVM on your Ubuntu or Debian Server VPS to use all available free space

2021-03-15
by Gábor Hargitai
1 min read

First, find the logical volume name you would like to resize: lvdisplay --maps For this run, we will assume it is /dev/ubuntu-vg/ubuntu-lv Resize the logical volume to use all the existing and free space of the volume...

Continue reading

  • Debian
  • Linux
  • Ubuntu

Create and Add a new Swap File to your Ubuntu or Debian Server VPS

2021-03-14
by Gábor Hargitai
1 min read

Running low on VPS memory? Add a little headroom to your RAM by extending it via a brand new swap file!

Continue reading

  • Debian
  • Linux
  • Raspberry
  • Ubuntu

Move Log files to RAM on your Raspberry

2020-10-12
by Gábor Hargitai
1 min read

Save your SD card (or USB) and reduce I/O wear by using log2ram in your Raspberry install. Here are the steps to add the repository to your apt sources and install the necessary packages: echo "deb buster main" | sudo tee...

Continue reading

  • Debian
  • Linux
  • Raspberry
  • Xbox360

Mount Remote FTP Server Folder as Local Directory on Linux / Ubuntu / Debian / Raspberry / Raspbian

2019-11-16
by Gábor Hargitai
1 min read

Have a remote FTP server directory mounted locally is pretty convenient for cross-server copying. It could also come in handy if you would like to copy content from your NAS to say, and RGH/JTAG Xbox360 using the built-in FTP...

Continue reading

  • Debian
  • Linux
  • OS X

Find and reattach a lost terminal screen session under Linux / Mac OS X

2016-08-26
by Gábor Hargitai
3 min read

Running lengthy operations (such as remote sync, video compression) is preferred to be done in a screen session: among other things, it enables you to do something else while your commands run in the background. For the most part...

Continue reading

  • Debian
  • Linux
  • OS X
  • Ubuntu

Extract single file/directory from tar gz archive

2016-06-25
by Gábor Hargitai
1 min read

Doing automated backups is a must for every sysadmin worth its’ salt. If you happen to administer a smaller pool of servers/hosts it is more than likely that you have your backups tarballed and stored somewhere relatively...

Continue reading

  • Debian
  • ESXi
  • Linux
  • OS X
  • Ubuntu
  • Virtualization
  • VMware
  • vSphere
  • Windows

VMware ESXi Copy VM from one Host to another without vCenter

2016-06-16
by Gábor Hargitai
2 min read

There comes a time in every sysadmin’s life when a second Virtual Machine Center is added to the inventory of awesomeness and soon You’ll find yourself reevaluating your current setup from a load balancing poing of...

Continue reading

1 2 3 Next
Copyright © 2022. Gábor Hargitai - Dark Mode is supported :: No Tracking Code :: No Analytics
  • Articles
  • Colibri
  • Sleep Warden