Changes between Version 17 and Version 18 of WikiStart


Ignore:
Timestamp:
Jun 21, 2018 6:16:52 AM (12 months ago)
Author:
alexey
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v17 v18  
    175175  systemctl restart httpd
    176176}}}
    177    * to allow httpd (Apache) to write into specific dir:
     177
     178* to '''allow httpd (Apache) to write into specific dir: '''
    178179{{{
    179180 sudo chcon -t httpd_sys_rw_content_t the_path_to_dir
    180181}}}
    181       * NOTE: Security-Enhanced Linux (SELinux) is a mandatory access control (MAC) security mechanism implemented in the [CentOS] kernel." So it blocks by default everything from writing into (and probably more than that) from Apache..
     182   * NOTE: Security-Enhanced Linux (SELinux) is a mandatory access control (MAC) security mechanism implemented in the [CentOS] kernel." So it blocks by default everything from writing into (and probably more than that) from Apache..
    182183   * to completely disable SELinux:
    183184      *  edit /etc/sysconfig/selinux    ("enforcing" -> "disabled”)
     
    192193
    193194               
    194 * '''httpd.service:''' enable to run PHP processes (such as exec("qsub .pbs"), torque ):
     195* '''httpd.service: enable to run PHP processes ''' (such as exec("qsub .pbs"), torque ):
    195196    * typical error [CentOS 7]:
    196197{{{
     
    211212   * To change/edit order of services:  /usr/lib/systemd/system, edit process of interest ..
    212213   
    213      *Problem: HTTPD.service - if it's configured to listen to specific (static) IP address - relies on network to aasign IP addresses BEFORE.
    214             * Solution:
    215                  * systemctl enable NetworkManager-wait-online.service
     214     * Problem: HTTPD.service - if it's configured to listen to specific (static) IP address - relies on network to aasign IP addresses BEFORE.
     215     * Solution:
     216                 * systemctl enable !NetworkManager-wait-online.service
    216217                 * make sure affected services have Wants=network-online.target and After=network-online.target
    217218 {{{