fixed more typos
Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
parent
7453d9144b
commit
8edf014602
20
README.md
20
README.md
@ -2,8 +2,8 @@
|
||||
2. [Features](#2-features)
|
||||
3. [Installation](#3-installation)
|
||||
4. [Configuration](#4-configuration)
|
||||
5. [The API](#theapi)
|
||||
6. [Conclusion](#conclusion)
|
||||
5. [The API](#5-the-api)
|
||||
6. [Conclusion](#6-conclusion)
|
||||
|
||||
<a name="overview"></a>
|
||||
# 1. Overview
|
||||
@ -80,7 +80,7 @@ I created the domain in ns1.24unix.net below the /www folder.
|
||||
|
||||
We'll change the base directory later.
|
||||
|
||||
Now we need to log into our server, using e.g. iTerm2 or under Linux whichever Terminal you prefer.
|
||||
Now we need to log into our server, using e.g. iTerm2 or under Linux whichever terminal you prefer.
|
||||
|
||||
As root (or via sudo):
|
||||
|
||||
@ -127,7 +127,7 @@ Receiving objects: 100% (878/878), 3.25 MiB | 4.46 MiB/s, done.
|
||||
Resolving deltas: 100% (510/510), done.
|
||||
```
|
||||
|
||||
We need to pill the dependencies for composer:
|
||||
We need to pull the dependencies for composer:
|
||||
|
||||
`/usr/bin/keyhelp-php81 /usr/local/bin/composer update`
|
||||
|
||||
@ -137,7 +137,7 @@ KeyHelp relies on the default PHP installation, so the php binary will always po
|
||||
|
||||
So, in bin/console the path to /usr/bin/keyhelp-php81 is hardcoded after the shebang, a step we have to remind if we install the standalone version.
|
||||
|
||||
Now make the CLU executable:
|
||||
Now make the CLI executable:
|
||||
|
||||
`chmod +x bin/console`
|
||||
|
||||
@ -150,7 +150,7 @@ Should I create a new config based on config.json.sample? (y/N): n
|
||||
You first have to setup the bindAPI. Bye.
|
||||
```
|
||||
|
||||
Sp now we can head back to our panel and set the Document root to
|
||||
So now we can head back to our panel and set the Document root to
|
||||
/home/users/tfunix/ns1.24unix.net/bindAPI/public.
|
||||
|
||||
OK, we are finished with the installation and head over to the [4. Configuration](#4-configuration).
|
||||
@ -174,13 +174,13 @@ wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
|
||||
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list
|
||||
apt update
|
||||
```
|
||||
We need at leas php-fpm, php-cli, and besides that php-curl, php-xlm and php-mbstring:
|
||||
We need at least php-fpm, php-cli, and besides that php-curl, php-xml and php-mbstring:
|
||||
|
||||
`apt install ph8.1-fpm, php8.1-cli, and besides that php8.1-curl, php8.1-xml and php8.1-mbstring`
|
||||
|
||||
We also need MariaDB, the successor of MySQL.
|
||||
(Maria is the second daughter of Michael Widenius, guess what, his first is named My.
|
||||
So MySQl and MariDB even makes more sense ^^)
|
||||
So MySQL and MariaDB even makes more sense ^^)
|
||||
|
||||
`apt install mysql`
|
||||
|
||||
@ -282,10 +282,12 @@ There is no need to run FLUSH PRIVILEGES when using GRANT!
|
||||
So, now it offers us the create statements for the needed database.
|
||||
If were on plain debian, we just can copy and paste (the password is random) this as root into mysql.
|
||||
|
||||
If we're using hte panel, lets create a database and write down the credential.
|
||||
If we're using hte panel, lets create a database and write down the credentials and update config.json.
|
||||
|
||||
|
||||
Now we can finally begin to populate our configuration:
|
||||
|
||||
TODO
|
||||
|
||||
|
||||
<a name="theapi"></a>
|
||||
|
Loading…
Reference in New Issue
Block a user