Permalink
Browse files

Create setup_fedora-23.txt

  • Loading branch information...
ninobrooks committed Mar 18, 2016
1 parent b239c1e commit 021bc9f35e56e97ce62d594307d59c773e248ddd
Showing with 26 additions and 0 deletions.
  1. +26 −0 docs/setup_fedora-23.txt
@@ -0,0 +1,26 @@
#A set of commands to install the LAMP stack on fedora 23
#Batteries not included. This does not configure or even verify installations. Use as a guide, not a script.
#Run these commands with sudo or as root.
#WISHLIST: non-interactive version.
#Tested on fedora 23 4.2.3-300.x86_64
#Source: http://www.unixmen.com/how-to-install-lamp-stack-in-fedora-23/

#Install Apache
dnf install httpd -y
systemctl enable httpd
systemctl start httpd
firewall-cmd --permanent --add-service=http
firewall-cmd --permanent --add-service=https
firewall-cmd --reload

#Install MariaDB
dnf install mariadb mariadb-server -y
systemctl enable mariadb
systemctl start mariadb
mysql_secure_installation

#Install PHP and modules
dnf install php -y
systemctl restart httpd
dnf install php-mysql -y
systemctl restart httpd

0 comments on commit 021bc9f

Please sign in to comment.