Difference between revisions of "CopyPasta"
Jump to navigation
Jump to search
| Line 18: | Line 18: | ||
** <code>mkdir bin</code> | ** <code>mkdir bin</code> | ||
** <code>source .bashrc</code> | ** <code>source .bashrc</code> | ||
= Useful console display for Proxmox Virtual Environment = | |||
* <code>apt update</code> | |||
* <code>apt -y upgrade</code> | |||
* <code>apt -y install tmux htop</code> | |||
* <code>cd /usr/local/bin</code> | |||
* <code>wget <nowiki>https://www.nerdmage.ca/Downloads/PVEStuff/bin/TMUX-console</nowiki> -O TMUX-console</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-upsstatus</nowiki> -O TM-upsstatus</code> | |||
* <code>wget <nowiki>https://www.nerdmage.ca/Downloads/PVEStuff/bin/TM-FixThis</nowiki> -O TM-FixThis</code> | |||
* <code>chmod +x TM*</code> | |||
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. | |||
Revision as of 21:47, 2 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 updateapt -y upgradeapt -y install sudo vim curl mosquitto-clientswget https://www.nerdmage.ca/Downloads/RootStuff/DOT.bashrc -O .bashrcwget https://www.nerdmage.ca/Downloads/RootStuff/DOT.vimrc -O .vimrcmkdir binsource .bashrc
adduser yournameadduser yourname sudosu - yournamewget https://www.nerdmage.ca/Downloads/UserStuff/DOT.bashrc -O .bashrcwget https://www.nerdmage.ca/Downloads/UserStuff/DOT.vimrc -O .vimrcmkdir binsource .bashrc
Useful console display for Proxmox Virtual Environment
apt updateapt -y upgradeapt -y install tmux htopcd /usr/local/binwget https://www.nerdmage.ca/Downloads/PVEStuff/bin/TMUX-console -O TMUX-consolewget https://www.nerdmage.ca/Downloads/PVEStuff/bin/TM-guestlist -O TM-guestlistwget https://www.nerdmage.ca/Downloads/PVEStuff/bin/TM-clusterstatus -O TM-clusterstatuswget https://www.nerdmage.ca/Downloads/PVEStuff/bin/TM-upsstatus -O TM-upsstatuswget https://www.nerdmage.ca/Downloads/PVEStuff/bin/TM-FixThis -O TM-FixThischmod +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.