Linux Learning Diary (ii)

Source: Internet
Author: User

Run on Linux. NET program and install Linux Web site I. Environment

ubuntu14.10 (the latest version downloaded from the desktop website)

jexus5.6.3 Official Edition

Monodevloper (after the installation there is an Ubuntu Software center search Click to install it will automatically help you to put the required environment installed)

Note: All of my programs are based on dotnet FrameWork4.0

Second, happy to play

2.1 Running a generic application

Since I am using the VirtualBox to open the bridge network, so I am in my own native assumption of a filezillaserver (FTP server), easy to transfer the site or program up.

Use the VS Write a Helloword build. exe to the FTP server, and then the CD folder to locate the directory, using the./program name. EXE to run the program.

Note: If there is no permission during the program running, switch to the root user and then use the CHOMD +777 program name to modify the in-file permissions.

2.2 Installing the Run Web site

Note: Good compression software is recommended because he can compress files directly into Linux supported. tar.gz format is very convenient

Write a Jexus environment to build, use the FTP server to upload the website to Ubuntu desktop.

I installed the Jexus into the/usr/jexus/directory, so it's just that we're going to use the CHOMD +777 folder name to modify the permissions (the purpose of the Modify permission is to make it easier for us to use the right-click Copy and Paste feature)

Then I want to put the site in var/www directory also modify permissions CHOMD +777 folder name Modify permissions (the purpose of modifying permissions is to facilitate our use of the right-click Copy and paste function)

Find a file named default under the/usr/jexus/siteconf file (do not forget to modify the permissions CHOMD +777 folder name Modify permissions) Right-click Copy Paste to the current folder

Note: Jexus's website is a profile for each site (not a profile on your site) such as

Most commonly used configurations

Port is ports

Root is the site path

Hots is the domain name (after the general release of the configuration, testing can be used without a tube)

Indexs=index.aspx,index.htm # Home File name, you can write multiple, separated by commas (can not fill.) Because the JWS system contains a common first name)

Then let's have fun playing with the browser input address .... Note: Don't forget to open up the Ubuntu firewall to the port UFW allow 8069

Linux Learning Diary (ii)

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.