易截截图软件、单文件、免安装、纯绿色、仅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内核配置文件.config,基于s3c2410实现

下面的文件的使用方法是:将下面的文件保存在linux内核源码目录中,文件的名称是.config,然后make menuconfig,在出现
的配置界面中选择Load Configuratio选项,然后可以在这个基础上修改自己的kernel。下面的配置是基于s3c2410,支持yaffs2
文件系统。我看了一下编译出来的uImage大概在800k左右,呵呵么这是本人第一次成 ......

Linux上TCP丢失小包不可见的解决

Linux上TCP丢失小包不可见的解决
 作者:千里孤行(http://blog.csdn.net/yanghehong)
有网友在做一个Linux上的客户端碰到这样的问题:
我们在Linux下开发一个网络客户端程序(服务器是不可修改的),不断向服务器不定期发送一些很小的包(一般只有几十字节),现在出现这种情况:大部分包正常发送,但是当无线Modem ......

一个Linux下C线程池的实现

      什么时候需要创建线程池呢?简单的说,如果一个应用需要频繁的创建和销毁线程,而任务执行的时间又非常短,这样线程创建和销毁的带来的开销就不容忽视,这时也是线程池该出场的机会了。如果线程创建和销毁时间相比任务执行时间可以忽略不计,则没有必要使用线程池了。
   下面是 ......

Linux驱动的一些基本操作

Linux驱动的一些基本操作

Linux内核中定义了很多宏,对硬件端口和寄存器进行操作,从网上搜集了一些宏定义的信息:
1. __REG简单的说就是获得后面所示物理地址映射后的虚拟地址,例如:
#define GPLR0  __REG(0x40E00000)    /* GPIO Pin-Level Register GPIO<31:0> */
#define GPL ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号