Installation » History » Version 4
Elmer de Looff, 2013-03-21 15:57
1 | 3 | Elmer de Looff | µWeb is developed on, and intended primarily to run on Debian GNU-Linux. As such, installation instructions will focus on getting µWeb running on that family of platforms |
---|---|---|---|
2 | 3 | Elmer de Looff | |
3 | 1 | Elmer de Looff | h1. Installation |
4 | 1 | Elmer de Looff | |
5 | 4 | Elmer de Looff | The easiest way to install µWeb is to get it from the Python Package Index (https://pypi.python.org/pypi/uWeb). For most Linux there is a commandline application @pip@ which facilitaties easy installation of packages from the Package Index. To begin, install @pip@ on Debian: |
6 | 1 | Elmer de Looff | |
7 | 3 | Elmer de Looff | <pre><code class="bash"> |
8 | 3 | Elmer de Looff | sudo apt-get install python-pip |
9 | 3 | Elmer de Looff | </code></pre> |
10 | 1 | Elmer de Looff | |
11 | 3 | Elmer de Looff | After this, µWeb can be installed with the following command: |
12 | 1 | Elmer de Looff | |
13 | 1 | Elmer de Looff | <pre><code class="bash"> |
14 | 3 | Elmer de Looff | sudo pip install uweb |
15 | 1 | Elmer de Looff | </code></pre> |
16 | 1 | Elmer de Looff | |
17 | 3 | Elmer de Looff | This pulls in all the necessary requirements automatically and installs and configures them for you. |
18 | 1 | Elmer de Looff | |
19 | 3 | Elmer de Looff | h2. MySQL support |
20 | 1 | Elmer de Looff | |
21 | 3 | Elmer de Looff | µWeb requires a MySQL connector binary, which @pip@ will attempt to compile from source for you. If this is undesired (because it requires development headers for MySQL and Python, and some other packages), this MySQL requirement can be fulfilled by installing that package separately: |
22 | 3 | Elmer de Looff | |
23 | 1 | Elmer de Looff | <pre><code class="bash"> |
24 | 3 | Elmer de Looff | sudo apt-get install python-mysqldb |
25 | 1 | Elmer de Looff | </code></pre> |