• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

How to find # yum provides /usr/sbin/semanage

HeloiseB

New Pleskian
I'm new to this: private server & Parallels Plesk Panel....

But how can execute this? And where to put the #?

1. Find the package which provides the semanage utility:
# yum provides /usr/sbin/semanage

and install it (for instance, on Centos 6 x86_64):
# yum install policycoreutils-python-2.0.83-19.24.el6.x86_64

2. Change the context type for webserver configuration files:
# semanage fcontext -a -t httpd_sys_content_t "/var/www/vhosts/[^/]*/conf(/.*)?"

3. Apply context type changes:
# restorecon -Rv /var/www/vhosts/

4. Reconfigure webserver configurations:
# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

Thanks.
 
Back
Top