Skip to content

Commit

Permalink
Update 2023-06-14-pre.md
Browse files Browse the repository at this point in the history
  • Loading branch information
icedterminal authored May 5, 2024
1 parent d489136 commit 395c168
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions _posts/2023-06-14-pre.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Installer packages are currently not provided. However, you can manually "instal

## Target OS
This software is verified to run on the following systems:
- Debian 11, Ubuntu 20.04 and later.
- Arch, Manjaro.
- Debian 11 based.
- Arch based.

Note: The default web server user is `www-data` on Debian and `http` on Arch. Please adjust the `nginx.conf` file accordingly. Especially if you do not use the default web server user.

Expand All @@ -18,13 +18,13 @@ Note: The default web server user is `www-data` on Debian and `http` on Arch. Pl
This build is intended for my personal use. I prefer to write manual vhost/conf files or need the software to run on bare metal. If you fit this, feel free to use it.

## First Time Use
1. Download a zip from releases to the root (`/`) of your system while elevated as the `root` user.
1. Download the latest stable tarball from releases to the root (`/`) of your system while elevated as the `root` user. You may alternately download a pre-release beta.
```
wget https://github.com/icedterminal/ngxqb/releases/latest/download/ngxqb.zip
wget https://github.com/icedterminal/ngxqb/releases/latest/download/ngxqb.tar.gz
```
3. Extract the contents
```bash
unzip -o ngxqb.zip
tar -zxvf ngxqb.tar.gz sbin/nginx
```
4. Set the permissions
```bash
Expand All @@ -44,13 +44,13 @@ Visit [`http://localhost:80`](http://localhost:80) or [`http://127.0.0.1:80`](ht
You can check your NGINX build information with `nginx -V`.
## Updates
1. Download a zip from releases to the root (`/`) of your system while elevated as the `root` user.
1. Download the latest stable tarball from releases to the root (`/`) of your system while elevated as the `root` user. You may alternately download a pre-release beta.
```
wget https://github.com/icedterminal/ngxqb/releases/latest/download/ngxqb.zip
wget https://github.com/icedterminal/ngxqb/releases/latest/download/ngxqb.tar.gz
```
3. Stop the service, extract updated binary, start the service
```bash
systemctl stop nginx; unzip -oj ngxqb.zip "sbin/nginx" -d /sbin/; systemctl start nginx
systemctl stop nginx; tar -zxvf ngxqb.tar.gz sbin/nginx; systemctl start nginx
```
You can check your NGINX build information with `nginx -V`.
Expand Down

0 comments on commit 395c168

Please sign in to comment.