logs archiveIRC Archive / Freenode / #centos / 2015 / July / 20 / 1
Cybertinus
Hello. I want to install GCC 4.9.1 from the Software Collections. How can I do that?
I want to install it on CentOS 6.6 by the way
Kelvar
Cybertinus: yum doesn't work?
Cybertinus
Kelvar: not by default
default gcc version in CentOS 6.6 is gcc 4.4.7
I want to have a newer gcc version
Kelvar
can you do a sudo yum search gcc ?
Cybertinus
yes
Kelvar
do you see the new version on the list?
Cybertinus
no, not by default
it can be added via the software collectiions
but I don't know how to get that to work in CentOS 6
all the info I can find on it is talking about RHEL6
and you need to run some magic command to get everything up and running
but that magic command is only readable when you are a Red Hat customer
which I aren't otherwise I would be running RHEL, not CentOS ;)
AndyCap
http://wiki.centos.org/AdditionalResources/Repositories/SCL
Cybertinus
so: how do I install GCC 4.9.1 on CentOS 6 with Software Collections?
yes, that's one of the many sites redirecting to the RHEL documentation AndyCap
I do know I need to installt he devtools package
but my yum can't find it
         

Ussat
why do you want a newer GCC ?
Cybertinus
because I didn't hook it up to the software collections thing yet
Ussat: because I do.
Ussat
...
Cybertinus
Ussat: the software package I try to compile needs 4.7+
Ussat
I see this ending...not so well
Cybertinus
4.47 is too old
4.4.7*
https://access.redhat.com/documentation/en-US/Red_Hat_Software_Collections/1/html/1.2_Release_Notes/chap-RHSCL.html#sect-RHSCL-Features <-- there, top of the table "Red Hat Developer Toolset 3.0". I need that enabled/configured/available in some way
how to do that?
AndyCap
Cybertinus: There is another note here http://wiki.centos.org/AdditionalResources/Repositories saying " Note that at the time of this writing there are problems replicating the upstream SCL 1.1 packages, and using https://www.softwarecollections.org/ is advised. "
Ussat
Just cureious, what software needs 4.9.1 ?
Cybertinus
Ussat: not 4.9.1, but 4.7+ :). And this is Quassel which needs that
an IRC Client, using the Qt toolset as there base
err, library, not toolset
AndyCap: hmm, thnx. It looks like this is going to work, I think
Lithiumx
you can have 4.8.2 with http://people.centos.org/tru/devtools-2/
ght
Question: I've got an Amazon EC2 centos 7 AMI that has 3.75 GB ram, but I just noticed does not have a swap partition.
I haven't had to deploy a swap partition in a while, is the common though still amount of ram * 2?
thought*
DiscordianUK
How much RAM do you have?
ght
17:24 < ght> Question: I've got an Amazon EC2 centos 7 AMI that has 3.75 GB ram
Ussat
There is not a rpm for Quassel ? and ya I know what it is
ght
It's the standard config for their t3.medium EC2 instances
DiscordianUK
Then I'd say 2Gb max
ght
ok, 2 GB?
Sounds good.
Thank you sir.
DiscordianUK
2xsizeof(ram) was the old standard
ght
Right.
DiscordianUK
going back to when systems had about 128Mb ram
If you have to use swap you certainly don't want to go through 8Gb of swap
         

ght
yes, that would be silly.
Ussat
C4PJMDSXFW550326
damm
Quassel is not available in CentOS's default repositories. However, it is available in EPEL, which stands for "Extra Packages for Enterprise Linux," as quassel-core.
To install EPEL on CentOS, execute the following command:
so....
DiscordianUK
Install the epel-release.rpm
Ussat
yea instead of compiling it
DiscordianUK
Tnen yum install quassel
Ussat
yup
really compiling is bad juju
TrevorH
@epel
centbot
EPEL: Extra Packages for Enterprise Linux. This can now be directly installed by 'yum --enablerepo=extras install epel-release'
Cybertinus
Ussat: quassel-core in epel is version 0.9.2. The newest version is 0.12.2. So epel is lagging behind big time ;)
Ussat
...
sigh
wolfy
Cybertinus: #epel is this way ===>
alsch
(Action) lol, as wolfy statement actually pointed to my epel window
abes
Hey - I have a question regardin chkrootkit - has anyone used it in the past? I have a centos system I own (but have an administrator to help with) and would like to run a general "known exploits scan" - any suggestions?
Evolution
abes: the problem with that is if a system's owned, you can't really trust anything it tells you
ideally you'd do the scan via live disk or other known good bootable medium
abes
Evolution: I have no reason to suspect the system is compromised and shutting it down is not really feasible :-(
Evolution
if you have no current reason to believe it's compromised, then chrootkit or similar scanner would likely be fine.
so long as you're doing defense in depth, you should be fine
abes
Evolution: what about tripwire? ever used it?
Evolution
I have. it's been replaced by aide in the distro though
only downside is you have to program in some automation logic for the comparisons. they're not automated by default
(Action) wanders off to get some sleep
zman099
yo
darius93
will this work to generate mac address that would be compatable with kvm? od -An -N6 -tx1 /dev/urandom | sed -e 's/^ *//' -e 's/ */:/g' -e 's/:$//' -e 's/^\\(.\\)[13579bdf]/\\10/'
fenrus02
macaddr=$(echo $FQDN|md5sum|sed 's/^\(..\)\(..\)\(..\)\(..\)\(..\).*$/02:\1:\2:\3:\4:\5/')
macaddr=$(printf '%02x' $((0x$(od /dev/urandom -N1 -t x1 -An | cut -c 2-) & 0xFE | 0x02)); od /dev/urandom -N5 -t x1 -An | sed 's/ /:/g')
take your pick. there are quite a few ways to do that.
darius93
fenrus02, will it generate a unicast mac address?
hifi
is there anything new to hyper-v time sync on centos (7)? seems it still needs to be disabled and/or forced to acpi_pm
dungeonx
Hello. I am running Vmware Workstation 11. The host computer is running Windows 7 Ultimate SP1 ( ip 192.168.134.1) and I have a webserver running inside a Guest centOS machine (192.168.134.128 - Host only network - because I don't want the Guest to be accessible from the internet but only from the host). I can ping the Guest from the Host. Also, inside the Guest OS I ran "iptables -I INPUT -s
192.168.178.14 -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT" , "iptables-save > /etc/sysconfig/iptables", and iptables -L just to check if everything is ok ( Chain INPUT (policy ACCEPT) ACCEPT tcp -- 192.168.134.1 anywhere state NEW tcp dpt:http . I then restarted the httpd. However, I'm still not able to access the website from Host, http://192.168.134.128/
doesn't show the default apache page. Anyone knows why or can help me with this issue? Thank you.
hifi
have you tried disabling iptables to see if it makes any difference?
dungeonx
hifi, /etc/init.d/iptables save and /etc/init.d/iptables stop will be enough? or I have to reboot?
TommyC
Just "service iptables stop" alone is good.
dungeonx
Okay, thanks. 1 sec
hifi
not being an expert with host only networking, it might have different incoming ip than what your external ip for your local network is
dungeonx
It doesn't work with iptables stopped either.
hifi
httpd is running, right?
dungeonx
Yes, also tried to restart it several times.
Including after I stopped iptables.
« prev 1 2 3 4 5 6 next »