Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/computate-org/computate_syncthing
https://github.com/computate-org/computate_syncthing
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/computate-org/computate_syncthing
- Owner: computate-org
- Created: 2021-09-08T21:52:44.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-08T19:09:00.000Z (over 2 years ago)
- Last Synced: 2024-11-05T15:38:38.395Z (3 months ago)
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Install syncthing
## Install the latest Python and setup a new Python virtualenv
```bash
sudo yum install -y git python3 python3-pip python3-virtualenv python3-libselinux python3-libsemanage python3-policycoreutils
virtualenv-3 ~/python
source ~/python/bin/activate
echo "source ~/python/bin/activate" | tee -a ~/.bashrc
```## Install the latest Ansible
```bash
pip install setuptools_rust wheel
pip install --upgrade pip
pip install ansible selinux setools
```## Install the syncthing ansible role
### Create a directory for the ansible role.
```bash
install -d ~/.ansible/roles/computate.computate_syncthing
```### Clone the syncthing ansible role.
```bash
git clone [email protected]:computate-org/computate_syncthing.git ~/.ansible/roles/computate.computate_syncthing
```## Run the syncthing ansible playbook to install the application locally (requires sudo privileges with -K).
```bash
cd ~/.ansible/roles/computate.computate_syncthing
ansible-playbook -K install.yml
```# Update firewall configuration
```bash
sudo firewall-cmd --zone=trusted --add-service=syncthing --permanent
sudo firewall-cmd --reload
```## Add trusted devices
```bash
sudo firewall-cmd --add-source 192.168.86.37/24 --zone trusted --permanent
sudo firewall-cmd --reload
```