Linux³£ÓÃÃüÁî
1¡¢free ²é¿´·þÎñÆ÷µÄÄÚ´æ·ÖÅäÇé¿ö
2¡¢resin ¼ò½é£º
ps -elf|grep java //²é¿´½ø³Ì resinÆô¶¯Çé¿ö
ps -elf|grep java
ll //²é¿´½Å±¾Æô¶¯ÁÐ±í£¨ÒªÆô¶¯µÄÎļþÁÐ±í£©
dl _jsp
//sh½Å±¾Æô¶¯ &±íʾ½«Ó¦ÓóÌÐòºǫִ́ÐÐ
£¨1£©./name.sh &
£¨2£©sh name.sh &
//²é¿´javaÔËÐеÄËùÓÐÏß³Ì
ps -elf|grep java
//ɱËÀij¸öÏß³Ì
kill -9 Ï̺߳Å
setup //´ò¿ªLinux·À»ðǽÉèÖá¢Ö÷ÒªÊǶԶ˿ڵĿª·ÅÉèÖÃ
3¡¢/usr/local/resin/log jvm-default.log //²é¿´resin ·þÎñÆ÷ Æô¶¯Çé¿öµÄÈÕÖ¾
4¡¢É¾³ýÎļþÃüÁ
[root@hmdgtest49 bin]# cd /usr/local/diagramssq.zhcw.com
[root@hmdgtest49 diagramssq.zhcw.com]# rm -rf *
5¡¢java.lang.ClassNotFoundException: oracle.jdbc.driver.or acledriver //risin·þÎñÆ÷ϵÄjar°ü£¨ÈçORCALµÄjar°üµÈ£©ÎļþÉÙÀ²
6¡¢ÐÞ¸ÄÎļþ£º
vi ÎļþÃû£¨eg£ºapp-default.xml£© //½øÈë±à¼×´Ì¬
i //½øÈë²åÈë״̬
esc //Í»³ö²åÈë״̬
:wq //±£´æÍ˳ö
:q! //²»±£´æÖ±½ÓÍ˳ö±à¼×´Ì¬
7¡¢app-default.xml Îļþ ¸Ä±ä·þÎñÆ÷ ÎļþµÄ±àÂ뷽ʽ£º
<servlet servlet-name="resin-file"
servlet-class="com.caucho.servlets.FileServlet">
<init>
<character-encoding>utf-8</character-encoding>
</init>
</servlet>
8¡¢Ð޸ķþÎñÆ÷£¨linus£©hostsÎļþ
vi /etc/hosts //ÅäÖÃHOSTS
//Ð޸ķþÎñÆ÷ʱ¼ä
date -s ""
9¡¢´ò¿ªÍ¼Ðλ·¾³£¨linuxϵͳ£©
java -Djava.awt.headless=true
10¡¢./resin //Ö´ÐÐÒ»¸öresin ½Å±¾³ÌÐò /etc/init.d Ϊresin½Å±¾Â·¾¶
ÐÞ¸Äresin½Å±¾È¨ÏÞ:
#cd /etc/init.d/
Ïà¹ØÎĵµ£º
1. ³õʼ»¯Ò»¸öÁ¬½Ó¾ä±ú
MYSQL *mysql_init(MYSQL *);
ÕýÈ·£º·µ»ØÒ»¸öÖ¸ÏòзÖÅäµÄÁ´½Ó¾ä±ú½á¹¹µÄÖ¸Õë
´íÎó£ºNULL
×¢£º¸Ãº¯ÊýµÄ´«Èë²ÎÊýͨ³£ÎªNULL¼´¿É¡£
2. ½¨Á¢ÎïÀíÁ¬½Ó
MYSQL *mysql_real_connect(MYSQL *connect ......
linuxÏÂÌí¼Ó·Óɵķ½·¨£º
Ò»£ºÊ¹Óà route ÃüÁîÌí¼Ó
ʹÓÃroute ÃüÁîÌí¼ÓµÄ·ÓÉ£¬»úÆ÷ÖØÆô»òÕßÍø¿¨ÖØÆôºó·ÓɾÍʧЧÁË£¬·½·¨£º
//Ìí¼Óµ½Ö÷»úµÄ·ÓÉ
# route add –host 192.168.168.110 dev eth0
# route add –host 192.168.168.119 gw 192.168.168.1
//Ìí¼Óµ½ÍøÂçµÄ·ÓÉ
# route add –net IP netma ......
¶ÔÓÚ¸Õ¸Õ½Ó´¥LinuxµÄÈËÀ´Ëµ£¬Ò»¶¨»á¸øLinuxÏÂÒ»´ó¶Ñ¸÷ʽ¸÷ÑùµÄÎļþÃû¸ø¸ãÔΡ£±ð
¸ö²»Ëµ£¬µ¥µ¥¾ÍѹËõÎļþΪÀý£¬ÎÒÃÇÖªµÀÔÚWindowsÏÂ×î³£¼ûµÄѹËõÎļþ¾ÍÖ»ÓÐÁ½ÖÖ
£¬Ò»ÊÇ,zip£¬ÁíÒ»¸öÊÇ.rar¡£¿ÉÊÇLinux¾Í²»Í¬ÁË£¬ËüÓÐ.gz¡¢.tar.gz¡¢tgz¡¢bz2¡¢
.Z¡¢.tarµÈÖÚ¶àµÄѹËõÎļþÃû£¬´ËÍâwindowsϵÄ.zipºÍ.rarÒ²¿ÉÒÔÔÚLinuxÏÂʹÓ㬠......
ÎÒÃÇʹÓõÄLinuxºÍWindows¿É²»Ì«Ò»Ñù£¬ÓÃtopÃüÁîµÃ³öÀ´µÄ¿ÉÄܲ»ÊÇÕæÊµÊ¹ÓõÄÄڴ棬ÓÃfreeÃüÁîµÚ¶þÐвÅÊÇÏµÍ³ÕæÊµÊ¹ÓõÄÄÚ´æ¡£Èç¹û·¢ÏÖPHP-CGI°ÑÄãµÄÄÚ´æÕ¼ÂúÁ˿ɲ»Òª¾ª»ÅŶ¡£
Page cacheºÍbuffer cacheÒ»Ö±ÒÔÀ´ÊÇÁ½¸ö±È½ÏÈÝÒ×»ìÏýµÄ¸ÅÄÔÚÍøÉÏÒ²ÓкܶàÈËÔÚÕù±çºÍ²ÂÏëÕâÁ½¸öcacheµ½µ×ÓÐÊ²Ã´Çø±ð£¬ÌÖÂÛµ½×îºóҲһֱûÓÐÒ»¸ ......
Q. How can I add a user to a group under Linux operating system?
A. You can use useradd or usermod commands to add a user to a group. useradd command creates a new user or update default new user information. usermod command modifies a user account i.e. it is useful to add user to existin ......