接上文.当虚拟服务器和虚拟机搭建完成后.登陆debian 8.1 X64.

进入虚拟服务器控制台.打开虚拟机.root登陆.(留好初始状态系统快照.以便系统恢复.)

由于之前debian8.1X64默认安装ssh server远程控制.ssh的默认安装选项是不允许root登陆.为了方便配置和使用.现对ssh进行优化配置.

虚拟机控制台root登陆后.

nano /etc/ssh/sshd_config

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAATgAAAA5CAIAAAAtNqAsAAAbBElEQVR4nO1d227bSJCtJilKijPz/8BgZmJLvFOkbOeG+bp9OODBYTWp2NkssHZYDwZNNfta967qNttggw022GCDDTbYYIMNNthgg///kCSJmWVZFkLAGz6sAQvj2zRN+RV+CiG4n9I01QKuFf0E1fLZzA6Hg3bVzPI8139ZmxtClmXoA9+zezoc1M8OoHKtf7/fa7UYlJntdjtWi8K73S4enUKapkmSaPdeOy5Mpqvzh0u2wTsBIM3hcCD2rAGwBMWI0wAitJmFEFgVEZrkzQ+1hhACSwKSJCGV8kNH8Ow/miORozOuh66raZrqeNlnNKQEczweY86io9OGjscjKmf9qM2xACXUl49LOxAznQ3eMwDVSGZZljmevQggIaXbEAJwcZHaUb8Tevw3SRJtNISg/aEUYtOusDZhc4EGsmENMXKDoigtlTVAzJJ9OOrVUaju4Aaus4FfWedPjAvEr9P4wvXa4G0DlpzMfrfbObHmQJVYvCGV4t8PHz44FZGVE8McJYOWzuczBQi/ZVUkIf6EByAx1VclM5Xw2lX9/OnpiQ25mkE2fEnl1tWjCjCe0zTN8xyDxeeYtL7vTTRbxxpePi4W2+jzd4Tn52c8dF13uyTxI8uyp6eny+WyVma326kyyV+7roMoINamaQo8JhyPR+K9yjFWGDeqSi8l5ziOJhIbL0nDp9Ppw4cPrgalQ0q/w+GgQ3D0Btl4Op1iG5X1Xy4XVUCc4v3ycTlOSsN4g/cMJCHQZ57nl8vlxsIDXYBVbdvi5TiOu92O0sOJMuAZ/n78+DGE0DQNflJ5RQZxPB6Jr0RllTM2yTF1WbED2ij6pm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TLS+ME920Rlj1IFm+S62m0iciQ5QF4UqH5E4zG/NIlfVUbPbOkAazEmSwMET5CZYl7irmZjxBVnOtiLnwpA5KMUNfe/+2nzJ4HRkc4t50YqBLjLxF4Cry41Ht/X0rxoA2ifVvrTyeFvSon2RGOK1X+uwvo8p1rV7o7xFuW8s4xbY5lhik6aAeEznE1KK5bdslzoh8fLGnGgBikTXN6dxsTCbu92uGpZK+Y7l2dy819njh+R9sRIYLw13m7Tb7jmNgnXdv/qVW1nl1BaFPcduvBAldbrxqgtWJ+qHHsGfB0czWEL2SXE37oRORzxmJXiSsRPCOmCLOD3BvXfY7KLYTFg4X8Zzx8yJsJLf6JilujR0FIsMW9HL5pawLXkONbJ0gw08ZJJbYJHkRBlGvTkx4sxLk7sJ8a+yeVUqHPFouoyt5KNq/fqt0kNMrjqcdD3PVnuVzPMbwzzaU9UeFVaOlzuyV6DmzH8p07KbJ55t8PsClFiimkvRpNNSXy7mowY5rdfJhES2ztTfqJmZi31zQfBhfvubUmMapVxmEvjGGjhki8Q4ZaDLb8yj2+gsojSbq1XO/A7zK5I1YSiZb7XRObHBBssQouy+sJK3qdLDKYQA1Xh1l9nm0tVZOzDWqSHH+agmkQPaT1vPR9WeZ9NdEskr8xvxxkl1Eh7OSbRIrWXNdH054U++QNbgWt9ggxlwn6DruqIoNMZ9MW+TthlduIrNzNUI821llRvqIoo3hdfyUdWtpTcRkqhsrjeSfkiWGhT68vxGOg8p/OmKiDkafiW7WfSLHI9Hth4zuM1A/Z3hfwBx7U/43u+ieQAAAABJRU5ErkJggg==" alt="" />

找到这个指令.按照习惯改为

LoginGraceTime 720     //修改无动作断开ssh登陆的时间为720分钟.
PermitRootLogin yes    //打开root账号的ssh登陆权限.
/etc/init.d/ssh restart    //重启ssh服务以更新配置.

关闭控制台使用软件Xshell登陆服务器.

为root添加ll命令.

nano /root/.bashrc

去掉下面的注释.使root.ls命令变为自动彩色.

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPgAAA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4O5sNosjW5qkrkcMhqhqaEjB7M20eyfB6J8OT97wSScF1nGV3/2A4tLV5YEfPeqvNwwOuU/xdIhmepdKwx06K6gFLUv96+H/cv2/39PB6+P3T5pEMr2cyPPOGYNsT174icjXx7774RhWVHYvR6oUxp99bbR4eJMPrVoane4jv9IL7M727d3gUx9znSRz/K7YRs/dnSvqqzcMjIRleHT+DFyAGP5rzaJIi97l7PB4/Ho/fC4K+pH3uIJDEqRP49wt9M5tJmsrPBe0X6gBxtBME911+qe+7/NPNm7TvcqsAQtANetfLCOT+9V+ORl/T/vWElQDDUQJhlSCOEvoO4iih5/gfJ4QJMo+3DZoAAAAASUVORK5CYII=" alt="" />

找到这3项配置去掉这三个#

重启.

安装java.

mkdir /usr/java    //建立安装文件夹.
mkdir /usr/temp    //建立临时文件夹以存储安装包.

点击xshell菜单中新建文件传输.将下载好的jdk-7u75-linux-x64.tar.gz上传到/usr/temp文件夹中.以备安装.

java下载链接: 链接 访问密码 e8d9

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmYAAABYCAIAAADQoawpAAAerklEQVR4nO2d/VNUR7rH+St2/4F7/wJ+WLN5qa6ZULNEkViuKOvEKojFCEsRdTNbhOAyRdTFRZgQgqi8RMHS7AgjUZIKWusKzLBaMUxRxAAZgfBySrm5lte7i4L54d4feqanT58+fXrOOfO2PJ+yEjgv3U/36e5vP0/3OeRNFb0989ZbiqKsrq4qcoR9+Xkq8n1hRel35zG4+zVH3f2K3pWaDBIH9W7QTShxgkk5CR7caGto6Aslfmm78UBRlAc3blDH+kKKooT6YufwQfxzqC9xtxLqwz+G+hqYH1Q5PnhArm/gnAcAAAAySt6D//jPhRvDiqKsLi9L3xWXpHyfzy2WTFpf4/KVtGQy99AndI6TXM1KZqivQa1aCQUN9TXEiJ3nSmbsDtWFBpKZSDiRHgAAAJA15D0MXlMUZXVlJdOWAAAAAEBWk3f/u+9+mJmRjckCAAAAwFYlb/nHH+VXMQEAAABgy5KXaQMAAAAAIDcA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T3ajVtdVUYIOdYq3sWBBMAgKzAprVM3mt+miNCyTR4uUQ7cMpv/4nfz27/ySSc5T2dyxipY99PpItLymwgmc95j0uVFGd6kcicXl+OO/daG5hdVzLWcs/yEwcAAMgAtu2YtUiKXi7Jahgx+PcvMAAAQG6TJd+Y3YqKCQAAAOQWWSKZAAAAAJDtgGQCAAAAgBQgmQAAAAAgBUgmAAAAAEjx/7c7Eq2l3aewAAAAAElFTkSuQmCC" alt="" width="660" />

tar -zxvf /usr/temp/jdk-7u75-linux-x64.tar.gz    //解压安装包
mv jdk1.7.0_75/ /usr/java/java7    //移动解压文件到预定位置

写入系统环境变量.

nano /etc/profile    //编辑环境变量

打开文件在所有文字最后添加一下内容.

export JAVA_HOME=/usr/java/java7    //定义java主目录
export PATH=$PATH:$JAVA_HOME/bin //打通java/bin文件夹到path
export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib

重启或者输入一下命令重新加载profile文件.

source /etc/profile    //重新加载/etc/profile文件.

测试安装结果.

java -version

输出结果.为下面信息即为成功.

java version "1.7.0_75"
Java(TM) SE Runtime Environment (build 1.7.0_75-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)

由于本笔记从安装系统开始.无安装其他java.固安装其他java情况暂不提供方案.
例如:openjava.等.

关机留系统快照.以便恢复.

添加数据库

adduser postgres

用apt方式安装数据库.

apt-get install postgresql-9.4 postgresql-common postgresql-contrib-9.4
nano /etc/postgresql/9.4/main/pg_hba.conf

在# ipv4 下添加

host  all  all  0.0.0.0/0  trust

nano /etc/postgresql/9.4/main/postgresql.conf

# - Connection Settings -

listen_addresses = '*'                  # what IP address(es) to listen on;

改为这个.

建立数据库名为adempiere的用户密码为adempiere(使用postgres身份登陆系统)

psql -U postgres -c "CREATE ROLE adempiere SUPERUSER LOGIN PASSWORD 'adempiere'"

以adempiere为所有者建立数据库idempiere

adduser adempiere

以adempiere身份登录.

createdb --template=template0 -E UNICODE -O adempiere -U adempiere idempiere
psql -d idempiere -U adempiere -c "ALTER ROLE adempiere SET search_path TO adempiere, pg_catalog"

加入uuid支持

psql -d idempiere -U adempiere -c 'CREATE EXTENSION "uuid-ossp"'

apt-get install unzip

unzip idempiereServer.gtk.linux.x86_64.zip

mv idempiere-server/ /usr/local/idempiere

nano /usr/local/idempiere/utils/unix/idempiere_Debian.sh

编辑id根目录.

编辑id启动用户

导入种子数据库.

cd /usr/local/idempiere/data/seed

unzip Adempiere_pg.jar

adempiere身份登录

psql -U adempiere -d idempiere -f Adempiere_pg.dmp

cp /usr/local/idempiere/utils/unix/idempiere_Debian.sh /etc/init.d/idempiere

以下作废

安装数据库.这里选择postgresql数据库.数据库下载链接: 链接 访问密码 f9d0

选择手动编译安装pg数据库.

上传安装压缩包到/usr/temp文件夹.同上安装java的方法.

新建用户postgres用于数据库的管理员

adduser postgres    //新建数据库管理员.输入密码后一路回车

解压缩.

cd /usr/temp    //进入安装包存放文件夹
tar -zxvf postgresql-9.4..tar.gz //解压缩.
mkdir /usr/src/pgsql    //新建安装文件存放文件夹
mv postgresql-9.4. /usr/src/pgsql/postgresql-9.4    //移动安装文件到文件夹

为系统安装uuid

apt-get install uuid

开始编译安装.

./configure --without-readline --without-zlib

发现没有gcc

关掉光盘更新源.

nano /etc/apt/sources.list    //编辑更新源.

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAA1IAAAA5CAIAAACzn41UAAAQ5UlEQVR4nO2dO5LjOAyGeYe+gPMuH0AdO3TgUzjxQTyh79B3cOh77DrdznaCmWC3ajbwBnrxAYAA9bA8+r/qYFpNUyRIgD8hyuP++++/f//99+fPn9+/f//6+vrzzz+/ffv29fX19fXlAAAAAADAbwNkHwAAAADAKoDsAwAAAABYBTPJvv31cHsczsdsmd3pY+77jkt9x9vjcLtv38tr4O3wsf0cUPly+V379Sq8jP3fTvfWxa6b/HVrv7Tlvds9qr2pB3bmj2Oj8TLzCkzO+2U3nsvUDjiyYOh51ryd5b6QfSMz/I6QfeAJvIr9j9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qwCyDwAAAABgFUD2AQAAAACsgf8Be91XmFHei5AAAAAASUVORK5CYII=" alt="" width="660" />

注释掉这两行.就是在每行前面加#.

存盘退出.

apt-get update    //设置更新源.
apt-get install gcc    //安装gcc
apt-get install make //安装make

./configure --without-readline --without-zlib

make
makeinstall

基础安装完成.

由于是手动编译安装,所以必须手动配置数据库.

修改用户postgres的环境变量.

nano /home/postgres/.profile    

在文件最后加入.

export PATH="$PATH":/usr/local/pgsql/bin
export POSTGRES_HOME=/usr/local/pgsql
export PGLIB=$POSTGRES_HOME/lib
export PGDATA=$POSTGRES_HOME/data
export MANPATH="$MANPTH":$POSTGRES_HOME/man
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH":"$PGLIB"

使其生效

source /home/postgres/.profile

使用root身份新建数据文件夹

mkdir /usr/local/pgsql/data

授权给postgres

chown postgres: /usr/local/pgsql/data

用postgres身份登录初始化数据库

initdb

编辑访问许可ip

nano /usr/local/pgsql/data/pg_hba.conf

找到一下行

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfIAAAAeCAIAAABYAgvKAAAEXElEQVR4nO2dzXmjMBBA1RO3rYXz1kEJ24N6SAdUkbPryB5sg0aakYbf2Pi9L4cEhCRk8yzGYhICAADA0XTDeLszDt0L13k63TDeYv/bvQCACzG7cfZjH28pLuv00WPXPu6v4CPqPIBuGN+hmwDwyjxF0semT/qYyluIshvGtjb7OMbo0BZaBwBYz0PnUtlWUVPr0065NT2ij7fYu7RVKni6WxDb53uItBE95OLVulKn0no3jOMwRLlV3SjrTLYWDWV3P8/NUznx8ji7JO6z+LwAuDy5R5pXvmu2Xph8KhB752w0V/AcWU73iN+HvNI8Gu3Tulan1no3jE/PzrvVjaJO40QGIXutm9nZLOrSdFw3xPyzhng9wPVYYttS62psfS41/zbVv0brmSMVYTkq8WhdrbPZ+lRzc+N0+nbnXVpf1iXjtNE6wDWZNeO5Q68GYcpiVb832sm0Xk7RK/5T7z2cWi/LNFtvbszuiGJfGQWv1p2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ll125J2excj+AjNzjshOkWnxYED/++FbvIffaRL7IaBvmszHXjLmvTyLm3p6f5O5pL1W5Sznmnsscq8uk+/M4qxL59hjTnWE+W5PdhbJKvdmvpiQRdss0R7o5xK/VT0m4446VavFhQd4tk3SbpKg9hNpEvrrsvu+F+WxNZv+4kFe5U81M0IV97s1ZC1BYeft5X95x50oVAG5It30OyB0A4IEgdwCAB4LcAQAADuU/SJqaABPHx+EAAAAASUVORK5CYII=" alt="" width="660" />

存盘退出.意思是允许所有ip连接.

编辑监听链接范围.

nano /usr/local/pgsql/data/postgresql.conf

找到下面内容

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkMAAABACAIAAACWUORLAAALIklEQVR4nO2dyXHeMAyF1ZNuqUXn1KES0oN6cAeqImfXkRy0cXkAAW0/Jb9vMhOb5r5B3ICmIYQQQgghhBBCCCGEEEIIIYQQQgghD+Qf+kcIIYQ8BiTJ2n78nhj7Ng3Q9uP30H0iqzrdAHILHV+B2kanxtn240vrsCKeWMkfHHH7J6E7pq9Hzp+PR1mTHeuUd4/N90syVKNXFDCJ84yGFOJ44vx9Dc6asHnfZtRtVu2G75Ajc+rnRtyhRMxVfbR3Pmv+fDyT6PrbNL+a5l/T/G6av8ufntUSlGRnQUm2m6VA3eAs1yWSbKIbQnkVNW7bjwe6z8dGXFwiN9bKoyR7FJMk+2qaP8tqTF6Trd94YT8KPvwW38l33+Y9W3a3/Tj2/WDaJttiTebZKY0hyC10jBMLcpDGCkokONqDn4FNkq3JR+5bptbGwPWZxym1EUrI0xmEEj2aWYIpU21e5G74HvsOVzJoI60+hTyJkqwgFKoccVBC+IZhWcRIlYwHlxxJTfMnyLwreO18AbetQov7vNFvbT9Ek5o8Qy7B2n5cGsq+fxz43H7shmioZI6zuzwowixlJRKKaQ1+HWkbRWUPZ7/t5z7NUlrzuSQDbYQS8nSGt5HOPuLUkMqOqdJKAyFxvHlNVs+IS//iilOOQSp1LonywSVS1/wpDVghePCnhzCtyaatxT/Byqyx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xrnr1xlionVXsvpJUZfLM6aQCAL7BOlvX5V2idzQPVtvXWxaH0aTkmy8vSPJtlSwb3p26U3ptQ5N78/dAaZ94moua1R9uVdRsAnIfGHclb0aRL6KiFk2+RVPVZR4kHKYNfsG5zJBSy4ZppY5yltbXDXJmVGudtAHAm3DZuIu/h3+K8rSixaodb1fO2qqkUMT+r4DIh2+yOR7bJhNps8eyNU6yttU0WU7apHHJPEgDORIuNmyWAtWUW3pPMlz7CMoi1SKrdk9wgHnRwldB6JXKMxJzaEPUm5M/6K+JMzdkYNlkKK7QsWkQbAFycTx68fOz+AjtuJThrAwDYzXO/7XMSB9kGX+V/f9ehaC8W4roAAAAASUVORK5CYII=" alt="" width="660" />

存盘退出.意思是监听所有链接.

加入系统服务 并开机启动。使用root身份

cp /usr/src/pgsql/postgresql-9.4/contrib/start-scripts/linux /etc/init.d/postgresql    //加入数据库跟随系统启动文件

编辑/etc/init.d/postgresql

nano /etc/init.d/postgresql

第一行sh改为bash

由于配置文件使用postgres身份跟随系统启动数据库.所以要将启动配置文件授给其他人权限.

chmod  /etc/init.d/postgresql

配置文件编辑完成.

安装系统服务配置编辑器.

apt-get install chkconfig

将数据库加入服务.

chkconfig postgresql on

重启系统测试数据库.

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAARoAAACSCAIAAAAVRZLsAAAYHklEQVR4nO2d7XMTR57H9Zfklf+AvMntobvL3l1d3dVd2Oze1SnlI96EWogSnMASclskBpwDDJsHguUHjI0DOCYKED/yJBtsx4CJARn8gPyosfWAZFsWli3JMrIxeO7FWKOe6e6ZkWxZo9HvUyqX3OqH0Ux/9e3u6Z7WsQAAbBC6hGLv3r07RccBABogMTklxNFPDopeqSsLANRACt3pzPHyJ/cee4adow8GH9960FXfUftNdYKHBwCZRArdqe7MTxNPxp4OO0Ye2B7fut/V0N5YcanisCl1JWoAxqTX6YyWdB+GdrEYdTq9iUlR7vJyutXWXkLiVlu7dMLGs5emHJ7ZSf8k43aPOOyPRx53PCj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kRqPCIiQt+JMRnjPSOjhRXrw2LUoalxOQl0aTEaLaQ8gYxGC+5UXl5uvtYioaXr42HTz63l5eWExGgbTDyyIGyFxcft+P0FhQN18UE6vZ7UHhQUxuWB5wlkMlpwpz179nTaxiS0dJUJX+hm9uzZQ0icirtHcEcqW9GCO+Xm5j6anJPQ0hV7uHk0mJubS0i8cVUfuesEVpOlaMGdDAZDbm4ubTMoDi5Cuo8U0DhacCcAUAn/D43y3EDbGFkRAAAAAElFTkSuQmCC" alt="" />

测试成功运行状态良好。

debian 8.1 安装idempiere 2.1 X64 笔记的更多相关文章

  1. VMware Workstation 12 Pro 之安装林耐斯Ubuntu X64系统

    VMware Workstation 12 Pro 之安装林耐斯Ubuntu X64系统... -------------- Linux依照国际音标应该是/'linэks/——类似于“里讷克斯&quo ...

  2. 转:CentOS/Debian/Ubuntu一键安装LAMP(Apache/MySQL/PHP)环境

    CentOS/Debian/Ubuntu一键安装LAMP(Apache/MySQL/PHP) 今天遇到一个网友提到需要在Linux VPS服务器中安装LAMP(Apache/MySQL/PHP)网站环 ...

  3. Debian 7(Linux) 安装SSH使用SecureCRT连接配置

    1 Debian 安装 ssh2 首先确保你的Debian或者linux安装ssh并开启ssh服务 Debian和ubuntu的安装方法一样,只要源OK的话,可以直接安装 apt-get instal ...

  4. debian(kali Linux) 安装net Core

    debian(kali Linux) 安装net Core curl -sSL https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0-previ ...

  5. VMware Workstation 12 Pro 之安装林耐斯StartOS X64系统

    VMware Workstation 12 Pro 之安装林耐斯StartOS X64系统... ---------------- 先去下载系统暗中包ISO   网址:http://www.xiaza ...

  6. VMware Workstation 12 Pro 之安装林耐斯CentOS X64系统

    VMware Workstation 12 Pro 之安装林耐斯CentOS X64系统... -------------- --------------------------- --------- ...

  7. Ubuntu 14.04 LTS 下使用源码编译安装 Sagemath 6.7 x64 (小结)

    原先博客放弃使用,几篇文章搬运过来 下载源码包 系统的最低要求: 6GB 硬盘 : 2GB RAM. 命令行工具: A C/C++ compiler: Since Sage builds its ow ...

  8. debian图形界面安装安装GNOME中文桌面环境_刀光剑影_新浪博客 - Google Chrome

    debian图形界面安装安装GNOME中文桌面环境 (2012-06-12 16:47:41) 转载▼ 标签:  杂谈 分类: linux 安装GNOME中文桌面环境 安装基本的X系统 # apt-g ...

  9. Debian&&ubuntu系安装MegaCli

    MegaCli这个命令可以用来监控raid状态.磁盘状况等,最近上了一批ubuntu系统跑openstack,问题是MegaCli在官网上只有rpm格式的包,没有deb的包,但是还是有办法解决的,rp ...

随机推荐

  1. appium 处理滑动的方法

    appium 处理滑动的方法是 swipe(int start-x, int start-y, int end-x, int end-y, int during) - Method in class ...

  2. Linux系统非root用户安装perl模块

    非root权限安装perl 在使用Linux或是unix时,perl是一个非常有用的脚本的语言. 关于perl的模块安装,网上也有很多介绍,一方面可以通过不同套件自带的软件安装工具安装,一方面可以通过 ...

  3. maven笔记(3)

    项目管理利器(Maven)——Pom.xml解析 <name>项目的描述名</name> <url>项目的地址</url> <descriptio ...

  4. 设计模式--适配器模式C++实现

    适配器模式C++实现 1定义Adapter 将一个类的接口变成客户端所需要的另外一种借口,从而使远不因为接口不匹配而无法合作的两个雷能够一起工作 又叫变压器模式,包装模式Wrapper 2类图 角色分 ...

  5. Android实现布局控件自定义属性

    一.自定义ViewGroup 1.onMeasure 决定内部View(子View)的宽度和高度,以及自己的宽度和高度 2.onLayout 决定子View放置的位置 3.onTouchEvent 定 ...

  6. Spring事务源码分析总结

    Spring事务是我们日常工作中经常使用的一项技术,Spring提供了编程.注解.aop切面三种方式供我们使用Spring事务,其中编程式事务因为对代码入侵较大所以不被推荐使用,注解和aop切面的方式 ...

  7. 河南省多校联盟二-C

    1281: 邪能炸弹 时间限制: 1 秒  内存限制: 128 MB提交: 222  解决: 80 题目描述 正在入侵艾泽拉斯的古尔丹偶然间得到了一颗邪能炸弹,经过研究,他发现这是一颗威力极其巨大且难 ...

  8. Spring3.0 核心jar包详解

    org.springframework.aop  包含在应用中使用Spring的AOP特性时所需的类. org.springframework.asm   Spring独立的ASM程序, Spring ...

  9. [转载]Java操作Excel文件的两种方案

    微软在桌面系统上的成功,令我们不得不大量使用它的办公产品,如:Word,Excel.时至今日,它的源代码仍然不公开已封锁了我们的进一步应用和开发.在我们实际开发企业办公系统的过程中,常常有客户这样子要 ...

  10. uva 12356 Army Buddies 树状数组解法 树状数组求加和恰为k的最小项号 难度:1

    Nlogonia is fighting a ruthless war against the neighboring country of Cubiconia. The Chief General ...