- 博客(7)
- 问答 (1)
- 收藏
- 关注
ubuntu整合tomcat和apache2
安装modjk:sudo apt-get install libapache2-mod-jk 查看一下在apache2的启动模块中是否有jk.load:sudo ls /etc/apache2/mods-enabled/ 按自己的需求编辑/etc/libapache2-mod-jk/workers.properties文件 接下来把/usr/share/doc/libapache2-...
2008-03-29 19:11:20
216
如何访问ubuntu上的mysql
在Ubuntu下MySQL缺省是只允许本地访问的,如果你要其他机器也能远程够访问mysql数据库的话,需要设置一些东西 [quote]修改/etc/mysql/my.cnf 注释掉这句话 bind-address = 127.0.0.1 给某一台主机访问数据库的权限 grant all privileges on weguan.* to test@192.168.1...
2008-03-29 19:10:37
228
ubuntu上的mysql字符集设置
ubuntu上mysql默认安装使用的字符集是latin1。 1 查看字符集支持 show character set; 2 查看字符集相关变量 show variables like "character_set%"; 3 设置默认字符集 为解决乱码问题,最简单的办法就是修改默认字符集。修改默认字符集为utf8: 找到/etc/mysql/my.cnf,在[mysqld]下...
2008-03-29 19:09:44
144
在ubuntu上搭建java开发环境
最近公司决定使用linux作为操作系统,上个星期花了点时间终于配好了,有google就是好,参考了很多帖子,现写下文章备忘,省得下次装的时候到处找了。 版本:ubuntu server 7.10 目标环境: java tomcat apache mysql jspwiki 1.首先去官方网站[url]http://www.ubuntu.com/getubuntu/download[/ur...
2008-03-29 19:08:51
152
为ubuntu server7.1安装桌面系统
[quote]先要选择好源 sudo apt-get update sudo apt-get install x-window-system-core sudo apt-get install gnome-core sudo apt-get install gdm sudo apt-get install ubuntu-desktop [/quote] 重新启动就会自动进入桌面。 ...
2008-03-26 13:39:43
115
BeanFactory的生命周期(lifecycle)
The full set of initialization methods and their standard order is: 1. BeanNameAware's setBeanName 2. BeanClassLoaderAware's setBeanClassLoader 3. BeanFactoryAware's setBeanFactory 4. ResourceLoad...
2008-03-14 12:11:47
391
MooRating
Rating star using Mootools. As unregisted user cannot download the attachment, so I delete it. Tested in Mozilla Firefox and IE 7.0. js [code] /* * Rating star using Mootools. * * Mo...
2007-12-21 13:37:33
151
空空如也
hibernate的查询问题
2008-08-13
TA创建的收藏夹 TA关注的收藏夹
TA关注的人