debmaker/README.MD

146 lines
3.1 KiB
Plaintext
Raw Normal View History

2022-01-23 22:00:54 +01:00
## DEBMAKER
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-01-23 22:00:54 +01:00
### Usage
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
2022-02-21 22:18:59 +01:00
. joplin-server2deb
2022-02-23 21:25:03 +01:00
debmaker_runAllStep
2022-01-23 22:00:54 +01:00
```
2022-02-21 22:18:59 +01:00
### packages available in shared repository
2022-01-23 22:03:16 +01:00
2022-02-21 22:18:59 +01:00
- [element-web](#element-web)
2022-02-20 23:39:01 +01:00
- [gotify](#gotify)
- [grocy](#grocy)
2022-02-21 22:18:59 +01:00
- [joplin-server](#joplin-server)
- [rss-bridge](#rss-bridge)
2022-02-20 23:39:01 +01:00
- [vaultwarden and vaultwarden-web](#vaultwarden-and-vaultwarden-web)
2022-02-21 22:18:59 +01:00
- [wallabag](#wallabag)
- [zigbee2mqtt](#zigbee2mqtt)
2022-02-21 22:18:59 +01:00
#### element-web
2022-02-03 22:51:24 +01:00
```bash
wget -qO - https://deb.lgy.fr/install.sh | bash
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-02-20 23:39:01 +01:00
#### gotify
```bash
apt install -y python wget ca-certificates
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 python 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-21 22:18:59 +01:00
#### joplin-server
```bash
apt install -y python wget ca-certificates
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
```
2022-02-03 23:03:40 +01:00
#### rss-bridge
```bash
wget -qO - https://deb.lgy.fr/install.sh | bash
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-20 23:39:01 +01:00
#### vaultwarden and vaultwarden-web
2022-01-23 22:13:15 +01:00
```bash
wget -qO - https://deb.lgy.fr/install.sh | bash
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
wget -qO - https://deb.lgy.fr/install.sh | bash
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
cp /usr/share/doc/rss-bridge/apache2-wallabag.conf /etc/apache2/site-available/wallabag.conf
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
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
```