Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MayurAtPws committed Feb 5, 2024
0 parents commit c501285
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Installing LAMP Stack with Drupal

### System Information
- OS : Amazon Linux 2
- Storage : 10 GB

## LAMP Installation

- Installing & Start **HTTPD** (Apache)

sudo yum install httpd
sudo systemctl start httpd
sudo systemctl enable httpd.service

- Install & Start **MariaDB** (SQL)

sudo yum install mariadb-server
sudo systemctl start mariadb
sudo systemctl enable mariadb.service

# production safety
sudo mysql_secure_installation

- Installing PHP

sudo yum install php php-mysql
sudo systemctl restart httpd.service

- Checking PHP installation

sudo chown -R ec2-user.ec2-user /var/www/html/
nano /var/www/html/info.php

# Add it to the file and save
<?php phpinfo(); ?>

- **check your site at :** http://your_server_IP_address/info.php


## Drupal Installation

0 comments on commit c501285

Please sign in to comment.