CentOS7 + mono + Jexus environment construction, centos7jexus
CentOS7 installation and configuration 1, from. If the graphic interface and VmWare tools are not installed, we recommend two useful tools: xshell and xftp. If both tools are installed, you can configure xshell, click the xftp icon in the toolbar to directly open xftp without configuration, which is very convenient.
2. update the system: # yum-y update
3. install required libraries (some libraries may be installed because they are not necessary and do not understand linux ):
# Yum-y install wget glib2-devel libtiff-devel libjpeg-devel giflib-devel libpng runtime-devel runtime libX11-devel freetype-devel fontconfig-devel exlibif libexif-devel gcc-c + gettext unzip zip bzip2 bzip2-devel curl-devel gtk2-devel boost-devel
# Yum-y install git
# Yum-y install libtool
Install mono using a continuous integration package
It is very convenient to install mono with a continuous integration package. You can use simple commands to find and install the latest mono package.
1. Add the Mono package Source
# Wget http://jenkins.mono-project.com/repo/xamarin.gpg
# Rpm -- import xamarin. gpg
# Yum-config-manager -- add-repo http://jenkins.mono-project.com/repo/centos/
2. Locate mono-snapshot in the package manager to find the latest package that can be installed.
# Yum search mono-snapshot
3. install the latest mono installation package: # yum-y install mono-snapshot-latest note. After the installation is complete, enter ". mono-snapshot mono, and then run the "mono -- version" command to view the installed mono version. The installed version is mono 3.10Jexus installation and configuration 1, install # cd/# wget linuxdot.net/down/jexus-5.6.2.tar.gz# tar-zxvf jexus-5.6.2.tar.gz # cd jexus-5.6.2 #. /install the jexus server is installed in/usr/jexus/to operate the jexus Server: start/usr/jexus/jws start stop/usr/jexus/jws stop restart/usr/jexus/jws restart/usr/jexus/siteconf Corresponding to a site. This file can be used to configure site ports, corresponding physical paths (root), and other related configurations. The default site of Jexus uses port 80 and the physical path points to/var/www/default.
2. Configure jexus to use the installed mono
Open the jws file in the/usr/jexus/folder and add the bin PATH of mono at the end of the export PATH: /opt/mono-2014081630953/bin "adds the lib path of mono at the end of export LD_LIBRARY_PATH:":/opt/mono-2014081630953/bin/lib ".
3. start Jexus: #/usr/jexus/jws start
4. Open Port 80, open the/etc/sysconfig/iptables file, and add "-a input-p tcp-m state -- state NEW-m tcp -- dport 80-j ACCEPT ", run the "service iptables restart" command to restart the firewall.
5. Open http: // [ip]/info in the browser and you will be able to see the welcome page of jexus.
Asp.net MVC 4 demo test environment set up successfully
Open vs2013 to create an mvc4 form-based verification project. web. infrastructure. dll reference is set to the/var/www/default/directory that is not copied locally, compiled, and released to centos. Restart the jexus: #/usr/jexus/jws restart browser to open http: // [ip]/Home/Index. Environment set up successfully!
References
CentOS 7 install the latest Mono: http://www.cnblogs.com/shanyou/p/3917614.html through a continuous integration package
Continuous Integration packages: http://www.mono-project.com/docs/getting-started/install/linux/ci-packages/
Jexus guide to http://www.linuxdot.net/bbsfile-3084
Set up Nginx + Mono on CentOS Linux to run ASPNET
Is the aspx probe installed?
Centos7 root logon still prompts insufficient Permissions
Try:
Mv eclipse/home/
Chmod-R 755/home/eclipse
Configure environment variables in Windows, which are supported by JAVA.
Linux is also required.