You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the output starts with `WSL version: 2.x.x.x`, you are ready to use **WSL2** and can proceed to [install AlmaLinux9](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 9](wsl/README.md).
29
29
30
30
## Install WSL2
31
31
@@ -57,4 +57,4 @@ To test, run again the following command:
57
57
wsl -v
58
58
```
59
59
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 AlmaLinux9](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 9](wsl/README.md).
Copy file name to clipboardExpand all lines: docs/book/v1/setup/installation.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Install AlmaLinux9
1
+
# AlmaLinux 9 Installation
2
2
3
3
Before proceeding with the installation, we need to make sure that no other WSL2 distribution (aka: _distro_) is running.
4
4
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
19
19
NAME STATE VERSION
20
20
```
21
21
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.
23
23
24
24
If you have other distros installed, the output could look similar to the below:
25
25
26
26
```text
27
27
NAME STATE VERSION
28
-
* AlmaLinux-9 Stopped 2
28
+
AlmaLinux-9 Stopped 2
29
29
* AlmaLinux-10 Running 2
30
30
```
31
31
32
32
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.
35
35
36
-
## Install AlmaLinux9
36
+
## Install AlmaLinux 9
37
37
38
38
List the available Linux distros by executing:
39
39
@@ -82,7 +82,7 @@ A distribution with the supplied name already exists. Use --name to choose a dif
Install the AlmaLinux9 distro by executing the below command:
85
+
Install the **AlmaLinux 9** distro by executing the below command:
86
86
87
87
```shell
88
88
wsl --install -d AlmaLinux-9
@@ -101,7 +101,7 @@ Enter new UNIX username:
101
101
```
102
102
103
103
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`):
105
105
106
106
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):
107
107
@@ -123,5 +123,5 @@ Finally, you should see the following message:
123
123
124
124
```text
125
125
passwd: all authentication tokens updated successfully.
You should see the below message, shown the first time you execute a command which requires elevated permissions (hence the `sudo` modifier at the beginning of the command).
10
10
11
11
```text
12
-
We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:
12
+
We trust you have received the usual lecture from the local System
13
+
Administrator. It usually boils down to these three things:
13
14
14
15
#1) Respect the privacy of others.
15
16
#2) Think before you type.
@@ -18,7 +19,7 @@ We trust you have received the usual lecture from the local System Administrator
18
19
[sudo] password for dotkernel:
19
20
```
20
21
21
-
Input your AlmaLinux9 password and hit `Enter`.
22
+
Input your **AlmaLinux 9** password and hit `Enter`.
22
23
23
24
Update/Upgrade system packages:
24
25
@@ -32,7 +33,7 @@ Now, install the latest version of **Ansible**:
32
33
sudo dnf install ansible -y
33
34
```
34
35
35
-
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`):
36
37
37
38
```shell
38
39
cd~
@@ -65,34 +66,34 @@ Install components by running the below Ansible command:
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.
69
70
70
71
Once finished, check if everything works by opening in your browser:
71
72
72
73
*[http://localhost/](http://localhost/): Apache's default home page
73
74
*[http://localhost/info.php](http://localhost/info.php): PHP info page
74
75
*[http://localhost/phpmyadmin/](http://localhost/phpmyadmin/): PhpMyAdmin (login with `root` + the root password you configured in `config.yml` under `mariadb` -> `root_password`)
75
76
76
-
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.
77
78
78
-
> 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**.
79
80
80
-
## Running AlmaLinux9
81
+
## Running AlmaLinux 9
81
82
82
83
Open `Windows Terminal`.
83
84
84
-
Start AlmaLinux9 by executing:
85
+
Start **AlmaLinux 9** by executing:
85
86
86
87
```shell
87
-
wsl -d AlmaLinux9
88
+
wsl -d AlmaLinux-9
88
89
```
89
90
90
91
OR
91
92
92
93
Locate the app selector dropdown in `Windows Terminal`'s title bar and click `AlmaLinux-9`.
93
-
This will open a new tab connected to AlmaLinux9.
94
+
This will open a new tab connected to **AlmaLinux 9**.
94
95
95
96
### Note
96
97
97
-
> 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.
98
99
> For this, all you need to do is to keep open an instance of Windows Terminal that is connected to it.
Copy file name to clipboardExpand all lines: docs/book/v1/setup/system-requirements.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# System requirements
1
+
# AlmaLinux 9 System requirements
2
2
3
3
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).
4
4
It is a modern tool that incorporates the power of multiple already known command-line applications like `Windows PowerShell`, `Linux shell`, and more...
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).
27
27
28
28
## Install WSL2
29
29
@@ -55,4 +55,4 @@ To test, run again the following command:
55
55
wsl -v
56
56
```
57
57
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).
Copy file name to clipboardExpand all lines: docs/book/v1/virtualhosts/create-virtualhost.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,6 @@
1
-
# Create virtualhosts
1
+
# AlmaLinux 9 Create virtualhosts
2
+
3
+
> 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.
2
4
3
5
Move inside the directory `development/wsl`:
4
6
@@ -9,9 +11,7 @@ cd ~/development/wsl/
9
11
If you don't already have a `config.yml` file, duplicate `config.yml.dist` as `config.yml`.
10
12
11
13
Using your preferred text editor, open `config.yml` and, under the `virtualhosts` key, enter the virtualhosts that you want to create, each on its own line.
12
-
13
14
Already existing virtualhosts will be skipped, their contents will not be lost, no need to comment or remove them.
14
-
15
15
Save and close the file.
16
16
17
17
Create the specified virtualhosts:
@@ -20,8 +20,7 @@ Create the specified virtualhosts:
This process will ask for your password (set during the installation process) and then iterate over the list of configured `virtualhosts` and will output a short summary with the results.
24
-
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.
25
24
Your virtualhost should be accessible and ready to use.
26
25
27
26
You will install your project under the `html` directory of your project, for example `/var/www/example.localhost/html`.
@@ -32,7 +31,7 @@ You will install your project under the `html` directory of your project, for ex
32
31
33
32
## Good to know
34
33
35
-
* To run your installed projects, you need to start AlmaLinux9 first.
34
+
* To run your installed projects, you need to start **AlmaLinux 9** first.
36
35
* If you work with virtualhosts, your projects are created under `/var/www/`.
37
36
* You can still run PHP scripts under the default Apache project directory, located at `/var/www/html/`.
38
37
* If you encounter write permission issues, see [this guide](https://docs.dotkernel.org/development/v1/faq/#how-do-i-fix-common-permission-issues).
Copy file name to clipboardExpand all lines: wsl/README.md
+19-18Lines changed: 19 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Install AlmaLinux9
1
+
# AlmaLinux 9 Installation
2
2
3
3
Before proceeding with the installation, we need to make sure that no other WSL2 distribution (aka: _distro_) is running.
4
4
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
19
19
NAME STATE VERSION
20
20
```
21
21
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.
23
23
24
24
If you have other distros installed, the output could look similar to the below:
25
25
26
26
```text
27
27
NAME STATE VERSION
28
-
* AlmaLinux-9 Stopped 2
28
+
AlmaLinux-9 Stopped 2
29
29
* AlmaLinux-10 Running 2
30
30
```
31
31
32
32
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.
35
35
36
-
## Install AlmaLinux9
36
+
## Install AlmaLinux 9
37
37
38
38
List the available Linux distros by executing:
39
39
@@ -82,7 +82,7 @@ A distribution with the supplied name already exists. Use --name to choose a dif
Install the AlmaLinux9 distro by executing the below command:
85
+
Install the **AlmaLinux 9** distro by executing the below command:
86
86
87
87
```shell
88
88
wsl --install -d AlmaLinux-9
@@ -101,7 +101,7 @@ Enter new UNIX username:
101
101
```
102
102
103
103
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`):
105
105
106
106
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):
107
107
@@ -123,10 +123,10 @@ Finally, you should see the following message:
123
123
124
124
```text
125
125
passwd: all authentication tokens updated successfully.
You should see the below message, shown the first time you execute a command which requires elevated permissions (hence the `sudo` modifier at the beginning of the command).
138
138
139
139
```text
140
-
We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:
140
+
We trust you have received the usual lecture from the local System
141
+
Administrator. It usually boils down to these three things:
141
142
142
143
#1) Respect the privacy of others.
143
144
#2) Think before you type.
@@ -146,7 +147,7 @@ We trust you have received the usual lecture from the local System Administrator
146
147
[sudo] password for dotkernel:
147
148
```
148
149
149
-
Input your AlmaLinux9 password and hit `Enter`.
150
+
Input your **AlmaLinux 9** password and hit `Enter`.
150
151
151
152
Update/Upgrade system packages:
152
153
@@ -160,7 +161,7 @@ Now, install the latest version of **Ansible**:
160
161
sudo dnf install ansible -y
161
162
```
162
163
163
-
Move inside your home directory (it is `/home/` followed by your AlmaLinux9 username, for example: `/home/dotkernel`):
164
+
Move inside your home directory (it is `/home/` followed by your **AlmaLinux 9** username, for example: `/home/dotkernel`):
164
165
165
166
```shell
166
167
cd~
@@ -193,17 +194,17 @@ Install components by running the below Ansible command:
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.
197
+
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.
197
198
198
199
Once finished, check if everything works by opening in your browser:
199
200
200
201
*[http://localhost/](http://localhost/): Apache's default home page
201
202
*[http://localhost/info.php](http://localhost/info.php): PHP info page
202
203
*[http://localhost/phpmyadmin/](http://localhost/phpmyadmin/): PhpMyAdmin (login with `root` + the root password you configured in `config.yml` under `mariadb` -> `root_password`)
203
204
204
-
The installation is complete, your AlmaLinux9 development environment is ready to use.
205
+
The installation is complete, your **AlmaLinux 9** development environment is ready to use.
205
206
206
-
> 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**.
207
+
> 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**.
207
208
208
209
## Create virtualhosts
209
210
@@ -225,7 +226,7 @@ Create the specified virtualhosts:
This will iterate over the list of configured `virtualhosts` and will output a short summary with the results.
229
+
This process will ask for your **AlmaLinux 9** password, iterate over the list of configured `virtualhosts` and output a short summary with the results.
229
230
Your virtualhost should be accessible and ready to use.
230
231
231
232
You will install your project under the `html` directory of your project, for example: `/var/www/example.localhost/html`.
@@ -236,7 +237,7 @@ You will install your project under the `html` directory of your project, for ex
236
237
237
238
### Good to know
238
239
239
-
* To run your installed projects, you need to start AlmaLinux9 first.
240
+
* To run your installed projects, you need to start **AlmaLinux 9** first.
240
241
* If you work with virtualhosts, your projects are created under `/var/www/`.
241
242
* You can still run PHP scripts under the default Apache project directory, located at `/var/www/html/`.
242
243
* If you encounter write permission issues, see [this guide](https://docs.dotkernel.org/development/v1/faq/#how-do-i-fix-common-permission-issues).
0 commit comments