Gábor Hargitai's Toolbox

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

  • Articles
  • Colibri
  • Sleep Warden

Category - Ubuntu

  • 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
  • Ubuntu

Find the location of a Linux Stealth Process

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

Having spawned processes with a [stealth] denomination is never a good sign – to find the actual path where the process originates from, we can use the following command: ls -l /proc/<pid>/exe You can also check...

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
  • Ubuntu

WordPress error on image upload “Post-processing of the image failed likely because the server is busy or does not have enough resources”

2020-07-26
by Gábor Hargitai
1 min read

This usually means that you don’t have the fcgid PHP module installed or enabled. To do this on Ubuntu Linux under Apache2, you need to do the following steps: 1. install fcgid sudo apt-get install...

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 4 Next
Copyright © 2022. Gábor Hargitai - Dark Mode is supported :: No Tracking Code :: No Analytics
  • Articles
  • Colibri
  • Sleep Warden