CopyPasta
Revision as of 01:38, 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 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