Initial set of documents for home
This commit is contained in:
49
docs/labdocs/ArchLXC.md
Normal file
49
docs/labdocs/ArchLXC.md
Normal file
@@ -0,0 +1,49 @@
|
||||
# Install Arch LXC on Proxmox
|
||||
|
||||
## Install
|
||||
1. Download the lxc image
|
||||
2. During the install set a password, the network and ssh are not enabled by default
|
||||
3. After install set a special feature
|
||||
1. SSH to proxmox host
|
||||
2. Edit `/etc/pve/nodes/proxmox/lxc/<id>.conf`
|
||||
3. Add `features: nesting=1`
|
||||
4. Reboot the container
|
||||
|
||||
## Arch Setup
|
||||
1. Log into the console
|
||||
2. Set pacman mirror
|
||||
1. Edit `/etc/pacman.d/mirrorlist`
|
||||
2. Uncomment the mirror closest to you
|
||||
3. Initialize `pacman`
|
||||
```
|
||||
pacman-key --init
|
||||
pacman-key --populate archlinux
|
||||
pacman-key --refresh-keys
|
||||
```
|
||||
4. Run the updater and install some packages
|
||||
```
|
||||
pacman -Syu
|
||||
pacman -S openssh vim sudo
|
||||
```
|
||||
5. Setup a new user, sudo, and ssh access
|
||||
```
|
||||
useradd -m -shell /bin/bash <username>
|
||||
passwd <username>
|
||||
usermod -aG sudo <username>
|
||||
systemctl restart sshd
|
||||
systemctl enable sshd
|
||||
```
|
||||
6. Copy over ssh keys
|
||||
7. Setup sudo access
|
||||
```
|
||||
visudo
|
||||
<username> ALL=(ALL) ALL
|
||||
```
|
||||
8. Set `.vimrc`
|
||||
```
|
||||
set mouse=
|
||||
set tabstop=4
|
||||
set shiftwidth=4
|
||||
set expandtab
|
||||
syntax on
|
||||
```
|
||||
43
docs/labdocs/LinuxPrograms.md
Normal file
43
docs/labdocs/LinuxPrograms.md
Normal file
@@ -0,0 +1,43 @@
|
||||
# Random Linux Programs
|
||||
|
||||
These are Linux programs to try or are useful:
|
||||
|
||||
## Rust Alternatives
|
||||
|
||||
- exa (Better ls)
|
||||
|
||||
## Browsers
|
||||
|
||||
- Firefox
|
||||
|
||||
## Media Players
|
||||
|
||||
- VLC
|
||||
- Deadbeef
|
||||
|
||||
## Office/Text Editors
|
||||
|
||||
- LibreOffice
|
||||
- OnlyOffice (In conjunction with Nextcloud)
|
||||
- NotepadQQ
|
||||
- Vim
|
||||
|
||||
## System Monitors
|
||||
|
||||
- Stacer
|
||||
- Also does system cleanup
|
||||
- htop
|
||||
- Better than top
|
||||
|
||||
## App Repository
|
||||
|
||||
- appoutlet
|
||||
|
||||
## Video Conferancing
|
||||
|
||||
- JITSI
|
||||
|
||||
## Virtualization
|
||||
|
||||
- Virtual Box
|
||||
|
||||
34
docs/labdocs/file_naming.md
Normal file
34
docs/labdocs/file_naming.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# File Naming Convensions
|
||||
|
||||
This is a list of characters to avoid when nameing files
|
||||
|
||||
- :
|
||||
- ;
|
||||
- ,
|
||||
- '
|
||||
- "
|
||||
- /
|
||||
- \
|
||||
- |
|
||||
- ?
|
||||
- *
|
||||
- !
|
||||
- #
|
||||
- $
|
||||
- %
|
||||
- &
|
||||
- @
|
||||
- ^
|
||||
- `
|
||||
- ~
|
||||
- +
|
||||
- =
|
||||
- (
|
||||
- )
|
||||
- <
|
||||
- \>
|
||||
- [
|
||||
- ]
|
||||
- {
|
||||
- }
|
||||
- space
|
||||
1149
docs/labdocs/free_software.md
Normal file
1149
docs/labdocs/free_software.md
Normal file
File diff suppressed because it is too large
Load Diff
17
docs/labdocs/index.md
Normal file
17
docs/labdocs/index.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# Welcome to MkDocs
|
||||
|
||||
For full documentation visit [mkdocs.org](https://www.mkdocs.org).
|
||||
|
||||
## Commands
|
||||
|
||||
* `mkdocs new [dir-name]` - Create a new project.
|
||||
* `mkdocs serve` - Start the live-reloading docs server.
|
||||
* `mkdocs build` - Build the documentation site.
|
||||
* `mkdocs -h` - Print help message and exit.
|
||||
|
||||
## Project layout
|
||||
|
||||
mkdocs.yml # The configuration file.
|
||||
docs/
|
||||
index.md # The documentation homepage.
|
||||
... # Other markdown pages, images and other files.
|
||||
50
docs/labdocs/rclone.md
Normal file
50
docs/labdocs/rclone.md
Normal file
@@ -0,0 +1,50 @@
|
||||
# Setup RClone on Proxmox
|
||||
|
||||
## Create CT
|
||||
|
||||
- Create the CT
|
||||
- Using Ubuntu
|
||||
- Small HDD space, just mounting
|
||||
- 2 CPUs
|
||||
- 1024 MB of memory
|
||||
- Edit `/etc/pve/nodes/proxmox/lxc<id>.conf` and add the following lines
|
||||
- `lxc.cgroup.devices.allow: c 10:200 rwm`
|
||||
- `lxc.mount.entry: /dev/net dev/net none bind,create=dir`
|
||||
|
||||
|
||||
## Basic Setup
|
||||
|
||||
- `apt update && apt upgrade -y`
|
||||
- `adduser <name>`
|
||||
- `usermod -aG sudo <name>`
|
||||
- Now you can SSH in
|
||||
|
||||
## Setup Network
|
||||
|
||||
### SMB Mount
|
||||
- `sudo apt install vim cifs-utils openvpn`
|
||||
- Modify `/etc/fstab` with the following line
|
||||
- `//<ip>/<path> /<localpath> cifs uid=<name>,credentials=/etc/smbcreds,iocharset=utf8,vers=3.0,ro 0 0`
|
||||
- Create `/etc/smbcreds`
|
||||
- ```
|
||||
username=<user>
|
||||
password=<password>
|
||||
domain=WORKGROUP
|
||||
```
|
||||
- Test with `sudo mount -a`
|
||||
- Reboot to test
|
||||
|
||||
### OpenVPN Config
|
||||
|
||||
- Copy config to `/etc/openvpn/client/<name>.conf`
|
||||
- Edit the conf file to use DNS name instead of IP
|
||||
- Test with `sudo openvpn /etc/openvpn/client/<name>.conf`
|
||||
- If it works run `sudo systemctl start openvpn-client@<name>`
|
||||
- If that works run `sudo systemctl enable openvpn-client@<name>`
|
||||
- Reboot to test
|
||||
|
||||
## Setup rclone
|
||||
|
||||
- `sudo apt install rclone`
|
||||
- `rclone config` (see attached for my current config)
|
||||
|
||||
Reference in New Issue
Block a user