184 lines
3.9 KiB
Markdown
184 lines
3.9 KiB
Markdown
|
|
# ThinkPad P16 - Connect to Dalidou Server
|
||
|
|
|
||
|
|
> **Purpose:** Set up your main computer to connect to all dalidou server services
|
||
|
|
> **Server IP:** 192.168.86.50 (local) / 100.80.199.40 (Tailscale)
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Prerequisites
|
||
|
|
|
||
|
|
- [ ] ThinkPad connected to home WiFi (or Tailscale for remote)
|
||
|
|
- [ ] Dalidou server is running
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Step 1: Install Tailscale (Remote Access)
|
||
|
|
|
||
|
|
**Skip if already installed.**
|
||
|
|
|
||
|
|
1. Download from https://tailscale.com/download/windows
|
||
|
|
2. Install and sign in with same account as dalidou server
|
||
|
|
3. Verify: `ping 100.80.199.40`
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Step 2: Install SeaDrive (Cloud Storage)
|
||
|
|
|
||
|
|
**Purpose:** Mount Seafile as virtual drive (S:\)
|
||
|
|
|
||
|
|
1. Download **SeaDrive** from https://www.seafile.com/en/download/
|
||
|
|
- Get "SeaDrive" (not "Seafile Client")
|
||
|
|
2. Install and configure:
|
||
|
|
- Server: `http://192.168.86.50:8083`
|
||
|
|
- Email: `antoine.letarte@gmail.com`
|
||
|
|
- Password: `Ladygaga2025`
|
||
|
|
- Drive letter: `S:\`
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Step 3: Install Git + Git LFS
|
||
|
|
|
||
|
|
**Purpose:** Version control for CAD files via Gitea
|
||
|
|
|
||
|
|
### Option A: Run Setup Script (Recommended)
|
||
|
|
|
||
|
|
```powershell
|
||
|
|
# Open PowerShell as Administrator
|
||
|
|
cd C:\Users\Antoine\SERVtomaste\scripts
|
||
|
|
.\windows-setup.ps1
|
||
|
|
```
|
||
|
|
|
||
|
|
### Option B: Manual Setup
|
||
|
|
|
||
|
|
```powershell
|
||
|
|
# Install Git
|
||
|
|
winget install Git.Git
|
||
|
|
|
||
|
|
# Install Git LFS
|
||
|
|
winget install GitHub.GitLFS
|
||
|
|
|
||
|
|
# Initialize Git LFS
|
||
|
|
git lfs install
|
||
|
|
|
||
|
|
# Configure for large files
|
||
|
|
git config --global http.postBuffer 524288000
|
||
|
|
git config --global credential.helper manager
|
||
|
|
```
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Step 4: Clone All Repositories
|
||
|
|
|
||
|
|
```powershell
|
||
|
|
cd C:\Users\Antoine
|
||
|
|
|
||
|
|
# CAD files (with Git LFS)
|
||
|
|
git clone http://192.168.86.50:3000/Antoine/CADtomaste.git
|
||
|
|
|
||
|
|
# Code projects
|
||
|
|
git clone http://192.168.86.50:3000/Antoine/CODEtomaste.git
|
||
|
|
|
||
|
|
# Web projects
|
||
|
|
git clone http://192.168.86.50:3000/Antoine/WEBtomaste.git
|
||
|
|
|
||
|
|
# Server documentation
|
||
|
|
git clone http://192.168.86.50:3000/Antoine/SERVtomaste.git
|
||
|
|
|
||
|
|
# Atomizer project
|
||
|
|
git clone http://192.168.86.50:3000/Antoine/Atomizer.git
|
||
|
|
```
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Step 5: Install Syncthing (Optional)
|
||
|
|
|
||
|
|
**Purpose:** Auto-sync folders between computers
|
||
|
|
|
||
|
|
1. Download from https://syncthing.net/downloads/
|
||
|
|
2. Install and open web UI: http://127.0.0.1:8384
|
||
|
|
3. Add dalidou as remote device:
|
||
|
|
- Go to http://192.168.86.50:8384
|
||
|
|
- Copy dalidou's Device ID
|
||
|
|
- Add to your Syncthing
|
||
|
|
4. Accept pairing on both sides
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Step 6: Browser Bookmarks
|
||
|
|
|
||
|
|
Add these to your browser:
|
||
|
|
|
||
|
|
| Service | URL |
|
||
|
|
|---------|-----|
|
||
|
|
| Dashboard (Homepage) | http://192.168.86.50:3001 |
|
||
|
|
| Photos (Immich) | http://192.168.86.50:2283 |
|
||
|
|
| Files (Filebrowser) | http://192.168.86.50:8081 |
|
||
|
|
| Docs (Paperless) | http://192.168.86.50:8082 |
|
||
|
|
| Git (Gitea) | http://192.168.86.50:3000 |
|
||
|
|
| Cloud (Seafile) | http://192.168.86.50:8083 |
|
||
|
|
| Sync (Syncthing) | http://192.168.86.50:8384 |
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Step 7: Test SSH Access
|
||
|
|
|
||
|
|
```powershell
|
||
|
|
ssh papa@192.168.86.50
|
||
|
|
# Password: Ladygaga
|
||
|
|
```
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Verification Checklist
|
||
|
|
|
||
|
|
- [ ] Tailscale connected (`ping 100.80.199.40`)
|
||
|
|
- [ ] SeaDrive mounted as S:\ drive
|
||
|
|
- [ ] Git LFS working (`git lfs version`)
|
||
|
|
- [ ] All 5 repos cloned:
|
||
|
|
- [ ] CADtomaste
|
||
|
|
- [ ] CODEtomaste
|
||
|
|
- [ ] WEBtomaste
|
||
|
|
- [ ] SERVtomaste
|
||
|
|
- [ ] Atomizer
|
||
|
|
- [ ] Can access Homepage dashboard: http://192.168.86.50:3001
|
||
|
|
- [ ] SSH works to dalidou
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Credentials Quick Reference
|
||
|
|
|
||
|
|
| Service | Username | Password |
|
||
|
|
|---------|----------|----------|
|
||
|
|
| SSH | papa | Ladygaga |
|
||
|
|
| Gitea | Antoine | Ladygaga |
|
||
|
|
| Filebrowser | Antoine | Ladygaga2024 |
|
||
|
|
| Seafile | antoine.letarte@gmail.com | Ladygaga2025 |
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Troubleshooting
|
||
|
|
|
||
|
|
### Can't connect to server
|
||
|
|
```powershell
|
||
|
|
# Check if server is reachable
|
||
|
|
ping 192.168.86.50
|
||
|
|
|
||
|
|
# Try Tailscale IP if on different network
|
||
|
|
ping 100.80.199.40
|
||
|
|
```
|
||
|
|
|
||
|
|
### Git clone fails
|
||
|
|
```powershell
|
||
|
|
# Check Git LFS is installed
|
||
|
|
git lfs version
|
||
|
|
|
||
|
|
# Re-run setup script
|
||
|
|
cd C:\Users\Antoine\SERVtomaste\scripts
|
||
|
|
.\windows-setup.ps1
|
||
|
|
```
|
||
|
|
|
||
|
|
### SeaDrive won't connect
|
||
|
|
- Verify Seafile is running: http://192.168.86.50:8083
|
||
|
|
- Check credentials are correct
|
||
|
|
- Try restarting SeaDrive client
|