In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how Ubuntu nginx installs and compiles mono 2.0. it is very detailed and has a certain reference value. Friends who are interested must read it!
1. Install Ubuntu nginx
Benben@ubuntu:~$ sudo apt-get update benben@ubuntu:~$ sudo apt-get install nginx
two。 Compile and install mono 2.0
/ / install the necessary packages to avoid compilation errors
Benben@ubuntu:~$ sudo apt-get build-dep mono benben@ubuntu:~$ wget http://ftp.novell.com/pub/mono/sources/mono/mono-2.0.tar.bz2 benben@ubuntu:~$ tar jvxf mono-2.0.tar.bz2 benben@ubuntu:~$ cd mono-2.0 benben@ubuntu:~$. / configure-- prefix=/usr/local benben@ubuntu:~$ make benben@ubuntu:~$ sudo make install
It takes some time to compile. After installation, you can view the mono version via "mono-V".
3. Install fastcgi-mono-server
Benben@ubuntu:~$ sudo apt-get install subversion benben@ubuntu:~$ svn co http://mono-soc-2007.googlecode.com/svn/trunk/brian/FastCgi/ fastcgi-mono-server benben@ubuntu:~$ cd fastcgi-mono-server/ benben@ubuntu:~$. / autogen.sh benben@ubuntu:~$ make benben@ubuntu:~$ sudo make install
Because the fastcgi-mono-server source code needs to be obtained using SVN, we installed subversion first.
4. Configure Ubuntu nginx
Benben@ubuntu:/$ sudo mv / etc/nginx/sites-enabled/default.. / benben@ubuntu:/$ sudo nano / etc/nginx/sites-enabled/default
Copy the contents of Ubuntu nginx-config.txt to the / etc/nginx/sites-enabled/default file, and the default directory is in / var/www. If you are not familiar with nano, you can refer to the Nano shortcut key. Then run the following script to start Ubuntu nginx and fastcgi-mono-server2.
Benben@ubuntu:/$ sudo / etc/init.d/nginx start benben@ubuntu:~$ sudo fastcgi-mono-server2 / socket=tcp:9000 & benben@ubuntu:/$ echo "hello" > / var/www/index.aspx
Visit the corresponding address and you can see the lovely hello.
5.Ubuntu nginx installation of aspx probe
Benben@ubuntu:/$ cd / var/www benben@ubuntu:/var/www$ wget http://aspnetsysinfo.googlecode.com/files/aspnetsysinfo-revision_23.zip benben@ubuntu:/var/www$ unzip aspnetsysinfo-revision_23.zip
Enter the corresponding info.aspx, and it should display normally.
These are all the contents of the article "how Ubuntu nginx installs and compiles mono 2.0". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.