搜索""的结果
Oracle exp\imp数据时报错:TNS协议适配器错误 ,如上图。那么要导入或导出数据里,可以使用以下方法:   EXP user/passwd@主机名/SID    BUFFER=64000 FILE=C:\SONIC.DMP OWNER=SONIC 
Oracle 导入\导出 exp,imp 使用方法基本语法和实例:     1、EXP:       有三种主要的方式(完全、用户、表)       1、完全:           EXP SYSTEM/MANAGER BUFFER=64000 FILE=C:\FULL.DMP FULL=Y           如果要执行完全导出,必须具有特殊的权限       2、用户模式:           EXP SONIC/SONIC    BUFFER=64000 FILE=C:\SONIC.DMP OWNER=SONIC           这样用户SONIC的所有对象被输出到文件中。       3、表模式:          EXP SONIC/SONIC    BUFFER=64000 FILE=C:\SONIC.DMP OWNER=SONIC TABLES=(SONIC)           这样用户SONIC的表SONIC就被导出     2、IMP:       具有三...
 
0
PrerequisitesRStudio Server v0.99 requires RedHat or CentOS version 5.4 (or higher).RStudio Server has several dependencies on packages (including R itself) found in the Extra Packages for Enterprise Linux (EPEL) repository. If you don’t already have this repository available you should add it to your system using the instructions found on the Fedora EPEL website.After enabling EPEL you should then ensure that you have installed the version of R available from EPEL. You can do this using the following command:$ sudo yum install R RedHat/CentOS 6 and 7To download and install RStudio Server open a terminal window and execute the commands corresponding to the 32 or 64-bit version as appropriate. 64bitSize:  33.4 MBMD5: 216b8e7f7ae28203900c63ac163c1d0cVersion:  0.99.446Released:  2015-06-16$ wget http://download2.rstudio.org/rstudio-server-rhel-0.99.446-x86_64.rpm$ sudo yum install --nogpgcheck rstudio-server-rhel-0.99.446-x86_64.rpm32bitSize:  32.5 MBMD5: 2...
 
0

centOS6.5上安装RStudio Server

发表者:admin分类:Devops2015-06-20 10:54:46 阅读[3091]
  centOS6.5上安装RStudio Server   我的系统是64位的centOS 6.5。安装RStudio Server的预览版,当时版本为64位的0.98.766。安装时有如下报错[root@supstat download]# rpm -ivh rstudio-server-0.98.766-x86_64.rpmerror: Failed dependencies: libcrypto.so.6()(64bit) is needed by rstudio-server-0.98.766-1.x86_64 libgfortran.so.1()(64bit) is needed by rstudio-server-0.98.766-1.x86_64 libssl.so.6()(64bit) is needed by rstudio-server-0.98.766-1.x86_64参考stackoverflow上的一篇文章:yum install libcrypto.so.6 -yyum install libgfortran.so.1 -yyum install libssl.so.6 -yyum install openssl098e-0.9.8e -yyum install gcc41-libgfortran-4.1.2 -yyum install pango-1.28.1 -y wget ftp://rpmfind.net/linux/centos/6.5/os/x86_64/Packages/compat-libgfortran-41-4.1.2-39.el6.x86_64.rpmrpm -Uvh compat-libgfortran-41-4....
 
0

centos7 Linux安装eclipse

发表者:admin分类:Devops2015-06-20 10:01:23 阅读[2454]
centos7安装eclipseEclipse是一个集成开发环境(IDE),包含一个基工作区和定制环境的可扩展插件系统。大部分使用 Java 编写,Eclipse 可以用来开发应用程序。通过各种插件,Eclipse 也可以用于其他编程语言开发应用程序:Ada、ABAP、C、C++、COBOL、 Fortran、Haskell、 JavaScript、Lasso、Natural、Perl、 PHP、 Prolog、 Python、Ruby、Scala、Clojure、 Groovy、Scheme 和 Erlang。它也可以用来开发Mathematica软件包。开发环境包括 Eclipse Java 开发工具(JDT)支持 Java与Scala,Eclipse CDT C / C + +和Eclipse PDT PHP,等等。安装1、安装javayum install java yum (全称为 Yellow dog Updater, Modified),能够从指定的服务器自动下载gz包并且安装,可以自动处理依赖性关系,并且一次安装所有依赖的软体包,无须繁琐地一次次下载、安装。yum提供了查找、安装、删除某一个、一组甚至全部软件包的命令,而且命令简洁而又好记。yum的命令形式一般是如下:yum [options] [command] [package ...]其中的[options]是可选的,选项包括-h(帮助),-y(当安装过程提示选择全部为"yes"),-q(不显示安装的过程)等等。[command]为所要进行的操作,[package ......
 
0

Centos6 编译升级python2.7

发表者:admin分类:Devops2015-06-19 19:56:56 阅读[2264]
查看python的版本[plain] view plaincopy#python  -V    Python 2.6.6  1.下载Python-2.7.3[plain] view plaincopy#wget http://python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2  2.解压[plain] view plaincopy#tar -jxvf Python-2.7.3.tar.bz2  3.更改工作目录[plain] view plaincopy#cd Python-2.7.3  4.安装[plain] view plaincopy#./configure  #make all             #make install  #make clean  #make distclean  5.查看版本信息[plain] view plaincopy#/usr/local/bin/python2.7 -V  6.建立软连接,使系统默认的 python指向 python2.7[plain] view plaincopy#mv /usr/bin/python /usr/bin/python2.6.6  #ln -s /usr/local/bin/python2.7 /usr/bin/python  7.重新检验Python 版本[plain] view plaincopy#python -V  8解决系统 Python 软链接指向 P...
ubuntu 12.04下apache2+tomcat7用proxy_ajp 整合步骤   开始操作前,首先下载需要的安装包。apache2:http://httpd.apache.org/download.cgiapr和apr-util:http://apr.apache.org/tomcat7:http://tomcat.apache.org/download-70.cgijdk:http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html东西准备好了之后开始编译、安装。一、编译aprtar -zxvf apr-1.5.0.tar.gzcd apr-1.5.0./configure --prefix=/usr/local/apr-httpd/makemake install二、编译apr_utiltar -zxvf apr-util-1.5.3.tar.gzcd apr-util-1.5.3./configure --prefix=/usr/local/apr-util-httpd/--with-apr=/usr/local/apr-httpd/makemake install三、编译apache2tar -zxvf httpd-2.2.26.tar.gzcd httpd-2.2.26./configure --prefix=/usr/local/apache2/--with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/local/apr-util-httpd/--enable-so --enable-mods-shared=most --enable-rewrite=shared --enable-proxy=shared --enable-proxy-ajp=shared --enable-proxy-balancer=shared -...
[root@rac2 ~]# id oracleuid=500(oracle)gid=501(oinstall)groups=501(oinstall),502(dba),503(asmadmin),504(oper)[root@rac2 ~]# more/proc/sys/vm/hugetlb_shm_group0下面用root执行下面的命令,将dba组添加到系统内核中:[root@rac2 ~]# echo 502>/proc/sys/vm/hugetlb_shm_group--这里的502 是上面的id 命令查看出来的。[root@rac2 ~]# more /proc/sys/vm/hugetlb_shm_group502 但是在服务器重启后,数据库依然不能随系统自动启动,发现还需要通过上面的命令来进行修改才可以,意味则上面命令只是修改了内存空间没有进行记录。要解决这个问题需要修改/etc/sysctl.conf文件 vm.hugetlb_shm_group  = 501
 
0

inux下为php开启oci8扩展

发表者:admin分类:Devops2015-06-18 11:49:09 阅读[2243]
方法/步骤1安装oracle安装包rpm -ivh oracle-instantclient11.2-basic-11.2.0.1.0-1.i386.rpmrpm -ivh oracle-instantclient11.2-devel-11.2.0.1.0-1.i386.rpmrpm -ivh oracle-instantclient11.2-sqlplus-11.2.0.1.0-1.i386.rpm说明:1.安装oci8扩展不需要安装完整的oracle客户端,但是要安装三个小的安装包,加起来45m左右,安装包可以去oracle官网获得,网上帖子中常见的oracle安装包版本是11和10的。2.获得这三个安装包后上传到服务器,cd命令切换到保存的目录,用以上命令安装即可。2安装oci8扩展tar zxvf oci8-1.4.1.tgzcd oci8-1.4.1/usr/bin/phpize./configure --with-php-config=/usr/bin/php-config --with-oci8=shared,instantclient,/usr/lib/oracle/11.2/client/libmakemake install说明:1.oci8-1.4.1.tgz这个是单独的扩展包,也可以下载完整的php安装包,如php-5.3.28.tar.gz,解压后,cd到ext目录下的oci8目录即可。2.phpize和php-config都不一定在上面的路径中,因为安装lamp环境的方法每个人不尽相同,可以用which命令查找,如which phpize。3.关键点是要保证phpize,php-config,以及oracle的安装路径要正确3修改php.ini可以用find命令找到这个文件,找到类...
安装进度大约到65%时会有错误提示:Error in invoking target 'collector' of makefile '/opt/oracle/102/sysman/lib/ins_emdb.mk'.同时oraInventory/logs/目录下的安装日志文件里面会有如下类似错误提示:这是oracle安装程序的一个bug,可以忽略此错误继续安装,对系统没什么影响。处理方法:这里继续点击“continue”即可,待Oracle完成安装后,再手工执行相应脚本完成链接即可。当oracle完成安装后,如下操作[oracle@hyl bin]$ /u01/app/oracle/product/10.2.0/db_1/bin/relink all--执行脚本后,会自动完成重链接操作--注意:该脚本放置在脚本目录下,实际根据规划的oracle根目录进行查找即可在Configuration Assistants 时会出现错误提示:OUI-25031:Some of the configuration assistants failed.分析:主机名映射错误解决:修改/etc/hosts文件,增加IP地址与主机名的映射如下:接着会遇到错误提示:ORA-27125:unable to create shared memory segment解决:1. 确定安装oracle所使用的用户组# id oracle可以看到oracle组dba id 为501。2. 修改内核参数echo "501" >/proc/sys/vm/hugetlb_shm_group就可以了。
    总共269页,当前第137页 | 页数:
  1. 127
  2. 128
  3. 129
  4. 130
  5. 131
  6. 132
  7. 133
  8. 134
  9. 135
  10. 136
  11. 137
  12. 138
  13. 139
  14. 140
  15. 141
  16. 142
  17. 143
  18. 144
  19. 145
  20. 146
  21. 147