Difference between revisions of "Mono"
From TCAdmin 2.0 Documentation
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <!-- | ||
+ | '''<span style="color:red">These packages are not compatible with TCAdmin version 2.0.120 and greater. These packages are only recommended for older Linux installations. For the latest Linux versions it is recommended that you install Mono from the Xamarin repositories. [[System_Requirements#Linux]]</span>''' | ||
+ | |||
== Pre-compiled Packages == | == Pre-compiled Packages == | ||
=== CentOS 5/6 / Fedora 15 / Redhat 5 32bit === | === CentOS 5/6 / Fedora 15 / Redhat 5 32bit === | ||
<source lang="bash">wget http://www.tcadmin.com/installer/mono-2.11.4-i386.rpm | <source lang="bash">wget http://www.tcadmin.com/installer/mono-2.11.4-i386.rpm | ||
yum -y install mono-2.11.4-i386.rpm --nogpgcheck | yum -y install mono-2.11.4-i386.rpm --nogpgcheck | ||
+ | /opt/mono-2.11.4/bin/mozroots --import --sync --quiet | ||
/opt/mono-2.11.4/bin/mono --aot -O=all /opt/mono-2.11.4/lib/mono/2.0/mscorlib.dll | /opt/mono-2.11.4/bin/mono --aot -O=all /opt/mono-2.11.4/lib/mono/2.0/mscorlib.dll | ||
for i in /opt/mono-2.11.4/lib/mono/gac/*/*/*.dll; do /opt/mono-2.11.4/bin/mono --aot -O=all $i; done</source> | for i in /opt/mono-2.11.4/lib/mono/gac/*/*/*.dll; do /opt/mono-2.11.4/bin/mono --aot -O=all $i; done</source> | ||
Line 8: | Line 12: | ||
<source lang="bash">wget http://www.tcadmin.com/installer/mono-2.11.4-x86_64.rpm | <source lang="bash">wget http://www.tcadmin.com/installer/mono-2.11.4-x86_64.rpm | ||
yum -y install mono-2.11.4-x86_64.rpm --nogpgcheck | yum -y install mono-2.11.4-x86_64.rpm --nogpgcheck | ||
+ | /opt/mono-2.11.4/bin/mozroots --import --sync --quiet | ||
/opt/mono-2.11.4/bin/mono --aot -O=all /opt/mono-2.11.4/lib/mono/2.0/mscorlib.dll | /opt/mono-2.11.4/bin/mono --aot -O=all /opt/mono-2.11.4/lib/mono/2.0/mscorlib.dll | ||
for i in /opt/mono-2.11.4/lib/mono/gac/*/*/*.dll; do /opt/mono-2.11.4/bin/mono --aot -O=all $i; done</source> | for i in /opt/mono-2.11.4/lib/mono/gac/*/*/*.dll; do /opt/mono-2.11.4/bin/mono --aot -O=all $i; done</source> | ||
Line 16: | Line 21: | ||
dpkg -i mono-2.11.4-i386.deb | dpkg -i mono-2.11.4-i386.deb | ||
apt-get install -f | apt-get install -f | ||
+ | /opt/mono-2.11.4/bin/mozroots --import --sync --quiet | ||
/opt/mono-2.11.4/bin/mono --aot -O=all /opt/mono-2.11.4/lib/mono/2.0/mscorlib.dll | /opt/mono-2.11.4/bin/mono --aot -O=all /opt/mono-2.11.4/lib/mono/2.0/mscorlib.dll | ||
for i in /opt/mono-2.11.4/lib/mono/gac/*/*/*.dll; do /opt/mono-2.11.4/bin/mono --aot -O=all $i; done</source> | for i in /opt/mono-2.11.4/lib/mono/gac/*/*/*.dll; do /opt/mono-2.11.4/bin/mono --aot -O=all $i; done</source> | ||
Line 24: | Line 30: | ||
dpkg -i mono-2.11.4-x86_64.deb | dpkg -i mono-2.11.4-x86_64.deb | ||
apt-get install -f | apt-get install -f | ||
+ | /opt/mono-2.11.4/bin/mozroots --import --sync --quiet | ||
+ | /opt/mono-2.11.4/bin/mono --aot -O=all /opt/mono-2.11.4/lib/mono/2.0/mscorlib.dll | ||
+ | for i in /opt/mono-2.11.4/lib/mono/gac/*/*/*.dll; do /opt/mono-2.11.4/bin/mono --aot -O=all $i; done</source> | ||
+ | |||
+ | === Debian 8 64bit === | ||
+ | <source lang="bash">wget http://www.tcadmin.com/installer/mono-2.11.4-x86_64_deb8.deb | ||
+ | apt-get update | ||
+ | dpkg -i mono-2.11.4-x86_64_deb8.deb | ||
+ | apt-get install -f | ||
+ | /opt/mono-2.11.4/bin/mozroots --import --sync --quiet | ||
/opt/mono-2.11.4/bin/mono --aot -O=all /opt/mono-2.11.4/lib/mono/2.0/mscorlib.dll | /opt/mono-2.11.4/bin/mono --aot -O=all /opt/mono-2.11.4/lib/mono/2.0/mscorlib.dll | ||
for i in /opt/mono-2.11.4/lib/mono/gac/*/*/*.dll; do /opt/mono-2.11.4/bin/mono --aot -O=all $i; done</source> | for i in /opt/mono-2.11.4/lib/mono/gac/*/*/*.dll; do /opt/mono-2.11.4/bin/mono --aot -O=all $i; done</source> | ||
=== Ubuntu 10/11/12 32bit === | === Ubuntu 10/11/12 32bit === | ||
− | <source lang="bash">wget http://www.tcadmin.com/installer/mono-2.11.4- | + | <source lang="bash">wget http://www.tcadmin.com/installer/mono-2.11.4-i386.ubu.deb |
apt-get update | apt-get update | ||
dpkg -i mono-2.11.4-i386.ubu.deb | dpkg -i mono-2.11.4-i386.ubu.deb | ||
apt-get install -f | apt-get install -f | ||
+ | /opt/mono-2.11.4/bin/mozroots --import --sync --quiet | ||
/opt/mono-2.11.4/bin/mono --aot -O=all /opt/mono-2.11.4/lib/mono/2.0/mscorlib.dll | /opt/mono-2.11.4/bin/mono --aot -O=all /opt/mono-2.11.4/lib/mono/2.0/mscorlib.dll | ||
for i in /opt/mono-2.11.4/lib/mono/gac/*/*/*.dll; do /opt/mono-2.11.4/bin/mono --aot -O=all $i; done</source> | for i in /opt/mono-2.11.4/lib/mono/gac/*/*/*.dll; do /opt/mono-2.11.4/bin/mono --aot -O=all $i; done</source> | ||
+ | |||
=== Ubuntu 10/11/12 64bit === | === Ubuntu 10/11/12 64bit === | ||
<source lang="bash">wget http://www.tcadmin.com/installer/mono-2.11.4-x86_64.ubu.deb | <source lang="bash">wget http://www.tcadmin.com/installer/mono-2.11.4-x86_64.ubu.deb | ||
apt-get update | apt-get update | ||
− | dpkg -i mono-2. | + | dpkg -i mono-2.11.4-x86_64.ubu.deb |
apt-get install -f | apt-get install -f | ||
+ | /opt/mono-2.11.4/bin/mozroots --import --sync --quiet | ||
/opt/mono-2.11.4/bin/mono --aot -O=all /opt/mono-2.11.4/lib/mono/2.0/mscorlib.dll | /opt/mono-2.11.4/bin/mono --aot -O=all /opt/mono-2.11.4/lib/mono/2.0/mscorlib.dll | ||
for i in /opt/mono-2.11.4/lib/mono/gac/*/*/*.dll; do /opt/mono-2.11.4/bin/mono --aot -O=all $i; done</source> | for i in /opt/mono-2.11.4/lib/mono/gac/*/*/*.dll; do /opt/mono-2.11.4/bin/mono --aot -O=all $i; done</source> | ||
Line 51: | Line 70: | ||
* xsp | * xsp | ||
− | When using the commands below replace 2.11.4 with the version you are building. | + | '''When using the commands below replace 2.11.4 with the version you are building. You can get the latest sources from http://download.mono-project.com/sources/''' |
Install any missing dependencies shown by the configure command before running make. | Install any missing dependencies shown by the configure command before running make. | ||
Line 103: | Line 122: | ||
=== Post Build Steps === | === Post Build Steps === | ||
− | |||
# Update the file /home/tcadmin/Monitor/mono-config with the path to your mono build. | # Update the file /home/tcadmin/Monitor/mono-config with the path to your mono build. | ||
# Restart the monitor and serviceman services: | # Restart the monitor and serviceman services: | ||
Line 109: | Line 127: | ||
./monitor-service restart | ./monitor-service restart | ||
./serviceman-service restart</source> | ./serviceman-service restart</source> | ||
+ | --> |