redhat

Unable to install Devtools package for R studio mounted on linux redhat server

久未见 提交于 2019-12-09 10:11:54
问题 I'm unable to install the devtools package in R Studio on a redhat linux server. These error messages showed up: ERROR: configuration failed for package ‘RCurl’ * removing ‘/home/xx/R/x86_64-redhat-linux-gnu-library/3.0/RCurl’ Warning in install.packages : installation of package ‘RCurl’ had non-zero exit status ERROR: dependency ‘RCurl’ is not available for package ‘httr’ * removing ‘/home/xx/R/x86_64-redhat-linux-gnu-library/3.0/httr’ Warning in install.packages : installation of package

When and Why run alternatives --install java jar javac javaws on installing jdk in linux

左心房为你撑大大i 提交于 2019-12-09 09:28:49
问题 To install java in linux (I used CentOS, RHEL is same too), I used this command rpm -Uvh /path/to/binary/jdk-7u55-linux-x64.rpm and verified java java -version Looking at a tutorial, it says to run following 4 commands, not sure why ## java ## alternatives --install /usr/bin/java java /usr/java/latest/jre/bin/java 200000 ## javaws ## alternatives --install /usr/bin/javaws javaws /usr/java/latest/jre/bin/javaws 200000 ## Install javac only alternatives --install /usr/bin/javac javac /usr/java

Tomcat 6 Heap Size - Is this correct?

杀马特。学长 韩版系。学妹 提交于 2019-12-09 07:11:20
问题 I am running multiple tomcats on a Red Hat box and I would like to configure separate heap size for each of them (some instances use more memory). Can I set the heap size min/max bt entering the following into the catalina.sh file: CATALINA_OPTS="-Xms64m -Xmx256m" Do I need add 'export'? i.e. export CATALINA_OPTS="-Xms64m -Xmx256m" 回答1: Best practice is to put the setting of environment variables in a file named setenv.sh / .bat in the bin folder. The catalina.sh script has logic to call into

How to set the rpmbuild destination folder

可紊 提交于 2019-12-09 05:10:30
问题 I noticed rpmbuild (-bb and --buildroot options) creates the .rpm in different locations depending of what OS are you using: GNU/Linux Ubuntu <= 9.04: /usr/src/rpm/... GNU/Linux Ubuntu >= 9.10: /home/rpmbuild/... GNU/Linux Fedora: /usr/src/redhat/... So how can I set manually the destination folder for all OS? 回答1: Replying myself, adding: %define _rpmdir /outputdir to .spec file. 回答2: You may want to use the command argument --define : For example, this will send the rpm files into the

Install R on RedHat errors on dependencies that don't exist

ε祈祈猫儿з 提交于 2019-12-08 18:46:56
问题 I have installed R before on a machine running RedHat EL6.5, but I recently had a problem installing new packages (i.e. install.packages()). Since I couldn't find a solution to this, I tried reinstalling R using: sudo yum remove R and sudo yum install R But now I get: .... ---> Package R-core-devel.x86_64 0:3.1.0-5.el6 will be installed --> Processing Dependency: blas-devel >= 3.0 for package: R-core-devel-3.1.0-5.el6.x86_64 --> Processing Dependency: libicu-devel for package: R-core-devel-3

How to initiate connection with JDBC on OpenShift?

心已入冬 提交于 2019-12-08 11:15:20
问题 When I work on my localhost , in order to initiate a connection with JDBC , I do this : String USERNAME = "..."; String PASSWORD = "..."; String DB_NAME = "..."; String FORNAME_URL = "com.mysql.jdbc.Driver"; String URL = "jdbc:mysql://localhost"; Connection m_connection = DriverManager.getConnection(URL , USERNAME , PASSWORD); But this doesn't work on OpenShift , no connection is established . I can't see the exception that I'm getting when I run it on OpenShift ,but I validated (I checked

Tomcat 7 Load Balancing

我是研究僧i 提交于 2019-12-08 08:57:07
问题 Looking to implement Load balancing for two Tomcat 7 instances each on a different machine & two other Tomcat 7 instances on a different machine serving two different purpose. On Machine 1, will have two Tomcat instances TomA.1 & TomB.1 running on different ports On Machine2, will have two Tomcat instances TomA.2 & TomB.2 running on different ports Now TomA.1 & TomA.2 needs to be run in LoadBalanced fashion & similarily TomB.1 & TomB.2 needs to be run in LoadBalanced fashion. Would highly

Installing Cutter on Redhat

风格不统一 提交于 2019-12-08 08:03:51
问题 I am trying to install the cutter. I got the source code from there site and compiled it. when I run the cutter I get an error. openning /proc/net/ip_conntrack: No such file or directory I tried to run the command sudo modprobe ip_conntrack but still i get the same error. Please, Help!! Thanks. 回答1: Which redhut version you are using ?? The modules isn't called ip_conntrack but nf_conntrack_ipv4. Try sudo modprobe nf_conntrack_ipv4 and then install cutter 来源: https://stackoverflow.com

can't install using yum in RHEL 7.1

拟墨画扇 提交于 2019-12-08 07:26:00
问题 I got a RHEL 7.1 instance on amazon aws, now i am trying to install softwares using yum, but even very common softwares aren't available. For example, $ sudo yum install lynx Loaded plugins: amazon-id, rhui-lb No package lynx available. Error: Nothing to do I am new to linux and yum . What's to be done so I can install softwares easily using yum . Should I be adding repos? Here, I tried doing what's said here -> Top 5 Yum Repositories for CentOS/RHEL 7/6/5 and Fedora, and here -> Install

Perl cannot locate module in @INC

青春壹個敷衍的年華 提交于 2019-12-08 05:53:46
问题 I am running Centos 6.4 and perl 5.10. I have short script which uses the DateTime module. However when I run my script I get the following error message telling me various modules cannot be located as they are not in the library path. Can't locate Params/Validate.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/lib64/perl5/DateTime/Duration.pm line 11. BEGIN failed-