STB After Install

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 4

1.

Update repo indonesia


vi /etc/apt/sources.list
deb http://kartolo.sby.datautama.net.id/debian/ buster main contrib non-free
deb http://kartolo.sby.datautama.net.id/debian/ buster-updates main contrib
non-free
deb http://kartolo.sby.datautama.net.id/debian-security/ buster/updates main
contrib non-free

2. Install Pi Hole and Mikhmon


pi hole
git clone --depth 1 https://github.com/pi-hole/pi-hole.git Pi-hole
cd "Pi-hole/automated install/"
sudo bash basic-install.sh

sudo apt-get update


sudo apt-get upgrade
sudo bash basic-install.sh

reboot
cd "Pi-hole/automated install/"
sudo bash basic-install.sh

login, insert block list pi hole

vi /etc/cron.d/pihole > ganti 7 jadi *


16 3 * * 7 root PATH="$PATH:/usr/local/bin/" pihole updateGravity to
16 3 * * * root PATH="$PATH:/usr/local/bin/" pihole updateGravity

Update block list


https://block.energized.pro/blu/formats/domains.txt
https://block.energized.pro/bluGo/formats/domains.txt
https://block.energized.pro/porn/formats/domains.txt
https://block.energized.pro/extensions/regional/formats/domains.txt
https://block.energized.pro/extensions/porn-lite/formats/domains.txt

Mikhmon
upload file mikhmon ke /var/www/html/

beri hak akses ke file mikhmon


chown -R www-data:www-data /var/www/html/mikhmonv3
chmod -R 755 /var/www/html/mikhmonv3
vi /etc/resolv.conf , tambahkan "nameserver 8.8.8.8"
chmod -R 555 /etc/resolv.conf
service lighttpd restart
user : mikhmon pass : 1234

3. Install Install DNSCrypt-Proxy


cd /opt
wget https://github.com/DNSCrypt/dnscrypt-proxy/releases/download/2.0.42/
dnscrypt-proxy-linux_arm-2.0.42.tar.gz
wget https://github.com/DNSCrypt/dnscrypt-proxy/releases/download/2.1.1/
dnscrypt-proxy-linux_arm64-2.1.1.tar.gz STB
tar zxvf dnscrypt-proxy-linux_arm64-2.1.1.tar.gz

mv linux-arm64 dnscrypt-proxy
rm dnscrypt-proxy-linux_arm64-2.1.1.tar.gz
cd dnscrypt-proxy
cp example-dnscrypt-proxy.toml dnscrypt-proxy.toml
vi dnscrypt-proxy.toml
listen_addresses = ['127.0.0.1:53'] jadi listen_addresses =
['127.0.0.1:5335']

./dnscrypt-proxy -service install


systemctl enable dnscrypt-proxy
systemctl start dnscrypt-proxy

buka http://ip_pihole/admin/settings.php?tab=dns
Custom 1 (IPv4) jadi 127.0.0.1#5335

systemctl status dnscrypt-proxy.service >> cek service DNSCrypt

4. Configuring DNS-Over-HTTPS on Pi-hole


x64 bit
wget -O cloudflared
https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-
linux-arm64
sudo mv cloudflared /usr/local/bin
sudo chmod +x /usr/local/bin/cloudflared
cloudflared -v

x32 bit
cd /usr/local/bin/
wget https://bin.equinox.io/c/VdrWdbjqyF/cloudflared-stable-linux-arm.tgz
tar -xvzf cloudflared-stable-linux-arm.tgz
sudo cp ./cloudflared /usr/local/bin
sudo chmod +x /usr/local/bin/cloudflared
cloudflared -v

sudo useradd -s /usr/sbin/nologin -r -M cloudflared

sudo vi /etc/default/cloudflared
# Commandline args for cloudflared
CLOUDFLARED_OPTS=--port 5053 --upstream https://1.1.1.1/dns-query --upstream
https://1.0.0.1/dns-query

sudo chown cloudflared:cloudflared /etc/default/cloudflared


sudo chown cloudflared:cloudflared /usr/local/bin/cloudflared

sudo vi /etc/systemd/system/cloudflared.service

[Unit]
Description=cloudflared DNS over HTTPS proxy
After=syslog.target network-online.target

[Service]
Type=simple
User=cloudflared
EnvironmentFile=/etc/default/cloudflared
ExecStart=/usr/local/bin/cloudflared proxy-dns $CLOUDFLARED_OPTS
Restart=on-failure
RestartSec=10
KillMode=process

[Install]
WantedBy=multi-user.target

sudo systemctl enable cloudflared


sudo systemctl start cloudflared
sudo systemctl status cloudflared

dig @127.0.0.1 -p 5053 google.com cek DoH working or not

buka http://ip_pihole/admin/settings.php?tab=dns
Custom 1 (IPv4) jadi 127.0.0.1#5053

5. Mount Exterlan Hard disk


sudo apt-get install ntfs-3g
fdisk -l
blkid
mkdir /mnt/hdd buat folder untuk link hd external
mkdir /mnt/usb buat folder untuk link usb
mount /dev/sda1 /mnt/usb mount hd exterlan ke folder
mount /dev/sdb1 /mnt/hdd mount usb exterlan ke folder
vi /etc/fstab
UUID=01D8D54C7D4BCCA0 /mnt/usb ntfs-3g defaults 0 0 usb
UUID=64A4AFABA4AF7DE4 /mnt/hdd ntfs-3g defaults 0 0 hdd
UUID="ui id dari blkid" "mount di mana" ntfs-3g defaults 0 0
sudo mount -a

6. Install Transmission
apt-get install transmission-daemon
"/etc/init.d/transmission-daemon stop" or "systemctl stop transmission-
daemon.service"

Change the lines: /etc/transmission-daemon/settings.json


"rpc-authentication-required": true, to "rpc-authentication-required": false,
#This will disable to login authentication
"rpc-whitelist": "127.0.0.1", to "rpc-whitelist": "127.0.0.1,192.168.2.*",
#This will allow only device in the subnet
"download-dir": "/mnt/usb/transmission/"
#This folder where file complete
"incomplete-dir": "/mnt/usb/transmission/patch/"
#This folder where file incomplete

"/etc/init.d/transmission-daemon start" or "systemctl start transmission-


daemon.service"

7. Install miniDLNA
sudo apt-get update
sudo apt-get upgrade
apt-get install minidlna

vi /etc/minidlna.conf
#Ganti baris
"media_dir=/var/lib/minidlna" to "media_dir=/mnt/usb/minidlna"
"db_dir=/var/lib/minidlna" to "db_dir=/mnt/usb/minidlna/log"
"log_dir=/var/log" to "/mnt/usb/minidlna/log"
"friendly_name=" to "friendly_name=pi_hole"

sudo service minidlna restart


sudo service minidlna force-reload

8. Install emby

wget
https://github.com/MediaBrowser/Emby.Releases/releases/download/4.4.3.0/emby-
server-deb_4.4.3.0_armhf.deb
wget
https://github.com/MediaBrowser/Emby.Releases/releases/download/4.8.0.9/emby-
server-deb_4.8.0.9_arm64.deb STB
dpkg -i emby-server-deb_4.8.0.9_arm64.deb

http://localhost:8096/

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy