Mono 安装

作者: 分类: STEAM,Centos 时间: 2015-09-23 评论: 暂无评论

To start, lets install Mono first. As of posting this guide, this will install Mono 3.4.0.
Open /etc/yum.repo.d/mono.repoin your favorite editor.
The file probably does not exist you need to create it!
Add the following text to the above file:

name=mono and monodevelop (CentOS_CentOS-6)

Save the file and exit your editor.
Run an update on yum first before we try to install anything via:
yum update
Next, lets install the needed Mono packages with:
yum install mono-*opt
Accept any downloads it requires and such, you should only need to say yes to 1 prompt.
Next we need to register executables to the binfmt via the following command:
echo ':CLR:M::MZ::/usr/local/bin/mono:' > /proc/sys/fs/binfmt_misc/register
Next we need to adjust our PATH variable. I personally edit the .bashrc file for this.
Open ~/.bashrc in your favorite editor.
Near the top (above the current alias' if any) add the following line:
export PATH=/opt/mono/bin:$PATH
Mono should now be installed and working.
You can type mono --version to print out the version info.

Help, my map does not show up! Players just fall endlessly!
This is due to missing libs. Shutdown your server and run the following command:
find / -name

This should locate the library within 1 or more directories. For example like this:
*[root@root /]# find / -name
[root@root /]#*

We need to add the /opt/mono/lib folder to our environment variables library path.
To do that, do the following:
Open ~/.bashrc in your favorite editor.
Locate were we added export PATH and under that add:
export LD_LIBRARY_PATH=/opt/mono/lib:$LD_LIBRARY_PATH
Be sure to change the /opt/mono/lib to the folder that was found in your find results!


作者: 分类: 默认分类 时间: 2015-09-11 评论: 暂无评论
CentOS 6.x
rpm -ivh
rpm -ivh
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6


作者: 分类: Centos 时间: 2015-09-09 评论: 暂无评论
yum install -y libidn* nss* openldap* openssl*
yum install -y libidn-1.18-2.el6.i686 openssl-1.0.1e-42.el6_7.2.i686 openldap-2.4.40-7.el6_7.i686  nss-3.19.1-8.el6_7.i686
yum install -y openldap-2.4.40-6.el6_7.i686

yum provides ""
find . -print|grep`