Show available wifi networks
nmcli dev wifi nmcli -f ALL dev wifi For more information see here
Continue reading →nmcli dev wifi nmcli -f ALL dev wifi For more information see here
Continue reading →If you need email delivered to a specific server for selected domains you do the following: As root, edit the /etc/postfix/main.cf. Find (or add) the line that starts with transport_maps= If it does not exist, add the line “transport_maps=hash:/etc/postfix/transport. If … Continue reading →
You get the above message when running ssh. The issue is, you have connected to this host/ip in the past and the machine you are connecting to has been replaced and/or lots of updates have been done to it. If … Continue reading →
Running ssh across a vpn connection I started having my ssh sessions fail to connect. After starting ssh with the “-vvv” option, the session would timeout after getting a debug1: expecting SSH2_MSG_KEX_ECDH_REPLY After doing some research, I found other people … Continue reading →
I have a web site that I need to limit access with a combination if username/password AND ip address running on Apache 2.4 I completed this by putting the following in a configuration file <VirtualHost mystuff.domain.com:80> <Directory /opt/mystuff> Options … Continue reading →
# uuidgen ifcfg-eth0 e62680c3-f5f5-4f06-b862-68e00e3b4506
Continue reading →Pandoc Everyone I know who works with markup languages says Pandoc is the go-to utility for converting between those languages. And for good reason: Pandoc not only does some pretty nifty conversions, it’s fast, too. Have a file formatted with … Continue reading →
In linux, hard drive dev assignments can get changed between reboots – especially with external/removable drives. This means using /dev/sdX or /dev/hdX is not the best way to mount a drive that needs to be mounted every time at boot. … Continue reading →
first – determine the dev of the hard drive – as in /dev/sda /dev/sdb etc Then excute shred -vz -n 3 /dev/XXX where XXX is the identifier of the hard drive Increase 3 to a larger value for higher security … Continue reading →
semanage is used in configuring selinux. If it is not installed you need to run yum -y install policycoreutils-python
Continue reading →