Difference between revisions of "CopyPasta"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
= 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. | Note: You CAN copyPasta groups of commands all at once. BUT: in this case, everything indented (after <code>su - '''yourname'''</code>) needs to be pasted AFTER that command has run. | ||
* <code>apt update</code> | * <code>apt update</code> |
Revision as of 00:47, 1 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/.bashrc -O .bashrc
wget https://www.nerdmage.ca/Downloads/RootStuff/.vimrc -O .vimrc
mkdir bin
source .bashrc
adduser yourname
adduser yourname sudo
su - yourname
wget https://www.nerdmage.ca/Downloads/UserStuff/.bashrc -O .bashrc
wget https://www.nerdmage.ca/Downloads/UserStuff/.vimrc -O .vimrc
mkdir bin
source .bashrc