Created
September 20, 2017 09:09
-
-
Save romeosierra1/1dd8b7b7ea8b079dc665a17f49f52f91 to your computer and use it in GitHub Desktop.
Commands for LAMP Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dnf update | |
sudo dnf install nginx | |
sudo dnf install openssh-server openssh-clients | |
sudo dnf install httpd | |
sudo systemctl enable httpd.service | |
sudo systemctl start httpd | |
sudo systemctl status httpd | |
sudo firewall-cmd --permanent --add-service=http | |
sudo firewall-cmd --permanent --add-service=https | |
sudo systemctl reload firewalld | |
ip a | grep inet | |
sudo dnf install mariadb-server | |
systemctl enable mariadb | |
systemctl start mariadb | |
systemctl status mariadb | |
mysql_secure_installation | |
sudo dnf install php php-common | |
sudo dnf install php-mysqlnd php-pdo php-gd php-mbstring | |
systemctl restart httpd | |
cd /var/www/html/ | |
sudo nano info.php | |
<?php | |
phpinfo() | |
?> | |
sudo dnf install php-bcmath | |
sudo dnf install curl | |
sudo dnf install php-fpm | |
sudo dnf install php-gd | |
sudo dnf install php-intl | |
sudo dnf install php-json | |
sudo dnf install php-mcrypt | |
sudo dnf install php-xml | |
sudo dnf install php-zip | |
mariadb | |
sudo dnf install phpMyAdmin | |
systemctl restart httpd | |
systemctl restart mariadb.service | |
sudo dnf install filezilla |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment