No project description provided
Project description
Tirsvad CMS - Linux Server Setup
Quick webserver setup.
Getting Started
Need a server with debian linux compatibel distibution and root access.
I am using a Linode VP server account. Get one here from 5$ a month https://www.linode.com/?r=a60fb437acdf27a556ec0474b32283e9661f2561
First step
debian
apt-get update
locale-gen && export LC_ALL="en_US.UTF-8" && apt-get -y install curl
Default server setup:
curl --output serverSetup.tar.gz -L https://api.github.com/repos/TirsvadCMS-Scripts/LinuxServerSetup/tarball
tar -xzf serverSetup.tar.gz "$(tar -tzf serverSetup.tar.gz | head -1 )src" --strip 2
cd LinuxServerSetup
python3 install.py --strip-components 2
Manuel server setup:
curl --output serverSetup.tar.gz -L https://api.github.com/repos/TirsvadCMS-Scripts/LinuxServerSetup/tarball
tar -xzf serverSetup.tar.gz "$(tar -tzf serverSetup.tar.gz | head -1 )src" --strip 2
cd LinuxServerSetup
change settings.sh file as needed. If not, you will get a default server.
python3 install.py --strip-components 2
nano conf/settings.yaml
cd /root/linuxServerSetup && . .env/bin/activate && python3 serverSetup.py
Example of adding settings file to script
curl -L https://api.github.com/repos/TirsvadCLI-Tools/LinuxServerSetup/tarball | tar zx -C /root/ --strip-components 2
cd LinuxServerSetup
URL=https://github.com/TirsvadCMS-Bashscripts/LinuxServerSetupDefaultConfig/tarball/master
./setup.sh --url $URL --strip-components 2
Features
- Hardness server
- ssh
- option remove password login and root login
- firewall enabled (nftables)
- Fail2ban
- optional
- create a user with sudo priviliged
- ssh
- Nginx
- compiled edition with RTMP for live stream / broadcasting
- stunnel for RTPMS workaround. Facebook stream using secure connection via port 443.
- Certbot (LetsEncrypt)
- adding ssl certificate
TODO
- rtmp user access via django
- access right for yt, fb and others streaming services
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file LinuxServerSetup-TirsvadCLI-0.3.tar.gz.
File metadata
- Download URL: LinuxServerSetup-TirsvadCLI-0.3.tar.gz
- Upload date:
- Size: 27.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac1dfe17f0fc0365d5a364884c6ab62755b5376bf9e5fae0614acf8878623417
|
|
| MD5 |
d56d98381b1be6e106712f0aca45c5f4
|
|
| BLAKE2b-256 |
3519d5c27524db23b4a08cdcb8e93144cf6936d3d171ce68db3fc86ce1f9e7bd
|
File details
Details for the file LinuxServerSetup_TirsvadCLI-0.3-py3-none-any.whl.
File metadata
- Download URL: LinuxServerSetup_TirsvadCLI-0.3-py3-none-any.whl
- Upload date:
- Size: 31.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2540e1da92ab794a27523e6f4d94e69a09fcb3ec9afea90c2753ccbf28882d25
|
|
| MD5 |
868e6a0508817100ea0ff8f3031675ef
|
|
| BLAKE2b-256 |
5179a8baf044e6dc3e846ebf695151c34d97b49be962a405edb68db18449fb95
|