mirror of
https://github.com/rodneyosodo/homelab.git
synced 2026-06-23 04:10:19 +00:00
docs(notes): use dotfiles
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
# Installation
|
||||
|
||||
## Install softwares
|
||||
|
||||
```bash
|
||||
sudo apt install git vim htop neofetch p7zip unrar tar flac curl wget make thefuck python-pip
|
||||
```
|
||||
|
||||
## Install bpytop
|
||||
|
||||
```bash
|
||||
pip install bpytop --break-system-packages
|
||||
```
|
||||
|
||||
## Install docker
|
||||
|
||||
```bash
|
||||
sudo bash -c "$(wget -qLO - https://get.docker.com)"
|
||||
```
|
||||
|
||||
post installation
|
||||
|
||||
```bash
|
||||
sudo groupadd docker
|
||||
sudo usermod -aG docker $USER
|
||||
sudo systemctl enable docker.service
|
||||
sudo systemctl enable containerd.service
|
||||
```
|
||||
|
||||
## Install vscode server
|
||||
|
||||
```bash
|
||||
curl -fsSL https://code-server.dev/install.sh | sh
|
||||
```
|
||||
+11
-15
@@ -26,10 +26,6 @@ comment line
|
||||
|
||||
## Install software
|
||||
|
||||
```bash
|
||||
sudo nala install ssh openssh-server git vim bpytop p7zip tar curl wget make thefuck
|
||||
```
|
||||
|
||||
## Install docker
|
||||
|
||||
```bash
|
||||
@@ -53,15 +49,7 @@ sudo update-grub
|
||||
|
||||
## Setup git
|
||||
|
||||
```bash
|
||||
git config --global user.email "socials@rodneyosodo.com"
|
||||
git config --global user.name "Rodney Osodo"
|
||||
git config --global push.autoSetupRemote true
|
||||
git config --global init.defaultBranch main
|
||||
git config --global commit.gpgsign true
|
||||
git config --global gpg.format ssh
|
||||
git config --global core.editor nvim
|
||||
```
|
||||
Use dotfiles found [here](https://github.com/rodneyosodo/dotfiles/tree/main/config)
|
||||
|
||||
```bash
|
||||
mkdir ~/.ssh
|
||||
@@ -70,8 +58,8 @@ mkdir ~/.ssh
|
||||
copy ssh key
|
||||
|
||||
```bash
|
||||
scp ~/.ssh/github rodneyosodo@192.168.100.32:/home/rodneyosodo/.ssh/
|
||||
scp ~/.ssh/github.pub rodneyosodo@192.168.100.32:/home/rodneyosodo/.ssh/
|
||||
scp ~/.ssh/github rodneyosodo@bohr:/home/rodneyosodo/.ssh/
|
||||
scp ~/.ssh/github.pub rodneyosodo@bohr:/home/rodneyosodo/.ssh/
|
||||
```
|
||||
|
||||
```bash
|
||||
@@ -156,3 +144,11 @@ ssh -2 rodneyosodo@192.168.100.32
|
||||
curl -fsSL https://tailscale.com/install.sh | sh
|
||||
sudo tailscale up --ssh
|
||||
```
|
||||
|
||||
## Setup Syncthing On Remote Host
|
||||
|
||||
Port forward to localhost:1111
|
||||
|
||||
```bash
|
||||
ssh rodneyosodo@tana -L 1111:localhost:8384
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user