docs(notes): use dotfiles

This commit is contained in:
Rodney Osodo
2025-02-23 23:21:56 +03:00
parent adc21d5b05
commit e4351db14f
2 changed files with 11 additions and 49 deletions
-34
View File
@@ -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
View File
@@ -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
```