Initial commit

This commit is contained in:
2025-10-14 15:13:06 +02:00
commit cb50aeb2fa
7 changed files with 446 additions and 0 deletions

387
.bash_history Normal file
View File

@@ -0,0 +1,387 @@
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

19
.bashrc Normal file
View File

@@ -0,0 +1,19 @@
# ~/.bashrc: executed by bash(1) for non-login shells.
# Note: PS1 is set in /etc/profile, and the default umask is defined
# in /etc/login.defs. You should not need this unless you want different
# defaults for root.
# PS1='${debian_chroot:+($debian_chroot)}\h:\w\$ '
# umask 022
# You may uncomment the following lines if you want `ls' to be colorized:
# export LS_OPTIONS='--color=auto'
# eval "$(dircolors)"
# alias ls='ls $LS_OPTIONS'
# alias ll='ls $LS_OPTIONS -l'
# alias l='ls $LS_OPTIONS -lA'
#
# Some more alias to avoid making mistakes:
# alias rm='rm -i'
# alias cp='cp -i'
# alias mv='mv -i'

1
.forward Normal file
View File

@@ -0,0 +1 @@
|/usr/libexec/proxmox-mail-forward

5
.gitconfig Normal file
View File

@@ -0,0 +1,5 @@
[init]
defaultBranch = master
[user]
name = Kim Brian Ramberg
email = kim@ramberg.net

9
.gitignore vendored Normal file
View File

@@ -0,0 +1,9 @@
.cache
.config
.local
.ssh
.vscode-server
.lesshst
.rnd
.wget-hsts

7
.profile Normal file
View File

@@ -0,0 +1,7 @@
# ~/.profile: executed by Bourne-compatible login shells.
if [ "$BASH" ]; then
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
fi

18
moveVmToNewDatastore.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
# Get VMID from VM list: qm list
# Get all list of datastores: pvesm status
myvmid=$1
datastore=$2
echo ***
echo Moving $myvmid to $datastore
echo
for vmid in $myvmid; do
for disk in $(qm config $vmid | grep vm-$vmid-disk | cut -d: -f1); do
echo Moving: vm-$vmid-disk
qm move-disk $vmid $disk $datastore --delete
done
done