Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Here is the complete guide for installing mono 3.0.1</p> <p>For Beginners who don't know how to get the new Mono 3.0.1 version on Ubuntu 12.04 (Because i'm a beginner and i've been working on this for 3 days before making it work) </p> <p><strong>Getting root access to install and configure Mono 3.0.1</strong></p> <pre><code>sudo -s ***type your root password*** </code></pre> <p><strong>Install vim editor</strong></p> <pre><code>apt-get install vim </code></pre> <p><strong>Install apache2</strong></p> <pre><code>apt-get install apache2 </code></pre> <p><strong>Install tools for compiling mono</strong></p> <pre><code>apt-get install autoconf automake libtool g++ gettext libglib2.0-dev libpng12-dev libfontconfig1-dev apt-get install mono-gmcs apt-get install git </code></pre> <p><strong>Install apache2-threaded-dev (needed for compiling mod_mono)<em>*</em></strong></p> <pre><code>apt-get install apache2-threaded-dev </code></pre> <p><strong>We will return to apache2 configuration later</strong></p> <p><strong>Making the structure we need for getting the source code</strong></p> <pre><code>cd /opt mkdir mono-3.0 </code></pre> <p><strong>Move into that new folder before getting the source code</strong></p> <pre><code>cd /opt/mono-3.0 </code></pre> <p><strong>Getting the source code from GitHub</strong></p> <pre><code>git clone git://github.com/mono/mono.git git clone git://github.com/mono/xsp.git git clone git://github.com/mono/libgdiplus.git git clone git://github.com/mono/mod_mono.git </code></pre> <p><strong>Compile libgdiplus</strong></p> <pre><code>cd /opt/mono-3.0/libgdiplus ./autogen.sh --prefix=/usr (the prefix is very important for Ubuntu 12.04) make make install </code></pre> <p><strong>Compile mono</strong></p> <pre><code>cd /opt/mono-3.0/mono/ make clean ./autogen.sh --prefix=/usr (the prefix is very important for Ubuntu 12.04) make make install </code></pre> <p><strong>Compile xsp</strong></p> <pre><code>cd /opt/mono-3.0/xsp ./autogen.sh --prefix=/usr (the prefix is very important for Ubuntu 12.04) make make install </code></pre> <p><strong>Compile mod_mono</strong></p> <pre><code>cd /opt/mono-3.0/mod_mono ./autogen.sh --prefix=/usr (the prefix is very important for Ubuntu 12.04) make make install </code></pre> <p><strong>After the installation of mod_mono, the file mod_mono.conf</strong> *<em>as been added to your apache2 folder(/etc/apache2)</em>*</p> <p><strong>Configuring apache2</strong></p> <p><strong>Configure the default site of apache ### (optional*</strong>)**</p> <pre><code>vim /etc/apache2/sites-available/default Modify the line "DocumentRoot /var/www" by "DocumentRoot /var/www/YourFolder" (YourFolder is the folder where you publishing your website!) </code></pre> <p><strong>Configure the rights to YourFolder (optional*</strong>)**</p> <pre><code>cd /var/www/YourFolder sudo chown -R root:www-data . sudo chmod -R 774 . sudo usermod -a -G www-data &lt;yourusername&gt; </code></pre> <p><strong>Adding the mod_mono include in apache2.conf</strong></p> <pre><code>vim /etc/apache2/apache2.conf Add "Include /etc/apache2/mod_mono.conf" at the end of the file (without quotes!) </code></pre> <p><strong>Adding the pointer to ASP .NET 4.0 in mod_mono.conf</strong></p> <pre><code>vim /etc/apache2/mod_mono.conf Add "MonoServerPath /usr/bin/mod-mono-server4" (without quotes!) under the "If Modules condition" </code></pre> <p><strong>Restart the apache2 server</strong> /etc/init.d/apache2 restart</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload