最近在ubuntu12.10下编译OpenFoam,遇到一些问题,小记一下。

首先到官网下载源码包(我这里下载的是OpenFOAM-2.3.0.tgz,ThirdParty-2.3.0.tgz)。

1.下载解压源码包

首先创建OpenFOAM文件夹,将压缩包解压到OpenFOAM文件夹下

 mkdir OpenFOAM
cd OpenFOAM tar -xvf OpenFOAM-2.3..tgz
tar -xvf ThirdParty-2.3..tgz

2.设置变量环境

此处OpenFOAM的环境非默认环境,所以

gedit ~/.bashrc

在最后几行添加:

 export FOAM_INST_DIR=$HOME/OpenFOAM
foamDotFile=$FOAM_INST_DIR/OpenFOAM-2.3./etc/bashrc
[ -f $foamDotFile ] && . $foamDotFile

然后在终端执行

 . $HOME/.bashrc

3.安装依赖包

 apt-get install build-essential flex bison cmake zlib1g-dev qt4-dev-tools libqt4-dev gnuplot libreadline-dev libncurses-dev libxt-dev

问题出现,显示无法找到软件包。apt-get update显示一些网址404 notfound,原因是13.04版本已经陈旧,sourcelist需要更新。手动更新/etc/apt/sources.list文件内容为:

 deb http://old-releases.ubuntu.com/ubuntu/ raring main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ raring-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring-updates main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse

然后

 apt-get update

然后就能找到这些软件包了。

4.编译源代码

 cd $WM_PROJECT_DIR/bin
./foamSystemCheck
cd $WM_PROJECT_DIR
./Allwmake

接下来就是好几个小时的等待

5.编译Paraview和PV3FoamReader模块

A. 编译Paraview

 cd $WM_THIRD_PARTY_DIR
./Allclean
./makeParaView

B.编译
PV3FoamReader

 cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
./Allwclean
./Allwmake

6.测试安装

 cd $FOAM_TUTORIALS/incompressible/icoFoam/cavity
blockMesh

在此报错,缺少依赖库libmpi.so.1文件,下载源码http://packages.ubuntu.com/precise/amd64/libopenmpi1.3
编译

 ./configure
make

得到3个动态库(.libs为隐藏文件夹)

 ./ompi/.libs/libmpi.so.
./ompi/.libs/libmpi.so.0.0.
./ompi/.libs/libmpi.so

,将3个动态库移到默认路径/usr/lib下

 sudo cp -r ./ompi/.libs/libmpi.so* /usr/lib

blockMesh
icoFoam通过,

paraFoam的时候遇到问题

 FATAL ERROR: ParaView reader module libraries do not exist

 Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers
./Allwclean
./Allwmake

在./Allwmake时遇到问题

 wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file vtkPV4Readers.C
could not open file vtkDataArraySelection.h for source file vtkPV4Readers.C due to No such file or directory
could not open file vtkDataSet.h for source file vtkPV4Readers.C due to No such file or directory
could not open file vtkMultiBlockDataSet.h for source file vtkPV4Readers.C due to No such file or directory
could not open file vtkInformation.h for source file vtkPV4Readers.C due to No such file or directory
SOURCE=vtkPV4Readers.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth- -I/home/jack/OpenFOAM/ThirdParty-2.3./platforms/linuxGcc/ParaView-4.1./include/paraview-4.1 -IlnInclude -I. -I/home/jack/OpenFOAM/OpenFOAM-2.3./src/OpenFOAM/lnInclude -I/home/jack/OpenFOAM/OpenFOAM-2.3./src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/vtkPV4Readers.o
vtkPV4Readers.C::: fatal error: vtkDataArraySelection.h: No such file or directory
compilation terminated.
make: *** [Make/linuxGccDPOpt/vtkPV4Readers.o] Error
+ [ -d /home/jack/OpenFOAM/ThirdParty-2.3./platforms/linuxGcc/ParaView-4.1. -a -r /home/jack/OpenFOAM/ThirdParty-2.3./platforms/linuxGcc/ParaView-4.1. ]
+ wmake libso vtkPV4blockMesh
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file vtkPV4blockMesh.C
could not open file vtkMultiBlockDataSetAlgorithm.h for source file vtkPV4blockMesh.C due to No such file or directory
could not open file vtkDataArraySelection.h for source file vtkPV4blockMesh.C due to No such file or directory
could not open file vtkMultiBlockDataSet.h for source file vtkPV4blockMesh.C due to No such file or directory
could not open file vtkRenderer.h for source file vtkPV4blockMesh.C due to No such file or directory
could not open file vtkTextActor.h for source file vtkPV4blockMesh.C due to No such file or directory
could not open file vtkTextProperty.h for source file vtkPV4blockMesh.C due to No such file or directory
Making dependency list for source file vtkPV4blockMeshConvert.C
could not open file vtkMultiBlockDataSetAlgorithm.h for source file vtkPV4blockMeshConvert.C due to No such file or directory
could not open file vtkPoints.h for source file vtkPV4blockMeshConvert.C due to No such file or directory
could not open file vtkCellArray.h for source file vtkPV4blockMeshConvert.C due to No such file or directory
could not open file vtkDataArraySelection.h for source file vtkPV4blockMeshConvert.C due to No such file or directory
could not open file vtkMultiBlockDataSet.h for source file vtkPV4blockMeshConvert.C due to No such file or directory
could not open file vtkPolyData.h for source file vtkPV4blockMeshConvert.C due to No such file or directory
could not open file vtkUnstructuredGrid.h for source file vtkPV4blockMeshConvert.C due to No such file or directory
Making dependency list for source file vtkPV4blockMeshUtils.C
could not open file vtkMultiBlockDataSetAlgorithm.h for source file vtkPV4blockMeshUtils.C due to No such file or directory
could not open file vtkDataArraySelection.h for source file vtkPV4blockMeshUtils.C due to No such file or directory
could not open file vtkDataSet.h for source file vtkPV4blockMeshUtils.C due to No such file or directory
could not open file vtkMultiBlockDataSet.h for source file vtkPV4blockMeshUtils.C due to No such file or directory
could not open file vtkInformation.h for source file vtkPV4blockMeshUtils.C due to No such file or directory
SOURCE=vtkPV4blockMesh.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth- -I/home/jack/OpenFOAM/OpenFOAM-2.3./src/meshTools/lnInclude -I/home/jack/OpenFOAM/OpenFOAM-2.3./src/mesh/blockMesh/lnInclude -I/home/jack/OpenFOAM/ThirdParty-2.3./platforms/linuxGcc/ParaView-4.1./include/paraview-4.1 -I../../vtkPV4Readers/lnInclude -I../PV4blockMeshReader -IlnInclude -I. -I/home/jack/OpenFOAM/OpenFOAM-2.3./src/OpenFOAM/lnInclude -I/home/jack/OpenFOAM/OpenFOAM-2.3./src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/vtkPV4blockMesh.o
In file included from vtkPV4blockMesh.C:::
../PV4blockMeshReader/vtkPV4blockMeshReader.h::: fatal error: vtkMultiBlockDataSetAlgorithm.h: No such file or directory
compilation terminated.
make: *** [Make/linuxGccDPOpt/vtkPV4blockMesh.o] Error
+ cd PV4blockMeshReader
+ mkdir -p Make/linuxGccDPOpt
+ cd Make/linuxGccDPOpt
+ cmake ../..
-- The C compiler identification is GNU 4.7.
-- The CXX compiler identification is GNU 4.7.
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt: (FIND_PACKAGE):
By not providing "FindParaView.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "ParaView",
but CMake did not find one. Could not find a package configuration file provided by "ParaView" with any
of the following names: ParaViewConfig.cmake
paraview-config.cmake Add the installation prefix of "ParaView" to CMAKE_PREFIX_PATH or set
"ParaView_DIR" to a directory containing one of the above files. If
"ParaView" provides a separate development package or SDK, be sure it has
been installed. -- Configuring incomplete, errors occurred!
+ make
make: *** No targets specified and no makefile found. Stop.
+ [ -d /home/jack/OpenFOAM/ThirdParty-2.3./platforms/linuxGcc/ParaView-4.1. -a -r /home/jack/OpenFOAM/ThirdParty-2.3./platforms/linuxGcc/ParaView-4.1. ]
+ wmake libso vtkPV4Foam
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file vtkPV4Foam.C
could not open file vtkPoints.h for source file vtkPV4Foam.C due to No such file or directory
could not open file vtkCellArray.h for source file vtkPV4Foam.C due to No such file or directory
could not open file vtkPolyData.h for source file vtkPV4Foam.C due to No such file or directory
could not open file vtkMultiBlockDataSetAlgorithm.h for source file vtkPV4Foam.C due to No such file or directory
could not open file vtkDataArraySelection.h for source file vtkPV4Foam.C due to No such file or directory
could not open file vtkMultiBlockDataSet.h for source file vtkPV4Foam.C due to No such file or directory
could not open file vtkRenderer.h for source file vtkPV4Foam.C due to No such file or directory
could not open file vtkTextActor.h for source file vtkPV4Foam.C due to No such file or directory
could not open file vtkTextProperty.h for source file vtkPV4Foam.C due to No such file or directory
Making dependency list for source file vtkPV4FoamFields.C
could not open file vtkPoints.h for source file vtkPV4FoamFields.C due to No such file or directory
could not open file vtkCellArray.h for source file vtkPV4FoamFields.C due to No such file or directory
could not open file vtkPolyData.h for source file vtkPV4FoamFields.C due to No such file or directory
could not open file vtkMultiBlockDataSetAlgorithm.h for source file vtkPV4FoamFields.C due to No such file or directory
could not open file vtkDataArraySelection.h for source file vtkPV4FoamFields.C due to No such file or directory
could not open file vtkUnstructuredGrid.h for source file vtkPV4FoamFields.C due to No such file or directory
could not open file vtkCellData.h for source file vtkPV4FoamFields.C due to No such file or directory
could not open file vtkFloatArray.h for source file vtkPV4FoamFields.C due to No such file or directory
could not open file vtkMultiBlockDataSet.h for source file vtkPV4FoamFields.C due to No such file or directory
could not open file vtkPointData.h for source file vtkPV4FoamFields.C due to No such file or directory
Making dependency list for source file vtkPV4FoamMesh.C
could not open file vtkPoints.h for source file vtkPV4FoamMesh.C due to No such file or directory
could not open file vtkCellArray.h for source file vtkPV4FoamMesh.C due to No such file or directory
could not open file vtkPolyData.h for source file vtkPV4FoamMesh.C due to No such file or directory
could not open file vtkMultiBlockDataSetAlgorithm.h for source file vtkPV4FoamMesh.C due to No such file or directory
could not open file vtkDataArraySelection.h for source file vtkPV4FoamMesh.C due to No such file or directory
could not open file vtkMultiBlockDataSet.h for source file vtkPV4FoamMesh.C due to No such file or directory
could not open file vtkUnstructuredGrid.h for source file vtkPV4FoamMesh.C due to No such file or directory
Making dependency list for source file vtkPV4FoamMeshLagrangian.C
could not open file vtkPoints.h for source file vtkPV4FoamMeshLagrangian.C due to No such file or directory
could not open file vtkCellArray.h for source file vtkPV4FoamMeshLagrangian.C due to No such file or directory
could not open file vtkPolyData.h for source file vtkPV4FoamMeshLagrangian.C due to No such file or directory
Making dependency list for source file vtkPV4FoamMeshSet.C
could not open file vtkPoints.h for source file vtkPV4FoamMeshSet.C due to No such file or directory
could not open file vtkCellArray.h for source file vtkPV4FoamMeshSet.C due to No such file or directory
could not open file vtkPolyData.h for source file vtkPV4FoamMeshSet.C due to No such file or directory
Making dependency list for source file vtkPV4FoamMeshVolume.C
could not open file vtkPoints.h for source file vtkPV4FoamMeshVolume.C due to No such file or directory
could not open file vtkCellArray.h for source file vtkPV4FoamMeshVolume.C due to No such file or directory
could not open file vtkPolyData.h for source file vtkPV4FoamMeshVolume.C due to No such file or directory
could not open file vtkMultiBlockDataSetAlgorithm.h for source file vtkPV4FoamMeshVolume.C due to No such file or directory
could not open file vtkIdTypeArray.h for source file vtkPV4FoamMeshVolume.C due to No such file or directory
could not open file vtkUnstructuredGrid.h for source file vtkPV4FoamMeshVolume.C due to No such file or directory
Making dependency list for source file vtkPV4FoamMeshZone.C
could not open file vtkPoints.h for source file vtkPV4FoamMeshZone.C due to No such file or directory
could not open file vtkCellArray.h for source file vtkPV4FoamMeshZone.C due to No such file or directory
could not open file vtkPolyData.h for source file vtkPV4FoamMeshZone.C due to No such file or directory
Making dependency list for source file vtkPV4FoamUpdateInfo.C
could not open file vtkPoints.h for source file vtkPV4FoamUpdateInfo.C due to No such file or directory
could not open file vtkCellArray.h for source file vtkPV4FoamUpdateInfo.C due to No such file or directory
could not open file vtkPolyData.h for source file vtkPV4FoamUpdateInfo.C due to No such file or directory
could not open file vtkMultiBlockDataSetAlgorithm.h for source file vtkPV4FoamUpdateInfo.C due to No such file or directory
could not open file vtkDataArraySelection.h for source file vtkPV4FoamUpdateInfo.C due to No such file or directory
Making dependency list for source file vtkPV4FoamUtils.C
could not open file vtkPoints.h for source file vtkPV4FoamUtils.C due to No such file or directory
could not open file vtkCellArray.h for source file vtkPV4FoamUtils.C due to No such file or directory
could not open file vtkPolyData.h for source file vtkPV4FoamUtils.C due to No such file or directory
could not open file vtkMultiBlockDataSetAlgorithm.h for source file vtkPV4FoamUtils.C due to No such file or directory
could not open file vtkDataArraySelection.h for source file vtkPV4FoamUtils.C due to No such file or directory
could not open file vtkDataSet.h for source file vtkPV4FoamUtils.C due to No such file or directory
could not open file vtkMultiBlockDataSet.h for source file vtkPV4FoamUtils.C due to No such file or directory
could not open file vtkInformation.h for source file vtkPV4FoamUtils.C due to No such file or directory
SOURCE=vtkPV4Foam.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth- -I/home/jack/OpenFOAM/OpenFOAM-2.3./src/meshTools/lnInclude -I/home/jack/OpenFOAM/OpenFOAM-2.3./src/finiteVolume/lnInclude -I/home/jack/OpenFOAM/OpenFOAM-2.3./src/lagrangian/basic/lnInclude -I../../vtkPV4Readers/lnInclude -I../PV4FoamReader -I/home/jack/OpenFOAM/ThirdParty-2.3./platforms/linuxGcc/ParaView-4.1./include/paraview-4.1 -UHAS_VTK_POLYHEDRON -IlnInclude -I. -I/home/jack/OpenFOAM/OpenFOAM-2.3./src/OpenFOAM/lnInclude -I/home/jack/OpenFOAM/OpenFOAM-2.3./src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/vtkPV4Foam.o
In file included from vtkPV4FoamTemplates.C::,
from vtkPV4Foam.H:,
from vtkPV4Foam.C::
vtkOpenFOAMPoints.H::: fatal error: vtkPoints.h: No such file or directory
compilation terminated.
make: *** [Make/linuxGccDPOpt/vtkPV4Foam.o] Error
+ cd PV4FoamReader
+ mkdir -p Make/linuxGccDPOpt
+ cd Make/linuxGccDPOpt
+ cmake ../..
-- The C compiler identification is GNU 4.7.
-- The CXX compiler identification is GNU 4.7.
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt: (FIND_PACKAGE):
By not providing "FindParaView.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "ParaView",
but CMake did not find one. Could not find a package configuration file provided by "ParaView" with any
of the following names: ParaViewConfig.cmake
paraview-config.cmake Add the installation prefix of "ParaView" to CMAKE_PREFIX_PATH or set
"ParaView_DIR" to a directory containing one of the above files. If
"ParaView" provides a separate development package or SDK, be sure it has
been installed. -- Configuring incomplete, errors occurred!
+ make
make: *** No targets specified and no makefile found. Stop.

是导入资源路径问题,

 gedit ~/.bashrc


  #export FOAM_INST_DIR=$HOME/OpenFOAM #foamDotFile=$FOAM_INST_DIR/OpenFOAM-2.3./etc/bashrc #[ -f $foamDotFile ] && . $foamDotFile

这几行注释掉,然后终端执行

source ~/.bashrc

可以把

export FOAM_INST_DIR=$HOME/OpenFOAM foamDotFile=$FOAM_INST_DIR/OpenFOAM-2.3./etc/bashrc [ -f $foamDotFile ] && . $foamDotFile

解除注释

然后执行

cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers ./Allwclean ./Allwmake

此次执行成功

然后到OpenFOAM/OpenFOAM-2.3.0/tutorials/incompressible/icoFoam/cavity$目录,执行paraFoam成功弹出界面。

至此,OpenFOAM在Ubuntu12.10下编译成功。

ubuntu12.10下OpenFoam的编译的更多相关文章

  1. 基于TDengine-ver-1.6.4.4在windows 10下cmake+msys2编译(windows cgo 使用)

    目录 基于TDengine-ver-1.6.4.4在windows 10下cmake+msys2编译(windows cgo 使用) 背景 下载地址 仓库地址 安装部署 msys2 安装 配置环境变量 ...

  2. Ubuntu12.10下安装Python3

    设置Python3.2为默认版本 ubuntu12.10下默认安装了Python2.7和Python3.2.3,并且设置了Python2.7为默认的版本,因此如果讨厌麻烦的话,可以直接将Python3 ...

  3. ubuntu12.10下arm-linux-gcc交叉编译环境的搭建

    交叉编译环境搭建的原因:通俗上讲,因为嵌入式系统可用资源比较少:几十M的ARM 二三百M的flash相对我们的pc机来说资源真的没法比.所以,为了解决这种局面就将PC机等作为主机,搭建开发环境,进行编 ...

  4. Ubuntu12.10 下搭建基于KVM-QEMU的虚拟机环境(八)

    Libvirt 是用c写的一个管理虚拟机及其资源(如网络.存储和外设等)的工具库,它不仅支持KVM/QEMU,它还支持xen,Vmware,OpenVZ和VirtualBox等其他HyperVisor ...

  5. Ubuntu12.10 下搭建基于KVM-QEMU的虚拟机环境(三)

    原则上来说,qemu, libvirt, libusb, usbredir, spice等都可以通过 apt-get install的方式从Ubuntu源在线安装.但是这样如果碰到一点问题,就比较难办 ...

  6. Ubuntu 14.10 下Hadoop代码编译问题总结

    问题1  protoc (compile-protoc) on project hadoop-common: org.apache.maven.plugin.MojoExecutionExceptio ...

  7. Ubuntu12.10下Python(pyodbc)访问SQL Server解决方案

    一.基本原理 请查看这个网址,讲得灰常详细:http://www.jeffkit.info/2010/01/476/   二.实现步骤 1.安装linux下SQL Server的驱动程序 安装Free ...

  8. Ubuntu12.10 下搭建基于KVM-QEMU的虚拟机环境(十六)

    今天我们继续实验Bridge方式的网络配置. Bridge的逻辑原理图如下: 上图中的“br0”就充当了一个桥的作用,主机上的物理网口eth0等根据需要加入到这个桥里面,所有虚拟机要跟外界通信都通过这 ...

  9. Ubuntu12.10 下搭建基于KVM-QEMU的虚拟机环境(十三)

    今天我们实验libvirt提供的快照功能,快照可以用于系统恢复,防止安装了某些软件或中病毒等情况导致系统损毁的情况. 一.快照类型 1)        磁盘快照 内部的:快照驻留在原来的镜像文件内部 ...

随机推荐

  1. Android如何查看应用签名信息

    转自http://www.trinea.cn/android/android-view-signatures/comment-page-1/ 介绍Android如何查看自己的应用签名及三方APK或系统 ...

  2. HTTPClient网络异常:java.lang.IllegalStateException: Content has been consumed

    在对代码进行重构时候,出现了一个异常,代码的网络请求使用的是HTTPClient: 但是其实代码中没有添加什么,只是添加了两句log: 后来发现是因为将EntityUtils.toString()方法 ...

  3. 浙大pat1020题解

    1020. Tree Traversals (25) 时间限制 400 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Suppo ...

  4. out和ref之间的区别

    首先:两者都是按引用传递的,使用后都将改变原来参数的数值. 其次:ref可以把参数的数值传递进函数,但是out是要把参数清空,就是说你无法把一个数值从out传递进去的,out进去后,参数的数值为空,所 ...

  5. C# 语言规范_版本5.0 (第13章 接口)

    1. 接口 一个接口定义一个协定.实现某接口的类或结构必须遵守该接口定义的协定.一个接口可以从多个基接口继承,而一个类或结构可以实现多个接口. 接口可以包含方法.属性.事件和索引器.接口本身不提供它所 ...

  6. 常用网页标签重置CSS

    做前端开发时常需要将网页中所有标签的格式清空,从而使各个浏览器标签样式一样.以下是网络上常见的CSS代码 /* =s Reset (by YUI 3) */ html{color:#000;} bod ...

  7. ASP.NET Calendar(日历控件)

    定义和用法 Calendar 控件用于在浏览器中显示日历. 该控件可显示某个月的日历,允许用户选择日期,也可以跳到前一个或下一个月. 属性 属性 描述 .NET Caption 日历的标题. 2.0 ...

  8. tomcat设置http自动跳转为https访问

    一.生成服务器端证书文件 可以使用Windows系统或者Linux系统 (1)Windows环境 条件:已经安装JDK 步骤: 1.在运行里输入cmd进入命令窗口 2.进入JDK安装目录  如D:/P ...

  9. window下面配置sftp

    Windows  下 搭建 基于  ssh 的sftp 服务器,服务器端可以用 freesshd,F-secure server 等,filezilla server不可用,之前傻乎乎的用filezi ...

  10. Zabbix 监控rabbitmq

    一 应用场景描述 测试环境业务 OpenStack中搭建了rabbitmq作为RPC消息队列,所以mq起到了很重要的角色,本案例是来如何使用zabbix监控 rabbitmq业务 二 Rabbitmq ...