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,200 points
2,900 views

3 answers to this question.

+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
• 6,300 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
• 58,020 points
0 votes
I have found solution and its working...

$ sudo nano /etc/httpd/conf/httpd.conf
answered Aug 28, 2018 by eatcodesleeprepeat
• 4,710 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,200 points
4,817 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
2,593 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,790 points
8,687 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,200 points
916 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,460 points
5,228 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,360 points
847 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
• 6,300 points
986 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,200 points
1,430 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
• 6,300 points
2,007 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
• 6,300 points
850 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP