Skip to content

Commit 82a389f

Browse files
Update and fix some more blocks
1 parent 0eead10 commit 82a389f

File tree

11 files changed

+42
-39
lines changed

11 files changed

+42
-39
lines changed
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
11
---
2-
title: "Backup"
2+
title: Backup
33
date: 2023-02-24
44
sidebar:
55
order: 3
66
---
77

8+
:::tip
89
Backups is an important part of system administration!
10+
:::
911

1012
## Create
1113

1214
Save binary file and configuration files to archive:
1315

14-
```
16+
```sh
1517
tar -Pzcf ~/alta-backup.tar.gz /usr/bin/alta /etc/alta
1618
```
1719

1820
## Restore
1921

2022
To extract backup launch next commands:
2123

22-
```
24+
```sh
2325
rm -f /usr/bin/alta
2426
tar -Pxf ~/alta-backup.tar.gz
2527
```

src/content/docs/en/alta/admin-guide/change-password.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Change Password to Alta Web Interface"
2+
title: Change Password to Alta Web Interface
33
date: 2023-02-24
44
sidebar:
55
order: 2
@@ -17,7 +17,7 @@ Administrator can change password for any user by going to Settings > Users, the
1717

1818
You may use console wizard to reset own password. On your server launch next command:
1919

20-
```
20+
```sh
2121
alta reset-password
2222
```
2323

@@ -39,7 +39,7 @@ Service is not started or installed on another server
3939

4040
Service is more privileged than wizard. Launch command with sudo to raise privileges:
4141

42-
```
42+
```sh
4343
sudo alta reset-password
4444
```
4545

src/content/docs/en/alta/admin-guide/manage-services.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Manage Alta Services"
2+
title: Manage Alta Services
33
date: 2023-03-04
44
sidebar:
55
order: 1
@@ -15,7 +15,7 @@ Systemd is a popular service manager for Linux-based operating systems. It is us
1515

1616
To register new service launch initialization wizard with next command:
1717

18-
```
18+
```sh
1919
sudo alta init
2020
```
2121

src/content/docs/en/alta/getting-started/install.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Install"
2+
title: Install
33
date: 2023-03-10
44
sidebar:
55
order: 1
@@ -21,22 +21,22 @@ In this guide we use the **curl** command to download files. Most Linux distribu
2121

2222
Download binary file and set execute permission. On the server you may use next command:
2323

24-
```
24+
```sh
2525
curl -Lo /usr/bin/alta https://cesbo.com/alta-latest
2626
chmod +x /usr/bin/alta
2727
```
2828

2929
Installation completed, now you may check version number:
3030

31-
```
31+
```sh
3232
alta version
3333
```
3434

3535
## Start service
3636

3737
Initialization wizard prepares new service on your system. Each service has owns configuration file, management port, and unique name. Launch initialization wizard with next command:
3838

39-
```
39+
```sh
4040
sudo alta init
4141
```
4242

src/content/docs/en/astra/delivery/hides-dvb-t-modulator.md renamed to src/content/docs/en/astra/delivery/hides-dvb-t-modulator.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
2-
title: "HiDes DVB-T modulator"
2+
title: HiDes DVB-T modulator
33
date: 2023-06-23
4-
image: https://cdn.cesbo.com/help/astra/delivery/broadcasting/hides-dvb-t-modulator/pt100.jpeg
54
sidebar:
65
order: 7
76
---
87

9-
:badge[Astra 2021.08.09]
8+
import { Badge } from '@astrojs/starlight/components'
9+
10+
<Badge text="Astra 2021.08.09" variant="note" />
1011

1112
PT100 is a DVB-T modulator for 4 frequencies by HiDes
1213

@@ -28,7 +29,7 @@ Driver could be downloaded from [official site](http://www.hides.com.tw/download
2829

2930
After installation find the modulators number using the command:
3031

31-
```
32+
```sh
3233
find "/dev" -name "it950x*"
3334
```
3435

src/content/docs/en/astra/delivery/https.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: TLS certificate for HTTPS"
2+
title: TLS certificate for HTTPS
33
date: 2025-01-04
44
sidebar:
55
order: 12

src/content/docs/en/astra/delivery/middleware.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Middleware Authorization"
2+
title: Middleware Authorization
33
data: 2023-06-19
44
sidebar:
55
order: 16
@@ -12,9 +12,9 @@ The Middleware Authorization is a client authorization on the third-party servic
1212
![HTTP Backend](https://cdn.cesbo.com/help/astra/delivery/http-hls/auth/http-backend.svg)
1313

1414
1. Client initiates a request to access a TV channel. This request contains identification details such as token, client ID, or some else
15-
2. Astra sends HTTP GET request to the Middleware. This request includes identification details and session information
16-
3. Middleware validates request and sends back a response status
17-
4. If the Middleware grants access, then Astra provides access to the requested TV channel
15+
1. Astra sends HTTP GET request to the Middleware. This request includes identification details and session information
16+
1. Middleware validates request and sends back a response status
17+
1. If the Middleware grants access, then Astra provides access to the requested TV channel
1818

1919
## Configuration
2020

@@ -82,9 +82,9 @@ In a response backend may send next HTTP headers:
8282
For example:
8383

8484
1. Your backend address is: `https://auth.example.com/check`
85-
2. Client tries to start channel: `https://live.example.com/play/a001/index.m3u8?token=123`
86-
3. Full address to HTTP backend will be: `https://auth.example.com/check?token=123`
87-
4. In headers will be `X-Real-Path: /play/a001/index.m3u8` and other headers depending of clients request
85+
1. Client tries to start channel: `https://live.example.com/play/a001/index.m3u8?token=123`
86+
1. Full address to HTTP backend will be: `https://auth.example.com/check?token=123`
87+
1. In headers will be `X-Real-Path: /play/a001/index.m3u8` and other headers depending of clients request
8888

8989
## Default action
9090

@@ -96,7 +96,7 @@ If backend is not available, then Astra allows access.
9696

9797
If you get access to the channel without authorization, probably your HTTP backend is unavailable. You can check it with `curl` command. Open console on your server with Astra. And try to send request to the HTTP backend manually:
9898

99-
```
99+
```sh
100100
curl -v "https://auth.example.com/check"
101101
```
102102

src/content/docs/en/astra/getting-started/cable-television-with-astra-for-hospitality-industry.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ Approximately we can get 8 channels at one transponder, multiplied by 8 transpon
7474

7575
## Requirements
7676

77-
Hardware:
77+
### Hardware
7878

7979
- Server PC, at least Quad Core Intel® or AMD® CPU 2.8GHz, 8Gb RAM, with 2 or more PCIe slots, depending on the quantity of PCIe cards
8080
- DVB-C Modulators (RESI or TBS)
8181
- DVB-S/S2 or DVB-T/T2 TV Cards (as an example)
8282

83-
Software:
83+
### Software
8484

8585
- Linux-based operation system. We recommend Ubuntu 22.04 LTS
8686
- Cesbo Astra

src/content/docs/en/astra/getting-started/install.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Install"
2+
title: Install
33
date: 2023-02-21
44
sidebar:
55
order: 2
@@ -22,19 +22,19 @@ In this guide we use the **curl** command to download files. Most Linux distribu
2222

2323
Open your server console and download binary file:
2424

25-
```
25+
```sh
2626
curl -Lo /usr/bin/astra https://cesbo.com/astra-latest
2727
```
2828

2929
Set execute permission:
3030

31-
```
31+
```sh
3232
chmod +x /usr/bin/astra
3333
```
3434

3535
Installation completed, now you may check version number:
3636

37-
```
37+
```sh
3838
astra -v
3939
```
4040

@@ -48,13 +48,13 @@ To install license folow an instruction in the email with new license.
4848

4949
After installation, register new service in the systemd:
5050

51-
```
51+
```sh
5252
astra init
5353
```
5454

5555
This command registers Astra as a system service with name `astra` and with management port `8000`. To start service launch command:
5656

57-
```
57+
```sh
5858
systemctl start astra
5959
```
6060

@@ -64,7 +64,7 @@ Read more about service management and launching additional services on your ser
6464

6565
Turn autorun on for your service:
6666

67-
```
67+
```sh
6868
systemctl enable astra
6969
```
7070

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
---
2-
title: "Launch Astra in console"
2+
title: Launch Astra in console
33
date: 2023-02-21
44
sidebar:
55
order: 8
66
---
77

88
If your system does not have systemd you may launch process manually:
99

10-
```
10+
```sh
1111
astra -c /etc/astra/astra.conf -p 8000
1212
```
1313

1414
Process will be launched in the foreground and your console will be taken by process until it finish. To stop process just press Ctrl+C on your keyboard.
1515

1616
To launching process in background append symbol `&` after the command line:
1717

18-
```
18+
```sh
1919
astra -c /etc/astra/astra.conf -p 8000 &
2020
```
2121

2222
Process will be launched in the background and console will be returned to your control immediately. To stop process you may launch command:
2323

24-
```
24+
```sh
2525
killall astra
2626
```

0 commit comments

Comments
 (0)