Added docs for Redhat support

This commit is contained in:
Tom Keffer
2012-12-29 23:37:35 +00:00
parent bf926c07e2
commit 6754aa111f
3 changed files with 21 additions and 0 deletions

View File

@@ -6,6 +6,9 @@ generated records.
Put the stats types in a metafile, rather than using the list of tables.
Specify "max time gap" for the graphs. For gaps bigger than this, there would be
no connecting plot line.
Add ordinate wind descriptions "N, NE, E,", etc. Same with barometer
trends.

View File

@@ -9,6 +9,8 @@ For complete documentation, see http://www.weewx.com/docs
config_vp.py now returns the console version number if available (older consoles
do not offer this).
Now includes a Redhat init.d script, contributed by Mark Jenks. Thanks, Mark!!
2.0.2 11/23/12

View File

@@ -1032,6 +1032,10 @@ mysql> GRANT select, update, create, delete, insert ON stats.* TO weewx@local
<td style="width: 25%">Debian/Ubuntu:</td>
<td class="code"><em>$WEEWX_ROOT</em>/start_script/Debian/weewx</td>
</tr>
<tr>
<td style="width: 25%">Redhat</td>
<td class="code"><em>$WEEWX_ROOT</em>/start_script/Redhat/weewx</td>
</tr>
</table>
<p>Check the chosen script to make sure the variable <span class="code">WEEWX_ROOT</span>
inside has been set to the proper root directory for your <span class="code">
@@ -1047,6 +1051,10 @@ mysql&gt; GRANT select, update, create, delete, insert ON stats.* TO weewx@local
<td>Debian/Ubuntu:</td>
<td class="code">cp <em>$WEEWX_ROOT</em>/start_script/Debian/weewx /etc/init.d</td>
</tr>
<tr>
<td>Redhat:</td>
<td class="code">cp <em>$WEEWX_ROOT</em>/start_script/Redhat/weewx /etc/init.d</td>
</tr>
</table>
<p>Make sure the script is executable: </p>
<table class="center" style="width: 70%">
@@ -1058,6 +1066,10 @@ mysql&gt; GRANT select, update, create, delete, insert ON stats.* TO weewx@local
<td style="width: 25%">Debian/Ubuntu:</td>
<td class="code">chmod +x /etc/init.d/weewx</td>
</tr>
<tr>
<td style="width: 25%">Redhat:</td>
<td class="code">chmod +x /etc/init.d/weewx</td>
</tr>
</table>
<p>Create symbolic links in the run level directories: </p>
<table class="center" style="width: 70%">
@@ -1069,6 +1081,10 @@ mysql&gt; GRANT select, update, create, delete, insert ON stats.* TO weewx@local
<td style="width: 25%">Debian/Ubuntu:</td>
<td class="code">update-rc.d weewx defaults 98</td>
</tr>
<tr>
<td style="width: 25%">Redhat</td>
<td class="code">chkconfig weewx on</td>
</tr>
</table>
<p><span class="code">Weewx</span> will now start automatically whenever your
system is booted. You can also manually start, stop, and restart the