Skip to content

Commit 6254fd6

Browse files
committed
Add redhat instructions
1 parent a77c3df commit 6254fd6

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<p>
2+
On the command line, run the following commands:
3+
</p>
4+
<pre><code class="language-bash line-numbers">
5+
# Add the Remi's RPM repository.
6+
sudo subscription-manager repos --enable codeready-builder-for-rhel-$(rpm -E %rhel)-$(arch)-rpms
7+
sudo dnf install -y dnf-plugins-core
8+
sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E %rhel).noarch.rpm
9+
sudo dnf install -y https://rpms.remirepo.net/enterprise/remi-release-$(rpm -E %rhel).rpm
10+
sudo dnf module reset php -y
11+
sudo dnf module enable php:remi-<?= $version; ?> -y
12+
13+
# Install PHP.
14+
sudo dnf install -y php
15+
</code></pre>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<p>
2+
On the command line, run the following commands:
3+
</p>
4+
<pre><code class="language-bash line-numbers">
5+
# Install PHP.
6+
sudo dnf install -y php
7+
</code></pre>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
linux-redhat-cli-community.php
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
linux-redhat-cli-default.php

0 commit comments

Comments
 (0)