centos6

PHP GD-library installed but not functioning on CentOS 6.4

走远了吗. 提交于 2019-12-30 06:34:10
问题 I've installed php 5.5.6 from remi repo, bun phpinfo() shows no GD library and gd_info() function does not exist. Extension is enabled in /etc/php.d/gd.ini , but still nothing. I've also tried to reinstall php-gd library and it reinstalled successfuly but everything remained as it was before. yum --enablerepo=remi,remi-php55 reinstall php-gd Loaded plugins: fastestmirror Setting up Reinstall Process Loading mirror speeds from cached hostfile * base: mirrors.supportex.net * epel: mirror

Unable to read package metadata. This may be due to missing repodata directory. Please ensure that your install tree has been correctly generated

本秂侑毒 提交于 2019-12-30 04:33:08
问题 I am new for centos installation. I downloaded a minimul version of centos 6.5, around 339.7mb of size. I am trying to install this with GUI interface but I got an error after selecting the drive option, which comes after selecting the country. This is complete message, Unable to read package metadata. This may be due to missing repodata directory. Please ensure that your install tree has been correctly generated. Failare: repodata

sh: ffmpeg: command not found when run command through php

故事扮演 提交于 2019-12-29 08:24:08
问题 I have installed successfully installed FFMpeg on root of my Centos 6 machine (https://trac.ffmpeg.org/wiki/CompilationGuide/Centos). My workplace of apache/php is /var/www/html Now I'm running below command successfully on /var/www/html directory to capture frame from the video file. It's capturing a frame. [root@localhost html]# ffmpeg -i video.mpg -an -ss 30 -t 00:00:01 -r 1 -y -vcodec mjpeg -f mjpeg -s 160x100 frame8 2>&1 I want to run this command through php and using shell_exec() or

Centos 6 PHP OCI8 extention is not working (Undefined function oci_connect())

久未见 提交于 2019-12-25 19:16:10
问题 I am using Centos 6 64 bit OS. Recently i have installed OCI8 extension with php. After making all configuration i tried to execute the function oci_connect to connect with a Oracle Database remotely. Unfortunately i got this error: Fatal error: Call to undefined function oci_connect() in /var/www/html/index.php on line 5 I have installed oci8 like this: OCI8 Download the OCI8 source using pear $ pear download pecl/oci8 $ tar -xvf oci8-1.4.9.tgz $ cd oci8-1.4.9 Build and install the extension

CentOS 6.5 spike

梦想与她 提交于 2019-12-25 05:18:20
问题 I have developed an application in C. I am running this application on "Red Hat Enterprise Linux Server release 5.8 (Tikanga)" and everything looks good but when we deploy this application on "CentOS release 6.5 (Final)" it starts doing problem. It occupies more chache memory and after 30-45 minutes it shoot up a spike and all cpu shows 100% cpu utilization for 1-2 second. I google this issue and found that CPU high usage of the usleep on Cent OS 6.3 Since one process in my application is

Install 32 bit glibc on 64 bit CentOS 6

拟墨画扇 提交于 2019-12-25 01:16:10
问题 (a) I was trying to run a Software (64-bit) on a 64 bit Cent OS-6 based System (with no internet access), and I got following error: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory (b) On searching it was understood that 32-bit glibc is to be installed. Searched all dependencies in a different system with internet connection, downloaded from internet, and loaded all rpms in the system via pendrive and tried to install glibc for 32 bit. I got below error message is obtained

To convert the extension of a file to the different directory by a ffmpeg command

社会主义新天地 提交于 2019-12-24 22:41:24
问题 The command below is to convert from mp4 file to jpg file with the same file name in the same directory, .../httpdocs/save/. [root@server-xxxxx-x ~]# for i in `find /var/www/vhosts/xxxxxx.com/httpdocs/save/ -type f -name "*.mp4"`; do ffmpeg -i $i `echo $i | sed -En "s/.mp4$/.jpg/p"`; done Now, I need to convert from, .../httpdocs/save/ to the different directory, .../httpdocs/file/, how should I change the command above? I'd appreciate if anyone could help me out. ffmpeg version 2.2.2 回答1:

Infinite scan for fonts in Apache FOP on CentOS

不想你离开。 提交于 2019-12-24 07:16:07
问题 I use Apache Batik to convert SVG into PDF in one of the projects. The project is Spring application running in Tomcat 7. Everything works OK on development machine which runs under Ubuntu with Tomcat being started using $CATALINA_HOME/bin/startup.sh. But when I try to run the app on production server with CentOS 6 and Tomcat started using service tomcat7 start command the app falls into infinite loop on convertation. I've tried to debug the problem and found this piece of code: /** * Creates

google-cloud-sdk installation not finding right Python 2.7 version in CentOS /usr/local/bin

跟風遠走 提交于 2019-12-23 12:05:14
问题 Our server OS is CentOS 6.8, I was trying to install google-cloud-sdk, even though I installed python 2.7 in /usr/local/bin , it is still looking at old version of python 2.6 in /usr/bin . I tried giving export PATH=/usr/local/bin:$PATH to first look at /usr/local/bin than /usr/bin but still the problem persists. please suggest a way to fix. 回答1: The way I have solved this (and I know it works) is to first install Python 2.7 in whatever way you'd like, then install pip using Python 2.7 which

installation of compiler gfortran in centos 6

ぐ巨炮叔叔 提交于 2019-12-23 09:36:45
问题 I try to install some compilers. I use Centos 6 in my laptop. I have installed the gcc, the "GNU" C Compiler. I need to install also gfortran, but when I type yum install gfortran , I get the message no package gfortran available . Do you know how can I install the fortran compiler? 回答1: Try yum install gcc-gfortran You can use yum search gfortran , to view relevant packages 来源: https://stackoverflow.com/questions/30489208/installation-of-compiler-gfortran-in-centos-6