CopyPasta
Revision as of 00:46, 1 December 2023 by Tinker (talk | contribs) (→For doing basic setup of an LXC:)
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/.bashrc -O .bashrcwget https://www.nerdmage.ca/Downloads/RootStuff/.vimrc -O .vimrcmkdir binsource .bashrc
adduser yournameadduser yourname sudosu - yournamewget https://www.nerdmage.ca/Downloads/UserStuff/.bashrc -O .bashrcwget https://www.nerdmage.ca/Downloads/UserStuff/.vimrc -O .vimrcmkdir binsource .bashrc