Skip to content

Commit 1d2cb36

Browse files
authored
Merge pull request #79 from dotkernel/issue-78
Issue 78: Tweaked docs
2 parents cb59577 + e038eff commit 1d2cb36

File tree

19 files changed

+89
-88
lines changed

19 files changed

+89
-88
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ DXCore version: 10.0.26091.1-240325-1447.ge-release
2525
Windows version: 10.0.22631.3737
2626
```
2727

28-
If the output starts with `WSL version: 2.x.x.x`, you are ready to use **WSL2** and can proceed to [install AlmaLinux10](wsl/README.md).
28+
If the output starts with `WSL version: 2.x.x.x`, you are ready to use **WSL2** and can proceed to [install AlmaLinux 10](wsl/README.md).
2929

3030
## Install WSL2
3131

@@ -57,4 +57,4 @@ To test, run again the following command:
5757
wsl -v
5858
```
5959

60-
This time the output should display `WSL version: 2.x.x.x`, which means that your system is ready for using **WSL2** and you can proceed to [install AlmaLinux10](wsl/README.md).
60+
This time the output should display `WSL version: 2.x.x.x`, which means that your system is ready for using **WSL2** and you can proceed to [install AlmaLinux 10](wsl/README.md).

docs/book/v1/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Frequently asked questions
1+
# AlmaLinux 9 Frequently asked questions
22

33
## How do I switch to a different version of PHP?
44

docs/book/v1/introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# Introduction
1+
# AlmaLinux 9 Introduction
22

33
`dotkernel/development` is a tool that helps you prepare your development environment with the following components:
44

55
* **WSL2**: Windows Subsystem for Linux
6-
* **AlmaLinux9**: free and open source Linux distribution
6+
* **AlmaLinux 9**: free and open source Linux distribution
77
* **PHP**: general-purpose scripting language geared towards web development
88
* **Apache**: free and open-source cross-platform web server software
99
* **MariaDB**: community-developed, commercially supported fork of the MySQL relational database management system

docs/book/v1/setup/installation.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Install AlmaLinux9
1+
# AlmaLinux 9 Installation
22

33
Before proceeding with the installation, we need to make sure that no other WSL2 distribution (aka: _distro_) is running.
44
This is important because this installation will fail if required ports are already in use by another distro.
@@ -19,21 +19,21 @@ If there is no other distro installed, you will see the below output (an empty l
1919
NAME STATE VERSION
2020
```
2121

22-
In this case, you can jump to the [installation](#install-almalinux9-1) section.
22+
In this case, you can jump to the [installation](#install-almalinux-9) section.
2323

2424
If you have other distros installed, the output could look similar to the below:
2525

2626
```text
2727
NAME STATE VERSION
28-
* AlmaLinux-9 Stopped 2
28+
AlmaLinux-9 Stopped 2
2929
* AlmaLinux-10 Running 2
3030
```
3131

3232
Make sure that the **STATE** column reads **Stopped** for all distros.
33-
If any of them reads **Running**, you must stop if first by executing `wsl -t <distro-name>`, for example: `wsl -t AlmaLinux-10`.
34-
Once you have stopped all distros, you can continue to the [installation](#install-almalinux9-1) section.
33+
If any of them reads **Running**, you must stop if first by executing `wsl -t <distro-name>` after replacing `<distro-name>` with the name of the distro you want to stop.
34+
Once you have stopped all distros, you can continue to the [installation](#install-almalinux-9) section.
3535

36-
## Install AlmaLinux9
36+
## Install AlmaLinux 9
3737

3838
List the available Linux distros by executing:
3939

@@ -82,7 +82,7 @@ A distribution with the supplied name already exists. Use --name to choose a dif
8282
Error code: Wsl/InstallDistro/Service/RegisterDistro/ERROR_ALREADY_EXISTS
8383
```
8484

85-
Install the AlmaLinux9 distro by executing the below command:
85+
Install the **AlmaLinux 9** distro by executing the below command:
8686

8787
```shell
8888
wsl --install -d AlmaLinux-9
@@ -101,7 +101,7 @@ Enter new UNIX username:
101101
```
102102

103103
As per the last line, the installation process now prompts you to enter a username.
104-
This is the username you will use inside AlmaLinux9, and it can be any alphanumeric string (for example `dotkernel`):
104+
This is the username you will use inside **AlmaLinux 9**, and it can be any alphanumeric string (for example `dotkernel`):
105105

106106
Next, you are prompted to change the password associated with your chosen username (you will not see what you are typing, that's a security measure in Linux regarding passwords):
107107

@@ -123,5 +123,5 @@ Finally, you should see the following message:
123123

124124
```text
125125
passwd: all authentication tokens updated successfully.
126-
[<your-almalinux9-username>@<your-device-name> <your-windows-username>]$
126+
[<your-alma-linux-9-username>@<your-device-name> <your-windows-username>]$
127127
```

docs/book/v1/setup/setup-packages.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Setup AlmaLinux9
1+
# AlmaLinux 9 Setup
22

33
Install system packages:
44

@@ -19,7 +19,7 @@ Administrator. It usually boils down to these three things:
1919
[sudo] password for dotkernel:
2020
```
2121

22-
Input your AlmaLinux9 password and hit `Enter`.
22+
Input your **AlmaLinux 9** password and hit `Enter`.
2323

2424
Update/Upgrade system packages:
2525

@@ -33,16 +33,16 @@ Now, install the latest version of **Ansible**:
3333
sudo dnf install ansible -y
3434
```
3535

36-
Move inside your home directory (it is `/home/` followed by your AlmaLinux9 username, for example: `/home/dotkernel`):
36+
Move inside your home directory (it is `/home/` followed by your **AlmaLinux 9** username, for example: `/home/dotkernel`):
3737

3838
```shell
3939
cd ~
4040
```
4141

42-
Clone the `almalinux9` branch of the `dotkernel/development` repository:
42+
Clone the `alma-linux-9` branch of the `dotkernel/development` repository:
4343

4444
```shell
45-
git clone --branch almalinux9 --single-branch https://github.com/dotkernel/development.git
45+
git clone --branch alma-linux-9 --single-branch https://github.com/dotkernel/development.git
4646
```
4747

4848
Move inside the directory `development/wsl`:
@@ -66,34 +66,34 @@ Install components by running the below Ansible command:
6666
ansible-playbook -i hosts install.yml --ask-become-pass
6767
```
6868

69-
The installation process will ask for your AlmaLinux9 password, then iterate over each task in the playbook and output a short summary with the results.
69+
The installation process will ask for your **AlmaLinux 9** password, then iterate over each task in the playbook and output a short summary with the results.
7070

7171
Once finished, check if everything works by opening in your browser:
7272

7373
* [http://localhost/](http://localhost/): Apache's default home page
7474
* [http://localhost/info.php](http://localhost/info.php): PHP info page
7575
* [http://localhost/phpmyadmin/](http://localhost/phpmyadmin/): PhpMyAdmin (login with `root` + the root password you configured in `config.yml` under `mariadb` -> `root_password`)
7676

77-
The installation is complete, your AlmaLinux9 development environment is ready to use.
77+
The installation is complete, your **AlmaLinux 9** development environment is ready to use.
7878

79-
> Restart your `Windows Terminal` to find a new option in the tab selector, called **AlmaLinux-9** - clicking it will open a new tab connected to **AlmaLinux9**.
79+
> Restart your `Windows Terminal` to find a new option in the tab selector, called **AlmaLinux-9** - clicking it will open a new tab connected to **AlmaLinux 9**.
8080
81-
## Running AlmaLinux9
81+
## Running AlmaLinux 9
8282

8383
Open `Windows Terminal`.
8484

85-
Start AlmaLinux9 by executing:
85+
Start **AlmaLinux 9** by executing:
8686

8787
```shell
88-
wsl -d AlmaLinux9
88+
wsl -d AlmaLinux-9
8989
```
9090

9191
OR
9292

9393
Locate the app selector dropdown in `Windows Terminal`'s title bar and click `AlmaLinux-9`.
94-
This will open a new tab connected to AlmaLinux9.
94+
This will open a new tab connected to **AlmaLinux 9**.
9595

9696
### Note
9797

98-
> To run your applications using WSL2, you always need to be connected to your AlmaLinux9 distribution.
98+
> To run your applications using WSL2, you always need to be connected to your **AlmaLinux 9** distribution.
9999
> For this, all you need to do is to keep open an instance of Windows Terminal that is connected to it.

docs/book/v1/setup/system-requirements.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# System requirements
1+
# AlmaLinux 9 System requirements
22

33
If you're not already using it, we recommend you to install [Windows Terminal](https://apps.microsoft.com/detail/9n0dx20hk701?hl=en-US&gl=US).
44
It is a modern tool that incorporates the power of multiple already known command-line applications like `Windows PowerShell`, `Linux shell`, and more...
@@ -23,7 +23,7 @@ DXCore version: 10.0.26091.1-240325-1447.ge-release
2323
Windows version: 10.0.22631.3737
2424
```
2525

26-
If the output starts with `WSL version: 2.x.x.x`, you are ready to use **WSL2** and can proceed to [install AlmaLinux9](installation.md).
26+
If the output starts with `WSL version: 2.x.x.x`, you are ready to use **WSL2** and can proceed to [install AlmaLinux 9](installation.md).
2727

2828
## Install WSL2
2929

@@ -55,4 +55,4 @@ To test, run again the following command:
5555
wsl -v
5656
```
5757

58-
This time the output should display `WSL version: 2.x.x.x`, which means that your system is ready for using **WSL2** and you can proceed to [install AlmaLinux9](installation.md).
58+
This time the output should display `WSL version: 2.x.x.x`, which means that your system is ready for using **WSL2** and you can proceed to [install AlmaLinux 9](installation.md).

docs/book/v1/virtualhosts/create-virtualhost.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Create virtualhosts
1+
# AlmaLinux 9 Create virtualhosts
22

33
> By using the `*.localhost` pattern for any new virtualhost, you do not need to modify the `hosts` file in Windows, because these are routed by default.
44
@@ -20,7 +20,7 @@ Create the specified virtualhosts:
2020
ansible-playbook -i hosts create-virtualhost.yml --ask-become-pass
2121
```
2222

23-
This process will ask for your AlmaLinux10 password, iterate over the list of configured `virtualhosts` and output a short summary with the results.
23+
This process will ask for your **AlmaLinux 9** password, iterate over the list of configured `virtualhosts` and output a short summary with the results.
2424
Your virtualhost should be accessible and ready to use.
2525

2626
You will install your project under the `html` directory of your project, for example `/var/www/example.localhost/html`.
@@ -31,7 +31,7 @@ You will install your project under the `html` directory of your project, for ex
3131
3232
## Good to know
3333

34-
* To run your installed projects, you need to start AlmaLinux9 first.
34+
* To run your installed projects, you need to start **AlmaLinux 9** first.
3535
* If you work with virtualhosts, your projects are created under `/var/www/`.
3636
* You can still run PHP scripts under the default Apache project directory, located at `/var/www/html/`.
3737
* If you encounter write permission issues, see [this guide](https://docs.dotkernel.org/development/v1/faq/#how-do-i-fix-common-permission-issues).

docs/book/v1/virtualhosts/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Overview
1+
# AlmaLinux 9 Overview
22

33
Virtualhosts allow developers to host multiple applications on their local system.
44

@@ -11,7 +11,7 @@ Using this tool, you configure a virtualhost for each of your applications, and
1111

1212
In the above example, the URLs are built like this:
1313

14-
* the subdomain is the identifier of your application (`api`/`frontend`)
14+
* the subdomain is the identifier of your application (`api` / `frontend`)
1515
* the domain is the identifier of your project (`dotkernel`)
1616
* the TLD sends the requests to localhost where Apache will route them to their real location
1717

docs/book/v2/faq.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Frequently asked questions
1+
# AlmaLinux 10 Frequently asked questions
22

33
## How do I switch to a different version of PHP?
44

@@ -27,9 +27,10 @@ php -v
2727
Depending on the selected PHP version, the output should look similar to the below:
2828

2929
```text
30-
PHP 8.3.8 (cli) (built: Jun 4 2024 14:53:17) (NTS gcc x86_64)
30+
PHP 8.4.8 (cli) (built: Jun 3 2025 16:29:26) (NTS gcc x86_64)
3131
Copyright (c) The PHP Group
32-
Zend Engine v4.3.8, Copyright (c) Zend Technologies
32+
Built by Remi's RPM repository <https://rpms.remirepo.net/> #StandWithUkraine
33+
Zend Engine v4.4.8, Copyright (c) Zend Technologies
3334
```
3435

3536
## How do I switch to a different version of Node.js?

docs/book/v2/introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# Introduction
1+
# AlmaLinux 10 Introduction
22

33
`dotkernel/development` is a tool that helps you prepare your development environment with the following components:
44

55
* **WSL2**: Windows Subsystem for Linux
6-
* **AlmaLinux10**: free and open source Linux distribution
6+
* **AlmaLinux 10**: free and open source Linux distribution
77
* **PHP**: general-purpose scripting language geared towards web development
88
* **Apache**: free and open-source cross-platform web server software
99
* **MariaDB**: community-developed, commercially supported fork of the MySQL relational database management system

0 commit comments

Comments
 (0)