In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article focuses on "how to install and configure Jexus on Centos7.0". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to install and configure Jexus on Centos7.0.
Installation and configuration of CentOS7
1. Download the image of CentOS7 from http://www.centos.org/. During the installation process, the default is the minimum installation. You can choose the installation type and whether to install the graphical interface, and you can also choose whether to open the network connection. In order to avoid the tedious settings after the installation is completed.
2. Update the system: # yum-y update
3. Install the required libraries:
# yum-y install wget glib2-devel libtiff libtiff-devel libjpeg libjpeg-devel giflib giflib-devel libpng libpng-devel libX11 libX11-devel freetype freetype-devel fontconfig fontconfig-devel libexif 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 with package
It is very convenient to install mono with packages, and you can find and install the latest packages of mono with a simple command.
1. Add the package source of Mono
# rpm-- import http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
# yum-config-manager-- add-repo http://jenkins.mono-project.com/repo/centos/
If you are prompted that you cannot find it without yum-config-manager, the tool yum-config-manager is in the yum-utils package. Install the yum-utils package.
# yum- y install yum-utils
2. Search mono through 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-complete
Installation and configuration of Jexus
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
At this point, the jexus server is installed in / usr/jexus/, and operate the jexus server: start / usr/jexus/jws start stop / usr/jexus/jws stop restart / usr/jexus/jws restart/usr/jexus/siteconf each file corresponds to a site, which can configure the site port, corresponding physical path (root) and other related configurations. You can see that the default site for 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 under the / usr/jexus/ folder and add the path ": / opt/mono-2014081630953/bin" to the bin of mono at the end of the export PATH
Add the path to mono's lib 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, add "- An INPUT-p tcp-m state-- state NEW-m tcp-- dport 80-j ACCEPT", save; run the command "service iptables restart" command to restart the firewall.
5. When the browser opens http://[ip]/info, you should be able to see the welcome interface of jexus.
At this point, I believe you have a deeper understanding of "how to install and configure Jexus on Centos7.0". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
The left and right direction of the mouse is reversed.
© 2024 shulou.com SLNews company. All rights reserved.