debmaker/README.MD

314 lines
8.1 KiB
Plaintext
Raw Normal View History

2022-01-23 22:00:54 +01:00
## DEBMAKER
2022-03-06 20:54:47 +01:00
2022-02-21 22:18:59 +01:00
The main goal of this project is allow to create application from source without install compilation utility directly on the main system.
Compilation environnements are stores in temporary files.
All package are install with chroot environnement.
2022-01-23 22:03:16 +01:00
2022-03-06 20:54:47 +01:00
Currently debian packages are build, but other package can be build with this ways
Objectives :
- Create lowest debian lxc contener to limit backup size
- Easily upgrade application
2022-01-23 22:00:54 +01:00
### Usage
#### List app
To list all applications with debmaker script
```bash
./debmaker list
```
#### Create deb file
2022-02-21 22:18:59 +01:00
To create deb file you just need to run the bellow command :
2022-01-23 22:00:54 +01:00
```bash
./debmaker run <app>
2022-01-23 22:00:54 +01:00
```
after execution, .deb file is generate in 'dist' folder
2022-01-23 22:00:54 +01:00
#### Edit debmaker script
```bash
./debmaker edit <app>
```
#### Debug
2022-03-01 23:49:53 +01:00
To enter in temporary filesystem
```bash
./debmaker chroot <app>
2022-03-01 23:49:53 +01:00
```
2022-02-21 22:18:59 +01:00
### packages available in shared repository
2022-01-23 22:03:16 +01:00
2022-03-04 20:50:46 +01:00
- [adguardhome](#adguardhome) ([site](https://adguard.com/fr/adguard-home/overview.html)) ([src](https://github.com/AdguardTeam/AdguardHome))
2022-03-04 21:55:10 +01:00
- [authelia](#authelia) ([site](https://www.authelia.com/)) ([src](https://github.com/authelia/authelia))
2022-03-04 22:59:45 +01:00
- [element-web](#element-web) ([site](https://element.io/)) ([src](https://github.com/vector-im/element-web))
2022-03-04 21:55:10 +01:00
- [gitea](#gitea) ([site](https://gitea.io)) ([src](https://github.com/go-gitea/gitea/))
- [glpi](#glpi) ([site](http://glpi-project.org/)) ([src](https://github.com/glpi-project/glpi))
2022-03-04 21:55:10 +01:00
- [gotify](#gotify) ([site](https://gotify.net/)) ([src](https://github.com/gotify))
- [grocy](#grocy) ([site](https://grocy.info/)) ([src](https://github.com/grocy/grocy))
- [joplin desktop](#joplin) ([site](https://joplinapp.org/)) ([src](https://github.com/laurent22/joplin))
- [joplin-server](#joplin-server) ([site](https://joplinapp.org/)) ([src](https://github.com/laurent22/joplin))
- [mautrix-syncproxy and mautrix-wsproxy](#mautrix-syncproxy-and-mautrix-wsproxy) ([site](https://docs.mau.fi/bridges/go/imessage/android/setup.html)) ([src](https://github.com/mautrix/syncproxy)) ([src](https://github.com/mautrix/wsproxy))
2022-03-06 20:46:42 +01:00
- [mautrix-whatsapp](#mautrix-whatsapp) ([site](https://docs.mau.fi/bridges/go/whatsapp/index.html)) ([src](https://github.com/mautrix/whatsapp))
2022-03-04 21:55:10 +01:00
- [metabase](#metabase) ([site](https://www.metabase.com/)) ([src](https://github.com/metabase/metabase))
- [rss-bridge](#rss-bridge) ([site](https://github.com/rss-bridge/rss-bridge)) ([src](https://github.com/RSS-Bridge/rss-bridge))
- [tt-rss](#tt-rss) ([site](https://tt-rss.org/)) ([src](https://git.tt-rss.org/fox/tt-rss))
- [vaultwarden and vaultwarden-web](#vaultwarden-and-vaultwarden-web) ([site](https://github.com/dani-garcia/vaultwarden)) ([src](https://github.com/dani-garcia/vaultwarden))
- [wallabag](#wallabag) ([site](https://www.wallabag.it/)) ([src](https://github.com/wallabag/wallabag))
- [zigbee2mqtt](#zigbee2mqtt) ([site](https://www.zigbee2mqtt.io/)) ([src](https://github.com/Koenkk/zigbee2mqtt))
#### adguardhome
2022-02-27 00:56:52 +01:00
```bash
apt install -y wget ca-certificates
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
apt-get install -y adguardhome
systemctl enable --now adguardhome
#configuration with http://<ip>:3000
2022-02-27 00:56:52 +01:00
```
2022-02-25 00:22:30 +01:00
#### authelia
2022-02-27 00:56:52 +01:00
```bash
2022-02-25 00:22:30 +01:00
apt install -y wget ca-certificates
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
apt-get install -y authelia
#Edit /etc/authelia/configuration.yml
systemctl enable --now authelia
2022-02-27 00:56:52 +01:00
```
2022-02-25 00:22:30 +01:00
2022-02-21 22:18:59 +01:00
#### element-web
2022-02-03 22:51:24 +01:00
```bash
apt install -y wget ca-certificates
2022-02-03 22:51:24 +01:00
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
2022-02-21 22:18:59 +01:00
apt install element-web
2022-02-03 22:51:24 +01:00
2022-02-21 22:18:59 +01:00
# sample configuration for apache2
2022-02-03 22:51:24 +01:00
2022-02-21 22:18:59 +01:00
cp /usr/share/doc/element-web/apache2-element-web.conf /etc/apache2/sites-available/element-web.conf
a2ensite element-web
# edit /etc/apache2/sites-available/element-web.conf
# edit /etc/element-web/config.json
systemctl restart apache2
2022-02-03 22:51:24 +01:00
```
2022-03-04 22:59:45 +01:00
#### gitea
```bash
apt install -y wget ca-certificates
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
apt-get install -y gitea
systemctl enable --now gitea
#configuration with http://<ip>:3000
```
#### glpi
```bash
apt install -y wget ca-certificates
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
apt install glpi libapache2-mod-php apache2 -y
gzip -dc /usr/share/doc/glpi/apache2-glpi.conf.gz > /etc/apache2/sites-available/glpi.conf
2022-03-04 22:59:45 +01:00
#edité le fichier de configuration apache
nano /etc/apache2/sites-available/glpi.conf
a2ensite glpi
systemctl reload apache2
#configuration with http://<ip>
2022-03-04 22:59:45 +01:00
```
2022-02-20 23:39:01 +01:00
#### gotify
```bash
apt install -y wget ca-certificates
2022-02-20 23:39:01 +01:00
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
apt-get install -y gotify-server
#Edit /etc/gotify/config.yml
systemctl enable --now gotify
```
2022-02-03 23:03:40 +01:00
#### grocy
```bash
apt install -y wget ca-certificates
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
apt-get install -y grocy
#Edit /etc/grocy/config.php
# sample configuration for apache2 + php fpm
apt install apache2 php-fpm
a2enmod proxy_fcgi setenvif rewrite
a2enconf php8.1-fpm
cp /usr/share/doc/grocy/apache2-grocy.conf /etc/apache2/sites-available/grocy.conf
a2ensite grocy
systemctl restart apache2
```
2022-02-28 23:38:35 +01:00
#### joplin
```bash
apt install -y wget ca-certificates
2022-02-28 23:38:35 +01:00
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
2022-02-28 23:38:35 +01:00
apt-get install -y joplin
```
2022-02-21 22:18:59 +01:00
#### joplin-server
```bash
apt install -y wget ca-certificates
2022-02-21 22:18:59 +01:00
wget -qO - https://deb.lgy.fr/install.sh | bash
wget -qO - https://deb.nodesource.com/setup_16.x | bash
apt-get update
apt-get install -y joplin-server
#Edit /etc/default/joplin-server
systemctl enable --now joplin-server
```
#### mautrix-syncproxy and mautrix-wsproxy
```bash
apt install -y wget ca-certificates
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
apt-get install -y mautrix-syncproxy mautrix-wsproxy
#Edit /etc/mautrix-wsproxy.yaml and /etc/default/mautrix-syncproxy
systemctl enable --now mautrix-wsproxy mautrix-syncproxy
```
2022-03-06 20:46:42 +01:00
#### mautrix-whatsapp
```bash
apt install -y wget ca-certificates
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
apt-get install -y mautrix-whatsapp
#see https://docs.mau.fi/bridges/go/whatsapp/setup/index.html#configuring-and-running
systemctl enable --now mautrix-whatsapp
```
2022-03-01 23:49:53 +01:00
#### metabase
```bash
apt install -y wget ca-certificates
2022-03-01 23:49:53 +01:00
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
apt-get install -y metabase openjdk-17-jre
systemctl enable --now metabase
#configuration with http://<ip>:3000
2022-03-01 23:49:53 +01:00
```
2022-02-03 23:03:40 +01:00
#### rss-bridge
```bash
apt install -y wget ca-certificates
2022-02-03 23:03:40 +01:00
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
2022-02-03 23:03:40 +01:00
apt install rss-bridge
# sample configuration for apache2
apt install libapache2-mod-php
2022-02-21 22:18:59 +01:00
cp /usr/share/doc/rss-bridge/apache2-rss-bridge.conf /etc/apache2/site-available/rss-bridge.conf
a2ensite rss-bridge
2022-02-03 23:03:40 +01:00
2022-02-21 22:18:59 +01:00
# edit /etc/apache2/site-available/rss-bridge.conf
2022-02-03 23:03:40 +01:00
systemctl restart apache2
```
2022-02-25 00:16:47 +01:00
#### tt-rss
```bash
apt install -y wget ca-certificates
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
apt-get install -y tt-rss
#Edit /etc/tt-rss/config.php
systemctl enable --now tt-rss
# sample configuration for apache2 + php fpm
apt install apache2 php-fpm
a2enmod proxy_fcgi setenvif
a2enconf php7.4-fpm
2022-03-02 00:02:05 +01:00
cp /usr/share/doc/tt-rss/apache2-tt-rss.conf /etc/apache2/sites-available/tt-rss.conf
2022-02-25 00:16:47 +01:00
#edit /etc/apache2/sites-available/tt-rss.conf
a2ensite tt-rss
systemctl restart apache2
```
2022-02-20 23:39:01 +01:00
#### vaultwarden and vaultwarden-web
2022-01-23 22:13:15 +01:00
```bash
apt install -y wget ca-certificates
2022-01-23 22:13:15 +01:00
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
2022-01-23 22:13:15 +01:00
apt install vaultwarden vaultwarden-web
#Edit /etc/default/vaultwarden
systemctl enable --now vaultwarden
```
2022-02-21 22:18:59 +01:00
#### wallabag
2022-01-23 22:13:15 +01:00
```bash
apt install -y wget ca-certificates
2022-01-23 22:13:15 +01:00
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
2022-02-21 22:18:59 +01:00
apt install wallabag
2022-01-23 22:13:15 +01:00
2022-02-21 22:18:59 +01:00
# sample configuration for apache2
2022-01-23 22:13:15 +01:00
2022-02-21 22:18:59 +01:00
apt install libapache2-mod-php
2022-03-01 23:58:22 +01:00
cp /usr/share/doc/wallabag/apache2-wallabag.conf /etc/apache2/site-available/wallabag.conf
2022-02-21 22:18:59 +01:00
a2ensite wallabag
2022-02-21 22:18:59 +01:00
# edit /etc/apache2/site-available/wallabag.conf
2022-02-21 22:18:59 +01:00
systemctl restart apache2
```
#### zigbee2mqtt
```bash
2022-02-21 22:18:59 +01:00
apt install -y wget ca-certificates
wget -qO - https://deb.lgy.fr/install.sh | bash
apt-get update
2022-02-21 22:18:59 +01:00
apt-get install -y zigbee2mqtt
2022-02-21 22:18:59 +01:00
#Edit /etc/zigbee2mqtt/configuration.yaml
2022-02-21 22:18:59 +01:00
systemctl enable --now zigbee2mqtt
```