Swap in Linux is a space on a disk drive (HDD or SSD) that is used when the amount of physical memory (RAM) tends to get full. Swap space is usually created as a dedicated swap partition during the system’s installation but it also can take the form of a swap file. As usually there […]
If you execute the free -m command you may notice that the operating system can use some swap even if there is still RAM free. This behaviour is controlled by the Linux kernel parameter vm.swappiness and can be changed by setting its value from 0 to 100. The swappiness in Linux is a rate in […]
Swap in Linux is a space on a disk drive (HDD or SSD) that is used when the amount of physical memory (RAM) tends to get full. Although it protects Linux system from getting out of memory, in certain cases it is recommended to disable swap. For example swap should be disabled on Kubernetes nodes, […]
Formatting USB drives in Linux from the command line (terminal) is very easy. In this note i will show how to format an external HDD, SSD or USB flash drive in Linux from the command line using mkfs utility. I will provide the examples of disk formatting to the most popular file system types: FAT32, […]
Artifactory comes with a pre-configured default “admin” account. In this short note you will find the default Artifactory credentials and i will show how to test Artifactory login, password and API Key by authenticating on Artifactory’s REST API using curl command from the command line in Linux.
JFrog’s Artifactory is a binary repository manager. The artifacts from Artifactory can be downloaded using REST API. In this note i am showing how to download an artifact (simple file.zip) from generic Artifactory repository using curl command from the command line in Linux or from the PowerShell in Windows.
To disable IPv6 on Linux it is required to modify Linux kernel parameters. IPv6 can be temporary disabled at runtime, using sysctl command or it can be disabled permanently using either sysctl configuration file or the required kernel parameters can be passed at boot time using GRUB configuration. In this note i am showing how […]