Linux Administration Archives - Experiencing Technology https://blog.tinned-software.net/category/linux-administration/ Tinned-Software Blog Tue, 16 Feb 2021 13:27:16 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.3 Verify installed rpm packages https://blog.tinned-software.net/verify-installed-rpm-packages/ Tue, 16 Feb 2021 13:27:16 +0000 https://blog.tinned-software.net/?p=2827 Installing packages via rpm usually provides a lot of comfort. Simply installing an rpm deploys all files related to that package wherever they need to go across the system. Some packages distribute hundreds of files into different sections of the … Continue reading

The post Verify installed rpm packages appeared first on Experiencing Technology.

]]>
Setup WireGuard VPN on CentOS https://blog.tinned-software.net/setup-wireguard-vpn-on-centos/ Sun, 06 Dec 2020 22:41:22 +0000 https://blog.tinned-software.net/?p=2813 WireGuard provides a modern VPN and is advertised as being much easier to install and configure than many other VPN services. Most of this simpler setup procedure comes from the fact that the cryptographic methods used are not as highly … Continue reading

The post Setup WireGuard VPN on CentOS appeared first on Experiencing Technology.

]]>
Download a complete website using wget https://blog.tinned-software.net/download-a-complete-website-using-wget/ Fri, 10 Jul 2020 13:52:20 +0000 https://blog.tinned-software.net/?p=2784 In some rare cases you might run into the need to download a complete website onto your local machine for offline usage. There are many GUI tools to do this with loads of options. But did you know that you … Continue reading

The post Download a complete website using wget appeared first on Experiencing Technology.

]]>
Setup Unifi Network Controller on a Raspberry Pi https://blog.tinned-software.net/setup-unifi-network-controller-on-a-raspberry-pi/ Mon, 27 Apr 2020 20:00:36 +0000 https://blog.tinned-software.net/?p=2768 Unifi access points from Ubiquiti cannot be configured like normal, standalone access points. They require a special network component called Unifi Controller. This controller is a piece of Software that allows configuration and monitoring of all Unifi access points within … Continue reading

The post Setup Unifi Network Controller on a Raspberry Pi appeared first on Experiencing Technology.

]]>
MacOS Dash alternative for Linux https://blog.tinned-software.net/macos-dash-alternative-for-linux/ Mon, 06 May 2019 21:28:12 +0000 https://blog.tinned-software.net/?p=2711 The handy utility Dash – Offline access to documentation is sadly only available for MacOS, but there are compatible alternatives available to let you browse documentation offline on Linux. Zeal – offline documentation browser Dash being a MacOS only Application … Continue reading

The post MacOS Dash alternative for Linux appeared first on Experiencing Technology.

]]>
Force Debian console into text mode https://blog.tinned-software.net/force-debian-console-into-text-mode/ Tue, 05 Feb 2019 17:00:20 +0000 https://blog.tinned-software.net/?p=2679 Modern server hardware offers a lot of possibilities for administration. One of them is the remote access port, HP’s iLO. This remote access port allows to access the server even when shut down and allows a lot of control over … Continue reading

The post Force Debian console into text mode appeared first on Experiencing Technology.

]]>
Setup sftp only account using openssh and ssh-key https://blog.tinned-software.net/setup-sftp-only-account-using-openssh-and-ssh-key/ Mon, 07 Jan 2019 22:06:53 +0000 https://blog.tinned-software.net/?p=2674 There are different ways to lock a user into his home directory. A very special case is to grant sftp-only access, which does not require a full chroot jail to be set up. The sftp subsystem built into openssh allows … Continue reading

The post Setup sftp only account using openssh and ssh-key appeared first on Experiencing Technology.

]]>
Manage terminal sessions with tmux https://blog.tinned-software.net/manage-terminal-sessions-with-tmux/ Mon, 10 Dec 2018 22:37:58 +0000 https://blog.tinned-software.net/?p=2685 In Managing shell commands and processes a utility called screen was introduced, but screen is not the only utility to manage multiple sessions. Another mighty tool to handle multiple sessions is tmux. With tmux – terminal multiplexer multiple sessions can … Continue reading

The post Manage terminal sessions with tmux appeared first on Experiencing Technology.

]]>
Install HP ProLiant Management Utilities https://blog.tinned-software.net/install-hp-proliant-management-utilities/ Mon, 15 Oct 2018 21:48:08 +0000 https://blog.tinned-software.net/?p=2659 The HP ProLiant Support Pack (PSP) for Linux allows reading out hardware details from a HP ProLiant server. this set of tools can be used to read out hardware information, state and logs. Install HP ProLiant Management Components HP provides … Continue reading

The post Install HP ProLiant Management Utilities appeared first on Experiencing Technology.

]]>
LVM Remove physical volume from volume group https://blog.tinned-software.net/lvm-remove-physical-volume-from-volume-group/ Mon, 17 Sep 2018 10:16:16 +0000 https://blog.tinned-software.net/?p=2648 LVM provides flexibility to organize logical volumes without being bound to inflexible partitioning. If set-up correctly, the LVM can grow as the disk/raid might grow. To allow the LVM to grow, the block device needs to be added as a … Continue reading

The post LVM Remove physical volume from volume group appeared first on Experiencing Technology.

]]>
Docker container on RHEL fails to start without error https://blog.tinned-software.net/docker-container-on-rhel-fails-to-start-without-error/ Mon, 23 Jul 2018 10:27:03 +0000 https://blog.tinned-software.net/?p=2638 Recently a Docker container refused to start for me without any hint about why in the OS or Docker container’s logs. It turns out that SELinux jumped in and blocked access without logging its interference. Containers which were running in … Continue reading

The post Docker container on RHEL fails to start without error appeared first on Experiencing Technology.

]]>
Setup LVM and create logical volume https://blog.tinned-software.net/setup-lvm-and-create-logical-volume/ Tue, 01 May 2018 19:23:52 +0000 https://blog.tinned-software.net/?p=2507 Creating an LVM on a disc / partition allows for a lot of flexibility in managing the storage. Managing a disc using LVM consists of a number of steps, from preparing the disc itself until mounting a volume. With LVM … Continue reading

The post Setup LVM and create logical volume appeared first on Experiencing Technology.

]]>
Extend logrotate for additional log files https://blog.tinned-software.net/extend-logrotate-for-additional-log-files/ Tue, 03 Apr 2018 10:50:32 +0000 https://blog.tinned-software.net/?p=2549 The Linux operating system consists of many different components. Many of them log their activity directly or indirectly into log files. Over time those log files grow and would eventually fill up the disk if there wasn’t a utility like … Continue reading

The post Extend logrotate for additional log files appeared first on Experiencing Technology.

]]>
Manage SELinux boolean policies https://blog.tinned-software.net/manage-selinux-boolean-policies/ Mon, 05 Mar 2018 08:58:37 +0000 https://blog.tinned-software.net/?p=2515 Configuring a new service often means dealing with SELinux. The easiest way is most of the time to set an SELinux boolean. But what are SELiunx booleans and what exactly do they do? I will try to shed a little … Continue reading

The post Manage SELinux boolean policies appeared first on Experiencing Technology.

]]>
Find and extract one file from rpm package https://blog.tinned-software.net/find-and-extract-one-file-from-rpm-package/ Fri, 09 Feb 2018 09:54:13 +0000 https://blog.tinned-software.net/?p=2556 Extracting a configuration file (or any other single file) from a package which is not installed is not a standard operation on rpm based systems, but with the following few steps, a file can be extracted without installing the package … Continue reading

The post Find and extract one file from rpm package appeared first on Experiencing Technology.

]]>
Align a partition on a hard disk https://blog.tinned-software.net/align-a-partition-on-a-hard-disk/ Mon, 13 Nov 2017 10:26:10 +0000 https://blog.tinned-software.net/?p=2402 New disks need to be prepared for use. When using a hardware raid like explained in Create hardware raid on HP via hpacucli some partitioning tools even show an error message. To prepare a disk for use, the disk needs … Continue reading

The post Align a partition on a hard disk appeared first on Experiencing Technology.

]]>
Mount raw image of entire disc https://blog.tinned-software.net/mount-raw-image-of-entire-disc/ Mon, 02 Oct 2017 08:46:06 +0000 https://blog.tinned-software.net/?p=2455 Raw disc images are very common, they include things like images created using dd for backups and virtual machine disk images. To access the disc image content means the disk image needs to be mounted. Images from a partition can … Continue reading

The post Mount raw image of entire disc appeared first on Experiencing Technology.

]]>
Testing environment setup using Vagrant https://blog.tinned-software.net/testing-environment-setup-using-vagrant/ Mon, 11 Sep 2017 19:37:48 +0000 https://blog.tinned-software.net/?p=2449 Setting up a test environment with many different operating systems and versions can be a time consuming task. Installing the different operating systems and configuring them for tests or development can take up a lot of time. Vagrant makes this … Continue reading

The post Testing environment setup using Vagrant appeared first on Experiencing Technology.

]]>
Create hardware raid on HP via hpacucli https://blog.tinned-software.net/create-hardware-raid-on-hp-via-hpacucli/ Mon, 21 Aug 2017 21:30:09 +0000 https://blog.tinned-software.net/?p=2392 Configuring a new hardware raid on a HP server can be done comfortably from the Linux command line without restarting the server. HP provides a small command line tool for this job. The following shows how this tool can be … Continue reading

The post Create hardware raid on HP via hpacucli appeared first on Experiencing Technology.

]]>
Linux Mint – Mount an NFS share automatically https://blog.tinned-software.net/linux-mint-mount-an-nfs-share-automatically/ Mon, 31 Jul 2017 08:47:32 +0000 https://blog.tinned-software.net/?p=2442 Linux Mint comes pre-installed with all components to mount Windows File sharing (SMB/CIFS) but does not support NFS out of the box. The following post will explain how to enable Linux Mint to mount a NFS share. Additionally the NFS … Continue reading

The post Linux Mint – Mount an NFS share automatically appeared first on Experiencing Technology.

]]>
apt – install the package that contains a specific file https://blog.tinned-software.net/apt-install-the-package-that-contains-a-specific-file/ Mon, 19 Jun 2017 11:29:30 +0000 https://blog.tinned-software.net/?p=2372 Sometimes a command that you execute complains about a dependency being missing on the system. From the file name in the error message it is often not possible to know exactly which package needs to be installed to resolve the … Continue reading

The post apt – install the package that contains a specific file appeared first on Experiencing Technology.

]]>
Increase the size of a LUKS encrypted partition https://blog.tinned-software.net/increase-the-size-of-a-luks-encrypted-partition/ Mon, 08 May 2017 16:24:45 +0000 https://blog.tinned-software.net/?p=2431 Even encrypted discs or partitions sometimes need to have their size increased. A LUKS encrypted volume consists of different layers which all need to be resized. To resize an encrypted volume, multiple steps have to be performed to use the additional … Continue reading

The post Increase the size of a LUKS encrypted partition appeared first on Experiencing Technology.

]]>
Permanently reject a specific email sender address using postfix https://blog.tinned-software.net/permanently-reject-a-specific-email-sender-address-using-postfix/ Mon, 27 Mar 2017 18:26:09 +0000 https://blog.tinned-software.net/?p=2295 Postfix generally accepts all sender addresses. It might be needed in some rare cases to reject one sender addresses for some reason. With postfix, there is the possibility to use the “check_sender_access” to set individual actions per sender address. For the … Continue reading

The post Permanently reject a specific email sender address using postfix appeared first on Experiencing Technology.

]]>
How to get scrollbar arrows in Linux Mint 17 https://blog.tinned-software.net/how-to-get-scrollbar-arrows-in-linux-mint-17/ Mon, 13 Feb 2017 09:11:12 +0000 https://blog.tinned-software.net/?p=2325 Linux Mint is missing the scrollbar arrow buttons at the end of the scrollbars. There are situations in which those buttons can be very useful. This how-to will explain how to get them back. Sadly I could not find any … Continue reading

The post How to get scrollbar arrows in Linux Mint 17 appeared first on Experiencing Technology.

]]>
Verifying SSH configuration with a scan https://blog.tinned-software.net/verifying-ssh-configuration-with-a-scan/ Mon, 23 Jan 2017 10:20:04 +0000 https://blog.tinned-software.net/?p=2281 Managing a number of Linux servers and keeping them secure can be a challenge. Certain tools can make the life of an admin a lot easier. To ensure an ssh daemon complies with a desired security configuration the admin can use a scanner … Continue reading

The post Verifying SSH configuration with a scan appeared first on Experiencing Technology.

]]>
Debug SSH Connection issue in key exchange https://blog.tinned-software.net/debug-ssh-connection-issue-in-key-exchange/ Mon, 02 Jan 2017 09:41:21 +0000 https://blog.tinned-software.net/?p=2284 Securing a server means hardening the SSH server settings, but doing so can also cause issues with ssh clients. Finding the cipher or algorithm causing a failled connection can be tricky. Depending on the client used, the error message might be very … Continue reading

The post Debug SSH Connection issue in key exchange appeared first on Experiencing Technology.

]]>
Automount a luks encrypted volume on system start https://blog.tinned-software.net/automount-a-luks-encrypted-volume-on-system-start/ Mon, 12 Dec 2016 07:21:58 +0000 https://blog.tinned-software.net/?p=2273 Linux supports encrypted volumes with luks. When a luks encrypted volume is set up during installation to be booted from, the volume is already configured and set up. When an encrypted volume is set up afterwards, the volume remains locked until … Continue reading

The post Automount a luks encrypted volume on system start appeared first on Experiencing Technology.

]]>
Harden SSH server settings https://blog.tinned-software.net/harden-ssh-server-settings/ Mon, 31 Oct 2016 08:17:09 +0000 https://blog.tinned-software.net/?p=2279 Many Linux Administrators use ssh on a daily basis. Many of the ssh servers are in their default configuration. Not changing the default configuration puts the security of the server at risk. That is why it is important to follow a few … Continue reading

The post Harden SSH server settings appeared first on Experiencing Technology.

]]>
Get vim to paste content without modification https://blog.tinned-software.net/get-vim-paste-content-without-modification/ Mon, 19 Sep 2016 07:38:55 +0000 https://blog.tinned-software.net/?p=2166 When content is pasted into vim, it tries to automatically detect and re-indent the content. This works most of the time but sometimes it does not, and that can be annoying, but vim would not be so popular if there wasn’t … Continue reading

The post Get vim to paste content without modification appeared first on Experiencing Technology.

]]>
Change Date and Time format for LinuxMint panel applet https://blog.tinned-software.net/change-date-and-time-format-for-linuxmint-panel-applet/ Mon, 29 Aug 2016 07:53:44 +0000 https://blog.tinned-software.net/?p=2185 Modern Linux distributions like LinuxMint provide a nice GUI which is highly configurable. There are so many options and possibilities that most users new to it cannot find where things are configured. Finding the right options means taking some time to … Continue reading

The post Change Date and Time format for LinuxMint panel applet appeared first on Experiencing Technology.

]]>