Showing posts from July, 2010

Tomcat 6 and JDK 1.6

Installing Tomcat 6 =================== yum only gives tomcat5. So, yum remove tomcat5 -y cd /usr/share wget tar xvzf apache-ant-1.8.1-bin.tar.gz ln -s /usr/share/apache-ant-1.7.1/bin/ant /usr/local/bin mkdir /usr/local/tomcat wget tar xvzf apache-tomcat-6.0.28.tar.gz mv apache-tomcat-6.0.28/* ./ rm -rf apache-tomcat-6.0.28 Go get /etc/init.d/tomcatd startup script frm ns38 or google around. chown -R root:tomcat /usr/local/tomcat/ chown -R tomcat:tomcat /usr/local/tomcat/temp/ chown -R tomcat:tomcat /usr/local/tomcat/logs/ chown -R root:root /usr/local/tomcat/bin/ Next, test, maybe cannot start. Why? make sure this details are acordingly in /etc/init.d/tomcatd # chkconfig: 345 84 16 # description: Tomcat jakarta JSP server TOMCAT_HOME=/usr/local/tomcat TOMCAT_START=$TOMCAT_HOME/bin/ TOMCAT_STOP=$TOMCAT_HOME/bi

Checking .NET framework Version installed on Server

Method 1: <%@ Page Language="VB" %> <html lang="en"> <head> <title>.NET version</title> </head> <body> <p>.NET version is: <%= System.Environment.Version.ToString() %> </p></body> </html> And save it to ayam.aspx Method 2: Go remote the server, and Open my computer, and paste this on url bar: %systemroot%\Microsoft.NET\Framework and see whats folder is there? Ref: //alak