Bob Mottram před 11 roky
rodič
revize
8bbc4b50b8
1 změnil soubory, kde provedl 11 přidání a 8 odebrání
  1. 11
    8
      beaglebone.txt

+ 11
- 8
beaglebone.txt Zobrazit soubor

@@ -2064,14 +2064,17 @@ emacs /etc/apache2/apache2.conf
2064 2064
 Search for MaxClients and replace the value with 6. As an example the settings should look something like this:
2065 2065
 
2066 2066
 #+BEGIN_SRC: bash
2067
+KeepAliveTimeout 2
2067 2068
 Timeout 150
2068 2069
 
2069 2070
 <IfModule mpm_prefork_module>
2070
-    StartServers          3
2071
-    MinSpareServers       3
2072
-    MaxSpareServers       5
2073
-    MaxClients            6
2074
-    MaxRequestsPerChild   0
2071
+  StartServers           1
2072
+  MinSpareServers        1
2073
+  MaxSpareServers        5
2074
+  ServerLimit           16
2075
+  MaxClients            16
2076
+  MaxRequestsPerChild    0
2077
+  ListenBacklog        100
2075 2078
 </IfModule>
2076 2079
 
2077 2080
 <IfModule mpm_worker_module>
@@ -2080,7 +2083,7 @@ Timeout 150
2080 2083
     MaxSpareThreads      75
2081 2084
     ThreadLimit          64
2082 2085
     ThreadsPerChild      25
2083
-    MaxClients            6
2086
+    MaxClients           16
2084 2087
     MaxRequestsPerChild   0
2085 2088
 </IfModule>
2086 2089
 
@@ -2090,7 +2093,7 @@ Timeout 150
2090 2093
     MaxSpareThreads      75
2091 2094
     ThreadLimit          64
2092 2095
     ThreadsPerChild      25
2093
-    MaxClients            6
2096
+    MaxClients           16
2094 2097
     MaxRequestsPerChild   0
2095 2098
 </IfModule>
2096 2099
 #+END_SRC
@@ -6544,7 +6547,7 @@ Edit your Apache configuration file.
6544 6547
 emacs /etc/apache2/sites-available/$HOSTNAME
6545 6548
 #+END_SRC
6546 6549
 
6547
-Add the following to the section which starts with
6550
+Add the following to the section which starts with *<VirtualHost *:443>*
6548 6551
 
6549 6552
 #+BEGIN_SRC: bash
6550 6553
 	SSLCertificateChainFile /etc/ssl/chains/startssl-sub.class1.server.ca.pem