Compare commits
30 Commits
6ee0b8e1b3
...
857c9ae5dc
| Author | SHA1 | Date | |
|---|---|---|---|
| 857c9ae5dc | |||
| 2eb818b583 | |||
| 985bdd47d7 | |||
| 28f8ec2393 | |||
| a44de8a40a | |||
| f57b9891da | |||
| 438df5d03d | |||
| 709ddfe3f9 | |||
| 4776d4e319 | |||
| e5d7bba1dd | |||
| 2e0d26bba6 | |||
| 3c12360a30 | |||
| 4923d68565 | |||
| 3aeb62bda8 | |||
| 3fcea184f0 | |||
| 4cdd47f982 | |||
| 234e71fada | |||
| 86f0a00af2 | |||
| 54b4710b15 | |||
| fac0c30c14 | |||
| 9c66f65278 | |||
| 78150bcb00 | |||
| 8cacdde29b | |||
| 8bbcc2acf8 | |||
| 37d1d4d9d8 | |||
| 3a0f3e4cab | |||
| 38a7c090cc | |||
| f566190b1d | |||
| e55b83713d | |||
| df116038d5 |
12
Linux/Arch.md
Normal file
12
Linux/Arch.md
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
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
|
||||
45
Linux/Arch/make-package.md
Normal file
45
Linux/Arch/make-package.md
Normal file
@ -0,0 +1,45 @@
|
||||
---
|
||||
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
|
||||
```
|
||||
16
Linux/systemd.md
Normal file
16
Linux/systemd.md
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
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
|
||||
description: Home Server
|
||||
published: true
|
||||
date: 2025-04-22T21:39:20.087Z
|
||||
date: 2025-05-30T14:35:09.184Z
|
||||
tags:
|
||||
editor: markdown
|
||||
dateCreated: 2024-11-30T20:22:14.163Z
|
||||
@ -30,6 +30,8 @@ The following software is hosted on the home server computer.
|
||||
- [qBittorrent](http://192.168.1.101:3001)
|
||||
- [Immich](http://192.168.1.101:2283)
|
||||
- [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
|
||||
- Logitech Media Server
|
||||
- Postgres
|
||||
|
||||
30
home/server/file-server.md
Normal file
30
home/server/file-server.md
Normal file
@ -0,0 +1,30 @@
|
||||
---
|
||||
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