-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c501285
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
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
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 | ||
|