Difference between revisions of "CopyPasta"
Jump to navigation
Jump to search
Line 28: | Line 28: | ||
* <code>wget <nowiki>https://www.nerdmage.ca/Downloads/PVEStuff/bin/TM-guestlist</nowiki> -O TM-guestlist</code> | * <code>wget <nowiki>https://www.nerdmage.ca/Downloads/PVEStuff/bin/TM-guestlist</nowiki> -O TM-guestlist</code> | ||
* <code>wget <nowiki>https://www.nerdmage.ca/Downloads/PVEStuff/bin/TM-clusterstatus</nowiki> -O TM-clusterstatus</code> | * <code>wget <nowiki>https://www.nerdmage.ca/Downloads/PVEStuff/bin/TM-clusterstatus</nowiki> -O TM-clusterstatus</code> | ||
* <code>wget <nowiki>https://www.nerdmage.ca/Downloads/PVEStuff/bin/TM- | * <code>wget <nowiki>https://www.nerdmage.ca/Downloads/PVEStuff/bin/TM-systemstatus</nowiki> -O TM-<nowiki>systemstatus</nowiki></code> | ||
* <code>wget <nowiki>https://www.nerdmage.ca/Downloads/PVEStuff/bin/TM-FixThis</nowiki> -O TM-FixThis</code> | * <code>wget <nowiki>https://www.nerdmage.ca/Downloads/PVEStuff/bin/TM-FixThis</nowiki> -O TM-FixThis</code> | ||
* <code>chmod +x TM*</code> | * <code>chmod +x TM*</code> | ||
You will need to edit '''TM-upsstatus''' to match local configurations (i.e. UPS name). | You will need to edit '''TM-upsstatus''' to match local configurations (i.e. UPS name). | ||
Running <code>TMUX-console</code> at the console will create a formatted screen of useful system information that you can reach by attaching to the '''tmux''' session from a terminal (SSH) session. | Running <code>TMUX-console</code> at the console will create a formatted screen of useful system information that you can reach by attaching to the '''tmux''' session from a terminal (SSH) session. |
Revision as of 17:07, 3 December 2023
For doing basic setup of an LXC:
Note: You CAN copyPasta groups of commands all at once. BUT: in this case, everything indented (after su - yourname
) needs to be pasted AFTER that command has run.
apt update
apt -y upgrade
apt -y install sudo vim curl mosquitto-clients
wget https://www.nerdmage.ca/Downloads/RootStuff/DOT.bashrc -O .bashrc
wget https://www.nerdmage.ca/Downloads/RootStuff/DOT.vimrc -O .vimrc
mkdir bin
source .bashrc
adduser yourname
adduser yourname sudo
su - yourname
wget https://www.nerdmage.ca/Downloads/UserStuff/DOT.bashrc -O .bashrc
wget https://www.nerdmage.ca/Downloads/UserStuff/DOT.vimrc -O .vimrc
mkdir bin
source .bashrc
Useful console display for Proxmox Virtual Environment
apt update
apt -y upgrade
apt -y install tmux htop
cd /usr/local/bin
wget https://www.nerdmage.ca/Downloads/PVEStuff/bin/TMUX-console -O TMUX-console
wget https://www.nerdmage.ca/Downloads/PVEStuff/bin/TM-guestlist -O TM-guestlist
wget https://www.nerdmage.ca/Downloads/PVEStuff/bin/TM-clusterstatus -O TM-clusterstatus
wget https://www.nerdmage.ca/Downloads/PVEStuff/bin/TM-systemstatus -O TM-systemstatus
wget https://www.nerdmage.ca/Downloads/PVEStuff/bin/TM-FixThis -O TM-FixThis
chmod +x TM*
You will need to edit TM-upsstatus to match local configurations (i.e. UPS name).
Running TMUX-console
at the console will create a formatted screen of useful system information that you can reach by attaching to the tmux session from a terminal (SSH) session.