VM运行时数据区域:根据《Java虚拟机规范(第二版)》的规定,JVM包括下列几个运行时区域:我们思考几个问题:1.jVM是怎么运行的?2.JVM运行时内存是怎么分配的?3.我们写的java代码(类,对象,方法,常量,变量等等)最终存放在哪个区?VM运行时数据区域:1.程序计数器(program C...
分类:
编程语言 时间:
2014-08-19 18:58:16
阅读次数:
315
Suppose you want to create and run virtual machines (VMs) on VirtualBox. However, a host machine does not support X11 environment, or you only have ac...
分类:
其他好文 时间:
2014-08-19 14:11:24
阅读次数:
311
不知从哪个版本开始,mac下的virtualbox建立vm以后,启动就提示什么驱动没有加载,google后,解决如下sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart
分类:
其他好文 时间:
2014-08-19 12:41:04
阅读次数:
369
root@VM-83-49-ubuntu:~#apt-getinstallmysql-serverReadingpackagelists...DoneBuildingdependencytreeReadingstateinformation...DoneThefollowingpackageswereautomaticallyinstalledandarenolongerrequired:libjpeg-turbo8libjpeg8libxslt1.1libgd2-noxpmUse‘apt-getautore..
分类:
数据库 时间:
2014-08-18 18:52:44
阅读次数:
481
元素名属性解释serverport指定一个端口,这个端口负责监听关闭tomcat的请求shutdown指定向端口发送的命令字符串servicename指定service的名字Connector(表示客户端和service之间的连接)port指定服务器端要创建的端口号,并在这个断口监听来自客户端的请求...
分类:
其他好文 时间:
2014-08-18 16:09:12
阅读次数:
285
环境:CentOS6.4+Cloudstack4.2+xenserver 6.2动态修改Cloudstack guest 内存、CPU 准备工作:1.安装 xenserver tools工具包2.修改Cloudstack全局配置 enable.dynamic.scale.vm 为truemem.ov...
分类:
其他好文 时间:
2014-08-18 16:06:42
阅读次数:
488
二步:1、启动时自动挂载安装盘;2、增加一个".repo"(或者改掉原来的源的配置p.s.除非你以后都不想用网络源或者已经知道如何更改源的配置,否则别改)首先,在/media中创建你想挂载光盘的目录(eg:mkdir /media/rhel6p5)找到/etc/rc.d里面的 rc.local文件,...
分类:
其他好文 时间:
2014-08-18 14:24:32
阅读次数:
162
Unix/Linux支持伯克利风格的套接字编程,它同时支持面向连接和面向无连接类型的套接字。套接字最常用的一些系统调用:socket() bind()connect()listen()accept()send()recv()sendto()recvfrom()close()shutdown()se....
分类:
其他好文 时间:
2014-08-17 19:52:12
阅读次数:
268
#重定向输出重定向:1>覆盖输出(1可省略)[root@VM_168_102_centostmp]#lsfunctions>shuchu
[root@VM_168_102_centostmp]#catshuchu
functions
[root@VM_168_102_centostmp]#lsfstab>shuchu
[root@VM_168_102_centostmp]#catshuchu
fstab
1>>追加输出(1可省..
分类:
系统相关 时间:
2014-08-17 17:10:33
阅读次数:
302
You can validate different components in the database by running the script $ORACLE_HOME/rdbms/admin/catpatch.sql via SQL*Plus:
spool catpatch.log
connect / as sysdba
shutdown immediate
star...
分类:
数据库 时间:
2014-08-16 13:52:20
阅读次数:
317