Changes

From SME Server
Jump to navigationJump to search
40 bytes removed ,  20:16, 15 October 2011
m
→‎Install: replacing [code] with one space to good formating! :$
Line 101: Line 101:  
==Install==
 
==Install==
   −
[code]
+
 
/sbin/e-smith/db yum_repositories set mono repository \
+
/sbin/e-smith/db yum_repositories set mono repository \
Name 'Mono 2.x for rhel-5-i386 (stable)' \
+
Name 'Mono 2.x for rhel-5-i386 (stable)' \
BaseURL 'http://ftp.novell.com/pub/mono/download-stable/RHEL_5/' \
+
BaseURL 'http://ftp.novell.com/pub/mono/download-stable/RHEL_5/' \
EnableGroups no \
+
EnableGroups no \
GPGCheck yes \
+
GPGCheck yes \
GPGKey http://ftp.novell.com/pub/mono/download-stable/RHEL_5/repodata/repomd.xml.key \
+
GPGKey http://ftp.novell.com/pub/mono/download-stable/RHEL_5/repodata/repomd.xml.key \
Visible yes \
+
Visible yes \
status disabled
+
status disabled
signal-event yum-modify
+
signal-event yum-modify
yum --enablerepo=mono install monotools-addon-server mod_mono-addon mono-addon-wcf
+
yum --enablerepo=mono install monotools-addon-server mod_mono-addon mono-addon-wcf
[/code]
+
 
    
Now verify you get happy-looking results from
 
Now verify you get happy-looking results from
[code]source /opt/novell/mono/bin/mono-addon-environment.sh
+
source /opt/novell/mono/bin/mono-addon-environment.sh
mono --version
+
mono --version
[/code]
+
 
    
Finally, "If you want the Mono environment to be permanent you can issue the following command.":
 
Finally, "If you want the Mono environment to be permanent you can issue the following command.":
[code]
+
cp /opt/novell/mono/bin/mono-addon-environment.sh /etc/profile.d
cp /opt/novell/mono/bin/mono-addon-environment.sh /etc/profile.d
  −
[/code]
   
(mmccarn suspect this is irrelevant for web apps)
 
(mmccarn suspect this is irrelevant for web apps)
    
Now make the custom template fragment:
 
Now make the custom template fragment:
[code]
+
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
+
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
+
echo '  #Template for mod_mono
echo '  #Template for mod_mono
   
   LoadModule mono_module /usr/lib/httpd/modules/mod_mono.so
 
   LoadModule mono_module /usr/lib/httpd/modules/mod_mono.so
 
   AddType application/x-asp-net .aspx
 
   AddType application/x-asp-net .aspx
Line 148: Line 145:  
   
 
   
 
   MonoServerPath /opt/novell/mono/bin/mod-mono-server2
 
   MonoServerPath /opt/novell/mono/bin/mod-mono-server2
' > 20LoadModule80mod_mono
+
' > 20LoadModule80mod_mono
 
+
signal-event remoteaccess-update
signal-event remoteaccess-update
  −
 
  −
[/code]
      
==creating space to test app using browser==  
 
==creating space to test app using browser==  
147

edits

Navigation menu