易截截图软件、单文件、免安装、纯绿色、仅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 双网卡绑定测试


先介绍一下情况,服务器A和服务器B都是CentOS 4.6的系统,现在要做HA
Cluster,为了避免裂脑的发生,要提高心跳链路的可靠性,下图是现时的连接情况,服务器A的eth2、eth3分别和服务器B的eth2、eth3
相连(没有顺序关系),所有网卡都是千兆网卡,拓扑图如下所示:
在介绍一起硬件情况,服务器A是一台HP DL380
G5, ......

linux socket 优化


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

linux 设置环境变量

下面以配置java
环境变量为例介绍三种配置环境变量的方法。
 
1.修改/etc/profile文件
如果你的计算机仅仅作为开发使用时推荐使用这种方法,因为所有用户
的shell
都有权使用这些环境变量,可能
会给系统
带来安全性问题。
 
(1)用文本编辑器打开/etc/profile
 
(2)在profile文件末尾加入:
JA ......

linux内核配置文件.config,基于s3c2410实现

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

虚拟机上SourceInsight访问Linux系统的代码


首先在Linux系统上安装samba
然后启动Windows虚拟机,在资源管理器中将samba的地址(例如//192.168.1.10/share)映射为一个虚拟盘符Z
最后启动SourceInsight,在Z盘上建立工程,并导入文件。
注意:以后每次使用SourceInsight之前先要连接samba服务器,比如说打开盘符Z。 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号