CentOS7 (mini) rapidly deploy ASP.

Source: Internet
Author: User

Start focusing on the Linux runtime from Mono 2.8+. NET some of the messages

Recently nothing to do, found that the official mono has provided a compiled source, greatly facilitated the deployment process, do not need to compile mono

wrote a small program with Nancy.owin, some of which have been filled in, here is the source code:

Https://github.com/ss22219/Booker

Here with a brand-new system upload program, unzip:

Under Windows, use Cmder to package tar zcf product.tar.gz productscp product.tar.gz [email protected]:/root/ssh [email protected] #tar ZXVF product.tar.gz

Extracted files:

# lsbin Booker.exe Booker.exe.config content HTML scripts views

Since I'm using a new mini system, I'm going to install the Yum-config-manager to make it easy to configure the third-party source provided by Mono.

1 # yum -y install yum-utils > /dev/null

According to the official note of Mono (http://www.mono-project.com/docs/getting-started/install/linux/#centos -7-fedora-19-and-later-and-derivatives)

Add Source Address:

# rpm--import "http://keyserver.ubuntu.com/pks/lookup?op=get&search= 0x3fa7e0328081bff6a14da29aa6a19b38d3d831ef "# Yum-config-manager--add-repo http://download.mono-project.com/repo/ centos/>/dev/null

OK, install Mono:

1 # yum install -y mono-devel > /dev/null

Get my Booker up and running:

1234 # mono Booker.exeSiteRoot:/root/product/server is start on http://+:80press enter to exit

  

Run is running up, found outside the network access, should be the fire wall blocked

CentOS7 replaced the new firewall firewall, no longer using iptables by default, use the following command to close:

1 # systemctl stop firewalld.service

Rerun, access everything normal:

CentOS7 (mini) rapidly deploy ASP.

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.