How to Install and Configure TVHeadend on Ubuntu 22.04
TVHeadend is an open-source TV streaming server that allows you to watch and record live TV. Follow these steps to install and configure TVHeadend on Ubuntu 22.04.
Step 1: Update System Packages
Before installing TVHeadend, update your system packages:
sudo apt update && sudo apt upgrade -y
Step 2: Add TVHeadend Repository
TVHeadend is not available in the default Ubuntu repositories, so you need to add the official PPA:
sudo add-apt-repository ppa:mamarley/tvheadend-git
Then, update the package list:
sudo apt update
Step 3: Install TVHeadend
Now, install TVHeadend using:
sudo apt install tvheadend -y
During the installation, you will be prompted to set up an administrator username and password. Make sure to remember these credentials.
Step 4: Start and Enable TVHeadend Service
After installation, start and enable the TVHeadend service:
sudo systemctl start tvheadend
sudo systemctl enable tvheadend
Step 5: Access TVHeadend Web Interface
TVHeadend provides a web-based interface for configuration. Open your browser and go to:
http://your-server-ip:9981
Log in using the administrator credentials you set during installation.
Step 6: Configure TV Tuners and Channels
Once logged in, follow these steps to configure TV tuners and channels:
- Go to the Configuration tab.
- Select DVB Inputs and configure your TV tuner.
- Scan for available channels and map them to services.
Step 7: Set Up Access Control
To manage user access, navigate to:
Configuration > Access Entries
Add or modify user permissions to control who can watch or manage TVHeadend.
Step 8: Start Watching TV
Once setup is complete, you can start watching TV using a compatible client like VLC or Kodi by opening the network stream:
http://your-server-ip:9981/playlist
Conclusion
You have successfully installed and configured TVHeadend on Ubuntu 22.04. Now you can enjoy live TV streaming and recording.