CentOS 5 :: Adding OpenSSL Extension After Installing PHP With Yum
May 16, 2009
I just can't figure out how to enable openssl on my server. I've searched around on the web but have come upon dead ends. I recently became the admin to a server of a new company, the previous admin installed everything on this server. The server has php running which was installed thru yum I believe. And so was OpenSSL. Recently though I've been ordered to configure a online sales software. So I started investigating what I would need. I know I need OpenSSL, a certificate which should be bought, etc.
I met the dreaded dead ends when I came upon knowledge that I had to make OpenSSL work with PHP. Ok so I got to work. I found out that I needed an extension enabled in php. And the only way (that I've read so far) is thru compiling PHP with the command --with-openssl-dir=path. The problem is that I've compiled many times now and see no change in the phpinfo file. Can the extension be enabled (--with-openssl-dir=path) even after the php and openssl have been installed thru yum? I'm also new to linux
I find my self abit stuck upgrading OpenSSL to the latest version. The situation is that i've been running LAMP servers just fine by installing the web services from the repositories AND the web services from source. However im now in the process of making a PCI-DSS compliant server LAMP server. I've just had the vulnerability scan report back and its failed due to the OpenSSL having vulnerabilities and it tells me I must upgraded to version higher 1.0.0d.
I've basically spent hours and hours trying to get this working along with research but I dont seem to be having much luck with this one
Im using a fresh install of CentOS and trying to create a RPM using the source code and rpmbuild, I read this was the best way I read, and this is my first time using rpmbuild.
Code: yum -y install rpm-build make gcc gcc-c++ perl mlocate cd /usr/src/ wget http://www.openssl.org/source/openssl-1.0.0d.tar.gz updatedb tar -zxf openssl-1.0.0d.tar.gz openssl.spec
Just made the upgrade to 10.04 and after copying my /home/ directory to my external and back over to my hard drive, the .mp3 extensions have all disappeared. Dolphin still identifies the files as mp3 audio files, but without the extension, Amarok, Banshee or VLC will not play them. Is there anyway to get the media players to play those files, or anyway to add the .mp3 extension onto all of those files at once?
I've recently migrated an unlicensed RHEL5 box to CentOS 5 in order to get the system patched, and yum is telling me that openssl 0.9.8e is the up-to-date version. But that version is over two years old. I know I can install the newest openssl by using the rpm and I also know how to install from the tarball, but I'm trying to avoid both methods because I prefer the automated dependency handling of yum.
My question is SHOULD I be expecting yum to see openssl 0.9.8q when I run 'yum update openssl'?
If so, I'll be happy to reinvestigate my configuration for problems. I'm currently just using the default CentOS repositories.
If it's a case where anything beyond 0.9.8e simply hasn't been included from upstream, and I need to install it manually, that's fine. I'm just trying to get a handle on my expectations. I've been pouring through google and forums and looking for documentation for weeks, but there's so much that it's definitely possible I've overlooked it.
I installed the aMSN 0.96 from yum install When I try to loggin, the aMSN required installation TLS module I selected Linux-x86_64, because I am using a IBM T400 notebook computer but the system replys: Installatiom TLS module error: Couldn't get [URL] So I went to the [URL] and downloaded the tls1.6-src.tar.gz But when I configure it. the system says: configure: error: bad ssl-dir: cannot find openssl/opensslv.h under /usr/include
Then I try to using yum to install openssl
The system replies: [root@localhost tls1.6]# yum install openssl Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile
I recently just installed centos, but it appears that when I installed it v 0.9.8e was installed consequently, all the lib's etc. are /lib/libssl.so.0.9.8e instead of an ordinary /lib/libssl.so.0.9.8 etc. and this is causing some problems for me, as programs are looking for /lib/libssl.so.0.9.8, and even if i symlink/copy/move /lib/libssl.so.0.9.8e to /lib/libssl.so.0.9.8 there are still some errors occurring. I had been reading that supposedly yum is meant to have a "yum downgrade" option, however it doesn't appear to be recognised when I run it on my centos server.
i am using ubuntu 8.04 and am trying to install a file with a .bin extension so opened the terminal and typed ($ chmod +x typingmastermac.bin )then the computer gave me this (bash: $: command not found). so i am not aware what to do next though most articles i have read about the topic tell me that that is supposed to be the first step in installing a file with a .bin extension. better way to install the typingmastermac.bin file.
I've got brand new Dell Optiplex 380 (Intel E8400 chipset) that I wanted to use to test new KVM virtual environment, after installing Centos 5.5 - (64bit) I'm not getting any further than "egrep '(vmx|svm)'color= always /proc/cpuinfo" as it is not showing that CPU is capable of VMX. Now this URL... says that it is perfectly up to what I want from it. I specifically installed W2k3 server R2 on the same box previously to run these apps, just to be sure URL...everything was nice and green and according Windows and those apps perfectly VMX-capable, but still CentOS isn't recognizing VMX capabilities.BIOS settings are all enabled...
I am trying to install Nvidia card driver. The driver has got a .run extension and i don't know how to handle that, I've tried to extract like i did with .tar files but didn't work. I clicked the file while in X window and it opens a terminal and runs for a sec and said i have to exit X window and run as root. so i exit X window and login form CUI, navigate to the folder and type "NVIDIA-Linux-x86-185.18.08-pkg1.run" but nothing happens, so i add sudo and tried but All i get is "NVIDIA command not found". I guess this is not a problem but i just don't know how to handle the .run file. please help. I am using Ubuntu Lucid Lynx LTS. I' ve checked other threads and found some issues regarding Nvidia drivers but i wanna know how to handle the .run files.I've windows xp, 7, Puppy Linux and Lucid Lynx on my desktop and whenever i repair windows the GRUB got damaged. Is there a way to recover the loader without reinstalling the whole linux OS like getting into recovery console and fixboot,, fixmbr for restoring windows?
I been working on this issue for a couple days without success. PHP.ini will not load extensions. I am able to modify php.ini parameters successfully with the exception of the extensions. It would be appreciated if someone can shed some light on this issue.
Troublshoot check for multiply php.ini restart apache
1. Environment:
CentoOS 5.2 Apache2 PHP 5.11
2. dir apache2= /usr/local/apache2 php = /usr/local/apache2/php lib = /usr/lib which contains pdo.so, pdo_mysql.so, sqlite.so, pdo_sqlite.so
I'm connecting to my CentOS with remote desktop. While trying 'setxkbmap' the following error is occurring:XKB extension not present on :17.0It doen't happen on the console, i.e.when DISPLAY=:0.0
I have a CentOS 5 server with PHP 5.1.6 installed. Now I need to work with soap but the extension is not installed by default.Preferably without recompiling (if possible) ? Specific instructions would be very helpful.u Also, if you need any further information, let me know.
I have a centos 5.5 machine. First I upgraded my php to php 5.3. So I was then installing phpMyAdmin so I just put the whole folder into my /var/www/html/phpMyAdmin.The I tried to run my phpMyAdmin and I got this error Cannot load mysql extension. Then I uinstall my mysql db and reinstall it. Again it show me the same error.For addition info via the php info page for the Configure Command I saw this option -without-mysql' .
I just installed a TrendNet TEW-649UB wifi dongle, which works when it wants Anyway, I set up ICS, it didn't work, so I undid what I had done from the tutorial, I also cleared IPTable rules, but now I still get error messages as you can see on the attachments.
I have noticed that some repos in /etc/yum.repos.d/*.repo files have the definition "enable=0", I am not talking specifically about the "testing" repos... of course these have some packages tha may disrupt the normal working of CentOS... but about all the remaining repos ( non "testing" ) that are disabled by default...Is it dangerous to enable them...? even respecting priorities and having yum priorities activated...?
I want to add a new IDE controller, to the one I already have on board (I have only one). I disable the on board controller in order to boot the same disk using the new IDE controller.
The problem is that when I get to Grub it does not know where to boot from. The system should boot from hd0,0 but it can't find it. I tried hd1, hd2 and hd3. None of them worked.
Do I need to edit Grub before installing the extra IDE controller?
I've created a new user on the system and can login to the server with SFTP but can only add/remove files in the users folder and nowhere else on the server.
I've tried adding
AllowUsers username to sshd_config but that made no difference?
I've been trying to add a user to the system, so I can use it through samba to access the shares on the server. I'm using "useradd" but the command is not found... with a little search, I was able to find the command "/usr/sbin/useradd username" my question is can someone point me to a guide with basic administration task, I was checking out the wiki on Centos, but didn't find "adding user"; I know Centos has a gui for this, but I would like to stick to shell commands. By the way why some commands are only access through /sbin and others /usr/sbin. I know this probably has to do with your path, but how can I fix this so I don't have to type the whole path every time.
Hi, I am trying to add the RPMForge repo by following this guide [URL].. But when I try to verify the package I have downloaded, I get the following message
Quote:[sauro@localhost ~]$ sudo rpm -K rpmforge-release-0.5.2-2.el5.rf.*.rpm error: rpmforge-release-0.5.2-2.el5.rf.*.rpm: open failed: No such file or directory
usernamen: evarie path to home : /home2/evarie2 shell : same as standard users and root group : evarie
How can is see all options i did choose? What is the default shell in CentOS? With which command can i see which shell i use now? becaus my new user have these wrong shell: -bash-3.2$
I have an old Linux server, but now the hard drives are reformatted. I want to use this as a test server before I do anything on our live server. Our live server is running CentOS 5 so I would like to install CentOS 5 on this server, however the mother board does not seem to recognize the CD ROM any more, and I have tried other CD ROMs - So, the .iso file I down loaded from CentOS's mirrors can't be installed that way.I have a windows machine and I was wondering if I could just dump the .iso file onto one of the reformatted hard drive and then reinstall it into the server?
I'm giving CentOS a new look as a desktop. Been a few years since I last installed it on anything but a server. While the default repositories have improved greatly I am still bereft of so much of my cherished and necessary software. No Gambas, Wesnoth (shows up but version is 2 years out of date), Chrome, Audacious ugly plugins, XMMS support for FLAC (shows up but errors out if I try to install), Cinalarra, Audacity, JACK audio, Ardour, Xine, Amarok, Blender, Gthumb, Abiword, gramps, disk utility, many KDE apps, it's almost like KDE is a forgotten desktop manager for CentOS repsositories and pages more of software I'm too lazy too list. All of this is software which shows up in Debian based distros and most of which in Fedora/SUSE repositories.
What are some good repositories for CentOS. I clearly have the wrong ones enabled or CentOS is a very crippled desktop. Here are the repositories I've added/have. Updates extras addons adobe base c5-media errors out so I have it disabled. centosplus contrib kbs-CentOS-extras & misc Rpmforge RPMforge extras errors out so I have it disabled.
I need to modify the ISO file by adding few files so that after all installation done I can run a sh script to do some thing on the box. How to do that?