OpenShift free. NET Spatial Database request Flowchart text

Source: Internet
Author: User

A few days ago, Bo Friends published an article, "One-click deployment of Mono free space support ASP. NET MVC no longer worry about food and space," support MVC3 and domain name binding, feel good, so they practice a bit, found themselves actually encountered problems really many, And online about this space of the post is either stereotyped, or vague, is summed up as a graphic tutorial series

Account Registration and verification

Open https://www.openshift.com/products/pricing, there are three options, the first 2 are free, it is recommended to choose a second.

Click Create one to jump to creating user interface

See the following information, fill in the mailbox and password, note that the verification code a little pit, it is easy to see the wrong, click Sign up to register

To email verification, click Verify Your account to jump to the page below, then click Accept

Fill in your personal information and click Update My Account

If there is a credit card interface, close, you can not fill out the account verification and information and so on.

After the last book, after registration, you need to create an application space on the openshift, such as how to create space, OpenShift itself is not directly support mono to deploy ASP, need to rely on the power of Openshift-community-cartridge-mono, how to use it, and look at the decomposition below

Create an App

Login to the OpenShift account and click on the applications above

Click Create your first application now, then scroll to the bottom of the jump page https://raw.github.com/wshearn/ Openshift-community-cartridge-mono/master/metadata/manifest.yml and click Next

Fill in the level two domain name information, note that the second text box is a unique identity, the account cannot be changed the next time it is created, click Create application creating the app, the app is created

After creation, due to the well-known reasons can not be directly accessible to access your two-level domain name through the HTTPS protocol, such as https://test-monotest.rhcloud.com/, if still can not access does not matter, occasional convulsions, not openshit host problems , this space is still very stable, and we'll show you how to access it in the next steps.

After the last book, after creating the app, how do we deploy our own ASP to the application space, which is uploaded and downloaded with the WINSCP sftp protocol?

Uploading an ASP program

Download WinSCP, and open Puttygen

Click Generate to move the mouse randomly in the blank space of the form until the progress bar finishes, generating the public and private keys.

Save the private key to the PPK file and copy the public key, click Set an SSH key on the page below

Paste and name click Create Creation

Open the Application Detail page and the URL to the beginning of SSH, for example Ssh://[email protected]/~/git/test.git/

paste [email protected] into WINSCP's hostname text box

Click Advanced, click Verify, select the previously saved PPK private key file

Click OK to login will appear below the interface, the ASP is uploaded in App-root/runtime/repro, it's done

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.