388 lines
5.7 KiB
Bash
388 lines
5.7 KiB
Bash
ip a
|
|
nano /etc/host
|
|
ls
|
|
cd /etc/
|
|
ls
|
|
ls host*
|
|
nano hosts
|
|
exit
|
|
df -h
|
|
exit
|
|
df
|
|
cd /var/
|
|
ls
|
|
cd tmp/
|
|
ls
|
|
ls -al
|
|
ls -al
|
|
df -h
|
|
df -h
|
|
df -h | grep pve-root
|
|
df | grep pve-root
|
|
df | grep pve-root
|
|
df | grep pve-root
|
|
df -h | grep pve-root
|
|
df -h | grep pve-root
|
|
df -h
|
|
ls -al
|
|
htop
|
|
exit
|
|
ctop
|
|
docker
|
|
htop'
|
|
htop
|
|
top
|
|
sudo reboot now
|
|
reboot now
|
|
top
|
|
apt install htop
|
|
htop
|
|
htop
|
|
top
|
|
exit
|
|
cd /etc/
|
|
cd network/
|
|
ls
|
|
nano interfaces
|
|
cd /etc/network/
|
|
nano interfaces
|
|
nano interfaces
|
|
ethtool -K eth0 gso off gro off tso off tx off rx off rxvlan off txvlan off
|
|
cd /etc/network
|
|
nano interfaces
|
|
cat interfaces
|
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/nic-offloading-fix.sh)"
|
|
df -h
|
|
df -h
|
|
exit
|
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/update-repo.sh)"
|
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/post-pve-install.sh)"
|
|
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/kernel-clean.sh)"
|
|
ls
|
|
df
|
|
df -h
|
|
qm list
|
|
ip a
|
|
lstcp
|
|
tcpls
|
|
lspci
|
|
lspci
|
|
lspci -k
|
|
ip link
|
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/openwrt.sh)"
|
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/post-pve-install.sh)"
|
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/tdarr.sh)"
|
|
df -h
|
|
exit
|
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/tdarr.sh)"
|
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/tdarr.sh)"
|
|
uname -sr
|
|
dmesg | grep -i bluetooth
|
|
dmesg | grep -i iwlwifi
|
|
cd /etc/
|
|
ls
|
|
cd network/
|
|
ls
|
|
cd interfaces.d/
|
|
cd ..
|
|
nano interfaces
|
|
cd
|
|
wpa_supplicant
|
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/openwrt.sh)"
|
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/openwrt.sh)"
|
|
inxi -xxx -n
|
|
dmesg
|
|
dmesg | grep -i wifi
|
|
uname
|
|
uname -a
|
|
apt install wpa_supplicant
|
|
exit
|
|
exit
|
|
ip -s link show
|
|
exit
|
|
qm agent 101 ping
|
|
qm agent 101 ping
|
|
free -m
|
|
exit
|
|
swapon --summary
|
|
exit
|
|
exit
|
|
exit
|
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/openwrt.sh)"
|
|
ping database.home.ramberg.net
|
|
resolvectl status
|
|
cd /etc/
|
|
cd resolvconf/
|
|
ls
|
|
cd ..
|
|
ls
|
|
cat resolv.conf
|
|
pvesm add pbs backup-server --server 10.0.0.240 --datastore Backups
|
|
exit
|
|
exit
|
|
ls /rpool/images
|
|
sudo ls /rpool/images
|
|
ls
|
|
cd /rpool
|
|
cd /dev/
|
|
ls
|
|
df -h .
|
|
df -h *.*
|
|
cd pve/
|
|
ll
|
|
ls
|
|
ls -al
|
|
cd ../dm-11
|
|
cd ..
|
|
ls -al
|
|
ls dm-11*
|
|
ls dm-11* -l
|
|
cd
|
|
df -h
|
|
lsblk
|
|
lvdisplay
|
|
exit
|
|
cd /mnt/
|
|
ls
|
|
cd .
|
|
cd ..
|
|
ls
|
|
cd media/
|
|
ls
|
|
cd ..
|
|
cd /etc/
|
|
ls
|
|
cd ..
|
|
df -h
|
|
cd /dev/pve/
|
|
ls
|
|
ll
|
|
ls -a
|
|
ls -al
|
|
df -h
|
|
df -h
|
|
cd /dev/pve/
|
|
ls
|
|
ls -al
|
|
cd vm-105-disk-0
|
|
fstrim -a
|
|
fstrim -a
|
|
fstrim -a
|
|
df -h
|
|
ip a
|
|
nano /etc/netork/interfaces
|
|
cd /etc/
|
|
ls
|
|
ls net*
|
|
ls -al
|
|
ls -al net*
|
|
nano interfaces
|
|
nano interfaces
|
|
ls -al net*
|
|
cd interfaces.d
|
|
nano interfaces.d
|
|
ls -al
|
|
ls -al net*
|
|
cd interfaces.d
|
|
cd ./interfaces.d
|
|
cd /etc/
|
|
cd network
|
|
ls
|
|
ls -al
|
|
cat interfaces
|
|
nano interfaces
|
|
reboot now
|
|
nano /etc/hosts
|
|
reboot now
|
|
ping 192.168.50.200
|
|
ping 192.168.50.1
|
|
route
|
|
ip a
|
|
ping 192.168.50.1
|
|
exit
|
|
ping vg.no
|
|
ping 192.168.50.1
|
|
ping 192.168.50.1
|
|
exit
|
|
nano /etc/pve/storage.cfg
|
|
exit
|
|
fstrim -a
|
|
systemctl status fstrim.service
|
|
systemctl start fstrim.service
|
|
systemctl status fstrim.service
|
|
systemctl status fstrim.timer
|
|
cd /etc/systemd/
|
|
ll
|
|
ls
|
|
ls -al
|
|
cd system
|
|
ls
|
|
cd timers.target.wants/
|
|
ls -al
|
|
nano fstrim.timer
|
|
exit
|
|
ip a
|
|
nano /etc/network/interfaces
|
|
nano /etc/hosts
|
|
reboot now
|
|
ip a
|
|
cd /etc/pve/
|
|
ls
|
|
nano storage.cfg
|
|
ip a
|
|
ping 192.168.1.200
|
|
ping 192.168.1.201
|
|
ping 192.168.1.203
|
|
ping 192.168.1.201
|
|
ssh rcadmin@192.168.1.201
|
|
qm list
|
|
qm start 105
|
|
qm start 105
|
|
qm list
|
|
ip a
|
|
qm monior 105
|
|
qm monitor 105
|
|
qm list
|
|
qm start 105
|
|
qm list
|
|
shutdown now
|
|
sudo timedatectl
|
|
timedatectl
|
|
exit
|
|
exit
|
|
ping 192.168.1.1
|
|
ping 192.168.50.1
|
|
cd /etc/
|
|
ls
|
|
cd network/
|
|
ls
|
|
ls -l
|
|
nano interfaces
|
|
nano /etc/hosts
|
|
ls
|
|
ll
|
|
reboot now
|
|
qm list
|
|
ping 192.168.1.203
|
|
ping 192.168.50.203
|
|
exit
|
|
cd /etc/pve/
|
|
ls
|
|
ls -la
|
|
sudu cat storage.cfg
|
|
cat storage.cfg
|
|
nano storage.cfg
|
|
cd
|
|
pvesm status
|
|
cat /etc/pve/storage.cfg
|
|
nano /etc/pve/storage.cfg
|
|
cat /etc/pve/storage.cfg
|
|
timedatectl
|
|
exit
|
|
nano /etc/fstab
|
|
blkid
|
|
blkid | grep ext4
|
|
tune2fs -c 1 /dev/mapper/pve-root
|
|
cat /etc/fstab
|
|
tune2fs -c 1 /dev/pve/root
|
|
tune2fs -l /dev/pve/root
|
|
tune2fs -l /dev/pve/root | grep \ c
|
|
tune2fs -l /dev/pve/root | grep Last\ c
|
|
exit
|
|
pveversion
|
|
qm list
|
|
ls
|
|
reboot now
|
|
fstrim -av
|
|
fstrim -av
|
|
exit
|
|
free -h
|
|
qm
|
|
qm list
|
|
ip a
|
|
ping 192.168.50.50
|
|
ping 192.168.50.50
|
|
ping 192.168.50.51
|
|
ping 8.8.8.8
|
|
ping 8.8.8.8
|
|
ping 1.1.1.1
|
|
ping google.com
|
|
ping 192.168.50.51
|
|
tracert 192.168.50.51
|
|
exit
|
|
cd /usr/bin/
|
|
ls
|
|
ls b*
|
|
cd /bin
|
|
ls bas*
|
|
cd
|
|
ls
|
|
ls -al
|
|
nano test.sh
|
|
chmod +x test.sh
|
|
ls
|
|
ls -al
|
|
./test.sh
|
|
./test.sh test
|
|
./test.sh hello
|
|
./test.sh 105
|
|
nano test.sh
|
|
ls -al
|
|
./test.sh 102 iscsi
|
|
nano test.sh
|
|
ls -al
|
|
pvesm status
|
|
df -h
|
|
nano test.sh
|
|
mv test.sh moveVmToNewDatastore.sh
|
|
ls -al
|
|
exit
|
|
qm list
|
|
qm stop 105
|
|
cd /var/lock/qemu-server/
|
|
ls
|
|
ls -al
|
|
rm lock-105.conf
|
|
qm stop 105
|
|
cd
|
|
qm list
|
|
qm start 101
|
|
qm start 106
|
|
wm list
|
|
qm list
|
|
free -h
|
|
free -h
|
|
qm list
|
|
qm stop 100
|
|
qm unlock 100
|
|
rm /var/lock/qemu-server/lock-100.conf
|
|
qm stop 100
|
|
qm list
|
|
qm shutdown 105
|
|
rm /var/lock/qemu-server/lock-105.conf
|
|
qm shutdown 105
|
|
qm stop 105
|
|
qm start 105
|
|
qm start 105
|
|
journalctl
|
|
journalctl | tail
|
|
journalctl
|
|
journalctl -b
|
|
ls
|
|
pwd
|
|
apt install git
|
|
ls
|
|
git --version
|
|
ls
|
|
pwd
|
|
git init
|
|
git init
|
|
git config --global init.defaultBranch master
|
|
git config --global user.name "Kim Brian Ramberg"
|
|
git config --global user.email "kim@ramberg.net"
|
|
git clone https://git.home.ramberg.net/kim/proxmox.git
|
|
qm list
|
|
qm start 101
|
|
qm start 106
|
|
git clone https://git.home.ramberg.net/kim/proxmox.git
|