AWS EC2: Is it possible to edit httpd.conf file in

+1 vote
Is it possible to update file / etc / httpd/ conf/ httpd.conf with  PHP and MySQL setup.

Because the update gives error like - Permission denied. What is the best way to update it?
May 16, 2018 in Cloud Computing by brat_1
• 7,080 points
486 views

3 answers to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
+1 vote
Change the file to root user:

sudo nano /etc/httpd/conf/httpd.conf

Save changes with: ctrl + O, Enter. This should help.
answered May 16, 2018 by code_ninja
• 5,980 points
+1 vote

It would be prompting you a alert, that you can duplicate it. So

  • So duplicate it, store it on desktop with same name
  • Edit it for your use(remove comment '#')
  • Save it
  • Now replace the original file with this one
  • it'll prompt for your password, provide that

Now all updates you did are saved in httpd.conf Cheers

answered Aug 17, 2018 by Priyaj
• 56,140 points
0 votes
I have found solution and its working...

$ sudo nano /etc/httpd/conf/httpd.conf
answered Aug 28, 2018 by eatcodesleeprepeat
• 4,670 points

Related Questions In Cloud Computing

+3 votes
3 answers

Is it possible to delete a API in AWS API Gateway?

Yes, it is possible to delete an ...READ MORE

answered Mar 27, 2018 in Cloud Computing by brat_1
• 7,080 points
483 views
0 votes
3 answers

Is it possible to redirect a domain to Amazon EC2?

Create an Elastic IP on the AWS ...READ MORE

answered Nov 30, 2018 in Cloud Computing by Abhinav
15 views
+2 votes
2 answers

Is there a way to add cache control in AWS S3?

use of  current upstream master branch will ...READ MORE

answered Apr 10, 2018 in Cloud Computing by hemant
• 5,750 points
561 views
0 votes
1 answer

Is there a way to transfer files between AWS s3 and ec2

The answer is a definite yes yes. ...READ MORE

answered Apr 17, 2018 in Cloud Computing by brat_1
• 7,080 points
35 views
0 votes
1 answer

AWS: Is there a way I can edit files in S3 right away in the browser?

There is not currently an AWS-supported method ...READ MORE

answered Jun 19, 2018 in Cloud Computing by Meci Matt
• 9,400 points
20 views
0 votes
1 answer

What is MFA and how to use it with AWS CLI?

To get the temporary session token use ...READ MORE

answered Jul 19, 2018 in Cloud Computing by Gopalan
• 1,260 points
47 views
+1 vote
2 answers

How does Elastic Beanstalk and EC2 contribute to automation in AWS?

I hope this helps AWS Elastic Beanstalk is the ...READ MORE

answered Jul 26, 2018 in Cloud Computing by code_ninja
• 5,980 points
53 views
0 votes
1 answer

AWS: What is in Sagemaker and what does it do?

Amazon SageMaker is a fully-managed platform that ...READ MORE

answered Aug 17, 2018 in Cloud Computing by brat_1
• 7,080 points
34 views
+1 vote
1 answer

Is it possible to get an ec2 pricing programmatically?

Yes absolutely. You may get AWS pricing programmatically ...READ MORE

answered Apr 10, 2018 in Cloud Computing by code_ninja
• 5,980 points
150 views
0 votes
1 answer

Is it possible to use VPC to have access between two AWS Regions

Good question this. Currently this feature is ...READ MORE

answered Apr 18, 2018 in Cloud Computing by code_ninja
• 5,980 points
23 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.