Synology: Difference between revisions

From The Brain Rot MediaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
TEST
__TOC__


== '''<u>Visual Editor</u>''' ==
== '''<u>Visual Editor</u>''' ==
 
After installing MediaWiki the "Visual Editor" error, after a long debug and search just enable '''zlib'''.   
After installing MediaWiki the "Visual Editor" error, after a long debug and search just enable '''zlib'''.   


[[File:VisualEditor-error.png|left|thumb|349x349px]]
[[File:VisualEditor-error.png|thumb|349x349px|none]]  
 
[[File:Zlib.png|left|thumb|966x966px]]
 
 
 
 
 
 
 
 


[[File:Zlib.png|thumb|966x966px|none]]




== '''<u>Docker Pi-Hole ''' ==
'''<u>SSH NAS</u>'''<syntaxhighlight lang="text" line="1">
docker network create \
  --driver macvlan \
  --subnet=192.168.50.0/24 \
  --gateway=192.168.50.1  \
  --opt parent=ovs_eth2 vlan50
</syntaxhighlight>yaml<syntaxhighlight lang="yaml" line="1">
services:
  pihole:
    image: pihole/pihole:latest
    container_name: pihole-macvlan
    cap_add:
      - CAP_NET_RAW
      - CAP_NET_BIND_SERVICE
      - CAP_CHOWN
    environment:
      - PIHOLE_UID=xxxx #CHANGE_TO_YOUR_UID
      - PIHOLE_GID=xxxx #CHANGE_TO_YOUR_GID
      - TZ=Europe/Amsterdam #CHANGE_TO_YOUR_TZ
      - WEBPASSWORD=xxxx #CHANGE_TO_YOUR_Password
      - DNSMASQ_LISTENING=local
      - WEB_PORT=8000
      - DNSMASQ_USER=pihole
      - FTLCONF_LOCAL_IPV4=xxx.xxx.xxx.xxx #CHANGE_TO_YOUR_IP
    volumes:
      - /volume1/docker/pihole/dnsmasq.d:/etc/dnsmasq.d
      - /volume1/docker/pihole/pihole:/etc/pihole
    networks:
      vlan50: #CHANGE_TO_YOUR_NetworkName
        ipv4_address: xxx.xxx.xxx.xxx #CHANGE_TO_YOUR_IP
    restart: always


 
networks:
 
  vlan50:
 
    name: "XXXX" #CHANGE_TO_YOUR_Name_Line_22
 
    external: true
 
</syntaxhighlight>Network
 
[[File:Pi-hole network .png|none|thumb]]
 
 
 
 
 
 
 
 
 
 
== '''<u>Docker Pi-Hole ''' ==

Latest revision as of 14:04, 16 January 2025

Visual Editor

After installing MediaWiki the "Visual Editor" error, after a long debug and search just enable zlib.

VisualEditor-error.png
Zlib.png


Docker Pi-Hole

SSH NAS

	docker network create \
  --driver macvlan \
  --subnet=192.168.50.0/24 \
  --gateway=192.168.50.1  \
  --opt parent=ovs_eth2 vlan50

yaml

services:
  pihole:
    image: pihole/pihole:latest
    container_name: pihole-macvlan
    cap_add:
      - CAP_NET_RAW
      - CAP_NET_BIND_SERVICE
      - CAP_CHOWN
    environment:
      - PIHOLE_UID=xxxx #CHANGE_TO_YOUR_UID
      - PIHOLE_GID=xxxx #CHANGE_TO_YOUR_GID
      - TZ=Europe/Amsterdam #CHANGE_TO_YOUR_TZ
      - WEBPASSWORD=xxxx #CHANGE_TO_YOUR_Password
      - DNSMASQ_LISTENING=local
      - WEB_PORT=8000
      - DNSMASQ_USER=pihole
      - FTLCONF_LOCAL_IPV4=xxx.xxx.xxx.xxx #CHANGE_TO_YOUR_IP
    volumes:
      - /volume1/docker/pihole/dnsmasq.d:/etc/dnsmasq.d
      - /volume1/docker/pihole/pihole:/etc/pihole
    networks:
      vlan50: #CHANGE_TO_YOUR_NetworkName
        ipv4_address: xxx.xxx.xxx.xxx #CHANGE_TO_YOUR_IP
    restart: always

networks:
  vlan50:
    name: "XXXX" #CHANGE_TO_YOUR_Name_Line_22
    external: true

Network

Pi-hole network .png