open-menu closeme
Home
Archives
Links icon
LinkedIn Twitter
About
English
github linkedin
  • Git add, commit and push in a single command

    calendar Jul 5, 2022 · 1 min read · bash git  ·
    Share on: twitter facebook linkedin copy

    I'm lazy and i dont like typing 3 different git commands just to perform a commit, so a quick Google search led me to this great little nugget https://stackoverflow.com/questions/19595067/git-add-commit-and-push-commands-in-one Add this function to the bottom of your ~/.bashrc file then hit 'source ~/.bashrc' and you …


    Read More
  • Disable IPv6 on Ubuntu

    calendar May 24, 2022 · 1 min read · bash networking ipv6  ·
    Share on: twitter facebook linkedin copy

    We know we shouldnt do it and we should all embrace IPv6 and move the the future yada yada yada. Dont get me wrong, I'm a hge fan of IPv6 and i think life would be unicorns and rainbows if we were all 100% ipv6, but the nasty realisty is that even in 2022 there are quite a few reason why we cant use it. If you find …


    Read More
  • Perform a git squash

    calendar May 24, 2022 · 1 min read · bash networking  ·
    Share on: twitter facebook linkedin copy

    I needed to copy code from one repo to another removing all prior commits, this did the trick 1git commit -m "Enter commit message for your new initial commit" 2 3# Overwrite the old master branch reference with the new one 4git branch -M new-master master```


    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
  • Add a specific floating IP to a project

    calendar Apr 4, 2022 · 1 min read · openstack networking  ·
    Share on: twitter facebook linkedin copy

    I use this script to assign a specific Public IP address to a designated tenancy, in my environment we have multiple public subnets on the single Public network and one of those subnet's is owned by a reseller we work with, so only they have access to this set of IP's 1export PROJECT_ID=$1 2export IP_ADDRESS=$2 3source …


    Read More
  • Notes on using Hugo

    calendar Mar 31, 2022 · 1 min read · hugo docker  ·
    Share on: twitter facebook linkedin copy

    hugo server -e staging --navigateToChanged docker run -it -v $(pwd):/data --net host --entrypoint /bin/sh peaceiris/hugo Build docs hugo Build docs inc drafts hugo -D


    Read More
  • Functional Ceph RadosGW docker container and config

    calendar May 14, 2021 · 2 min read · CEPH RADOSGW DOCKER CONFIG  ·
    Share on: twitter facebook linkedin copy

    This is just a basic example of getting RadosGW to run in docker with Keystone auth support. It runs S3 and Swift API's out of the box, so you can use tools like s3cmd or 'openstack container list' using the below configs. Command to run inside docker container 1radosgw -d -f --cluster ceph --name client.rgw.mon-1.rgw0 …


    Read More
  • Ceph - Edit running crushmap

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

    Edit crushmap in a running cluster then re-inject it - Be careful! 1ceph osd getcrushmap -o crushmap 2crushtool -d crushmap -o crushmap.txt 3vim crushmap.txt <--Make your changes here 4crushtool -c crushmap.txt -o crushmap1 5ceph osd setcrushmap -i crushmap1


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

Cory Hawkvelt photo

Cory Hawkvelt

Career Nerd and Open Source Cloud Architect
Read More

Recent Posts

  • RabbitMQ in HA
  • MemcacheD connection limits inside Docker
  • Use grep to view a file without comments
  • Use grep to view a file without comments
  • Scrub all local disks
  • Use grep to view a file without comments
  • tcpdump HTTP traffic
  • List all local linux disks

Tags

LINUX 31 CEPH 22 BASH 19 OPENSTACK 11 NETWORKING 10 DOCKER 7 CONFIG 6 OPENSTACK-QUEENS 5 QEMU 5 TROUBLESHOOTING 5 CENTOS7 4 MYSQL 4 SSH 4 UBUNTU 4
All Tags
ACTIVE-BACKUP1 ADB1 ANDROID1 ANSIBLE2 APT1 AUTODISCOVER1 BACKUP1 BASH19 BIND1 BLUETOOTH1 CAS1 CENTOS74 CEPH22 CEPH-NAUTILUS1 CERTIFICATES1 CINDER3 COLLECTD1 COMWARE1 CONFIG6 CRYPTOLOCK1 CRYPTOMINER2 DATABASE1 DELL-S600-ON1 DELLMD3060JBOD1 DHCP1 DISK-MGMT1 DNS1 DOCKER7 DRIVERS1 ESP826621 ESPTOOL1 FAIL2BAN1 FEDORA261 FIBRECHANNEL1 FIRMWARE1 FREEOTP1 GIT1 GNOCCHI2 HAPROXY2 HARDWARE2 HORIZON1 HP2 HP-ILO1 HPACUCLI3 HTTP1 HUGO1 HYPER-V1 INDEX1 IP2 IPTABLES1 IPV61 KEYCLOAK1 KEYGEN3 KEYSTONE1 KOLLA1 KVM2 LE1 LIBRENMS1 LINUX31 LOGO1 MAAS1 MATTERMOST1 MEGACLI1 MELLANOX1 MELTDOWN1 MEMCACHED1 MIKROTIK2 MOUSE1 MTP1 MYSQL4 NAMED1 NAT1 NETBOX1 NETBOX-IPAM1 NETWORK-MANAGER1 NETWORKING10 NEUTRON1 NOVA1 NOVNC1 NPS1 OPENNEBULA1 OPENSTACK11 OPENSTACK-QUEENS5 OPENSWITCH1 OPENVSWITCH1 OVN1 PKI1 PORT1 PRINTER1 PROXMOX1 PUTTY1 PYTHON1 QEMU5 RABBITMQ1 RADIUS1 RADOSGW2 RAID3 RBD3 ROCKY-GLANCE1 ROUTING1 SCRIPT1 SERVER1 SERVER-20121 SMTP1 SNMP1 SPECTRE1 SPEEDTEST1 SSH4 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 VXLAN1 WINDOWS2 WINDOWS-AD1 WIRESHARK1 YOUTUBE-DL1
[A~Z][0~9]

Copyright 2022-  . All Rights Reserved

to-top