You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Err:4 https://apt.releases.hashicorp.com focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AA16FCBCA621E701
*****command to execute
│ │ │ │ │
│ │ │ │ │
│ │ │ │ └───── day of week (0 - 6) (0 to 6 are Sunday to Saturday, or use names; 7 is Sunday, the same as 0)
│ │ │ └────────── month (1 - 12)
│ │ └─────────────── day of month (1 - 31)
│ └──────────────────── hour (0 - 23)
└───────────────────────── min (0 - 59)
git rebase [A]
replay commits of current branch on top of A
git rebase --onto [A] [B]
replay commits of current branch on top of A, excluding anything found in B
(so starting from all commits in current branch that come after the commits found in B)
git rebase --onto branch1_squashed branch1
current: branch2
git rebase master
git rebase --onto master branch1_unsquashed
ip addr add 10.10.7.33/24 broadcast 10.10.7.255 dev eth0
ip addr delete 10.10.7.33/24 dev eth0
ip -4 link show up
ip -4 addr show up
add eth alias:
ifconfig eth0:1 192.168.31.2 up
linux bridge
to bridge a vlan device:
brctl addbr brname
ip link set up brname
ip link add link eth0 name eth0.20 type vlan id 20 (or vconfig add eth0 20)
ip link set up eth0.20
brctl addif brname eth0.20
ovswitch
!!! if exporting nfs to a host with the eth0 enslaved on the ovs bridge,
the ovs bridge should have an IP address and the export should be done
on that IP address !!!
ovs-vsctl list-br
ovs-vsctl add-br br0
ip link set up br0
ovs-vsctl del-br br0cat
ovs-vsctl list-ports br0
ovs-vsctl add-port br0 eth0
ovs-vsctl add-port br0 tap0 tag=1
ovs-vsctl del-port br0 tap0
ovs-vsctl port-to-br tap0
ovs-vsctl get Port vnet1 tag
Script to ensalve eth0 with a bridge br100:
#! /bin/bash#ip addr del 10.80.80.25/24 dev eth0#ip addr add 10.80.80.25/24 dev br100
ip link set up br100
brctl addif br100 eth0
/sbin/route del -net 10.80.80.0 netmask 255.255.255.0 dev eth0
/sbin/route del -net 0.0.0.0 gw 10.80.80.1 dev eth0
/sbin/route add -net 10.80.80.0 netmask 255.255.255.0 dev br100
/sbin/route add -net 0.0.0.0 gw 10.80.80.1 dev br100
tmux ls
tmux new -s test
tmux attach -t test
tmux kill-session -t test
Reload tmux.conf
tmux source-file ~/.tmux.conf
detach: Ctrl-b d
create window: Ctrl-b c
go to window 1: Ctrl-b 1
list windows: Ctrl-b f
rename window: Ctrl-b ,
scroll: Ctrl-b [
vertical pane: Ctrl-b %
horizontal pane: Ctrl-b "
cycle panes: Ctrl-b o
show pane numbers: Ctrl-b q
go to pane number 1: Ctrl-b q 1
zoom into/out of pane: Ctrl-b z
exit pane: Ctrl-b x
enter command: Ctrl-b :
resize
#set -g default-terminal "screen-256color"
#set -g mouse on
setw -g aggressive-resize on
set -g base-index 1
set-window-option -g window-status-current-style bg=red
set -g mouse off
set -g default-terminal "screen-256color"
#bind -n WheelUpPane copy-mode
set-option -g allow-rename off
set-window-option -g mode-keys vi
sudo yum install libevent-devel ncurses-devel gcc make pkg-config
wget https://github.com/tmux/tmux/releases/download/3.0a/tmux-3.0a.tar.gz
tar xzf tmux-3.0a.tar.gz
cd tmux-3.0a
./configure
make && sudo make install