koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha-doc/en/sysadmin/installation Installing_Koha_on_Fed


From: skemotah
Subject: [Koha-cvs] CVS: koha-doc/en/sysadmin/installation Installing_Koha_on_Fedora.xml,1.1,1.2
Date: Mon, 10 Jan 2005 03:59:20 -0800

Update of /cvsroot/koha/koha-doc/en/sysadmin/installation
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv749

Modified Files:
        Installing_Koha_on_Fedora.xml 
Log Message:
Add info on Apache and selinux

Index: Installing_Koha_on_Fedora.xml
===================================================================
RCS file: 
/cvsroot/koha/koha-doc/en/sysadmin/installation/Installing_Koha_on_Fedora.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** Installing_Koha_on_Fedora.xml       2 Jan 2005 14:12:40 -0000       1.1
--- Installing_Koha_on_Fedora.xml       10 Jan 2005 11:59:17 -0000      1.2
***************
*** 6,10 ****
  
    <articleinfo>
!     <pubdate>2005-01-03</pubdate>
  
      <author>
--- 6,10 ----
  
    <articleinfo>
!     <pubdate>2005-01-09</pubdate>
  
      <author>
***************
*** 24,27 ****
--- 24,39 ----
          </revdescription>
        </revision>
+ 
+       <revision>
+         <revnumber>2.2.0p1</revnumber>
+ 
+         <date>2005-01-08</date>
+ 
+         <authorinitials>jmf</authorinitials>
+ 
+         <revdescription>
+           <para>Add information on SELinux to Apache section</para>
+         </revdescription>
+       </revision>
      </revhistory>
    </articleinfo>
***************
*** 457,461 ****
  
        <para>Note that If <application>MySQL</application> fails to start you
!       may need to adjust selinux. To do that type the
        following:<literallayout>address@hidden ~]# setenforce 0
  address@hidden ~]# mysql_install_db
--- 469,473 ----
  
        <para>Note that If <application>MySQL</application> fails to start you
!       may need to adjust SELinux. To do that type the
        following:<literallayout>address@hidden ~]# setenforce 0
  address@hidden ~]# mysql_install_db
***************
*** 522,525 ****
--- 534,561 ----
        <application>Apache</application>'s log files are in
        <filename>/var/log/httpd</filename>.</para>
+ 
+       <para>As with <application>MySQL</application>, there is an issue with
+       SELinux on <application>Fedora Core</application> 3 and the
+       <application>Apache</application> web server that prevents execution of
+       the CGI scripts. Instead of disabling SELinux for httpd, just change the
+       context for the <application>Koha</application> directories. The utility
+       for doing this is called '<command>chcon</command>.' Here's a brief
+       description of how to use it:</para>
+ 
+       <para>First, check the context for the directories that you know work
+       for httpd:<literallayout>address@hidden ls -Z /var/www/
+ drwxr-xr-x  root     root     system_u:object_r:httpd_sys_script_exec_t 
cgi-bin
+ drwxr-xr-x  root     root     system_u:object_r:httpd_sys_content_t error
+ drwxr-xr-x  root     root     system_u:object_r:httpd_sys_content_t html
+ drwxr-xr-x  root     root     system_u:object_r:httpd_sys_content_t icons
+ drwxr-xr-x  root     root     system_u:object_r:httpd_sys_content_t manual
+ drwxr-xr-x  webalize root     system_u:object_r:httpd_sys_content_t 
usage</literallayout></para>
+ 
+       <para>Then, use the <command>chcon</command> utility to label the Koha
+       subdirectories as for their counterparts in
+       <filename>/var/www</filename>. Here's the 
syntax:<literallayout><userinput>chcon &lt;context&gt; 
/usr/local/koha/&lt;subdirectory&gt;</userinput></literallayout></para>
+ 
+       <para>For more info on SELinux check out the Fedora Core 3 FAQ: <ulink
+       
url="http://fedora.redhat.com/docs/selinux-faq-fc3/";>http://fedora.redhat.com/docs/selinux-faq-fc3/</ulink></para>
      </section>
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]