Configure Mono on the Redhat Enterprise AS 3 Source Code Installation Configuration Mono
First, MONO version ============
* The latest version can be used to view download * Mono version installation can be divided into two, one is the source code installation, one is a binary package installation, the binary installation package only provides common Operating system. * The currently used Linux is Redhat Enterprise AS 3, MONO does not provide a binary package under the operating system, and can only be installed by the source code. The MONO version is 1.0.4 ----- * Download file | - MONO-1.0.4 | - XSP-1.0.4 | - MOD_MONO-1.0.4
Second, the source code installation MONO environment configuration ===========================================================================================================================================================================
1, required --------- ** Pkg-config can be downloaded from http://www.freedesktop.org/software/pkgconfig (this is required in Mono Readme, but the actual installation process is not installed File, Mono installation can pass)
** Glib 2.0 can be downloaded from http://www.gtk.org/ (this is required in Mono Readme, the system comes with GLIB-1.2. *, did not install glib2.0, MONO installation can also pass)
* GCC compile source code, you can add * HTTPD-DEVEL APACHE to add * httpd-wevel apache, you must add MONO's Apache module (MOD_MONO) to add a delete program.
2, optional * ICU Library can be downloaded from http://oss.software.ibm.com/icu/index.html, you will NEED THIS ONE TO GETURET Support for the International Features of the .NET Framework. * Cairo and Libgdiplus
IF you want to get support for system.drawing, you will need to get Both libgdiplus and cairo. Third, installation configuration mono ================
New directory MONO under / usr
1, install mono ------------
Perform the following command in the terminal: # TAR ZXF MONO-1.0.4.tar.gz / usr / mono # CD /USR/MONO/Mono 1.0.4 # ./configure --prefix = / usr # make # make install
If there is no error above, it means that MONO's running environment is successful. After entering MONO in the terminal, the MONO's help prompt will appear, install the XSP server ------------- ---
Perform the following command in the terminal: # TAR ZXF XSP-1.0.4.tar.gz / usr / mono # CD /USR/MONO/XSP 1.0.4 # ./configure --prefix = / usr # make # make install If there is no error in the above operation, the XSP has been successfully installed. Enter xsp --root / usr / share / doc / xsp / test in the terminal, open the web browser, enter http: // localhost: 8080 / , There will be XSP welcome page 3, install Apache module -----------------
Perform the following command in the terminal: # TAR ZXF MOD_MONO-1.0.4.tar.gz / usr / mono # cd /usr/mono/mod_mono-1.0.4 # ./configure --prefix = / usr # make # make install If there is no error above, the Apache module has been installed to successfully copy the /etc/httpd/conf/od_mono.conf file to /etc/httpd/conf.d Use the editing tool to open / etc / httpd / conf / httpd. Conf adds the following lines
Alias / DEMO "/ usr / share / doc / xsp / test" monoApplications "/ demo: / usr / share / doc / xsp / test"
After saving, restart Apache, open the web browser, enter http: // localhost / demo, will appear on the XSP welcome page
Fourth, install mysql =============
The system comes with mySQL is the client program to the version of the server version of the download server version 4.1.10 | - MySQL-Server-4.1.10-0.i386.rpm | - mysql-client -4.1.10-0.I386.rpm
Install Server first, then install the Client
5. MySQL Chinese garbled problem ===================== page encoding uniform use UTF-8 encoding format, can solve the display from the page page and read Chinese characters The problem