Skip to content

Commit 3248463

Browse files
committed
Deployed ec12a3b with MkDocs version: 1.6.1
1 parent 267eb9a commit 3248463

File tree

4 files changed

+49
-55
lines changed

4 files changed

+49
-55
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,5 +454,5 @@ <h2 id="license-and-disclaimer">License and Disclaimer</h2>
454454

455455
<!--
456456
MkDocs version : 1.6.1
457-
Build Date UTC : 2025-06-23 19:20:34.197349+00:00
457+
Build Date UTC : 2025-06-23 19:26:30.371404+00:00
458458
-->

installation/centos/index.html

Lines changed: 41 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@
8181
<li class="toctree-l3"><a class="reference internal" href="#web-server-configuration">Web Server Configuration</a>
8282
<ul>
8383
<li class="toctree-l4"><a class="reference internal" href="#apache">Apache</a>
84-
</li>
85-
<li class="toctree-l4"><a class="reference internal" href="#nginx-configuration">Nginx Configuration</a>
8684
</li>
8785
</ul>
8886
</li>
@@ -394,46 +392,44 @@ <h3 id="database-support">Database Support</h3>
394392
<h2 id="web-server-configuration">Web Server Configuration</h2>
395393
<h3 id="apache">Apache</h3>
396394
<ol>
397-
<li>
398-
<p>Install Apache if not already installed:
399-
<code>bash
400-
dnf install -y httpd</code></p>
401-
</li>
402-
<li>
403-
<p>Enable and start the Apache service:
404-
<code>bash
405-
systemctl enable httpd
406-
systemctl start httpd</code></p>
407-
</li>
408-
<li>
409-
<p>Configure SELinux if it's enabled:
410-
```bash
411-
# Allow Apache to connect to the database
412-
setsebool -P httpd_can_network_connect_db 1</p>
413-
</li>
395+
<li>Install Apache if not already installed:</li>
414396
</ol>
415-
<p># If using a non-standard directory, set the correct context
416-
semanage fcontext -a -t httpd_sys_content_t "/path/to/poweradmin(/.*)?"
417-
restorecon -Rv /path/to/poweradmin
418-
```</p>
397+
<pre><code class="language-bash">dnf install -y httpd
398+
</code></pre>
419399
<ol>
420-
<li>Configure your firewall:
421-
<code>bash
422-
firewall-cmd --permanent --add-service=http
423-
firewall-cmd --permanent --add-service=https # If using HTTPS
424-
firewall-cmd --reload</code></li>
400+
<li>Enable and start the Apache service:</li>
425401
</ol>
426-
<h3 id="nginx-configuration">Nginx Configuration</h3>
427-
<p>If you prefer Nginx:</p>
402+
<pre><code class="language-bash">systemctl enable httpd
403+
systemctl start httpd
404+
</code></pre>
428405
<ol>
429-
<li>
430-
<p>Install Nginx:
431-
<code>bash
432-
dnf install -y nginx</code></p>
433-
</li>
434-
<li>
435-
<p>Create a configuration file for Poweradmin:</p>
436-
</li>
406+
<li>Configure SELinux if it's enabled:</li>
407+
</ol>
408+
<pre><code class="language-bash"># Allow Apache to connect to the database
409+
setsebool -P httpd_can_network_connect_db 1
410+
411+
# If using a non-standard directory, set the correct context
412+
semanage fcontext -a -t httpd_sys_content_t &quot;/path/to/poweradmin(/.*)?&quot;
413+
restorecon -Rv /path/to/poweradmin
414+
</code></pre>
415+
<ol>
416+
<li>Configure your firewall:</li>
417+
</ol>
418+
<pre><code class="language-bash">firewall-cmd --permanent --add-service=http
419+
firewall-cmd --permanent --add-service=https # If using HTTPS
420+
firewall-cmd --reload
421+
```
422+
423+
### Nginx Configuration
424+
425+
If you prefer Nginx:
426+
427+
1. Install Nginx:
428+
```bash
429+
dnf install -y nginx
430+
</code></pre>
431+
<ol>
432+
<li>Create a configuration file for Poweradmin:</li>
437433
</ol>
438434
<pre><code class="language-nginx">server {
439435
listen 80;
@@ -464,15 +460,15 @@ <h3 id="nginx-configuration">Nginx Configuration</h3>
464460
<p>Save this file to <code>/etc/nginx/conf.d/poweradmin.conf</code></p>
465461
</li>
466462
<li>
467-
<p>Enable and start Nginx and PHP-FPM:
468-
<code>bash
469-
systemctl enable nginx php-fpm
470-
systemctl start nginx php-fpm</code></p>
471-
</li>
472-
<li>
473-
<p>Configure SELinux and firewall as with Apache.</p>
463+
<p>Enable and start Nginx and PHP-FPM:</p>
474464
</li>
475465
</ol>
466+
<pre><code class="language-bash">systemctl enable nginx php-fpm
467+
systemctl start nginx php-fpm
468+
</code></pre>
469+
<ol>
470+
<li>Configure SELinux and firewall as with Apache.</li>
471+
</ol>
476472
<h2 id="installing-poweradmin">Installing Poweradmin</h2>
477473
<h3 id="obtain-poweradmin-source-code">Obtain Poweradmin Source Code</h3>
478474
<p>Download the latest release (v3.9.3) from <a href="https://github.com/poweradmin/poweradmin/releases">GitHub Releases</a>:</p>

installation/ubuntu/index.html

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -398,14 +398,12 @@ <h2 id="web-server-configuration">Web Server Configuration</h2>
398398
<h3 id="apache-default-on-ubuntu">Apache (Default on Ubuntu)</h3>
399399
<p>Apache is usually pre-installed and configured on Ubuntu systems. You'll need to:</p>
400400
<ol>
401-
<li>
402-
<p>Enable the required Apache modules:
403-
<code>bash
404-
a2enmod rewrite</code></p>
405-
</li>
406-
<li>
407-
<p>Either place Poweradmin in the default webroot (<code>/var/www/html/</code>) or create a virtual host configuration.</p>
408-
</li>
401+
<li>Enable the required Apache modules:</li>
402+
</ol>
403+
<pre><code class="language-bash">a2enmod rewrite
404+
</code></pre>
405+
<ol>
406+
<li>Either place Poweradmin in the default webroot (<code>/var/www/html/</code>) or create a virtual host configuration.</li>
409407
</ol>
410408
<h3 id="nginx-configuration">Nginx Configuration</h3>
411409
<p>If you prefer Nginx, first install it:</p>

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)