Advanced Search
Search Results
437 total results found
KVM Bridge Interface
(2020-02-11) Creating A Bridge Interface for KVM VMs # nmcli connection add type bridge autoconnect yes con-name br0 ifname br0 # nmcli connection modify br0 ipv4.addresses 10.255.0.5/24 ipv4.method manual ipv4.gateway 10.255.0.1 # nmcli connection modify br0 ...
KVM, briefly
(2020-03-13) KVM Briefly # virsh list # virsh list --all # virsh start <name> # virsh dominfo <name> # virsh shutdown <name> # virsh destroy <name> $ virsh undefine <name> (Source)
KVM Installation
(2020-02-11) Installing KVM (These instructions assume the FC 31 environment.) # dnf -y install bridge-utils libvirt virt-install qemu-kvm # dnf -y install virt-top libguestfs-tools # systemctl start libvirtd # systemctl enable libvirtd You'll want to create ...
KVM: virt-install
(2020-03-14) Installing a VM This example creates a 1c, 2GB VM with a 20GB disk, booting a kernel off of my local cobbler server director. # virt-install --name test1 \ --ram 2048 \ --vcpus 1 \ --disk path=/export/vm/test1/test1a.img,size=20 \ --os-var...
snmpd crash in "Check_HR_FileSys_AutoFs"
(2020-04-21) Problem /t Solution # dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-7303a69282 This issue will probably go away fairly quickly once the advisory hits the update repo.
Add IP Information To issue File
Script: #!/bin/bash IP=${1:-`hostname -I`} # Add "IP ADDRESS" line if not already found grep "IP ADDRESS" /etc/issue > /dev/null if [ "$?" -ne "0" ]; then echo >> /etc/issue echo "IP ADDRESS" >> /etc/issue fi sed -i s/"IP ADDRESS.*"/"IP ADDRESS : $IP"/g /e...
Samba Winbind with AD on Fedora 33
(2022-03-29) See: https://www.server-world.info/en/note?os=Fedora_33&p=samba&f=4
Fedora Upgrade Procedure
(2022-02-08) Problem I want to upgrade from Fedora 34 to Fedora 35. Solution dnf -y --refresh upgrade dnf -y install dnf-plugin-system-upgrade dnf -y system-upgrade download --refresh --releasever=35 dnf -y system-upgrade reboot rpm --rebuilddb dnf -y distro-...
Permanent Static Routing
(2021-06-15) Problem How do we set a static route entry to take effect at boot time without custom script fuckery like rc.local? Solution For routes with an actual destination, you add them using Network Manager's nmcli : # nmcli con mod eth0 ipv4.routes "10.0...
SSH Pubkey doesn't work
(2021-05-26) Problem userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth] Solution The Fedora-preferred solution is for you to start using one of the new, fancier key types and then go around upgrading all your old SSH servers that can'...
Test TLS version
(2021-10-06) Problem Does this device support TLS v1.0 (or 1.1 or 1.2 or 1.3) Solution $ openssl s_client -connect system:port -tls1 $ openssl s_client -connect system:port -tls1_1 $ openssl s_client -connect system:port -tls1_2 $ openssl s_client -connect sys...
VM under VMWare Player won't resize screen on drag
Problem A VM running under VMWare Player won't dynamically resize the "screen" on drag or full-screen. Solution cp /etc/vmware-tools/tools.conf.example /etc/vmware-tools/tools.conf vi /etc/vmware-tools/tools.conf Remove the # from this block: [resolutionKMS] ...
SSH No Key Exchange method found
(2022-11-02) Problem # ssh 192.168.2.91 Unable to negotiate with 192.168.2.91 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1,diffie-hellman-group14-sha1 Solution Add one of the presen...
firewalld
(2016-12-06) God help me, this is firewalld After you make a change, reload the firewall to make it active: # firewall-cmd --reload To make the current running state of the firewall permanent (ie to be used at the next boot: # firewall-cmd --runtime-to-perman...
Install nfsen 1.3.6p1
(2016-12-02) Problem How do I get nfsen 1.3.6p1 running on Fedora Server 25? Disclaimer Works for me, your milage may vary, some cars not for use with some sets, if this doesn't work then the only thing I'll do for you is feel bad for you on a best-effort basi...
Starting httpd
Problem How do I start up httpd in this brave new systemd world? Solution Firewall (note your zone will be different if you are not using Fedora Server): # firewall-cmd --zone=FedoraServer --add-port=80/tcp --permanent # firewall-cmd --reload Boot time: # sys...
PPTP VPN Client
(2018-04-30) Setting A PPTP VPN Client You have to set the firewall to accept GRE tunnel traffic: # firewall-cmd --permanent --direct --add-rule ipv4 filter INPUT 0 -p gre -j ACCEPT # firewall-cmd --permanent --direct --add-rule ipv6 filter INPUT 0 -p gre -j A...
Example nmcli Commands
(2018-10-15) Problem nmcli Solution Some recently discovered examples: # nmcli con # nmcli con show enp0s25 | grep dns # nmcli con modify "System ens192" ipv4.dhcp-hostname "wiki2" # nmcli con modify enp0s25 ipv4.dns-search klondike.xdroop.local # nmcli con...