Recently, due to the needs of the project, we hope to run our. Net project on the Linux system, so we have made some porting attempts. I also hope to share my mono experience with friends in the garden.
Because you are not familiar with Linux, the first problem you encounter is the installation of Mono.
On the mono site (http://www.mono-project.com/Start), you can download to each version. Because we already have a PC with Little Red Hat installed, we chose the RedHat version.
There are two installation methods on Redhat: Yum and RPM. The second method is used.
When using rpm for installation, the installation sequence of each component is very important due to dependency. The installation sequence is as follows:
Mono Core Components
Rpm-IVH libgdiplus0-1.9-1.rhel4.novell.i386.rpm
Rpm-IVH mono-core-1.9.1-2.novell.i586.rpm
Rpm-IVH mono-data-1.9.1-2.novell.i586.rpm
Rpm-IVH mono-data-firebird-1.9.1-2.novell.i586.rpm
Rpm-IVH mono-data-oracle-1.9.1-2.novell.i586.rpm
Rpm-IVH mono-data-postgresql-1.9.1-2.novell.i586.rpm
Rpm-IVH mono-data-sqlite-1.9.1-2.novell.i586.rpm
Rpm-IVH mono-data-sybase-1.9.1-2.novell.i586.rpm
Rpm-IVH ibm-data-db2-1.9.1-2.novell.i586.rpm
Rpm-IVH mono-nunit-1.9.1-2.novell.i586.rpmrpm-IVH mono-locale-extras-1.9.1-2.novell.i586.rpm
Rpm-IVH mono-web-1.9.1-2.novell.i586.rpm -- nodeps (which is first installed using the nodeps parameter due to its dependency with the winforms component) rpm-IVH mono-winforms-1.9.1-2.novell.i586.rpmrpm-IVH mono-extras-1.9.1-2.novell.i586.rpmrpm-IVH mono-devel-1.9.1-2.novell.i586.rpmrpm-IVH mono-jscript-1.9.1-2.novell.i586.rpm
Rpm-IVH mono-basic-1.9-1.novell.noarch.rpmrpm-IVH bytefx-data-mysql-1.9.1-2.novell.i586.rpm
Rpm-IVH mono-complete-1.9.1-2.novell.i586.rpm install ASP. NET components rpm-IVH xsp-1.9.1-0.novell.noarch.rpmrpm-IVH mod_mono-1.9-0.rhel4.novell.i386.rpm
So far, all components should be correctly installed.
During the installation process, some components may not be prompted due to system version issues. For example, if you install libexif. so.9 on Redhat 9, you will be prompted to install a libexif. so.9 component. I have no choice but to change the RedHat version.
If you can install yum, it may be simpler.
You need to test after installation. NextArticleWe will share our experience on installing and configuring Apache.