open-menu closeme
Home
Archives
Links icon
LinkedIn Twitter
About
English Gibberish
github linkedin
  • 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

    1echo "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

    1echo "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 · 6 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 51 0.00999 osd.1 up 1.00000 1.00000 60 0.00999 osd.0 up 1.00000 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
  • MySQL dump over SSH to a remote host

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

    Original Article - http://christiank.org/wp/2010/12/pipe-a-gzipped-mysql-dump-over-ssh/ If you want to take a SQL dump from some host, compress it and send it across SSH to another host then this is the command you are chasing mysqldump -u MYSQL_USERNAME -p YOUR_DATABASE | gzip -c | ssh USERNAME@YOUR_TO_HOST 'cat > …


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

Cory Hawkvelt photo

Cory Hawkvelt

Career Nerd and Open Source Cloud Architect
Read More

Recent Posts

  • Run yourube-dl in parallel
  • Mellanox NIC's on Linux
  • A cheap and easy webserver
  • Add a specific floating IP to a project
  • Notes on using Hugo
  • Functional Ceph RadosGW docker container and config
  • Ceph - Edit running crushmap
  • Linux VLAN interfaces

Tags

LINUX 24 CEPH 22 BASH 11 OPENSTACK 11 NETWORKING 8 CONFIG 6 DOCKER 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 BASH11 BIND1 BLUETOOTH1 CAS1 CENTOS74 CEPH22 CEPH-NAUTILUS1 CERTIFICATES1 CINDER3 COLLECTD1 COMWARE1 CONFIG6 CRYPTOLOCK1 CRYPTOMINER2 DATABASE1 DELL-S600-ON1 DELLMD3060JBOD1 DHCP1 DISK-MGMT1 DNS1 DOCKER6 DRIVERS1 ESP826621 ESPTOOL1 FAIL2BAN1 FEDORA261 FIBRECHANNEL1 FIRMWARE1 FREEOTP1 GNOCCHI2 HAPROXY2 HARDWARE2 HORIZON1 HP2 HP-ILO1 HPACUCLI3 HTTP1 HUGO1 HYPER-V1 INDEX1 IP2 KEYCLOAK1 KEYGEN3 KEYSTONE1 KOLLA1 KVM2 LE1 LIBRENMS1 LINUX24 LOGO1 MATTERMOST1 MEGACLI1 MELLANOX1 MELTDOWN1 MIKROTIK2 MOUSE1 MTP1 MYSQL4 NAMED1 NAT1 NETBOX1 NETBOX-IPAM1 NETWORK-MANAGER1 NETWORKING8 NEUTRON1 NOVA1 NOVNC1 NPS1 OPENNEBULA1 OPENSTACK11 OPENSTACK-QUEENS5 OPENSWITCH1 OPENVSWITCH1 OVN1 PKI1 PORT1 PRINTER1 PROXMOX1 PUTTY1 PYTHON1 QEMU5 RADIUS1 RADOSGW2 RAID3 RBD3 ROCKY-GLANCE1 ROUTING1 SCRIPT1 SERVER1 SERVER-20121 SMTP1 SNMP1 SPECTRE1 SPEEDTEST1 SSH4 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 WINDOWS1 WINDOWS-AD1 WIRESHARK1 YOUTUBE-DL1
[A~Z][0~9]

Copyright 2022-  . All Rights Reserved

to-top