Tag: wsl
-
Install Pi-hole on WSL2 and use externally with Tailscale
Use your devices with Pi-hole when not connected to your LAN. Pi-hole is normally configured on your router or on a separate device on your LAN (e.g., Raspberry Pi) so that all devices connected to your LAN (Wi-Fi) can use it. But this doesn’t help when you’re not connected to your home network. To use…
-
Install Nextcloud on WSL2 and access anywhere with Tailscale
Installing Nextcloud on WSL2 Nextcloud requires Apache server, PHP and MariaDB to run. You can install the required packages using the Linux package manager in WSL2. This guide assumes that you have Ubuntu installed on WSL2 but the steps are the same for other distros, only the installation commands will differ. Install the required LAMP…
-
Install Tailscale on WSL2
Tailscale is your own personal VPN that opens up a lot of possibilities. A private VPN gives you access to all your devices even when you’re not connected to the same local network. Tailscale gives your device a “static” IP that you can use to connect to it from anywhere. This lets you set up…
-
Start WSL cron in a hidden window
Enable cron to run without asking for password Normally running sudo service cron start in WSL will ask for the sudo password. This is an issue when we want to run cron from the script below. To fix this, we need to enable cron service to run without asking for the password by adding it…