logs archiveIRC Archive / Freenode / #centos / 2015 / September / 18 / 1
rogger_h
Hello all, anyone is free for some configuration on centos 6.5 ? i need some help since my nginx and stuff dont match
Evolution
rogger_h: any advice I'd offer you would very much start with 'yum update' as 6.5 is roughly a year behind on security updates, several of which were rather major
TrevorH
@current
centbot
Current releases are 5.11, 6.7, and 7.1 (1503). You can determine your current release by running 'rpm -q centos-release'. Please understand that this channel is only able to support what is current. If you need support for past releases we urge you to get paid support for such from Red Hat.
rogger_h
Evolution : thanks
would u help me with the nginx aswell?
JZA
hi how can I go about installing pip on centos?
billings
JZA: yum install python-pip
Chaz6
It is in the epel repo
billings
you might also want to put in python-virtualenv
         

JZA
yeah
billings
don't use pip to overwrite packaged software, unless you want to have a broken system.
JZA
epel has most python packages?
billings
it has a lot.
JZA
trying to find a mirror to get epel on my system
Laaw
hey got a yum question, when I do "yum install ruby-devel" on an x64 system, it tries to download the ruby-libs package for i686
"Processing Dependency: ruby-libs = 1.8.7.352-13.el6 for package: ruby-devel-1.8.7.352-13.el6.x86_64" => "Package ruby-libs.i686 0:1.8.7.352-13.el6 will be installed"
JZA
I am on 6.6
Laaw
just confuses the hell out of me why yum would try to install the i686 version of the dep instead of the x64 one
JZA
most of the python versions 2.6, anyway to get it to 2.7
Laaw
JZA probably don't want to muck with system python install, but you can do an altinstall of python2.7 and then use a virtualenv
JZA
django is not too happy about > 2.7
so compile from source?
Laaw
yeah, just make sure to altinstall
TrevorH
or far far better, use a repo that provides it
@repos
centbot
Additional packages are often in 3rd party repos. Information on additional CentOS repos is available at http://wiki.centos.org/AdditionalResources/Repositories Pay attention to the reference on yum-priorities.
TrevorH
look at IUS Community
JZA
I am trying to follow a tutorial but my virtualenv2-7 dont show up, I can still see it on /usr/local/python2.7/site-packages/
probably this question belong to #python
but if some pythonista here, he might be familiar to whats going on
TrevorH
JZA: you're still better off looking at IUS
@ius
centbot
A good source for more modern and trusted mysql, php and python packages is the IUS repo. For more information please see http://iuscommunity.org and the #iuscommunity channel on this network.
Laaw
hm when I try to install rpm-build, it says my elfutils install is too new?
"Requires: elfutils-libelf(x86-64) = 0.152-1.el6" "Installed: elfutils-libelf-0.158-3.2.el6.x86_64 (@CentOS/$releasever)" "Available: elfutils-libelf-0.152-1.el6.x86_64 (CentOS-Base)"
says it requires 0.152-1, but 0.158-3 is already installed
why does rpm-build rely on the old version exclusively
JZA try virtualenv -p python2.7
JZA
ok
         

TrevorH
Laaw: it doesn't, current version of that is 0.161-3.el6
Bahhumbug
"/usr/local/anything" isn't going to be supported here.
Laaw
TrevorH: hm, this might again be due to my bad mirror?
TrevorH
JZA: as previously indicated there are packaged versions of python in reputable repos, why build your own?
Bahhumbug
TrevorH: Because craptastic $tutorial told him to.
Laaw
I actually told him to
JZA
TrevorH: well since I had to install the python version from source, and a virtualenv with its own lib/bin/etc. I assume the django framework would be better if I do a pip install django
Bahhumbug
Then that's better. We can yell at you directly :)
Laaw
heh
Bahhumbug
@sourcebuilds
centbot
This venue is unable to provide assistance with building from source; you are strongly encouraged to learn to create proper packages that can be installed via rpm/yum.
TrevorH
rpm -q --requires rpm-build says it needs elfutils >= 0.128 and some libelf libs
JZA
TrevorH: if I do a yum install django it will problably be the one for python 2.6 which could be a too old version of the framework.
Bahhumbug
This goes for bulding _and_ trying to run under said builds.
JZA
TrevorH: at least thats my bubblegum logic
TrevorH
how old is too old for django?
Laaw
JZA you've drifted out of the realm of OS level problems
the folks in #python can help now
TrevorH
or rather how new is new enough?
Laaw
TrevorH: why am I getting "Requires: elfutils-libelf(x86-64) = 0.152-1.el6"?
when installing this package: Package: elfutils-0.152-1.el6.x86_64 (CentOS-Base)
TrevorH
Laaw: pastebin the entire yum output
Laaw
kk 1 sec
TrevorH
sounds like a) you have an ancient mirror of base and b) no updates enabled
Laaw
http://pastebin.com/vautYR0j
this may be true
re: ancient mirror of base
TrevorH
you should be mirroring 6.7 at this point
rather than try to fix the incomprehensible error that you have now, it would be better just to fix your mirroring
Laaw
were it that simple... but thanks, that's definitely helpful
TrevorH
what you have there is elfutils* from 6.5 which is coming on for 2 years old and has sufficient security holes in it to drive a truck through
tail end of 2013
Laaw
that meshes well with what I know about these VMs
TrevorH
so missing all the shellshock/poodle/openssh/bash stuff that made the headlines f.e
Laaw
nice heh
yikes
21-Dec-2013
todd_dsm_wk
What over-writes /etc/resolv.conf during a reboot? I've disabled NetworkManager, thought that would do it.
TrevorH
and the RHEL 6.5 that it was based on would be even earlier than that
dhclient if you are using dhcp
todd_dsm_wk
TrevorH: systemctl list-units | egrep -i 'network|dhcp' doesn't list anyting about NetworkManager or DHCP
F&^%in hell
joeman1
todd_dsm_wk: See if you have a /etc/resolvconf/resolv.conf.d/ direcotry... Might be resolvconfd overwriting it if you are on 7
TrevorH
the dhcp part would be how you have configured the connection
resolvconfd sounds like some hideous ubuntuism
todd_dsm_wk
joeman1: I am on 7, checking...
joeman1
Actually, I thinik its a systemd'ism ;)
TrevorH
todd_dsm_wk: look in /etc/sysconfig/network-scripts/ifcfg-$interface for BOOTPROTO=
joeman1: yum provides doesn't list it on el7
todd_dsm_wk
find /etc/ -name '*resolv*'
/etc/resolv.conf
/etc/request-key.d/id_resolver.conf
/etc/resolv.conf.save
not surprising stuff
TrevorH
it's no tin el7
todd_dsm_wk
BOOTPROTO=none
TrevorH
ps fax | grep -i dhc
joeman1
@Trevor: you are right... my bad - must have been thinking of Debian ;). Sorry bout that
todd_dsm_wk
TrevorH: that just output the process of my grep
Laaw
heh I literally added a sed command to change the hostnames of the repos
« prev 1 2 3 4 5 6 7 8 9 next »