CentOS 5 :: Installing Testing Repo Php And Mysql On PC No Internet/cdrom
Dec 6, 2009
I running Centos 5.3 on a computer with no internet access and no cdrom, i need to know how to keep it updated via USB stick. I have a 2 Gb USB stick, i am trying to update my centos machine and also update php and mysql with the testing repo packages. I am testing vBulletin 4 Publishing Suite and vBulletin 4 requirements are: PHP: 5.2.0 and MySQL:4.1.0 but Recommended: PHP: 5.2.6 or newer AND MySQL: 5.0.19 or newer.
mysql Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (i686) using readline 5.1
edit:i am trying to follow this guide: [URL]since i have no internet access, i have downloaded all files to my USB stick.i added the testing repo manually.is there a way to instruct centos to update these packages from my usb stick ? since i have them on USB, i can upload them on centos.
I am using Fedora 13 and I have one program (wine) that I need to start grabbing for the updates-testing repo instead of the default repositories in order to get newer versions. I think I can figure out how to add that repository, but I need to know if there are any others I need to disable or any other changes I need to make to my system so that I don't confuse my set up with conflicting updates.
Also, is there anything special I need to do to be sure that only that one program is grabbed from the testing repo when I run regular updates?
how can i update php to the latest version from the testing repo via USB ? my machine has no internet access and no cdrom, my only choice is via USB, i have a 2 gb USB.
edit: i am trying to follow this guide: [URL] since i have no internet access, i have downloaded all files to my USB stick. i added the testing repo manually. is there a way to instruct centos to update these packages from my usb stick ? since i have them on USB, i can upload them on centos.
Alright, so I installed the c5-testing versions of httpd, php, and mysql, since my server is used for other daemons primarily and these aren't used as production servers I decided to test the bleeding edge versions of these, report any bugs I find, etc. The problem is, since I updated httpd and mysqld they no longer start up at boot. I tried using chkconfig --add with both of them, but both their init.d scripts have - for levels, so I did not assign any levels. They still do not start up at boot. [URL]
Since I need to install Grace on several lab workstations, I've been working on getting the mirrors.kernel.org fedora 6 extras repo to work. This is what I've done on one workstation: Added to /etc/yum.repos.d/fc6extras.repo:
Got this dependency problem and would like to know if there is a better solution to what I've done, especially with a hard coded baseurl in the repo file: gstreamer-plugins-bad-0.10.8-4.el5.rf.i386 from installed has depsolving problems --> Missing Dependency: libSoundTouch.so.0 is needed by package gstreamer-plugins-bad-0.10.8-4.el5.rf.i386 (installed)
Just switched from stable to testing. To run a pure testing, can someone tell me if I have all the necessary repos below?
deb http://www.debian-multimedia.org testing main non-free deb http://getswiftfox.com/builds/debian unstable non-free deb http://ftp.debian.org/debian testing main contrib non-free deb http://security.debian.org/ testing/updates main contrib non-free deb http://www.debian-multimedia.org testing main non-free deb http://mozilla.debian.net/ squeeze-backports iceweasel-4.0
I want to have most my system in Debian Stable and a few packages updated to a version that is not in Stable repos.For example Abiword. With the one in Debian Stable I have many issues.I could add Debian testing repos and update it, but then I will have to upgrade to testing a lot of programs that I didn't intended to upgrade.ex: Abiword in testing may requiere libc6(testing) and with that I would have to upgrade a lot of programs that will not work with a newer version of libc6.
I have been trying to install the above on my CentOS 5.5 server but am having missing libs issues. Our friend yum is not helping either. Here're some of the libs missing:
Missing Dependency: liblua-5.1.so()(64bit) is needed by package mysql-workbench-gpl-5.2.31-2el6.x86_64 (/mysql-workbench-gpl-5.2.31a-2el6.x86_64) Missing Dependency: libssl.so.10()(64bit) is needed by package mysql-workbench-gpl-5.2.31-2el6.x86_64 (/mysql-workbench-gpl-5.2.31a-2el6.x86_64) Missing Dependency: python(abi) = 2.6 is needed by package mysql-workbench-gpl-5.2.31-2el6.x86_64 (/mysql-workbench-gpl-5.2.31a-2el6.x86_64)
After updating and installing Mysql's TOP, yum broke. When trying to clean, update, or install, the following error occurs:
dingle@its:/home/dingle# yum update There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named cElementTree Please install a package which provides this module, or verify that the module is installed correctly. It's possible that the above module doesn't match the current version of Python, which is: 2.4.3 (#1, Sep 3 2009, 15:37:12) [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] If you cannot solve this problem yourself, please go to the yum faq at: [URL]
I tried to resolve by reinstalling the dependency, didn't work either: dingle@its:/home/dingle# rpm - [URL] Retrieving [URL] Preparing... ########################################### [100%] package python-elementtree-1.2.6-7.el4.rf.i386 (which is newer than python-elementtree-1.2.6-5.i386) is already installed
How can I rebuild YUM appropriately so it will operate correctly?
I have a permission to use several CentOS5 computers that are connected to a server where all shared programs sit. Accordingly, all Perl users for example have an identical path to Perl (e.g. /export/user/bin). The administrator suggested I'll install all the programs I need (specifically Perl and Mysql) in my personal space, and then add them to the path before the already installed ones. Accordingly, I could add/change modules without "sudo" privileges, and without changing the global setting.
I understand that you can "rpm -i <packagename>" to install an rpm file downloaded from the internet, but is that the best way to install an rpm package? Is it possible to use yum to install an rpm file downloaded from the internet, if so, is that a better method?
I get stuck at the part where it says Youll need to use the MySQL root password. Then, in your database administration screen for MySQL, set the password for the new MySQL user horde to something nicely random and hard to guess; keep a momentary record as youll need it below.
It is really frustraing to get stuck at something so simple as installing horde imp on centos. how to get it installed on a CENTOS 5.x system ?
I've been at it all day trying to get PHP synced up with MySQL. The long and short of it is, php-mysql RPM's lead me into dependency hell (I've been trying to repent but for some reason I always end up there) after I had already used an RPM to install PHP. MySQL is fine, for now.
Here's where I'm at now... I have since uninstalled any previous versions of PHP and have grabbed the tar.gz2 version of PHP to compile / run with the "--with-mysql" option enabled. However, whenever I try to ./configure --with-mysql, I'm eventually told that "configure:error: libxml2 version 2.6.11 or greater required."
Running "rpm -qi libxml2" confirms that I've got version 2.6.26 installed... What gives!?
As is customary, here is my system info: Information for general problems.
== BEGIN uname -rmi == 2.6.18-238.9.1.el5 i686 i386 == END uname -rmi == == BEGIN rpm -qa *-release* == centos-release-notes-5.6-0.i386 centos-release-5-6.el5.centos.1.i386
Is it possible to install further software if your development machine has no internet connection? I have been searching for a solution and found that I can do yum localinstall <cdrom path to package> but it does not seem to work. Is this no longer possible?
I'm currently working on a project in a secure environment with no internet access and I need to install Ettercap and Wireshark on the machines. I thought this would be a simple task of loading Wireshark onto a USB but this did not work and replied with error messages such as: ' Invalid config x86_64-unknown-linux'
what does the error message mean and do I need internet access to install the apps?
I'm trying to create a new VM with Debian 7.6. I downloaded the 3 install iso discs and tried to install. When I begin the installation it seems to take control of the CDROM and I am no longer able to eject it by either pressing the eject button or trying to eject through Windows. The installation goes fine until it asks if I have any other discs to install (which I do ... I have 2 more). At this point I say "Yes" but I cannot get the CDROM to open up at all since it doesn't automatically eject for another disc and as I mentioned before ... I can't do it manually or in Windows.
- I cannot do an installation over the internet because this is a government computer which is requires to be hooked to a government network. There are certain certificates required to access the network which are not available to my newly made (or in the process of making) Linux system but rather only to my host Windows system. - I cannot use a newer version of VirtualBox because that opens up a whole new set of issues dealing with WinVerifyTrust getting CERT_E_REVOCATION_FAILURE most likely due to our symantec security software.
So my Storage Settings in VirtualBox are as follows for my CDROM drive: - Controller: IDE Controller - Type: PIIX4 - "Use Host I/O Cache" is checked - Host Drive D: - CD/DVD Drive: IDE Secondary Master - "Passthrough" is checked
I cannot install the Debian 7.6 OS because I cannot eject each disc and put in the next disc. The only way I can eject the disc is if I reboot my entire system (host windows system) which obviously leaves me at an unfinished point in my install and therefore I have to restart the install and end up right where I was 30 minutes earlier.
I tried to install skype: apt-get install skype but I got the following error: Failed to fetch cdrom:[Debian GNU/Linux 6.0.1a _Squeeze_ - Official i386 DVD Binary-1 20110322-15:11]/pool/main/q/qt4-x11/libqtgui4_4.6.3-4_i386.deb Hash Sum mismatch
So, I have an old laptop that used to have windows/ubuntu until the drive got fubarred (no physical damage). I shoved the laptop as side as I didn't use it much anymore (it's an old, loud 2.4GHz desktop p4 in a dell--mostly toshiba--laptop. pcmcia atheros based wifi card and an ATI m6 graphics card. Laptop was new back in 2002-03 maybe).The Cdrom drive had died a while back, and it's not worth buying a replacement. The bios doesn't support boot to USB. What are my options for getting Ubuntu on there (9.10 preferably)? The drive has been formatted already, so there is nothing to boot into right now.
I can pull the drive and hook it up to my desktop (windows 7 machine only right now) via USB, and partition it from there, but I'm not sure how to get the installer on there. The MBR of the laptop drive will also have to be rewritten. Is there a way I can create a dos partition, load it with files, and start a linux install that way (maybe with grub4dos or something)?Or can I somehow boot into an ISO image on a partition?The only other thought I have is creating a floppy disk that will allow a network boot, but I haven't looked into that. I basically just want something to bring with on vacation that I can get online with. Browsing from the phone leaves a little bit to be desired.
I'm having headaches about not being able to install build-essential on my 9.10. I don't have an internet connection and no CDrom. [URL]. So that solves it if you have a CD drive... What to do if a poor fella (like me) was to have a system with no CD drive? I installed from USB PENDRIVE and I suppose there have to be some command corresponding to apt-cdrom but for the USB drive but I can't find one.
Just checking to be sure. 5.3>5.4 update went without a hitch:) But a message ran about (/etc/yum.repo.d) CentOS-Base.repo.rpmnew. Comparing CentOS-Base.repo with the new one show the 1st has the correct priorities and .rpmnew does not have the correct priorities. Should I remove the *.rpmnew repo after making sure it otherwise is the same as the original CentOS-Base.repo?