Selinux Broke Apache - I change httpd to run on another port and selinux did not like it.

Subscribers:
1,220
Published on ● Video Link: https://www.youtube.com/watch?v=KFAJsv_AiOE



Duration: 5:54
73 views
0


[ec2-user@ip-172-31-83-243 ~]$ history
1 clear
2 getenforce
3 sudo yum -y install httpd
4 sudo systemctl enable httpd
5 sudo systemctl start httpd.service
6 sudo netstat-tnlp
7 sudo netstat -tnlp
8 grep ort /etc/httpd/*
9 sudo grep ort /etc/httpd/*
10 sudo grep ort /etc/httpd/conf/*
11 sudo vi /etc/httpd/conf/httpd.conf
12 sudo systemctl restart httpd.service
13 sudo systemctl status httpd.service
14 audit2allow -a -w
15 sudo audit2allow -a -w
16 sudo semanage port -a -t http_port_t -p tcp 9876
17 sudo systemctl restart httpd.service
18 sudo netstat -tnlp
19 history




Other Videos By Information Technology


2023-08-01EC-Council Ethical Hacking Essentials (EHE) - Passed
2023-07-31EC-Council Digital Forensics Essentials (DFE)
2023-07-28EC Council Network Defense Essentials - Passed :)
2023-07-27AlfredCamera - Turn your old smart phone into a security camera
2023-06-29Test days part2 and taking them at home
2023-06-28Test day.... time for some fun
2023-03-16A few thoughts on AI and ML due to the increased interest as of late
2023-03-15Understanding a bit how init files work and the different run control targets in Linux.
2023-03-13Install openJDK Java and then Installing Oracle Java with an RPM
2023-03-08Playing on our aws ec2 linux with scheduling jobs with at and cron
2023-03-07Selinux Broke Apache - I change httpd to run on another port and selinux did not like it.
2023-03-06Setting Up SELINUX on aws ec2 as well as installing audit2allow
2023-03-03Setting up admin users to use sudo on Amazon Web Services EC2
2023-02-27AWS S3 and Python Lambda with an API Gateway for a simple web form
2023-02-24Setting up an Ethical Hacking Server in AWS - PLEASE STAY ETHICAL
2023-02-23What is the cost for me to switch to Amazon Web Services (AWS)
2023-02-22Why are there so many different Elastic Compute Cloud (EC2) options in AWS
2023-02-21What are some of the other properties of Amazon Web Service (AWS) Simple Storage Service (S3)
2023-02-20AWS S3 finding prior versions of deleted files
2023-02-17Creating Amazon Web Services (AWS) Simple Storage Service (S3) Bucket and enabling versioning
2023-02-16What else can we do with firewalld... masquerade and forward incoming requests