易截截图软件、单文件、免安装、纯绿色、仅160KB

J2EE项目迁移(window >linux)

1. download & setup jdk
2. download eclipse and test a simple example of java
3. setup mysql use yum(or download & setup by hand)
 yum install mysql
 problem1:linux mysql configuration & use
  solution1:
   mysql -uroot -p
   password:******
 problem2:ERROR 1045(28000)Access denied for user 'root'@'localhost'(using password:NO)
  solution:
   #mysqld_safe --user=mysql --skip-grant-tables --skip-networking &
   #mysql -u root mysql
   mysql> select host,user,password from user;
   next, you can operator the user table and confirm it without null user;
   if there are null user, you can delete it use delete sql.
 problem3:how to migrate data to linux
  solution1:window ,use mysql-front to output a backup-file name package.sql
   1. change mysql setting as follows:
     mysql> update mysql.user set host='%' where host='localhost';
     mysql> grant all privileges on *.* to root@"%";
     mysql> flush privileges;
   2. in window, use mysql-front to connect it.
  solution2:just linux (not tested)
   out:mysqldump databasename > filename.sql
   in:mysqladmin create databasename;
   shell:mysql databasename < filename.sql
  
4. download & setup Tomcat
  Filename:apache-tomcat-5.5.28.tar.gz -> unpack & directly can use,
       first thing must do if you want use it is configure JDK, like PATH & CLASS_PATH
   vim /etc/profile
   use eclipse to check the jdk setup-directory
   PATH = %PATH:/usr/java/jdk1.6.0_13/bin
   CLASS_PATH=.:/usr/java/jdk1.6.0_13/lib
  then, come in the unpa


相关文档:

linux socket 优化


linux socket 优化
2008-06-12 16:40
使用 Sockets API,我们可以开发客户机和服务器应用程序,它们可以在本地网络上进行通信,也可以通过 Internet 在全球范围内进行通信。与其他 API 一样,您可以通过一些方法使用 Sockets API,从而提高 Socket 的性能,或者限制 Socket 的性能。本文探索了 4 种使用 Sockets API 来 ......

dos 和 linux 换行符 区别

windows(dos)下的换行符 和 linux (ubuntu)下的换行符是不同的。
在涉及到DOS下的文本 在LINUX下 操作时,就涉及到换行符不同带来的麻烦。
,在DOS使用的换行符为 ^M$,我们称为CR与LF两个符号。而在Linux中,则仅有LF ($) 这个换行符。这个换行符对于
Linux的影响很大。
我们说过,在开始执行Linux命令时,它的判断依 ......

linux 调试动态库

我最近的工作是在linux环境下测试一个.so的动态库,我暂时命名为libdawn.so,是同事实现的,我需要再我的测试程序中加载这个库,并调试该库,我用的编译环境是Eclipse.
1. 在Eclipse->Project->Properities->c/c++ Build->setting->gcc c++ Linker(如果是用gcc c编译的则选gcc c Linker)->Libraries ......

linux内核移植s3c2410,移植正式开始1

在前面的准备工作完成之后,先实验一下,谈不上真正的移植 ,因为代码都没有改的。
首先修改顶层的Makefile,修改ARCH,CROSS_COMPLIE变量。
#ARCH        ?= $(SUBARCH)
ARCH        ?= arm
CROSS_COMPILE    ?= arm-linux-
执行make smd ......

在Linux服务器上如何开启安全的SNMP代理

在各种Linux分发版中,大多数都已经默认集成了snmpd,比如在suse10中,你可以这样开启snmpd:
  
  suse10:~ # /etc/init.d/snmpd start
  
  如果没有默认安装,你要做的就是自己来编译snmpd,按照下边的步骤,非常简单。
  
  编译和安装
  对于Linux平台,我们推荐使用Net-SNMP,它实现了标准的SNM ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号