自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(25)
  • 资源 (26)
  • 收藏
  • 关注

原创 Subversion+RabbitVCS 版本控制

Ubuntu 10.04学习笔记(4)——Subversion+RabbitVCS 版本控制2011年04月19日 星期二 17:281、安装Subversion软件sudo apt-get install apache2 %先安装apache,配合阅读svn用,并且平时开发也是要用到的sudo apt-get install subversion %svn...

2011-10-29 11:59:34 513

原创 查看ubuntu是多少位的操作系统

运行命令uname -a

2011-10-27 16:11:51 580

原创 Ubuntu下SCIM应该是最好的中文输入法

Ubuntu下SCIM应该是最好的中文输入法了,它与搜狗差不多,下面介绍它的安装方法:1)终端输入:sudo apt-get remove scim这一步是删除安装系统的时候装的那个scim,实际是个假的,我这里不可以用2)sudo apt-get install scim这一步下载安装scim输入法。下载完了系统会自己装上,中间会有提示,直接y就行了3)sudo apt-ge...

2011-10-27 15:53:55 196

原创 'java.lang.OutOfMemoryError PermGen Space' 错误导致JIRA崩溃

'java.lang.OutOfMemoryError PermGen Space' 错误导致JIRA崩溃(from http://www.confluence.cn/pages/viewpage.action?pageId=8388674) Added by Wei Jing, last edited by Wei Jing on 2011-02-16 (view ch...

2011-10-26 19:08:28 177

原创 java.lang.OutOfMemoryError: PermGen space及其解决方法

java.lang.OutOfMemoryError: PermGen space及其解决方法1、PermGen space的全称是Permanent Generation space,是指内存的永久保存区域OutOfMemoryError: PermGen space从表面上看就是内存益出,解决方法也一定是加大内存。说说为什么会内存益出:这一部分用于存放Class和Meta的信息...

2011-10-26 17:52:17 100

原创 Linux中配置MySQL随系统的自动启动和关闭

Linux中配置MySQL和tomcat随系统的自动启动和关闭1.MySQL启动同步:在文件/etc/rc.local中添加如下:sudo /usr/bin/mysqld_multi --defaults-extra-file=/home/mysql my_multi.cnf start 6sudo /usr/bin/mysqld_multi --defaults-extra-...

2011-10-25 18:28:01 689

原创 Linux环境变量的设置和查看方法

Linux环境变量的设置和查看方法时间:2011-01-07 17:52 来源:网络收集 收藏 复制分享 共有评论(0)条  1. 显示环境变量HOME  $ echo $HOME  /home/redbooks  2. 设置一个新的环境变量hello  $ export HELLO="Hello!"  $ echo $HELLO  ...

2011-10-25 18:04:45 102

原创 jira error: Neither the JAVA_HOME nor the JRE_HOME environment variable is defin

jira error: Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one o2011-09-21 17:37error:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined ...

2011-10-25 16:41:49 460

原创 如何在ubuntu 10.04中安装与配置JDK

如何在ubuntu 10.04中安装与配置JDK 2010-08-18 18:25:49| 分类: 教育学习 |字号 订阅首先下载JDK ,我这里用的是Sun JDK1.6.0_20版本, 因Ubuntu中不能用rpm, 所以下载时选择了 jdk-6u20-linux-i586.bin文件。 ubuntu中的/usr类似于windows的Program Files。因要将J...

2011-10-24 18:50:40 89

原创 /etc/mysql/my.cnf

## The MySQL database server configuration file.## You can copy this to one of:# - "/etc/mysql/my.cnf" to set global options,# - "~/.my.cnf" to set user-specific options.# # One can use ...

2011-10-24 13:30:34 520

原创 usr.sbin.mysqld

# vim:syntax=apparmor# Last Modified: Tue Jun 19 17:37:30 2007#include /usr/sbin/mysqld { #include #include #include #include #include capability dac_override, capa...

2011-10-24 09:32:29 477

原创 Ubuntu 10.04下修改MySQL的datadir的问题

Ubuntu 10.04下修改MySQL的datadir的问题 2011-09-08 14:21:59 我来说两句 0 我要投稿 [字体:小 大] 由于服务器空间告紧,需要将Ubuntu 10.04下mysql的datadir从默认的/var/lib/mysql移到/usr/local/mysql下,操作如下: 1.修改了/e...

2011-10-23 13:28:19 105

原创 一台服务器上配置多台Mysql实例

一台服务器上配置多台Mysql实例2011-07-25 14:201 先配置一个mysql数据库 并创一个可以关闭数据库的账号grant shutdown on *.* to multi_admin@'localhost' identified by '123456'; 装完第一个就创建 在第三步时 账号也就cp 过去了。 安装第一个数据库参照以前写过的文档2 stop...

2011-10-22 18:11:48 123

ubuntu linux下配置多个mysql实例 (Larry徐刚原创)

port ,socket,pid-file,datadir这四个参数必须不同,其余可以根据自己选择设置。 【配置过程】:(first , sudo /etc/init.d/mysql stop or ps -ef |grep mysql kill -9 2994-----------------not needed)1.复制datadirsudo c...

2011-10-22 18:10:23 188

原创 ubuntu下,mysql默认数据库存放路径

ubuntu下,mysql默认数据库存放路径是 /var/lib/mysq。一直以来都由着它默认没管,可近来发现 /var 的空间不足了,而数据库是一直增长的,只好考虑转移一下。于是移动了数据文件,修改了权限,修改了my.cnf,然后尝试启动,却发现无法启动起来。查看错误日志文件,发现好像是权限的问题:[Note] Plugin 'FEDERATED' is dis...

2011-10-21 10:20:34 527

原创 mysql cluster安装与配置

mysql cluster安装与配置 2011-09-08 14:13:57 我来说两句 0 我要投稿 [字体:小 大] 在centos6.0上安装并配置mysql cluster 我在这里用的是mysql cluster 7.1.15a的rpm包 我用了五台虚拟机: 一个管理节点、两个sql节点、...

2011-10-21 10:18:37 93

原创 mysql数据文件转移的问题

mysql数据文件转移的问题2011-07-31 17:28http://database.51cto.com/art/200905/125833.htm1、关掉数据库 /etc/init.d/mysql stop2、假设我们指定的数据库文件目录为/db创建目录 /db,并修改其拥有者及所属群组为mysql:mysql.命令:chown mysql:mysql db...

2011-10-21 10:16:27 130

转载 ubuntu用apt-get方法安装mysql5 + Apache2 + PHP5+Phpmyadmin

ubuntu用apt-get方法安装mysql5 + Apache2 + PHP5+Phpmyadmin 编译安装 ./configure --prefix= /app/mysql --with-charset=gbkmake   设置权限   chown -R root . 设定root能访问 /app/mysql  chown -R my

2011-10-20 18:01:40 1473

原创 vim Can't open file for writing

vi 保存时出现:"/var/qmail/supervise/qmail-pop3d/run""/var/qmail/supervise/qmail-pop3d/run" E212: Can't open file for writing如何解决是好?应该是没有权限引起的add  sudo

2011-10-20 18:00:31 3675

转载 Ubuntu常用命令备忘录

Ubuntu常用命令备忘录tar zxvf 相当于解压缩源码的意思,后面直接跟源码包路径wget :从网络上下载文件,后面跟的是文件的网络路经。一键安装LAMPsudo tasksel install lamp-server 查看当前监听80端口的程序lsof -i :80 服务管理命令添加一个服务:sudo update-rc.d 服务名 de

2011-10-20 17:28:28 611

原创 Linux mysqlCan't connect to local MySQL server through socket 解决办法

Linux mysqlCan't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'解决办法 2009-11-19 11:50:46| 分类: linux |字号 订阅启动mysql 报错:ERROR 2002 (HY000): Can’t connect to local M...

2011-10-20 15:29:59 298

原创 转 删除mysql

转 删除mysql 2009-11-06 16:55:04| 分类: Linux |字号 订阅 rhel 5 x86_64下编译php出现错误(Try adding --with-zlib-)解决config.log中同时有/usr/bin/ld: cannot find -lmysqlclient错误系统版本如下[root@opencms php-5....

2011-10-20 15:27:24 82

原创 ubuntu mysql my.cnf 位置

博客分类: ubuntuMySQLUbuntuWindows终端 输入:sudo apt-get install mysql-server 很简单,完成。 安装完成,设置 mysql编码。 主要配置文件位置:/etc/mysql/my.cnf.数据库表文件夹:/var/lib/mysql/,相当于Windows...

2011-10-20 14:54:58 1478

原创 linux MySQL数据库位置变更及更改库名

linux MySQL数据库位置变更及更改库名 2010-03-01 17:55:08| 分类: 个人日记 |字号 订阅Linux环境下:MySQL默认的数据文件存储目录为/var/lib/mysql。今天想干两件事,把库改名(测试了三种方法),另外就是更改MySQL数据库目录位置。 库改名: 1、RENAME DATABASE zhoz_db to zhoz_db_bakmy...

2011-10-20 14:43:27 686

原创 Jira的安装步骤

第一步:oracle官网下装安装 jdk-6u24-windows-i586.exe,http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html, (配置 JAVA_HOME = C:\Program Files\Java\jdk1.6.0_24)。第二步:Mysql官网(...

2011-10-19 14:00:18 147

WebBaker_0[2].10.0_dev-1228.zip

WebBaker_0[2].10.0_dev-1228.zip WebBaker_0[2].10.0_dev-1228.zip WebBaker_0[2].10.0_dev-1228.zip

2009-08-22

symfony_sandbox.tgz

symfony_sandbox.tgz symfony_sandbox.tgz symfony_sandbox.tgz symfony_sandbox.tgz

2009-08-22

cake_1.2.1.8004源码

cake_1.2.1.8004源码 cake_1.2.1.8004源码 cake_1.2.1.8004源码 cake_1.2.1.8004源码

2009-08-22

cake资料.chm

cake.chmcake.chmcake.chmcake.chmcake.chmcake.chmcake.chmcake.chmcake.chmcake.chm

2009-08-22

cakePHP资料整理.rar

cakePHP资料整理.rarcakePHP资料整理.rarcakePHP资料整理.rarcakePHP资料整理.rarcakePHP资料整理.rarcakePHP资料整理.rar

2009-08-22

apmxe5.exe

apmxe5.exe apache,php5,mysql集成环境 apmxe5.exe apache,php5,mysql集成环境

2009-08-21

Using+Struts+2+-+AppFuse+2+-+Confluence(1).pdf

Using+Struts+2+-+AppFuse+2+-+Confluence(1).pdf

2009-08-21

AppFuse+2.0+RC1+Documentation.pdf

AppFuse+2.0+RC1+Documentation.pdf

2009-08-21

Effective_Perl_Programming_Writing_Better_Programs_with_Perl.rar

Effective_Perl_Programming_Writing_Better_Programs_with_Perl.rar Effective_Perl_Programming_Writing_Better_Programs_with_Perl.rar

2009-01-15

Exploring the JDS Linux Desktop.chm

The ideal guide to JDS, Exploring the JDS Linux Desktop is clear and direct, and carefully covers such housekeeping chores as setting up networking, updates, and backups. It enters into great depth concerning the key productivity tools every user needs: email, web browsing, instant messaging, word processing, spreadsheets, and slide presentations. < Day Day Up >

2009-01-15

OpenCMS内容管理入门指南(300页中文)

OpenCMS内容管理入门指南 OpenCMS内容管理入门指南

2009-01-15

rubycourse

rubycourse rubycourse rubycourse rubycourse

2009-01-12

Ruby.for.Rails.Ruby.Techniques.for.Rails.Developers.(2006).pdf

Ruby.for.Rails.Ruby.Techniques.for.Rails.Developers.(2006).pdf Ruby.for.Rails.Ruby.Techniques.for.Rails.Developers.(2006).pdf

2009-01-12

org.codehaus.groovy.eclipse (1.0.1).zip

org.codehaus.groovy.eclipse (1.0.1).zip groovy的eclipse插件

2009-01-12

groovy1.0-installer.exe

groovy1.0-installer.exe groovy1.0-installer.exe groovy1.0-installer.exe

2009-01-12

grails_all

See the light - agile, industrial strength, rapid web application development made easy The Grails Framework - Reference Documentation Authors: Graeme Rocher, Marc Palmer Version: 1.0-final-SNAPSHOT Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically. Table of Contents 1. Introduction 2.1 Downloading and Installing 2.2 Creating an Application 2.3 A Hello World Example 2.4 Getting Set-up in an IDE 2.5 Convention over Configuration 2.6 Running an Application 2.7 Testing an Application 2.8 Deploying an Application 2.9 Supported Java EE Containers 2.10 Creating Artefacts 2.11 Generating an Application 2. Getting Started 3.1.1 Built in options 3.1.2 Logging 3.1 Basic Configuration 3.2 Environments 3.3.1 DataSources and Environments 3.3.2 JNDI DataSources 3.3.3 Automatic Database Migration 3.3 The DataSource 3.4 Externalized Configuration 3.5 Versioning 3. Configuration 4.1 Creating Gant Scripts 4.2 Re-using Grails scripts 4.3 Hooking into Events 4.4 Ant and Maven 4. The Command Line 5.1 Quick Start Guide 5.1.1 Basic CRUD 5.2.1 Association in GORM 5.2.1.1 One-to-one 5.2.1.2 One-to-many 5.2.2 Composition in GORM 5.2.3 Inheritance in GORM 5.2.4 Sets, Lists and Maps 5.2 Domain Modelling in GORM 5.3 Persistence Basics 5.3.1 Saving and Updating 5.3.2 Deleting Objects 5.3.3 Understanding Cascading Updates and Deletes 5.3.5 Pessimistic and Optimistic Locking 5.4.1 Dynamic Finders 5.4.2 Criteria 5.4.3 Hibernate Query Language (HQL) 5.4 Querying with GORM 5.5.1 Events and Auto Timestamping 5.5.2.1 Table and Column Names 5.5.2.2 Caching Strategy 5.5.2.3 Inheritance Strategies 5.5.2.4 Custom Database Identity 5.5.2.5 Composite Primary Keys 5.5.2.6 Database Indices 5.5.2.7 Optimistic Locking and Versioning 5.5.2 Custom ORM Mapping 5.5 Advanced GORM Features 5.5.2.8 Eager and Lazy Fetching 5.6 Programmatic Transactions 5.7 GORM and Constraints 5. Object Relational Mapping (GORM) 5.2.1.3 Many-to-many 5.3.4 Eager and Lazy Fetching 6.1.1 Understanding Controllers and Actions 6.1.2 Controllers and Scopes 6.1.3 Models and Views 6.1.4 Redirects and Chaining 6.1.5 Controller Interceptors 6.1.6 Data Binding 6.1.7 XML and JSON Responses 6.1.8 Uploading Files 6.1.9 Command Objects 6.1 Controllers 6.2.1 GSP Basics 6.2.1.1 Variables and Scopes 6.2.1.2 Logic and Iteration 6.2.1.3 Page Directives 6.2.1.4 Expressions 6.2.2.1 Variables and Scopes 6.2.2.3 Search and Filtering 6.2.2.4 Links and Resources 6.2.2.5 Forms and Fields 6.2.2.6 Tags as Method Calls 6.2.3 Views and Templates 6.2 Groovy Server Pages 6.2.2.2 Logic and Iteration 6.2.2 GSP Tags 6.2.4 Layouts with Sitemesh 6.3.1 Simple Tags 6.3.2 Logical Tags 6.3.4 Tag Namespaces 6.3 Tag Libraries 6.3.3 Iterative Tags 6.4.1 Mapping to Controllers and Actions 6.4.2 Embedded Variables 6.4.3 Mapping to Views 6.4.4 Mapping to Response Codes 6.4.5 Mapping to HTTP methods 6.4.6 Mapping Wildcards 6.4.7 Automatic Link Re-Writing 6.4.8 Applying Constraints 6.4 URL Mappings 6.5 Web Flow 6.5.1 Start and End States 6.5.2 Action States and View States 6.5.3 Flow Execution Events 6.5.4 Flow Scopes 6.5.6 Subflows and Conversations 6.6.1 Applying Filters 6.6.2 Filter Types 6.6.3 Filter Capabilities 6.7.1.4 Ajax Events 6.7.1 Ajax using Prototype 6.7.2 Ajax with Dojo 6.7.3 Ajax with GWT 6.7 Ajax 6.7.1.1 Remoting Linking 6.7.4 Ajax on the Server 6.8 Content Negotiation 6. The Web Layer 6.5.5 Data Binding and Validation 6.6 Filters 6.7.1.2 Updating Content 6.7.1.3 Remote Form Submission 7. Validation 7.1 Declaring Constraints 7.2 Validating Constraints 7.3 Validation on the Client 7.4 Validation and Internationalization 8. The Service Layer 8.1 Declarative Transactions 8.2 Scoped Services 8.3 Dependency Injection and Services 8.4 Using Services from Java 9.1 Unit Testing 9.2 Integration Testing 9.3 Functional Testing 9. Testing 10.1 Understanding Message Bundles 10.2 Changing Locales 10.3 Reading Messages 10. Internationalization 11.1 Securing Against Attacks 11.2 Encoding and Decoding Strings 11. Security 11.3 Authentication 11.4.1 Acegi 11.4.2 JSecurity 11.4 Security Plug-ins 12.1 Creating and Installing Plug-ins 12.2 Understanding a Plug-ins Structure 12.3 Providing Basic Artefacts 12.4 Evaluating Conventions 12.5 Hooking into Build Events 12.6 Hooking into Runtime Configuration 12. Plug-ins 12.7 Adding Dynamic Methods at Runtime 12.8 Participating in Auto Reload Events 12.9 Understanding Plug-in Load Order 13.1 REST 13.2 SOAP 13.3 RSS and Atom 13. Web Services 14.3 Runtime Spring with the Beans DSL 14. Grails and Spring 14.1 The Underpinnings of Grails 14.2 Configuring Additional Beans 14.4 Property Placeholder Configuration 14.5 Property Override Configuration 15. Grails and Hibernate 15.1 Mapping with Hibernate Annotations 15.2 Further Reading 16. Scaffolding Sponsored by G2One Inc

2009-01-12

Groovy Tutorial

Groovy Tutorial Groovy Tutorial Groovy Tutorial

2009-01-12

groovy-docs-1.5.4.zip

groovy-docs-1.5.4.zip groovy-docs-1.5.4.zip groovy-docs-1.5.4.zip

2009-01-12

struts-1.2.9-bin.zip

struts-1.2.9-bin.zip struts-1.2.9-bin.zip struts-1.2.9-bin.zip struts-1.2.9-bin.zip

2009-01-09

使用Grails快速开发Web应用.pdf

本教程从剖析GRIALS自动生成的代码入手,把WEB开发的几个基本要素作为重点,结合MVC的基本原理介绍了GRAILS框架

2009-01-09

Java信息系统设计与开发.pdf

Java毕业设计指导 Java毕业设计指导 Java毕业设计指导 Java毕业设计指导

2009-01-09

实战Acegi:使用Acegi作为基于Spring框架的WEB应用的安全框架.pdf

Acegi是一个专门为SpringFramework应用提供安全机制的开放源代码项目,全称为Acegi Security System for Spring,当前版本为 0.8.3。它使用了Spring的方式提供了安全和认证安全服务,包括使用Bean Context,拦截器和面向接口的编程方式。通过精心 配置Acegi安全系统能够轻松地适用于复杂的安全需求。它既能应用于WEB应用也能应用于非WEB应用。在 本文的示例程序 里,我将演示如何将Acegi应用于WEB应用程序。通过这个例子详细介绍如何配置Acegi的各个组件,同时介绍如何扩展Acegi 使其能够从数据库中读取配置信息。

2009-01-09

Python语言入门

Python语言入门,讲的不错

2008-04-04

Python Tutorial 2.4 中英文对照

Python Tutorial 2.4 中英文对照,难得的好书

2008-04-04

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除