open-menu closeme
Home
Links icon
LinkedIn
About
English
github linkedin
  • Quickly rebuild and OpenStack VM, tricking it into extra hardware

    calendar Apr 25, 2022 · 1 min read · bash youtube-dl  ·
    Share on: twitter facebook linkedin copy

    https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.217-1/virtio-win-0.1.217.iso Export VM definition to XML sudo virsh dumpxml instance-00000879 > instance-00000879.xml Edit the XML Set current OS disk to IDE 63079162-7de3-4f72-882c-b6942ebc008e Add CDROM Add a fake …


    Read More
  • Run yourube-dl in parallel

    calendar Apr 25, 2022 · 1 min read · bash youtube-dl  ·
    Share on: twitter facebook linkedin copy

    You can use youtube-dl to download individual videos, or you can ask it to download an entire playlist. When it’s downloading a playlist, it downloads the individual videos one-by-one, which isn’t particularly fast. Here’s a shell snippet that downloads playlist videos in parallel, which is faster: 1youtube-dl --get-id …


    Read More
  • Mellanox NIC's on Linux

    calendar Apr 19, 2022 · 1 min read · bash networking mellanox  ·
    Share on: twitter facebook linkedin copy

    A while back I had to configure a bunch of servers with Mellanox Connect-X 4 NIC's to talk to an ethernet Switch(Dell S6000-ON to be exact) and the NIC's that my customer had fitted not only had really old firmware but they were also in Infiniband(I think) mode, not Ethernet. So i had to do some legwork.. First job was …


    Read More
  • A cheap and easy webserver

    calendar Apr 13, 2022 · 1 min read · python bash  ·
    Share on: twitter facebook linkedin copy

    In the wise words of one of my collegues If you need a cheap http server 1python3 -m http.server


    Read More
  • Linux VLAN interfaces

    calendar May 12, 2021 · 1 min read · bash networking vlan  ·
    Share on: twitter facebook linkedin copy

    Lets create a VLAN sub interface on a physical interface eth0 then add this new vlan subinterface eth0.10 to a new bridge br10 We might want to do this so that VM's running on this host have access to this VLAN 1ip link add link eth0 name eth0.10 type vlan id 10 2ip link set dev eth0.10 up 3brctl addbr br10 4brctl …


    Read More
  • Compress + Base64 encode a (log) file to allow copy via SSH

    calendar Apr 20, 2021 · 1 min read · ssh bash  ·
    Share on: twitter facebook linkedin copy

    Sometimes I need to move files from a server on which I have SSH access but these files are big and or have complex formatting which breaks if you just try and copy\paste the contents So, if we gzip the file then base64 encode this compressed file we now have a string thats much smaller than the original and it's in a …


    Read More
  • Fix horrid blue dir colors in bash

    calendar Sep 8, 2020 · 1 min read · BASH  ·
    Share on: twitter facebook linkedin copy

    1 echo "LS_COLORS=$LS_COLORS:'di=0;35:' ; export LS_COLORS" >> ~/.bashrc To fix the dir colour in the bash prompt, not just the LS output, set this in .bashrc: 1if [ "$color_prompt" = yes ]; then …


    Read More
  • Fix horrid blue dir colors in bash

    calendar Sep 8, 2020 · 1 min read · BASH  ·
    Share on: twitter facebook linkedin copy

    1 echo "LS_COLORS=$LS_COLORS:'di=0;35:' ; export LS_COLORS" >> ~/.bashrc To fix the dir colour in the bash prompt, not just the LS output, set this in .bashrc: 1if [ "$color_prompt" = yes ]; then …


    Read More
  • Ceph disk not online after a reboot

    calendar Feb 11, 2016 · 7 min read · BASH CEPH VM  ·
    Share on: twitter facebook linkedin copy

    After a reboot of my Ceph test VM's a few OSD's didnt come online. When running ceph osd tree I saw: 1[root@lib-cephosd1 ~]# ceph osd tree 2ID WEIGHT TYPE NAME UP/DOWN REWEIGHT PRIMARY-AFFINITY 3 -1 0.29984 root default 4 -2 0.09995 host lib-cephosd1 5 1 0.00999 osd.1 up 1.00000 1.00000 6 0 0.00999 osd.0 up 1.00000 …


    Read More
  • HP Bl460C G6 Centos7 RAID tool

    calendar Dec 14, 2015 · 1 min read · raid bash hardware  ·
    Share on: twitter facebook linkedin copy

    HP Bl460C G6 Centos7 RAID tool Works on my HP G6 servers with this in lspci 0c:00.0 RAID bus controller: Hewlett-Packard Company Smart Array G6 controllers (rev 01) wget http://mirror.nforce.com/pub/software/raidtools/hpacucli-tool/hpacucli-9.40-12.0.x86_64.rpm yum install hpacucli-9.40-12.0.x86_64.rpm hpacucli ctrl …


    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • »
    • »»

Cory Hawkvelt photo

Cory Hawkvelt

CTO @ Nexgen Cloud | Career Nerd and Open Source Cloud Architect
Read More

Recent Posts

  • Deploying pam_ussh: A Comprehensive Guide
  • Unpacking the NVIDIA H100 Tensor Core GPU: A Deep Dive for CTOs
  • Caddy proxy for OpenStack API's
  • HP Server ACPI errors
  • vxlan: non-ECT from 10.254.8.23 with TOS=0x2
  • Install Ceph by hand Ubuntu 22.04
  • Gnocchi Convert Temperature F to C
  • Install HP SSACLI HPACUCLI tool on Ubuntu 20.04

Tags

LINUX 32 CEPH 24 BASH 22 OPENSTACK 13 NETWORKING 10 DOCKER 8 CONFIG 6 HP 5 HPACUCLI 5 OPENSTACK-QUEENS 5 QEMU 5 SSH 5 TROUBLESHOOTING 5 CENTOS7 4
All Tags
ACTIVE-BACKUP1 ADB1 AI1 ANDROID1 ANSIBLE2 APT1 AUTODISCOVER1 BACKUP1 BASH22 BIND1 BLUETOOTH1 CACHE1 CADDY1 CAS1 CENTOS74 CEPH24 CEPH-NAUTILUS1 CERTIFICATES1 CINDER3 COLLECTD1 COMWARE1 CONFIG6 CRYPTOLOCK1 CRYPTOMINER2 DATABASE1 DELL1 DELL-S600-ON1 DELLMD3060JBOD1 DHCP1 DISK-MGMT1 DNS1 DOCKER8 DRIVERS1 ESP826621 ESPTOOL1 FAIL2BAN1 FEDORA261 FIBRECHANNEL1 FIRMWARE1 FREEOTP1 FTOS1 GIT1 GNOCCHI3 GO1 GPU1 H1001 HAPROXY2 HARDWARE2 HORIZON1 HP5 HP-ILO1 HPACUCLI5 HPC1 HTTP1 HUGO1 HYPER-V1 INDEX1 IP2 IPTABLES1 IPV61 KEYCLOAK1 KEYGEN3 KEYSTONE1 KOLLA1 KVM2 LE1 LIBRENMS1 LINUX32 LOGO1 MAAS1 MATTERMOST1 MEGACLI1 MELLANOX1 MELTDOWN1 MEMCACHED1 MIKROTIK2 MOUSE1 MTP1 MYSQL4 NAMED1 NAT1 NETBOX1 NETBOX-IPAM1 NETWORK-MANAGER1 NETWORKING10 NEUTRON1 NOVA1 NOVNC1 NPS1 NVIDIA2 OPENNEBULA1 OPENSTACK13 OPENSTACK-QUEENS5 OPENSWITCH1 OPENVSWITCH1 OVN1 PAM1 PCI1 PKI1 PORT1 PRINTER1 PROXMOX1 PUTTY1 PYTHON1 QEMU5 RABBITMQ1 RADIUS1 RADOSGW2 RAID3 RBD3 ROCKY-GLANCE1 ROUTING1 SCRIPT1 SECURITY1 SERVER1 SERVER-20121 SMTP1 SNMP1 SPECTRE1 SPEEDTEST1 SSH5 SSL1 SVG1 SWAP1 SYSCOMMANDS1 TCP1 TCP-DUMP1 TCPDUMP1 TROUBLESHOOTING5 UBUNTU4 UBUNTU-182 UBUNTU-201 UBUNTU-GNOME1 UBUNTU171 UEFI1 VAGRANT2 VIRTUAL-NETWORK1 VIRTUALISATION1 VLAN1 VM2 VPN1 VXLAN2 WINDOWS2 WINDOWS-AD1 WIRESHARK1 YOUTUBE-DL2
[A~Z][0~9]

Copyright 2022-  . All Rights Reserved

to-top