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:

    [home_tpokorra_mono]
name=mono and monodevelop (CentOS_CentOS-6)
type=rpm-md
baseurl=http://download.opensuse.org/repositories/home:/tpokorra:/mono/CentOS_CentOS-6/
gpgcheck=1
gpgkey=http://download.opensuse.org/repositories/home:/tpokorra:/mono/CentOS_CentOS-6/repodata/repomd.xml.key
enabled=1

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 libMonoPosixHelper.so

This should locate the library within 1 or more directories. For example like this:
*[root@root /]# find / -name libMonoPosixHelper.so
/opt/mono/lib/libMonoPosixHelper.so
/usr/local/src/mono-3.4.0/support/.libs/libMonoPosixHelper.so
[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!

htop:一款比top强悍好用的进程管理监控工具

作者: 分类: 默认分类 时间: 2015-09-11 评论: 暂无评论
CentOS 6.x
32位系统选择:
rpm -ivh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
64位系统选择:
rpm -ivh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
导入key:
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

dontstarve

作者: 分类: 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 "libssl.so.10"
find . -print|grep libpthread.so.0`

--setopt=protected_multilib=false