Mono configuration in Linux

Source: Internet
Author: User
Mono configuration in Linux-Linux Enterprise Application-Linux server application information. For more information, see. Mono-related installation packages can be downloaded at http://www.go-mono.com/download.html
Download apache2 from www.apache.org
1. Install the gcc compiling environment (skip this step if necessary)
Rpm-ivh * cc *

2. Install apache2
Tar xvzf httpd-2.0.47.tar.gz
Cd httpd *
./Configure -- prefix =/mono/apache2 -- enable-so
Make
Make install

3. Install the rpm of all downloaded mono (mono runtime, mono-0.26, etc)
Rmp-ivh *. rpm

3. Install xsp
Tar xvzf xsp-0.5.tar.gz
Cd xsp-0.5
Make
Make install

4. Install mono (if pkgconfig is not available, install mono from the linux installation disk first)
Tar xvzf mod_mono-0.4.tar.gz
./Configure -- with-apache2 =/mono/apache2 -- with apxs =/usr/sbin/apxs
Make
Make install
Cd src
Make-f makedll. mak
Copy ModMono. dll/usr/lib

5. Configure apache
Include/mono/apache2/conf/mono. conf
Add a file named mono. conf to httpd. conf as follows:

LoadModule mono_unix_module modules/mod_mono_unix.so
MonoApplicationUnix/TestC/tmp/mod_mono_server

6. Run the program
Start
Mono mod-mono-server.exe -- virtual directory name
Start apache.
Apachectl start
If an error occurs, check the apache2/logs/error_log file.

7. If a blank page appears
Open the/etc/mono/machine. config file
Comment out the following lines:
QUOTE:
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.