Files
weewx/docs/apt-get.htm
2018-12-06 13:59:13 -08:00

105 lines
3.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>weewx: Installation using apt-get</title>
<style>
body{
font-family: Verdana,Helvetica,sans-serif;
margin-left: 1em;
margin-right: 1em;
}
h1 {
font-family: Arial,Helvetica,sans-serif;
margin-top: 2em;
margin-bottom: 0;
}
h2 {
font-family: Arial,Helvetica,sans-serif;
margin-top: 1.5em;
margin-bottom: 0;
}
.title {
font-size: 180%;
clear: left;
margin-top: 0px;
}
.os-icons {
float: right;
}
.logo {
width: 32px;
padding-right: 0px;
}
.cmd {
}
.tty {
font-family: "Courier New", Courier, monospace;
background-color: #eeeee0;
border: 1px solid #ddddaa;
padding: 3px 8px 3px 8px;
margin: 5px 15px 5px 15px;
webkit-border-radius: 6px;
moz-border-radius: 6px;
border-radius: 6px;
white-space: pre;
line-height: normal;
}
.code {
font-family: "Courier New", Courier, monospace;
padding-left: 4px;
padding-right: 4px;
background-color: #efefef;
border: 1px solid #dfdfdf;
border-radius: 3px;
}
</style>
</head>
<body>
<h1 class="title">WeeWX: Installation using apt-get
<div class='os-icons'>
<img class='logo' src='images/logo-debian.png' alt=""/>
<img class='logo' src='images/logo-ubuntu.png' alt=""/>
<img class='logo' src='images/logo-mint.png' alt=""/>
<img class='logo' src='images/logo-rpi.png' alt=""/>
</div>
</h1>
<p>This is the fastest way to install WeeWX on Debian-based systems, including Ubuntu, Mint, and Raspbian.
</p>
<h2>Configure apt</h2>
<p>Tell <span class="code">apt</span> where to find the WeeWX releases. This only has to be done once - the first time you install.</p>
<pre class='tty cmd'>wget -qO - http://weewx.com/keys.html | sudo apt-key add -
wget -qO - http://weewx.com/apt/weewx.list | sudo tee /etc/apt/sources.list.d/weewx.list</pre>
<h2>Install</h2>
<p>Use <span class="code">apt-get</span> to install WeeWX. When you are done, WeeWX will be running in the background as a daemon.</p>
<pre class='tty cmd'>sudo apt-get update
sudo apt-get install weewx</pre>
<h2>Verify</h2>
<p>After 5 to 30 minutes, open the station web page in a web browser. You should see your station information and data.</p>
<pre class='tty'><a href="file:///var/www/html/weewx/index.html">file:///var/www/html/weewx/index.html</a></pre>
<h2>Uninstall</h2>
<p>This will remove WeeWX, leaving any data intact.</p>
<pre class='tty cmd'>sudo apt-get remove weewx</pre>
<h2>Where to go from here...</h2>
<ul>
<li><a href="usersguide.htm">User's Guide</a> - configuration options, <a href="usersguide.htm#integrating_with_webserver">integrating with a web server</a>, and <a href="usersguide.htm#troubleshooting">troubleshooting</a></li>
<li><a href="customizing.htm">Customization Guide</a> - instructions for modifying reports and adding extensions</li>
<li><a href="hardware.htm">Hardware Guide</a> - details about weather station capabilities and quirks</li>
<li><a href="utilities.htm">Utilities Guide</a> - reference for the command-line options and actions</li>
<li><a href="https://github.com/weewx/weewx/wiki">wiki</a> - HOWTOs, extensions, and drivers</li>
<li><a href="http://groups.google.com/group/weewx-user">User Group</a></li>
</ul>
</body>
</html>