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
Close
Hashes for LinuxServerSetup-TirsvadCLI-0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac1dfe17f0fc0365d5a364884c6ab62755b5376bf9e5fae0614acf8878623417 |
|
MD5 | d56d98381b1be6e106712f0aca45c5f4 |
|
BLAKE2b-256 | 3519d5c27524db23b4a08cdcb8e93144cf6936d3d171ce68db3fc86ce1f9e7bd |
Close
Hashes for LinuxServerSetup_TirsvadCLI-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2540e1da92ab794a27523e6f4d94e69a09fcb3ec9afea90c2753ccbf28882d25 |
|
MD5 | 868e6a0508817100ea0ff8f3031675ef |
|
BLAKE2b-256 | 5179a8baf044e6dc3e846ebf695151c34d97b49be962a405edb68db18449fb95 |