Compare commits
No commits in common. "857c9ae5dc9630462e132d4b9a91ffb9316d2e99" and "6ee0b8e1b328a8efde1532045cb89773c5aa2eb2" have entirely different histories.
857c9ae5dc
...
6ee0b8e1b3
@ -1,12 +0,0 @@
|
|||||||
---
|
|
||||||
title: Arch
|
|
||||||
description: Arch specific information
|
|
||||||
published: true
|
|
||||||
date: 2025-05-30T08:29:17.646Z
|
|
||||||
tags:
|
|
||||||
editor: markdown
|
|
||||||
dateCreated: 2025-05-30T08:29:17.646Z
|
|
||||||
---
|
|
||||||
|
|
||||||
# Arch
|
|
||||||
Arch specific information
|
|
||||||
@ -1,45 +0,0 @@
|
|||||||
---
|
|
||||||
title: Make Package
|
|
||||||
description: Information on how to make arch packages that can be used with pacman
|
|
||||||
published: true
|
|
||||||
date: 2025-05-30T14:18:47.130Z
|
|
||||||
tags:
|
|
||||||
editor: markdown
|
|
||||||
dateCreated: 2025-05-30T08:32:02.401Z
|
|
||||||
---
|
|
||||||
|
|
||||||
# Make Packages
|
|
||||||
|
|
||||||
In the root folder a [**PKGBUILD**](https://wiki.archlinux.org/title/PKGBUILD) file as to be created which contains configuration for the package.
|
|
||||||
|
|
||||||
|
|
||||||
When makepkg is run, these folders are created on the machine wich installs the package:
|
|
||||||
```
|
|
||||||
myapp/
|
|
||||||
├── PKGBUILD
|
|
||||||
├── src/ ← $srcdir
|
|
||||||
│ └── unpacked source files here
|
|
||||||
├── pkg/ ← $pkgdir lives here
|
|
||||||
│ └── myapp/...
|
|
||||||
└── myapp-1.0-1-x86_64.pkg.tar.zst ← the final package
|
|
||||||
```
|
|
||||||
|
|
||||||
* **$pkgdir** - Everything that needs to appear in the installed package must be placed here with the correct directory structure
|
|
||||||
|
|
||||||
* **$srcdir** - Refers to the directory where all source files are unpacked or copied by makepkg
|
|
||||||
|
|
||||||
# Connect Client to Custom Repo
|
|
||||||
|
|
||||||
Create the file
|
|
||||||
/etc/pacman.d/homerepo.conf
|
|
||||||
```
|
|
||||||
[homerepo]
|
|
||||||
SigLevel = Never
|
|
||||||
Server = http://192.168.1.101:3015/archrepo/x86_64
|
|
||||||
```
|
|
||||||
|
|
||||||
Then include in /etc/pacman.conf
|
|
||||||
|
|
||||||
```
|
|
||||||
Include = /etc/pacman.d/homerepo.conf
|
|
||||||
```
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
title: Systemd
|
|
||||||
description: Info about systemd
|
|
||||||
published: true
|
|
||||||
date: 2025-05-30T14:21:00.951Z
|
|
||||||
tags:
|
|
||||||
editor: markdown
|
|
||||||
dateCreated: 2025-05-30T14:20:35.881Z
|
|
||||||
---
|
|
||||||
|
|
||||||
# Systemd
|
|
||||||
|
|
||||||
## List all services
|
|
||||||
```
|
|
||||||
systemctl list-units --type=service
|
|
||||||
```
|
|
||||||
@ -2,7 +2,7 @@
|
|||||||
title: Home Server
|
title: Home Server
|
||||||
description: Home Server
|
description: Home Server
|
||||||
published: true
|
published: true
|
||||||
date: 2025-05-30T14:35:09.184Z
|
date: 2025-04-22T21:39:20.087Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: markdown
|
||||||
dateCreated: 2024-11-30T20:22:14.163Z
|
dateCreated: 2024-11-30T20:22:14.163Z
|
||||||
@ -30,8 +30,6 @@ The following software is hosted on the home server computer.
|
|||||||
- [qBittorrent](http://192.168.1.101:3001)
|
- [qBittorrent](http://192.168.1.101:3001)
|
||||||
- [Immich](http://192.168.1.101:2283)
|
- [Immich](http://192.168.1.101:2283)
|
||||||
- [Gitea](http://192.168.1.101:3020)
|
- [Gitea](http://192.168.1.101:3020)
|
||||||
- [File Server](http://192.168.1.101:3015/)
|
|
||||||
- [Status Panel](http://192.168.1.101:3010/)
|
|
||||||
- Wire Guard
|
- Wire Guard
|
||||||
- Logitech Media Server
|
- Logitech Media Server
|
||||||
- Postgres
|
- Postgres
|
||||||
|
|||||||
@ -1,30 +0,0 @@
|
|||||||
---
|
|
||||||
title: File Server
|
|
||||||
description: A simple python basd File server running on the home server
|
|
||||||
published: true
|
|
||||||
date: 2025-05-30T13:54:14.028Z
|
|
||||||
tags:
|
|
||||||
editor: markdown
|
|
||||||
dateCreated: 2025-05-30T13:53:42.334Z
|
|
||||||
---
|
|
||||||
|
|
||||||
# File Server
|
|
||||||
|
|
||||||
|
|
||||||
## Systemd
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
Description=Start a simple python file server on port 3015 mapping the Drive folder
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
ExecStart=/usr/bin/python -m http.server 3015 --bind 0.0.0.0
|
|
||||||
WorkingDirectory=/home/lukas/Drive
|
|
||||||
Restart=on-failure
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
|
|
||||||
```
|
|
||||||
Loading…
x
Reference in New Issue
Block a user