Proxy servers (such as the Squid proxy) are often used in corporate networks to provide access to the Internet for internal devices. In order for your internal Ubuntu/Debian hosts to be able to install and update deb packages from external repositories, you need to configure the proxy settings for the APT (Advanced Packaging Tool) package manager. This article describes how to configure proxy connection settings for APT.
Category: Linux
On Linux, the chcpu console tool allows you to temporarily enable or disable processor cores without rebooting.
In this article, we’ll show you how to set the timezone from the Ubuntu command line.
If you are deploying a Linux virtual machine on a Hyper-V host, you must install Linux Integration Services (LIS) in the guest operating system. Hyper-V Linux Integration Services allow the guest OS to interact with the host: send its state to the hypervisor, perform backups via VSS, correctly reboot and shutdown the Linux guest. In this tutorial, we’ll take a look at how to install Hyper-V Linux Integration Services on popular Linux distros – CentOS, Debian, and Ubuntu.
Continue reading “Install Linux Integration Services (LIS) on Hyper-V VM”
This cheat sheet is a collection of useful Postfix commands that I use frequently. The following five console commands are mainly used to manage postfix:
You may get a device is busy error when you try to unmount a partition in Linux using the umount command:
Continue reading “Can’t Unmount Linux Partition: Umount – Device is Busy”
Let’s say you want to be notified every time someone connects to your Linux hosts via SSH. This article shows how to configure the Zabbix trigger to notify you when a user logs in to a Linux host using SSH.
Continue reading “Enable Zabbix Alert for SSH Login on Linux”
You can use the built-in network recycle bin to automatically save all files deleted by a user on the Samba file server on Linux. For this, the vfs_recycle (Virtual File System) module is used.
Continue reading “Enabling Recycle Bin for Samba File Server”
On Linux, you can use the cups-pdf package to implement a virtual PDF printer. What is a PDF printer? This is a virtual device that is added to the system as a regular printer and when a document is sent for printing, it generates a PDF file from it.
On Linux, a history of recent console commands is stored in the .bash_history file. You can view the contents of this file with any text editor or with the command:
Continue reading “Add a Timestamp to Bash Command History on Linux”