This page would define setup of basic installation with my bare minimum to get further the installation to either a server or desktop usecase
Info
Run these using your standard user with sudo if required
DotFiles⚓︎
Create Useful Directories⚓︎
| Bash | |
|---|---|
| Extra for Desktop | |
|---|---|
Syncthing⚓︎
- Install Syncthing
- Sync
$SYNCFILESfolder with following ignore patterns - Sync
PC-Wallswith Desktops
Symlink dotfiles⚓︎
dots⚓︎
| cd $SYNCFILES/dots | |
|---|---|
| cd $SYNCFILES/dots | |
|---|---|
| cd $SYNCFILES/dots | |
|---|---|
dotsPr⚓︎
Vim Plug⚓︎
- Install Plug
- Install Plugins specified in config files
- Open
vim - Enter command mode by typing Esc+:
- Type
PlugInstalland hit Enter
- Open
nvim - Enter command mode by typing Esc+:
- Type
PlugInstalland hit Enter
DNS⚓︎
systemd-resolved⚓︎
| Bash | |
|---|---|
NTP⚓︎
- Symlink
/etc/localtimeBash - Enable timesync service
Bash - Check status
Bash
Shell⚓︎
Sh symlink⚓︎
Install dashbinsh from AUR
| Bash | |
|---|---|
Already comes with sh pointing to dash
Starship Prompt⚓︎
User Shell to ZSH⚓︎
- To change shell to zsh
Run as user whose shell you want to change, NOT ROOT OR SUDO
Tip
If you're using bash and your bashrc won't load, read this
Happened to me on Pi-Zero
Zram-Swap and Swappiness⚓︎
Installation⚓︎
-
Install directly from AUR
Bash -
Start and Enable service
Bash
-
Install
linux-modules -
Clone
zram-swaprepoBash -
Install from repo's script
Bash -
Remove
/swapfileandfstab
Swappiness value⚓︎
Mkdocs Material⚓︎
-
Install
pythonandpip -
CD into mkdocs folder
Bash -
Install requirements from file
Bash
Not necessary but might be useful⚓︎
SSH⚓︎
Fix SSH permissions after stow⚓︎
| Bash | |
|---|---|
SELinux⚓︎
If SELinux is enforcing, allow SSH policy
| Bash | |
|---|---|
Sudo setup as your root user⚓︎
| EDITOR=nvim visudo | |
|---|---|
- Move this line to top for passwordless commands to work
- This CAN BE a security risk. Not suggested to use
- Change
wheelgroup tosudoif required
User Setup⚓︎
Create user⚓︎
| UID and GID is 1000 | |
|---|---|