MonoonCentOS6.3 installation notes if you are using a mobile drive, we recommend that you do not enable the local repository library for the local yum, that is, do not enable the configuration source in the/etc/yum. repos. d/CentOS-Media.repo file. Of course, if your CentOS cannot connect to the Internet, you must... mono on CentOS 6.3 installation notes if you are using a mobile optical drive, we recommend that you do not enable the local yum local repository library, that is, do not enable/etc/yum. repos. d/configuration source in the CentOS-Media.repo file. Of course, if your CentOS cannot connect to the Internet, but you must use a CD or mobile storage for updates, you need to enable the local repository source. Download the installation source of NetEase and Sohu: # cd/etc/yum. repos. d # wget http://mirrors.163.com/.help/CentOS-Base-163.repo# Wget http://mirrors.sohu.com/help/CentOS-Base-sohu.repo In addition, it is strongly recommended to install EPEL (Extra Packages for Enterprise Linux), which is the most comprehensive yum source in Linux such as RedHat/Fedora/CentOS. The installation procedure is as follows (this example uses the image download site of Tsinghua University): 32-bit X86 operating system: # rpm-ivh http://mirrors.4.tuna.tsinghua.edu.cn/epel/6/i386/epel-release-6-8.noarch.rpm64 X86 operating system: # rpm-ivh http://mirrors.4.tuna.tsinghua.edu.cn/epel/6/x86_64/epel-release-6-8.noarch.rpm Import the digital signature authentication file # rpm -- import/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6epel installation package after installation is successful, you can in/etc/yum. repos. the directory d shows the two library files: epel. repo and epel-testing.repo by default, the epel-testing.repo is not enabled, from its name it can be seen that it is a test Library, generally not recommended for formal use. Finally, update the cache of the yum source to make the downloaded sources take effect immediately: # yum makecache sets so many yum installation sources, naturally, the priority of the installation source will be involved. Generally, the CentOS official installation source should be preferred. In this case, you need to use the yum-plugin-priorities plug-in. the installation is as follows: # yum install yum-plugin-priorities after installation, manually modify/etc/yum. repos. d directory. the priority value in the repo file, which ranges from 1 ~ 99, the smaller the number, the higher the weight, the higher the priority. The general configuration is as follows: [base], [addons], [updates], [extras]… Priority = 1 [centosplus], [contrib]… Priority = 2 other third Software Source: priority = n (recommended n> 10) for example: the configuration of the base section in my CentOS-Base.repo file is as follows: [base] name = CentOS-$ releasever-Basemirrorlist = http://mirrorlist.centos.org/?release= $ Releasever & arch = $ basearch & repo = OS # baseurl = http://mirror.centos.org/centos/ $ Releasever/OS/$ basearch/gpgcheck = 1 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6priority=1 Run the following command: # yum-y update Mono. on the Internet, you must install these packages before installing Mono: gcc-c ++ bison pkgconfig glib2-devel gettext make libpng-devel libjpeg-devel libtiff-devel libexif-devel giflib-devel libX11-devel freetype-devel fontconfig-devel cairo-devel since I am installing when CentOS 6.3 is used, the Development mode is selected, presumably these packages have been installed by default, but for the sake of security, we still use the rpm command to check them one by one to ensure that they have been installed. the detection command is roughly as follows: # rpm-qa libexif * After a round of detection, it is found that there are indeed a few fish that have missed the net, then use yum install to install them one by one. Download and install mono 3.0.12 # cd/usr/local/srcwget http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.tar.bz2tar -Jxvf libgdiplus-2.10.tar.bz2cd libgdiplus-2.10./configure -- prefix =/usrmake & make install # wget http://download.mono-project.com/sources/mono/mono-3.0.12.tar.bz2# Tar-jxvf mono-3.0.12.tar.bz2 # cd mono-3.0.12 #./configure -- prefix =/usr # make & make install after a long wait, call mono to see it. Go to the/usr/lib/mono directory and you will be able to see the familiar. NET assembly...
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