Skip to main content

Linux

CentOS 4

CentOS 5

rssh

Jailing sftp/scp connections (1206.12) Short notes: this uses the rssh functionality from rpmforg...

Building Subversion 1.85

(2014-01-16) Problem I want to run Subversion v1.85, client and server, on CentOS 5 (today's vict...

kickstart POST nfs mount

Mounting nfs file systems in the %POST section of a CentOS 5 kickstart mount 172.20.0.1:/home /mn...

NFS File Creation Cache Problems

Problem If I create a file on an nfs-mounted filesystem on one machine, the file may not be immed...

NVidia Multihead

Problem I am running a CentOS 5.3 x86_64 (fully updated as of today). It has a video card I canno...

Process Accounting

(26 September 2012) Process Accounting # chkconfig psacct on; service psacct start This will cre...

Remote X Display

Displaying Remote X Applications On Your Local Display ...ie, connect to a remote machine, run th...

SCSI Bus Rescan

(2014-03-24) Problem You've hot-added a new disk and now want to use it without rebooting. Soluti...

SquirrelMail: Users Can't Log In

(14 October 2012) Problem I have SquirrelMail version 1.4.8-5.el5.centos.13. When users attempt t...

SSL Certificate Warning

(2014-01-20) Problem Email: ################# SSL Certificate Warning ################ Certifi...

TCP Window Scaling

(5 November 2012) Problem: When sending mail to a particular target, we were unable to send messa...

Unexpected CUPS dependencies

(or, isn't RPM supposed to handle this kind of crap?) Error: Filter "foomatic-rip" for printer (s...

X Display Through SSH

(2014-03-24) Problem I ssh into a remote host and the $DISPLAY variable isn't set. Solution # yum...

Yum barf when updating package 'file'

Problem [dave@centos5-dave ~]$ sudo yum update file Loaded plugins: fastestmirror Loading mirror ...

CentOS 6

0x80070035 the network path was not found

(2013-06-03) Problem Trying to browse to a samba server by name from a Windows system yields the ...

bind always returns SERVFAIL

(2013-04-16) Problem I have installed a bind instance from RPM and all it does is SERVFAIL. Debug...

Client nis Setup

(2019-03-25) NIS client setup cookbook #!/bin/bash DOMAIN=my.nis.domain SERVERNAME=server4.my.ni...

Disable IPv6

(2014-09-16) Problem Things are slow. In our case, attempting to mount a previously-umounted file...

Dummy Cert Expired

Problem I'm getting messages that say: ################# SSL Certificate Warning ################...

Firefox Java Plugin

Yeah, 2015 and this isn't a solved problem. Problem Java in Firefox. CentOS 6.6, 64-bit. Solution...

Force NFS v3 Mounts

(2014-07-17) Problem My CentOS 6 client is trying to mount everything using NFS v4 and I want it ...

Ignore Host-ID

(2014-06-26) Problem I want to ignore the host-ID on connection for ssh. Yes, I know it is a dumb...

Install VMware Tools Yum Repository

(2014-01-14) Install VMware tools into a new Linux VM with a repository that will keep them updat...

Kickstart Ethernet Devices

(2014-02-17) Problem the specified interface eth0 does not exist Solution In the general case, sp...

Leap Second

Problem My nasty java app is eating up all the CPU it can get. (Possibly sharing with something e...

Minimal Install Can't Mount NFS Homedirs

(2014-05-13) Problem Install with @Base and @Core, plus ypbind and autofs. But once configured, t...

mod_fastcgi

(2016-02-24) Solution Fastcgi is available through RPMforge. To add the module: Install RPMforg...

netdisco-1.1-1.el6.noarch

(2013-05-29) How I Got NetDisco netdisco-1.1-1.el6.noarch Running On CentOS 6 From epel-testing: ...

nfs v4: Nobody Ownership

(21 January 2013) Problem When I look at the files exported from my CentOS 6 server, everything's...

Remove Host ID

(2014-06-26) Problem Host-ID has changed and ssh is complaining about it. Solution Shell alias: #...

Revert To eth Device Names

(2014-05-05) Problem: I have a piece of software that expects my first ethernet device to be call...

Samba full_audit

(2016-11-07) Problem I'd like to log activity that my samba server is doing. Solution CentOS 6 Sa...

SElinux SSH Pubkey Bug

(14 February 2013) Problem CentOS 6 is not accepting pubkey login attempts. Solution SElinux has ...

slow ssh connections

(26 October 2012) Problem When I ssh login to a CentOS 6 system, it always takes around 30 second...

VM Optimizations

(2014-01-14) This is all heavily based on ![>>](/web/20240224132413im_/https://wiki.xdroop.com/th...

winbind

(2016-09-14) Configuring Winbind On A Fresh CentOS 6 Installation With this example, AD users in ...

ypbind won't bind to anything

(2014-06-16) Problem I have a CentOS 6 NIS master server that won't ypbind to anything. I have a ...

makeinfo build error

2013-05-15 Problem Building gcc 4.1.2 on CentOS 6 halts with the error: WARNING: `makeinfo' is mi...

CentOS 7

Active Directory with SSSD

(2021-02-03) Rough Notes install realmd # realm discover # realm join zoneName -U adminUser i...

arp

(2016-11-22) Problem arp -a is too brief. In keeping with the new trend of banging in long comman...

Auto SSH Agent

(2019-09-04) Notes that probably won't make any sense to anyone other than myself. This is border...

DSA SSH Hostkeys

(2017-05-25) Problem I have a stone-age host monitor thing that is complaining that it can't find...

Get Sendmail To Listen On 25, 425, and 587

(2017-05-03) Problem I want one sendmail.cf to control access to port 25 (no auth, access rules o...

grub parameters

(2017-09-13) Changing Grub Parameters With Grubby for KERNEL in /boot/vmlinuz-*; do grubby --...

hostname

(2016-11-21) Problem Setting the computer's hostname hasn't changed for the last 20 years or so. ...

Install Grub

(2018-08-21) Problem RHEL 7 doesn't have "grub" command for making RAID-1 disks bootable. Alleged...

journalctl

(2019-09-11) Examples # journalctl -u vmtoolsd --since=today # journalctl -u sshd

Passwordless SSH On NFS Home Dirs

(2017-04-28) Problem Can't use passwordless ssh to a target system. Solution In this particular c...

PHP 7

(2021-02-23) Installing PHP 7 Instructions for7.4 Older information (2017-09-13) CentOS 7 provide...

slow ssh connections

(5 September 2019) Problem When I ssh login to a CentOS 7 system, it always takes around 30 secon...

SSH no matching cypher

(2019-03-15) Problem Unable to negotiate with $IP port 22: no matching cipher found. Their offer:...

SSL Certificate Warning

(2014-01-20) Problem Email: ################# SSL Certificate Warning ################ Certifi...

Start Interface With No IP Address

(2018-06-19) Problem I want a network interface on my CentOS 7 system to start at boot time but I...

systemd

God Damnit What How List services systemctl list-unit-files Start service at boot time s...

Test Sendmail TLS Certificate

(2017-05-04) Problem Test Sendmail's TLS configuration. Solution $ openssl s_client -starttls smt...

tftp-server

(2018-01-12) Problem I need a tftp server on CentOS 7. Solution # yum -y install tftp-server xine...

Unban IP Address

(2017-05-06) Solution # fail2ban-client set sshd unbanip a.b.c.d

VM Interface Bouncing

(2019-09-13) Problem VM transplanted between two VMware clusters. Ran fine in old cluster for two...

vsftp: 500 OOPS: chroot

Problem vsftpd in user chroot mode. When logging in, you get: 500 OOPS: chroot Solution You have...

CentOS 8

Debian 8

(AKA: Debian Jesse)

Fedora 31

Fedora 32

Fedora 34

Fedora 33

Fedora 35

Fedora 25

Fedora 27

Fedora 30

Fedora 23