Difference between revisions of "Lamp Server - Almalinux"

From LinuxAdmin Wiki
Jump to navigation Jump to search
Line 10: Line 10:
 
<code>dnf install httpd</code>
 
<code>dnf install httpd</code>
  
====== Enable it so it will automatically start after restart and start it ======
+
====== Enable and start it ======
 
<code>systemctl enable httpd && systemctl start httpd</code>
 
<code>systemctl enable httpd && systemctl start httpd</code>
 +
====== Make sure it up (optional) ======
 +
<code>systemctl status httpd</code>
 +
 +
===2) Mariadb Installation:===
 +
Right now, mariadb 10.6 is the latest version, but the default install gives you 10.3, so install the latest like this:
 +
 +
====== create repo for mariadb 10.6 ======
 +
<code>vim /etc/yum.repos.d/mariadb.repo </code>
  
  

Revision as of 17:59, 17 April 2022


Notes
  • Make sure almalinux is updated to latest version
  • Either disable selinux now or suffer... (you can also learn how to live with it)

1) HTTPD Installation:

dnf install httpd

Enable and start it

systemctl enable httpd && systemctl start httpd

Make sure it up (optional)

systemctl status httpd

2) Mariadb Installation:

Right now, mariadb 10.6 is the latest version, but the default install gives you 10.3, so install the latest like this:

create repo for mariadb 10.6

vim /etc/yum.repos.d/mariadb.repo


Sources: