LINUXÏÂÓýű¾ÊµÏÖJDK TOMCAT
dk>/opt/tomcat/conf/server.xml
rm -rf /opt/tomcat/conf/djdk /opt/tomcat/conf/aaa mv /opt/tomcat/bin/startup.sh /opt/tomcat/bin/aaa
chmod a x /opt/tomcat/bin/startup.sh aa="/opt/tomcat/bin/startup.sh" echo "export JAVA_HOME=/usr/jdk export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar:. export PATH=$PATH:$JAVA_HOME/bin export CATALINA_HOME=/opt/tomcat /opt/tomcat/bin/catalina.sh start " >$aa echo "/opt/tomcat/bin/startup.sh" >> /etc/rc.d/rc.local chkconfig --level 3 httpd off source /etc/profile /opt/tomcat/bin/startup.sh touch /hello.java echo "public class HelloWorld{ } " > /hello.java sed ''s/nihao/"Hello, World"/g'' /hello.java >/HelloWorld.java rm -rf hello.java touch /mmm.sh echo "#!/bin/bash if then echo "Successful" else echo "Fail" fi " > /mmm.sh
rm -rf /mmm.sh /kkk.sh /nnn.sh
You can work also no to come to test an once IP being able to import a server on IE. Hanging coming to test once JAVA your hello.sh under being able to run root builds"
|
||
ÁèÖڿƼ¼×¨ÒµÌṩ·þÎñÆ÷×âÓᢷþÎñÆ÷Íйܡ¢ÆóÒµÓʾ֡¢ÐéÄâÖ÷»úµÈ·þÎñ£¬¹«Ë¾ÍøÕ¾£ºhttp://www.lingzhong.cn ΪÁ˸ø¹ã´ó¿Í»§Á˽â¸ü¶àµÄ¼¼ÊõÐÅÏ¢£¬±¾¼¼ÊõÎÄÕÂÊÕ¼¯À´Ô´ÓÚÍøÂç,ÁèÖڿƼ¼×ðÖØÎÄÕÂ×÷ÕߵİæȨ£¬Èç¹ûÓÐÉæ¼°ÄãµÄ°æȨÓбØҪɾ³ýÄãµÄÎÄÕ£¬ÇëºÍÎÒÃÇÁªÏµ¡£ÒÔÉÏÐÅÏ¢ÓëÎÄÕÂÕýÎÄÊDz»¿É·Ö¸îµÄÒ»²¿·Ö,Èç¹ûÄúҪתÔر¾ÎÄÕÂ,Çë±£ÁôÒÔÉÏÐÅÏ¢£¬Ð»Ð»! |