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)