35 | | # to install semanage tool |
36 | | sudo yum install setroubleshoot-server |
37 | | |
38 | | # allow ports to be accessed |
39 | | sudo semanage port -m -t http_port_t -p tcp 7001 |
40 | | sudo semanage port -m -t http_port_t -p tcp 7002 |
41 | | sudo semanage port -m -t http_port_t -p tcp 7003 |
42 | | sudo semanage port -a -t http_port_t -p tcp 7003 |
43 | | sudo semanage port -a -t http_port_t -p tcp 7004 |
44 | | sudo semanage port -a -t http_port_t -p tcp 7005 |
45 | | sudo semanage port -a -t http_port_t -p tcp 7006 |
46 | | sudo semanage port -a -t http_port_t -p tcp 7007 |
47 | | sudo semanage port -a -t http_port_t -p tcp 7008 |
48 | | sudo semanage port -a -t http_port_t -p tcp 7009 |
49 | | sudo semanage port -a -t http_port_t -p tcp 7010 |
| 35 | # to install the semanage tool |
| 36 | sudo yum install policycoreutils-python |
| 37 | |
| 38 | # allow ports to be accessed |
| 39 | sudo semanage port -m -t http_port_t -p tcp 7001-7010 |