-
(Tautulli 설치) Monitor your Plex Media Server with TautulliIT 2020. 4. 25. 22:40반응형
윈도우에 타우툴리를 설치하려면 파이썬 2.7 버전이 먼저 설치되어 있어야 합니다.
PLEX PASS(유료구독자)이시면 굳이 설치할 필요가 없겠지만,
유료에 맞먹는 모니터링 기능을 사용하고 싶다면 한 번 설치해 봅시다.
아래 본인의 운영체제에 맞는 설치법을 잘 따라 해 보시면 되는데요.
저는 Windows에 Method 2 기준으로 설치 성공했습니다.
잘 되긴 하는데, 언제부턴가 최신 버젼인데도 계속 update 알림이 떠서 좀 난감하네요.
출처 : https://github.com/Tautulli/Tautulli-Wiki/wiki/Installation
This guide assume you have Python 2.7 installed already. Python 3.x is not supported.
Windows
- Install the latest version of Python 2.7.17. Download the Windows x86-64 MSI installer and complete the installation with all the default options.
- Method 1 (easy):
- Download Tautulli from GitHub: https://github.com/Tautulli/Tautulli/zipball/master
- Extract the ZIP file.
- Double click Tautulli.py.
- Tautulli will be loaded in your browser or listening on http://localhost:8181.
- To run Tautulli in the background on startup without the console window, refer to Install as a daemon.
- Method 2 (preferred):
- Go to https://gitforwindows.org/ and download git.
- Run the installer, select all the defaults except for the section called "Adjusting your PATH environment" - here select "Git from the command line and also from 3rd-party software".
- Complete the rest of the installation with the default options.
- Right click on your desktop and select "Git Gui".
- Select "Clone Existing Repository".
- In the "Source Location" enter: https://github.com/Tautulli/Tautulli.git
- In the "Target Directory" enter a new folder where you want to install Tautulli to (e.g. C:\Tautulli).
- Click "Clone".
- When it's finished a Git Gui windows will appear, just close this Window.
- Browse to where you cloned the Tautulli repository (e.g. C:\Tautulli) in Windows Explorer.
- Double click Tautulli.py to start Tautulli.
- Tautulli will be loaded in your browser or listening on http://localhost:8181.
- To run Tautulli in the background on startup without the console window, refer to Install as a daemon.
Tautulli will be installed to /Applications/Tautulli
macOS
- Method 1 (easy):
- Download Tautulli from GitHub: https://github.com/Tautulli/Tautulli/zipball/master
- Extract the zip to /Applications/Tautulli. Make sure you extract the files directly in the root.
- Open a terminal
- Type: cd /Applications/Tautulli
- Method 2 (preferred):
- Open a terminal
- Install Git. This can be done via xcode-select --install
- Type: cd /Applications/
- Type: git clone https://github.com/Tautulli/Tautulli.git
- Type: cd Tautulli
- Type: python Tautulli.py to start Tautulli
- Tautulli will be loaded in your browser or listening on http://localhost:8181.
- To run Tautulli in the background on startup, refer to Install as a daemon
Tautulli will be installed to /opt/Tautulli.
Linux
- Open a terminal
- Install Git
- Ubuntu/Debian: sudo apt-get install git-core
- Fedora: sudo yum install git
- Install prerequisites:
- Ubuntu/Debian: sudo apt-get install python python-setuptools tzdata
- Fedora: sudo yum install python python2-setuptools
- Type: cd /opt
- Type: sudo git clone https://github.com/Tautulli/Tautulli.git
- Optional:
- Ubuntu/Debian: sudo addgroup tautulli && sudo adduser --system --no-create-home tautulli --ingroup tautulli
- CentOS/Fedora: sudo adduser --system --no-create-home tautulli
- sudo chown tautulli:tautulli -R /opt/Tautulli
- Type: cd Tautulli
- Type: python Tautulli.py to start Tautulli
- Tautulli will be loaded in your browser or listening on http://localhost:8181
- To run Tautulli in the background on startup, refer to Install as a daemon
Tautulli will be installed to /usr/local/share/Tautulli.
FreeBSD
- Open a terminal
- Install prerequisites: sudo pkg install python2 py27-setuptools py27-sqlite3 py27-openssl py27-pycryptodome security/ca_root_nss git-lite
- Type: cd /usr/local/share/
- Type: sudo git clone https://github.com/Tautulli/Tautulli.git
- Fix permissions:
- Allow all users to run: sudo chmod -R 777 Tautulli OR
- Allow only a certain user to run: sudo chown -R tautulli:tautulli Tautulli OR
- If using the pkg version of plexmediaserver use: sudo chown -R plex:plex Tautulli
- Type: cd Tautulli
- Type: python2 Tautulli.py to start Tautulli
- Tautulli will be loaded in your browser or listening on http://localhost:8181
- To run Tautulli in the background on startup, refer to Install as a daemon
Instructions by Supa on the FreeNAS forums.
FreeNAS
Tautulli will be installed to /usr/local/share/Tautulli.
- Create a new jail for Tautulli (you can also install it within the PMS jail if you wish)
- Open the jail shell.
- Install prerequisites: pkg install python2 py27-setuptools py27-sqlite3 py27-openssl py27-pycryptodome security/ca_root_nss git-lite
- Type: cd /usr/local/share/
- Type: git clone https://github.com/Tautulli/Tautulli.git
- Fix permissions:
- Allow all users to run: chmod -R 777 Tautulli OR
- Allow only a certain user to run: chown -R user:group Tautulli
- Type: cd Tautulli
- Type: python2 Tautulli.py to start Tautulli
- You should be able to access Tautulli from your computer by going to http://[JAIL-IP]:8181. You can find the jail's IP address using ifconfig.
- To run Tautulli in the background on startup, refer to Install as a daemon
Docker
For shell access while the container is running run docker exec -it tautulli bash.
Usage
Parameters are split into two halves separated by a colon. The left side represents the host and the right side the container.
Parameters
Example: -p external:internal - This shows the port mapping from internal to external of the container. So -p 8181:8181 would expose port 8181 from inside the container to be accessible from the host's IP on port 8181. <host_ip>:8181">http://<host_ip>:8181 would show you what's running INSIDE the container on port 8181.
When using data volumes (-v flags) permissions issues can arise between the host OS and the container. To avoid this issue you can specify the user PUID and group PGID. Ensure the data volume directory on the host is owned by the same user you specify.
User / Group Identifiers:
In this instance PUID=1001 and PGID=1001. To find yours use id user as below:
You can easily install Tautulli on Synology devices using Docker. Depending on your Synology device you may or may not have Docker pre-installed. If your device is 'unsupported' (i.e. Docker is not pre-installed or downloadable through the Synology Package Center), follow the guide here to install it.
Synology
Once you have Docker on your Synology, add the official image for Tautulli. This is done by opening the Docker program and searching the Registry tab for Tautulli. At the time of this write-up, the interface looked like this. The official image is named tautulli/tautulli and it may not be the first option listed. Double-click the image entry to download it. Once downloaded you will see the image show up under your Image tab. Before installing the image you will need some additional user information.
Depending on your preference, you can create a unique user on your system for Tautulli, or you can use the default admin user created during your first start-up. You will need the UID and GID of whatever user you have chosen. The steps to obtain these are as follows:
- SSH into your system using PuTTy (if on Windows) or through Terminal (if on Linux or Mac). Be sure to use the appropriate username when logging in.
- If you're having trouble with this, make sure that SSH is enabled in your Terminal and SNMP settings in your Synology Control Panel
- Type id
- This will return a line with the uid of that user and their primary group gid.
Optional: If you want to be able to view the Plex logs inside Tautulli you will need to add the folder containing those logs to the Tautulli container. You will likely not see the Plex folder under your shares. This is because (for some reason) the folder is hidden by default. To unhide the folder:
- Go to Control Panel - Shared Folders
- Edit the Plex share.
- Add your username as R permission
- Save the changes
You may need to restart your DiskStation for the change to take effect.
Next, back in the Docker window, double click your tautulli/tautulli:latest image to open the Create Container window. On the first menu, name your container whatever you want as long as it is identifiable to you. Next, click Advanced Settings to open a new window. Next, follow the instructions for the following tabs:
- Advanced Settings:
- Enable Enable auto-restart
- If you wish, create a shortcut on the desktop
- Volume:
- Click Add Folder and add the following paths and corresponding Mount Paths. Only enable read-only on the Plex logs mount.
- Port Settings:
- Change the Local Port to 8181 to match the Container Port. For some reason the default vale of Auto almost never works.
- Environment:
- Add the following variables and their respective value
If your container doesn't immediately run, launch it from the Docker window and give it a few dozen seconds to start completely. Your Tautulli installation should now be accessible via port 8181 on your DiskStation's local IP address. You can find this under Control Panel -> Network -> Network Interface under LAN1 or LAN2. For example if it shows 192.168.0.5, then Tautulli can be found at http://192.168.0.5:8181/.
The packages below are created and maintained by a third party. For support, please contact the creator.
You can install Tautulli on ReadyNAS devices using the WD package by Tfl.
Western Digital
You can install Tautulli on QNAP devices using the .qpkg by QNAP_Stephane:
QNAP
You can install Tautulli on ReadyNAS devices using the ReadyNAS app by Mhynlo.
ReadyNAS
You can install Tautulli on Thecus devices using the Thecus app by outkastm.
Thecus NAS
You can install Tautulli on ArchLinux using the AUR package by fryfrog/Sonic-Y3k.
ArchLinux728x90반응형'IT' 카테고리의 다른 글
VMWARE로 Windows PC에 macOS 10.15 카탈리나 Catalina 설치 (1) (0) 2020.04.25 무료 인터넷 라디오/방송국 CLOVER.FM (0) 2020.04.25 Plex 설치와 활용 (0) 2020.04.25 추억의 고전 PC게임 Web으로 즐기기 (0) 2020.04.25 인터넷에 공개된 책을 찾아서 읽어보자 (0) 2020.04.25