The “initramfs boot problem” on Ubuntu or Linux Mint is a situation when a computer does not boot up properly and instead of going straight to the login screen, drops you to the BusyBox shell with the initramfs command-line prompt. This error usually occurs when the partition containing the operating system got corrupted. Luckily this […]
linux
What Is My Router’s IP Address (Default Gateway)
A router is a device that communicates between the Internet (or public network) and the devices in a local network (or private network). A typical home router, that usually acts as a default gateway for the local devices, can be configured using a web-based configuration page that can be accessed from a web-browser if you […]
How to Check Inode Usage in Linux
When a file or a directory is created in a Linux file system, a name and a uniq inode number is assigned to it. An inode is a data structure that contains information about a disk block location of a file or a directory and may include metadata (times of last change, access, modification), as […]
Create Swap File – Ubuntu Linux
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 […]
Swappiness in Linux (Ubuntu) – How To Change
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 […]
Disable Swap Permanently – Ubuntu Linux
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, […]
Format USB Drive in Linux – Command Line
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, […]
JFrog Artifactory: Default Password – Test Credentials
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 Artifactory: Download Artifact using cURL
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.
Disable IPv6 on Linux – Ubuntu, Debian, CentOS
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 […]