`
文章列表
一 前期过程:下载oracle for linux (x86),上传至linux 二,安装前准备: 1,硬件要求, Performing check for TotalMemory 正在检查物理内存需求... 要求的结果: 922MB 实际结果: 1004MB 检查完成。此次检查的总体结果为: 通过 Check complete: 通过 ======================================================================= Performing check for SwapSpace 正在检查可用交换空间需求... ...
原文地址:http://www.zhangxinxu.com/wordpress/?p=616   一、相关demo 基本demo页面 Ajax demo页面 参数可编辑demo页面 二、简介与说明 此jQuery插件为Ajax分页插件,一次性加载,故分页切换时无刷新与延迟,如果数据量较大不建议用此方法,因为加载会比较慢。 原插件CSS不太合理,使用浮动,故无法方便实现左右方向的定位,且未清除浮动,在中文修改版中我对其进行了优化,使其支持text-align的定位。 对原js文件注释进行了中文翻译,demo页面也是汉化了的,demo页面的js与 ...
转自http://hi.baidu.com/showimg/blog/item/db028ccb257c87fa53664fe2.html 安装crontab: [root@CentOS ~]# yum install vixie-cron [root@CentOS ~]# yum install crontabs 说明: vixie-cron软件包是cron的主程序; crontabs软件包是用来安装、卸装、或列举用来驱动 cr ...
常用的页面的布局方式一般是固定页面的宽度居中显示,高度自适应,下面的代码就是一个居中显示的例子。 固定宽度居中显示 1 通过 设置margin : 0 auto ;width:998px;  还一种方式是 position:absolute;left:50%; margin-left: -494px; 这里设置的宽度应该是你页面设置的宽度的一半,这样也可以实现居中显示的效果。   下面是一个盒子模型的布局的部分代码:   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " ...
执行下面指令(原样照抄即可): yum groupinstall "GNOME Desktop Environment" 安装GNOME的时候,yum会自动按照依赖关系把X Window安装上去的。如果只要X Window,可以用下面的指令: yum groupinstall "X Window System"
    1. 配置开机启动服务     chkconfig –add mysqld [在服务清单中添加mysql服务]     chkconfig mysqld on [设置mysql服务开机启动]     service mysqld start [启动mysql服务,与开机无关]     也可以通过 /etc/rc.d/init.d/mysqld start 启动     2. 设置mysql数据库root帐号密码。默认的初始化密码为空~~~     mysqladmin -u root password ‘new-password’ [引号内填密码]     3. 让mysql数据 ...
VirtualBox的提供了四种网络接入模式,它们分别是: 1、NAT    网络地址转换模式(NAT,Network Address Translation) 2、Bridged Adapter    桥接模式 3、Internal    内部网络模式 4、Host-only Adapter  主机模式 下面我们分别对这四种网络模式进 ...
忘记 root 密码需要进入进单用户模式来修改。 操作很简单: 1、系统启动后出现 grub 画面时,选择 linux 引导项,然后按 e 键编辑启动项。 2、选择以 kernel 开头的一行,按  e 键进入编辑模式,在此行的末尾加入 single ,再回车退出。 3、按 b 键引导启动,进入系统后执行命令 “passwd root” 修改 root 密码 。
在使用CentOS系统时,安装的时候可能你会碰到英文的CentOS系统,在这中情况下安装CentOS系统时是默认安装(即英文)。安装完毕后,出现的各种中文乱码。那么,我们如何解决这种问题呢。 一、CentOS系统访问 g.cn ,发现中文乱码。 于是用以前的方式:yum -y install fonts-chinese CentOS系统安装后,还是不能显示中文字体。我使用 gedit 编辑源码,其中文注释也为乱码。 后来,终于找到以下方法可以解决,需要两个中文支持的包: fonts-chinese-3.02-12.el5.noarch.rpm ftp://ftp.muug.mb.ca/m ...
Steps to install Libevent(memcached dependency) First we need to check if libevent is installed or not? type whereis libevent on shell. If you don’t find it, then we need to download and install it.  Type following sequence of commands on your shell wget http://www.monkey.org/~provos/libevent-1.4. ...
    VMware虚拟机安装好以后,会自动添加两张网卡(vmnet1和vmnet8),整个机器的结构就可以抽象成:VMware虚拟机系统(虚拟网卡vmnet0)――(vmnet1 vmnet8)――实际系统(网卡)。  1.Vmware的网卡设置  (1)Bridged(桥接)方式 用这种方式,虚拟系统的IP可设置成与本机系统在同一网段,虚拟机相当于网络内的一台独立的机器,与本机共同插在一个集线器上,网络内其他机器可访问虚拟机,虚拟机也可访问网络内其他机器,当然与本机系统的双向访问也不成问题. 这个时候vmware就模拟成一个网桥的功能,就只使用 vmnet1网卡,vmnet8就可以 ...
div:after{clear:both; content:'.' height:0; visibility:hidden; diplay:block;} 只能清楚ff这样的标准浏览器的浮动,ie不可以,这个方法也不完整,你的clear也不那么完美 .cleardiv{clear:both;*display:inline;overflow:hidden;} .clear{zoom:1;} .clear:after{content:".";height:0;visibility:hidden;display:block;clear:both;} 用法1: <d ...
要想在windows中使用memcached,必须先下载memcached for win32安装。 下载地址:http://code.google.com/p/memcached/downloads/list 解压后只要在命令窗口中输入下面命令c:\memcached\memcached.exe -d install  就可以把memcached安装为windows服务了。 启动该服务后,memcached服务默认占用的端口是11211 ,占用的最大内存默认是64M。 在修改这2个配置选项就碰到了一些问题,网上搜索了很多资料,都说使用下面的命令启动服务就可以: c:\memcac ...
A framework tries to automate the common tasks and provides a platform for the users to build applications quickly. Struts 2 is based on the OpenSymphony Web Works Framework . Struts 2 framework implements the Model-View-Controller (MVC ) design pattern. In Struts 2 the model, view and contro ...
The struts2-convention-plugin-2.1.6 jar file is needed if your are using annotations. The Convention plug-in is the one which does everything in the background. The Convention plug-in does the following things. By default the Convention plug-in looks for the action classes inside the followin ...
Global site tag (gtag.js) - Google Analytics