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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24888247f94856d4b9a7fc9f41d7a8e8e696c3378568e52d6d7a9d0dc757f577 |
|
MD5 | 59558819427121895d4c289a1d39e7ec |
|
BLAKE2b-256 | ad9357798600d75eccbcfb530d69aee5e1dba809c012819f89282d656a0bddda |
Close
Hashes for LinuxServerSetup_TirsvadCLI-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 473fe2f4b7504b82db65af00a4186fa00739a3d71ddc4c5a529c711228b4ecd2 |
|
MD5 | 3f5677f48bc89ea1f0914918a171fa7e |
|
BLAKE2b-256 | cfbd1cb97ce9c474d8e397f9cbb3b5c54771c66d022b14c457e135dd374ec027 |