ubuntu 26.04
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||

|
||||
|
||||
- [x] Debian 13 (trixie) supported
|
||||
- [x] Debian 13 (trixie) and Ubuntu 26.04 LTS (raccoon) supported
|
||||
- [x] nginx 1.30.0
|
||||
- [x] HTTP/3 (QUIC) via AWS-LC
|
||||
- [x] ModSecurity v3 (libmodsecurity)
|
||||
@@ -11,38 +11,55 @@
|
||||
- [x] Cookie-based challenge
|
||||
- [x] [Versions List](https://git.julio.al/theraw/The-World-Is-Yours/src/branch/master/version)
|
||||
|
||||
## Easy install
|
||||
## Easy install
|
||||
|
||||
### Debian 13 (trixie)
|
||||
```bash
|
||||
sudo install -d /etc/apt/keyrings
|
||||
sudo curl -fsSL https://apt.julio.al/repository/public/keys/raweb.asc \
|
||||
-o /etc/apt/keyrings/raweb.asc
|
||||
sudo install -d /etc/apt/keyrings
|
||||
sudo curl -fsSL https://apt.julio.al/repository/public/keys/raweb.asc -o /etc/apt/keyrings/raweb.asc
|
||||
echo "deb [signed-by=/etc/apt/keyrings/raweb.asc] https://apt.julio.al/repository/raweb-trixie trixie main" | sudo tee /etc/apt/sources.list.d/raweb.list
|
||||
sudo apt update && sudo apt install twiy
|
||||
```
|
||||
|
||||
echo "deb [signed-by=/etc/apt/keyrings/raweb.asc] https://apt.julio.al/repository/raweb trixie main" \
|
||||
| sudo tee /etc/apt/sources.list.d/raweb.list
|
||||
|
||||
sudo apt update && sudo apt install twiy
|
||||
### Ubuntu 26.04 LTS (raccoon)
|
||||
```bash
|
||||
sudo install -d /etc/apt/keyrings
|
||||
sudo curl -fsSL https://apt.julio.al/repository/public/keys/raweb.asc -o /etc/apt/keyrings/raweb.asc
|
||||
echo "deb [signed-by=/etc/apt/keyrings/raweb.asc] https://apt.julio.al/repository/raweb-raccoon raccoon main" | sudo tee /etc/apt/sources.list.d/raweb.list
|
||||
sudo apt update && sudo apt install twiy
|
||||
```
|
||||
|
||||
## Compile from source
|
||||
```bash
|
||||
apt-get -y install git && cd /root/ && git clone https://github.com/theraw/The-World-Is-Yours.git && cd The-World-Is-Yours/
|
||||
|
||||
bash build/run.sh new
|
||||
bash build/run.sh build
|
||||
bash build/run.sh postfix
|
||||
Pick the script that matches your OS — they're separate so apt package
|
||||
divergences (e.g. the t64 ABI transition on Ubuntu 24.04+) stay isolated.
|
||||
|
||||
```bash
|
||||
apt-get -y install git && cd /root/ && git clone https://git.julio.al/theraw/The-World-Is-Yours.git && cd The-World-Is-Yours/
|
||||
|
||||
# Debian 13
|
||||
bash build/trixie.sh new
|
||||
bash build/trixie.sh build
|
||||
bash build/trixie.sh postfix
|
||||
|
||||
# Ubuntu 26.04 LTS
|
||||
bash build/raccoon.sh new
|
||||
bash build/raccoon.sh build
|
||||
bash build/raccoon.sh postfix
|
||||
```
|
||||
|
||||
If you want to try with a custom nginx version then, open `version` file and change versions then run
|
||||
```bash
|
||||
bash build/run.sh new
|
||||
bash build/run.sh build
|
||||
```
|
||||
To try a different upstream version, edit `version` and re-run `new` then `build`.
|
||||
|
||||
## CLI Info
|
||||
```
|
||||
bash build/run.sh new => Download all modules + nginx that are missing from /opt/. (If you make version changes to 'version' file then simply rerun this to download again)
|
||||
bash build/run.sh build => This is going to simply compile nginx nothing else. (You can run this as many times as you need, its not going to replace configs)
|
||||
bash build/run.sh postfix => This will redownload /nginx/nginx.conf everytime you run it. (Suggested to run only once when you install nginx via my repo for first time)
|
||||
bash build/<distro>.sh new => Download all modules + nginx that are missing from /opt/.
|
||||
(Re-run after changing the `version` file to fetch new versions.)
|
||||
bash build/<distro>.sh build => Compile nginx. Re-runnable; will not touch your configs.
|
||||
bash build/<distro>.sh postfix => Drop the default /nginx/nginx.conf, vhost, and systemd unit
|
||||
into place. Run once on first install; re-running overwrites
|
||||
/nginx/nginx.conf.
|
||||
```
|
||||
where `<distro>` is `trixie` or `raccoon`.
|
||||
|
||||
|
||||
## Nginx info.
|
||||
@@ -69,16 +86,11 @@ nginx -s reload
|
||||
|
||||
## Performance
|
||||
|
||||
|
||||
### vs. vanilla nginx (same version, default config)
|
||||
|
||||
| Area | Twiy | Vanilla nginx | Why |
|
||||
|---|---|---|---|
|
||||
| TLS handshake throughput | **+5–15%** | baseline | AWS-LC's tuned AES/ChaCha asm vs OpenSSL |
|
||||
| Static file throughput | **2–5×** | baseline | `open_file_cache` (off by default in vanilla) |
|
||||
| TLS resumed handshakes | **~10× CPU saving** | baseline | 200 MB shared session cache vs none |
|
||||
| Per-handshake latency (cold) | **−50–200 ms p95** | baseline | OCSP stapling on by default |
|
||||
| Compressed-text bandwidth | **−60 to −80%** | unchanged | brotli + gzip enabled in `http {}` |
|
||||
| WAF, Lua, HTTP/3 | included | not included | needs custom build |
|
||||
|
||||
# Support options.
|
||||
|
||||
Reference in New Issue
Block a user