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
相关文档:
几个简单的应用。
1、批量图像格式转换
如果想将某目录下的所有jpg文件转换为png文件,只要在命令行模式下输入:
for %f in (*.jpg) do convert “%f” “%~nf.png”
2、对所有图像进行同一操作
譬如,批量生成某目录下所有PNG图像文件的缩略图(大小为80×40):
......
Linux开机过程理解
一. Power on
二. BIOS加电自检:
1. 检测所有周边硬件
2. 寻找启动的磁盘(cd-rom,floppy,IDE HDD,usb device等)
三. & ......
下面的文件的使用方法是:将下面的文件保存在linux内核源码目录中,文件的名称是.config,然后make menuconfig,在出现
的配置界面中选择Load Configuratio选项,然后可以在这个基础上修改自己的kernel。下面的配置是基于s3c2410,支持yaffs2
文件系统。我看了一下编译出来的uImage大概在800k左右,呵呵么这是本人第一次成 ......
【转】Linux内核裁剪的具体步骤
在menuconfig中配置:
详细介绍内核配置选项及删改情况
第一部分:全部删除
Code maturity level options ---> 代码成熟等级选项
[]Prompt for development and/or incomplete code/drivers 默认情况下是选择的,这将会在 ......
putty
putty是个比较简单的linux远程控制工具,免费的,只要下到putty运行就ok啦,输入要访问的服务器的ip ,把访问类型设为ssh,输入登陆帐户、密码就ok啦,一切都是那么的简单。
secureCRT
这个比较复杂一点,需要注册码的,但还算是比较容易找到的,它的设置也是很傻瓜的那种,跟putty是一样的,把访问的类型设 ......