New translations install.mdx (Norwegian Nynorsk)

[ci skip]
This commit is contained in:
crowdin 2024-07-04 13:51:03 +00:00
parent 86a0734294
commit efd5f3ef58

View File

@ -4,168 +4,159 @@ title: Korleis installerer eg Castopod?
import { Aside } from "@astrojs/starlight/components"; import { Aside } from "@astrojs/starlight/components";
Det er meininga at Castopod skal vera lett å installera. Uansett om du bruker Castopod was thought-out to be easy to install. Whether using dedicated or
eige eller delt vevhotell, kan du installera på dei fleste maskiner som har PHP shared hosting, you can install it on most PHP-MySQL compatible web servers.
og MySQL.
<Aside> ## Requirements
Me har laga offisielle Docker-biletfiler for Castopod! - PHP v8.3 or higher
- MySQL version 5.7 or higher or MariaDB version 10.2 or higher
- HTTPS support
- An [ntp-synced clock](https://wiki.debian.org/NTP) to validate federation's
incoming requests
Viss du helst vil bruka Docker, kan du hoppa over dette og gå rett til ### PHP v8.3 or higher
[docker-dokumentasjonen](./docker.md) for Castopod.
</Aside> PHP version 8.3 or higher is required, with the following extensions installed:
## Krav
- PHP v8.3 eller nyare
- MySQL versjon 5.7 eller nyare, eller MariaDB versjon 10.2 eller nyare
- Støtte for HTTPS
- Ei [ntp-synkronisert klokke](https://wiki.debian.org/NTP) for å stadfesta
innkomande førespurnader frå allheimen
### PHP v8.3 eller nyare
Du treng PHP versjon 8.3 eller nyare, og mde desse tillegga:
- [intl](https://php.net/manual/en/intl.requirements.php) - [intl](https://php.net/manual/en/intl.requirements.php)
- [libcurl](https://php.net/manual/en/curl.requirements.php) - [libcurl](https://php.net/manual/en/curl.requirements.php)
- [mbstring](https://php.net/manual/en/mbstring.installation.php) - [mbstring](https://php.net/manual/en/mbstring.installation.php)
- [gd](https://www.php.net/manual/en/image.installation.php) med **JPEG**-, - [gd](https://www.php.net/manual/en/image.installation.php) with **JPEG**,
**PNG**- og **WEBP**-biblioteka. **PNG** and **WEBP** libraries.
- [exif](https://www.php.net/manual/en/exif.installation.php) - [exif](https://www.php.net/manual/en/exif.installation.php)
I tillegg må du passa på at desse utvidingane er skrudde på i PHP-installasjonen Additionally, make sure that the following extensions are enabled in your PHP:
din:
- json (vanlegvis aktivt - ikkje skru det av) - json (enabled by default - don't turn it off)
- xml (vanlegvis aktivt - ikkje skru det av) - xml (enabled by default - don't turn it off)
- [mysqlnd](https://php.net/manual/en/mysqlnd.install.php) - [mysqlnd](https://php.net/manual/en/mysqlnd.install.php)
### MySQL-kompatibel database ### MySQL compatible database
> Me tilrår [MariaDB](https://mariadb.org). > We recommend using [MariaDB](https://mariadb.org).
Du treng vertsnamnet til tenaren, databasenamnet, brukarnamnet og passordet til You will need the server hostname, database name, username and password to
databasen for å fullføra installeringa. Viss du ikkje har desse, må du kontakta complete the installation process. If you do not have these, please contact your
administratoren for tenarmaskina di. server administrator.
#### Tilgangsrettar #### Privileges
Brukaren må minst ha desse tilgangsrettane på databasen for at Castopod skal User must have at least these privileges on the database for Castopod to work:
fungera: `CREATE`, `ALTER`, `DELETE`, `EXECUTE`, `INDEX`, `INSERT`, `SELECT`, `CREATE`, `ALTER`, `DELETE`, `EXECUTE`, `INDEX`, `INSERT`, `SELECT`, `UPDATE`,
`UPDATE`, `REFERENCES`, `CREATE VIEW`. `REFERENCES`, `CREATE VIEW`.
### (Eventuelt) FFmpeg v4.1.8 eller nyare for filmklypp ### (Optional) FFmpeg v4.1.8 or higher for Video Clips
Du treng [FFmpeg](https://www.ffmpeg.org/) versjon 4.1.8 viss du vil laga [FFmpeg](https://www.ffmpeg.org/) version 4.1.8 or higher is required if you
filmklypp. Desse utvidingane må vera installerte: want to generate Video Clips. The following extensions must be installed:
- **FreeType 2**-biblioteket for - **FreeType 2** library for
[gd](https://www.php.net/manual/en/image.installation.php). [gd](https://www.php.net/manual/en/image.installation.php).
### (Eventuelt) Andre tilrådingar ### (Optional) Other recommendations
- Redis for betre bufring. - Redis for better cache performances.
- Innhaldsnettverk (CDN) for å bufra statiske filer og betra ytinga. - CDN for static files caching and better performances.
- Epostløysing for å nullstilla passord. - e-mail gateway for lost passwords.
## Korleis du installerer ## Install instructions
### Føresetnader ### Pre-requisites
0. Få tak i ein vevtenar som fyller [krava](#requirements) 0. Get a Web Server with [requirements](#requirements) installed
1. Lag ein MySQL-database for Castopod der brukaren har tilgangs- og 1. Create a MySQL database for Castopod with a user having access and
endringsløyve (les meir om [MySQL-database](#mysql-compatible-database)). modification privileges (for more info, see
2. Ta i bruk HTTPS på domenet ditt ved hjelp av eit _SSL-sertifikat_. [MySQL compatible database](#mysql-compatible-database)).
3. Last ned og pakk ut den nyaste [Castopod-pakka](https://castopod.org/) på 2. Activate HTTPS on your domain with an _SSL certificate_.
vevtenaren din, om du ikkje allereie har gjort det. 3. Download and unzip the latest [Castopod Package](https://castopod.org/) onto
- ⚠️ Set dokumentrota til vevtenaren til undermappa `public/` i the web server if you havent already.
`castopod`-mappa. - ⚠️ Set the web server document root to the `public/` sub-folder within the
4. Lag **cron-oppgåver** på vevtenaren din for ulike bakgrunnsprosessar (byt ut `castopod` folder.
stiane så dei passar til oppsettet ditt): 4. Add **cron tasks** on your web server for various background processes
(replace the paths accordingly):
```bash ```bash
* * * * * /sti/til/php /sti/til/castopod/spark tasks:run >> /dev/null 2>&1 * * * * * /path/to/php /path/to/castopod/spark tasks:run >> /dev/null 2>&1
``` ```
**Hugs** - Viss du ikkje legg til denne cron-oppgåva, vil ikkje dei fylgjande **Note** - If you do not add this cron task, the following Castopod features
Castopod-funksjonane verka: will not work:
- Å importera ein podkast frå ei eksisterande RSS-kjelde - Importing a podcast from an existing RSS feed
- Å kringkasta sosiale aktivitetar til fylgjarane dine på allheimen - Broadcasting social activities to your followers in the fediverse
- Å kringkasta episodane dine til opne nettverk med - Broadcasting episodes to open hubs using
[WebSub](https://en.wikipedia.org/wiki/WebSub) [WebSub](https://en.wikipedia.org/wiki/WebSub)
- Å laga filmklypp - - Generating video clips -
[krev FFmpeg](#optional-ffmpeg-v418-or-higher-for-video-clips) [requires FFmpeg](#optional-ffmpeg-v418-or-higher-for-video-clips)
### (Tilrådd) Autoinstallering ### (recommended) Install Wizard
1. Køyr Castopod-installasjonen ved å gå til autoinstalleringssida 1. Run the Castopod install script by going to the install wizard page
(`https://domenet_ditt.no/cp-install`) i nettlesaren din. (`https://your_domain_name.com/cp-install`) in your favorite web browser.
2. Fylg framgangsmåten på skjermen. 2. Follow the instructions on your screen.
3. Start å podkasta! 3. Start podcasting!
<Aside> <Aside>
Installasjonsskriptet lagar ei`.env`-fil i rotmappa til pakka. Viss du ikkje kan The install script writes a `.env` file in the package root. If you cannot go
gå gjennom den rettleidde installeringa, kan du laga og redigera ei `.env`-fil through the install wizard, you can create and edit the `.env` file manually
manuelt basert på `.env.example`-fila. based on the `.env.example` file.
</Aside> </Aside>
### Med kommandolina ### Using CLI
1. Lag ei `.env`-fil i rotmappa til pakka, basert på `.env.example`-fila. 1. Create a `.env` file in the package root based on the `.env.example` file.
2. Gjer klar databasen ved hjelp av:
2. Initialize the database using:
```sh ```sh
php spark install:init-database php spark install:init-database
``` ```
3. Lag superadmin-brukaren med: 3. Create the superadmin user using:
```sh ```sh
php spark install:create-superadmin php spark install:create-superadmin
``` ```
4. Gå til styringspanelet for å byrja med podkasting! 4. Head on to your admin gateway to start podcasting!
### Epost/SMTP-oppsett ### Email/SMTP setup
Epostoppsett er naudsynt for at nokre av funksjonane skal verka skikkeleg (td. Email configuration is required for some features to work properly (eg.
epostar for å nullstilla passord, senda rettleiingar til abonnentar oa.) retrieving your forgotten password, sending instructions to premium subscribers,
…)
Du kan skriva inn epostoppsettet for nettstaden din i `.env`-fila slik som You may add your email configuration in your instance's `.env` like so:
dette:
```ini ```ini
# […] # […]
email.fromEmail="epostadressa_di" email.fromEmail="your_email_address"
email.SMTPHost="smtp-tenaren_din" email.SMTPHost="your_smtp_host"
email.SMTPUser="smtp-brukaren_din" email.SMTPUser="your_smtp_user"
email.SMTPPass="passordet_ditt" email.SMTPPass="your_smtp_password"
``` ```
#### Val for epostoppsett #### Epost/SMTP-oppsett
| Variabelnamn | Type | Standardval | | Variable name | Type | Default |
| ---------------- | ----------------------- | ------------ | | ---------------- | -------------------- | ------------ |
| **`fromEmail`** | streng | `udefinert` | | **`fromEmail`** | string | `undefined` |
| **`fromName`** | streng | `"Castopod"` | | **`fromName`** | string | `"Castopod"` |
| **`SMTPHost`** | streng | `udefinert` | | **`SMTPHost`** | string | `undefined` |
| **`SMTPUser`** | streng | `udefinert` | | **`SMTPUser`** | string | `undefined` |
| **`SMTPPass`** | streng | `udefinert` | | **`SMTPPass`** | string | `undefined` |
| **`SMTPPort`** | tal | `25` | | **`SMTPPort`** | number | `25` |
| **`SMTPCrypto`** | [`"tls"` eller `"ssl"`] | `"tls"` | | **`SMTPCrypto`** | [`"tls"` or `"ssl"`] | `"tls"` |
### Lagring av media ### Media storage
Mediefiler blir lagra i mappa `public/media` i filsystemet som standard. Viss du By default, files are saved to the `public/media` folder using the file system.
må flytta mappa `media` til ein annan stad, kan du skriva det inn i `.env`-fila If you need to relocate the `media` folder to a different location, you can
som vist under: specify it in your `.env` file as shown below:
```ini ```ini
# […] # […]
@ -174,47 +165,47 @@ media.root="media"
media.storage="/mnt/storage" media.storage="/mnt/storage"
``` ```
I dette dømet blir filene lagra i mappa /mnt/storage/media Pass på at du In this example, the files will be saved to the /mnt/storage/media folder. Make
oppdaterer vevtenaroppsettet med denne endringa. sure to also update your web server configuration to reflect this change.
### S3 ### S3
Viss du helst vil lagra mediefilene dine på ei S3-kompatibel lagringseining, kan If you prefer storing your media files on an S3 compatible storage, you may
du skriva det inn i `.env`-fila di: specify it in your `.env`:
```ini ```ini
# […] # […]
media.fileManager="s3" media.fileManager="s3"
media.s3.endpoint="s3_verten_din" media.s3.endpoint="your_s3_host"
media.s3.key="s3_nykjelen_din" media.s3.key="your_s3_key"
media.s3.secret="s3_løyndomen_din" media.s3.secret="your_s3_secret"
media.s3.region="s3_regionen_din" media.s3.region="your_s3_region"
``` ```
#### Oppsettsval for S3 #### S3 config options
| Variabelnamn | Type | Standardval | | Variable name | Type | Default |
| ------------------- | ------ | ----------- | | ----------------------- | ------- | ----------- |
| **`endpoint`** | streng | `udefinert` | | **`endpoint`** | string | `undefined` |
| **`nykjel`** | tekst | `udefinert` | | **`key`** | string | `undefined` |
| **`løyndom`** | tekst | `udefinert` | | **`secret`** | string | `undefined` |
| **`region`** | tekst | `udefinert` | | **`region`** | string | `undefined` |
| **`bytte`** | tekst | `castopod` | | **`bucket`** | string | `castopod` |
| **`protokoll`** | tal | `udefinert` | | **`protocol`** | number | `undefined` |
| **`stilendepunkt`** | boolsk | `usant` | | **`pathStyleEndpoint`** | boolean | `false` |
| **`keyPrefix`** | tekst | `udefinert` | | **`keyPrefix`** | string | `undefined` |
## Pakker frå brukarsamfunnet ## Community packages
Viss du ikkje vil bry deg med å installera Castopod manuelt, kan du bruka ei av If you don't want to bother with installing Castopod manually, you may use one
pakkene som brukarsamfunnet har laga. of the packages created and maintained by the open-source community.
### Installer med Yunohost ### Oppsettsval for S3
[Yunohost](https://yunohost.org/) er ein Linux-distribusjon som er bygd på [YunoHost](https://yunohost.org/) is a distribution based on Debian GNU/Linux
Debian GNU/Linux og som inneheld frie og opne program. Yunohost tek seg av det made up of free and open-source software packages. It manages the hardships of
meste som har med oppsett av eigen vevtenar å gjera. self-hosting for you.
<div class="flex flex-wrap items-center gap-4"> <div class="flex flex-wrap items-center gap-4">
@ -225,7 +216,7 @@ meste som har med oppsett av eigen vevtenar å gjera.
> >
<img <img
src="https://install-app.yunohost.org/install-with-yunohost.svg" src="https://install-app.yunohost.org/install-with-yunohost.svg"
alt="Installer Castopod med Yunohost" alt="Install Castopod with YunoHost"
class="align-middle" class="align-middle"
/> />
</a> </a>
@ -246,7 +237,7 @@ meste som har med oppsett av eigen vevtenar å gjera.
<path fill="none" d="M0 0h24v24H0z" /> <path fill="none" d="M0 0h24v24H0z" />
<path d="M12 2A10 10 0 0 0 2 12a10 10 0 0 0 6.84 9.49c.5.09.69-.21.69-.48l-.02-1.86c-2.51.46-3.16-.61-3.36-1.18-.11-.28-.6-1.17-1.02-1.4-.35-.2-.85-.66-.02-.67.79-.01 1.35.72 1.54 1.02.9 1.52 2.34 1.1 2.91.83a2.1 2.1 0 0 1 .64-1.34c-2.22-.25-4.55-1.11-4.55-4.94A3.9 3.9 0 0 1 6.68 8.8a3.6 3.6 0 0 1 .1-2.65s.83-.27 2.75 1.02a9.28 9.28 0 0 1 2.5-.34c.85 0 1.7.12 2.5.34 1.9-1.3 2.75-1.02 2.75-1.02.54 1.37.2 2.4.1 2.65.63.7 1.02 1.58 1.02 2.68 0 3.84-2.34 4.7-4.56 4.94.36.31.67.91.67 1.85l-.01 2.75c0 .26.19.58.69.48A10.02 10.02 0 0 0 22 12 10 10 0 0 0 12 2z" /> <path d="M12 2A10 10 0 0 0 2 12a10 10 0 0 0 6.84 9.49c.5.09.69-.21.69-.48l-.02-1.86c-2.51.46-3.16-.61-3.36-1.18-.11-.28-.6-1.17-1.02-1.4-.35-.2-.85-.66-.02-.67.79-.01 1.35.72 1.54 1.02.9 1.52 2.34 1.1 2.91.83a2.1 2.1 0 0 1 .64-1.34c-2.22-.25-4.55-1.11-4.55-4.94A3.9 3.9 0 0 1 6.68 8.8a3.6 3.6 0 0 1 .1-2.65s.83-.27 2.75 1.02a9.28 9.28 0 0 1 2.5-.34c.85 0 1.7.12 2.5.34 1.9-1.3 2.75-1.02 2.75-1.02.54 1.37.2 2.4.1 2.65.63.7 1.02 1.58 1.02 2.68 0 3.84-2.34 4.7-4.56 4.94.36.31.67.91.67 1.85l-.01 2.75c0 .26.19.58.69.48A10.02 10.02 0 0 0 22 12 10 10 0 0 0 12 2z" />
</svg> </svg>
Github-arkiv Github Repo
</a> </a>
</div> </div>