Installation » History » Version 4
Version 3 (Elmer de Looff, 2013-03-20 15:24) → Version 4/9 (Elmer de Looff, 2013-03-21 15:57)
µ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
h1. Installation
The easiest way to install µWeb is to get it from the Python Package Index (https://pypi.python.org/pypi/uWeb). (https://pypi.python.org). 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:
<pre><code class="bash">
sudo apt-get install python-pip
</code></pre>
After this, µWeb can be installed with the following command:
<pre><code class="bash">
sudo pip install uweb
</code></pre>
This pulls in all the necessary requirements automatically and installs and configures them for you.
h2. MySQL support
µ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:
<pre><code class="bash">
sudo apt-get install python-mysqldb
</code></pre>
h1. Installation
The easiest way to install µWeb is to get it from the Python Package Index (https://pypi.python.org/pypi/uWeb). (https://pypi.python.org). 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:
<pre><code class="bash">
sudo apt-get install python-pip
</code></pre>
After this, µWeb can be installed with the following command:
<pre><code class="bash">
sudo pip install uweb
</code></pre>
This pulls in all the necessary requirements automatically and installs and configures them for you.
h2. MySQL support
µ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:
<pre><code class="bash">
sudo apt-get install python-mysqldb
</code></pre>