os:linux:fedora
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
os:linux:fedora [2022/02/10 21:49] – created titannet | os:linux:fedora [2022/03/28 20:21] (current) – titannet | ||
---|---|---|---|
Line 2: | Line 2: | ||
< | < | ||
- | firewall-cmd --zone=public --add-port=3000/ | + | firewall-cmd --zone=public --add-port=3000/ |
+ | firewall-cmd --add-service=http | ||
+ | | ||
+ | |||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | <file html index.html> | ||
+ | < | ||
+ | <html lang=" | ||
+ | |||
+ | < | ||
+ | <meta charset=" | ||
+ | <meta name=" | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <file bash lkt.conf> | ||
+ | server { | ||
+ | listen 80; | ||
+ | listen [::]:80; | ||
+ | root / | ||
+ | index index.html; | ||
+ | server_name lieblichknuffeltal.de www.lieblichknuffeltal.de; | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | #selinux doesn' | ||
+ | chcon -Rt httpd_sys_content_t /var/www | ||
+ | |||
+ | dnf install python3-certbot-nginx | ||
+ | certbot -d gitea.lieblichknuffeltal.de --expand --nginx | ||
+ | |||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | cat / | ||
+ | dnf whatprovides audit2why | ||
+ | dnf install | ||
+ | |||
+ | cat / | ||
+ | setsebool -P httpd_can_network_connect 1 | ||
+ | # or [doesn' | ||
+ | semanage port --add --type http_port_t --proto tcp 3000 | ||
+ | semanage port -l | grep 3000 | ||
</ | </ |
os/linux/fedora.1644526182.txt.gz · Last modified: 2022/02/10 21:49 by titannet