Install Mono and Jexus in Centos7 ., Centos7jexus
Mono is a cross-platform implementation of. NET.
Among the numerous language debates,. NET has been criticized for not being cross-platform, and Mono has changed this situation.
Some people are aware that Mono involves copyright issues. I don't know why, but I think Unity3D can be used. :)
Jexus is a free server software in Linux.. Yu nei, author of Jexus, has made a lot of attempts on Mono, which is stable and reliable.
I also have a crawler project in progress on Mono. The project has not been completed yet. Leave a record while there is no space.
1. The firewall is closed directly to prevent new users from failing to know why they are always inaccessible.
Centos7 uses the new firewalld instead of iptables
systemctl stop firewalld.servicesystemctl disable firewalld.service
For CentOS6, use:
service iptables stopchkconfig iptables off
2. install some basic packages
I chose the minimal installation method when installing Centos. Most components do not exist. First run the yum command to install the tool. (If you need the network command, run the yum install net-tools command)
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
The installation takes some time, depending on your network performance. Installation Complete
3. Create a folder in the/usr directory to save the source package.
cd /usrmkdir software
cd /software
4. Download and compile and install libgdiplus to support MONO's GDI
wget http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.tar.bz2tar -xjf libgdiplus-2.10.tar.bz2cd libgdiplus-2.10./configure --prefix=/usrmake && make install
5. Install Mono
The official source code package of version 3.4 and version 3.4 is missing some files, causing installation problems. We use the Mono3.4 post in shanyou
: Http://pan.baidu.com/s/1eQ452Ie
Original post address: http://www.cnblogs.com/shanyou/p/3655447.html
Mono-3.4.0.tar.gz download and upload to the/usr/software Directory, use FlashFXP, XShell and other tools to upload SSH
Then start to decompress and install
tar -xzf mono-3.4.0.tar.gzcd mono-3.4.0./configure --prefix=/usrmake && make install
The installation process is long. I have a CPU: I3 380 M, a vmvm, and a make install command. It is estimated that it took half an hour.
After the installation is complete, you can use the mono-V (uppercase) command to view the version information.
// You can use mono HelloWorld.exe to execute your. NET program.
5. You can install Jexus.
cd /usr/softwarewget linuxdot.net/down/jexus-5.6.1.tar.gztar -zxvf jexus-5.6.1.tar.gz cd jexus-5.6.1 sudo ./install
In this way, Jexus is installed.
6. Start JEXUS
Start/usr/jexus/jws start stop/usr/jexus/jws stop restart/usr/jexus/jws restart
Since then, you can use http: // your IP/info to verify that Jexus is enabled
7. Start Jexus with Centos
Solution 1. Add it to/etc/rc. local and follow the startup (I don't know why, it cannot be started under CENTOS7, I use solution 2)
Vi/etc/rc. local press the I key to enter the editing mode. Then press/usr/jexus/jws start to exit the editing mode and enter: wq to save the file.
Solution 2. Add as system service and start
cd /etc/init.d/ vi jws
In the I edit mode, paste the following content
#!/bin/bash#chkconfig: 2345 80 05#description:jws#. /etc/rc.d/init.d/functionscase "$1" instart) echo "Jexus Start.." /usr/jexus/jws start ;;stop) echo "Jexus Stop.." /usr/jexus/jws stop ;;restart) echo "Jexus Restart" /usr/jexus/jws restart ;;status) /usr/jexus/jws status ;;*) exit 1 ;;esacexit $RETVAL
Press ESC and enter wq to save the file.
Add this script as a "service"
chkconfig --add jws
So far, JEXUS has started with the system. Please try again in reboot.
You can also modify the site configuration by modifying the files in/usr/jexus/siteconf.
Answers to the same question about centos7 and fedora Installation
Based on your graph and the zhoubukang solution, enter
Cd dev <press enter>
Ls <press enter>
See the list and find sdb in it. There should be an sdbX (X represents a number) behind it. This is the location of your USB flash drive.
After that, zhoubukang said that when you start the USB flash drive, there will be a place where you choose to install, click the tab, and then modify the hd: And then wait until the space content, change to hd:/dev/sdbX (X represents a number)
In this way, I successfully entered the installation interface, but then there was a problem with the installation source. If the landlord solved the problem, let me know.
Manual partitioning during centos7 installation, insufficient disk space
What is the capacity of your hard disk?