[CentOS] Centos 7 - how to play mp3

2014-07-30 Thread ambrogio cirillo
Dear Sirs,
no way to play mp3 on Centos 7.
I tried all suggestions w/o success!
Could you please tell me how to?
Thank you in advance.
Best regards,
Ambrus
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] [CentOS 6.5]mounting hgfs shares failed

2014-07-30 Thread Theodore Si
Hi all,

I instaled a CentOS 6.5 in Vmware and installed the vmware-tools.
Howerver, when I start up, it gives me the message that
mounting hgfs shares [failed]

How do I solve this, any thoughts?

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Install php-imap using yum or any on CentOS 7

2014-07-30 Thread Vivek Patil
Hi All,

Refer my subject line and help me out.

Vivek
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 7 - how to play mp3

2014-07-30 Thread Bonnie B Mtengwa
Its Possible, I did it on my machine

You need to enable the nux-desktop repo, 

Then  install 
 yum install gstreamer gstreamer-plugins-base gstreamer-plugins-good
gstreamer-plugins-bad-free 

you might also be asked to download another codec depending with the Player
you are using, if you install VLC  via yum as well it comes with its own
codecs.
Hope that helps

Regards
Bonnie 




-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of ambrogio cirillo
Sent: Wednesday, 30 July 2014 9:42 AM
To: centos@centos.org
Subject: [CentOS] Centos 7 - how to play mp3

Dear Sirs,
no way to play mp3 on Centos 7.
I tried all suggestions w/o success!
Could you please tell me how to?
Thank you in advance.
Best regards,
Ambrus
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install php-imap using yum or any on CentOS 7

2014-07-30 Thread Vivek Patil

Thanks for reply.

I have already added epel repo ( see attached file )


On 7/30/2014 4:54 PM, Reindl Harald wrote:


Am 30.07.2014 13:10, schrieb Vivek Patil:

Refer my subject line and help me out

just add the epel repo which can be called mandatory
for webservers since a lot of important packages are
only there

Name: php-imap
Architektur: x86_64
Version: 5.4.16
Ausgabe: 2.el7
Größe: 36 k
Quelle: epel/x86_64



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 7 - how to play mp3

2014-07-30 Thread Earl Ramirez
On Wed, 2014-07-30 at 09:41 +0200, ambrogio cirillo wrote:
> Dear Sirs,
> no way to play mp3 on Centos 7.
> I tried all suggestions w/o success!
> Could you please tell me how to?
> Thank you in advance.
> Best regards,
> Ambrus
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

Hello Ambrus,

You will need to install nux repo[0] and epel repo[1], when both of
these repos are installed you can install the following packages:

$ sudo yum -y install gstreamer1-libav
gstreamer1-plugins-bad-free-extras gstreamer1-plugins-bad-freeworld
gstreamer1-plugins-base-tools updates gstreamer1-plugins-good-extras
gstreamer1-plugins-ugly gstreamer1-plugins-bad-free
gstreamer1-plugins-good gstreamer1-plugins-base gstreamer1

OR you can install vlc
$ sudo yum install vlc

[0] http://li.nux.ro/repos.html 
[1]
http://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/ (use 
the option for CentOS 7)

Hope this helps

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 and android connectivity (Nook)

2014-07-30 Thread Timothy Murphy
Ali Corbin wrote:

> I gave up on mtp after a while and now just adb push the files over.
> It's not as user friendly, but it's a whole lot quicker.

How exactly do you do this?

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
School of Mathematics, Trinity College, Dublin 2, Ireland


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install php-imap using yum or any on CentOS 7

2014-07-30 Thread Vivek Patil
Tryed all enable ( 0 to 1 ) but no luck
> cat epel.repo
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install php-imap using yum or any on CentOS 7

2014-07-30 Thread Thomas Göttgens
Don't use EPEL6 with CentOS 7.
 

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 7 - how to play mp3

2014-07-30 Thread mark
On 07/30/14 07:24, Bonnie B Mtengwa wrote:
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
> Of ambrogio cirillo
>
> Dear Sirs,
> no way to play mp3 on Centos 7.
> I tried all suggestions w/o success!
> Could you please tell me how to?
> Thank you in advance.

 > Its Possible, I did it on my machine
 >
 > You need to enable the nux-desktop repo,
 >
 > Then  install
 >   yum install gstreamer gstreamer-plugins-base gstreamer-plugins-good
 > gstreamer-plugins-bad-free

Isn't mplayer available yet for CentOS 7? That plays pretty much anything (and 
I can do it from a command line, rather than yet another annoying GUI window 
that wants valuable screen real estate)
 >
 > you might also be asked to download another codec depending with the Player
 > you are using, if you install VLC  via yum as well it comes with its own
 > codecs.
 > Hope that helps

mark
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install php-imap using yum or any on CentOS 7

2014-07-30 Thread Vivek Patil
I tryied 7 also from the following link but no luck

http://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/

Please guide me if m going wrong



On 7/30/2014 5:39 PM, Reindl Harald wrote:
> Am 30.07.2014 13:41, schrieb Vivek Patil:
>> Tryed all enable ( 0 to 1 ) but no luck
>>> cat epel.repo
>> [epel]
>> name=Extra Packages for Enterprise Linux 6 - $basearch
>> #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
> your subject mentions CentOS7 and you installed EPEL6
> just read what you post while you compose a mail
>

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install php-imap using yum or any on CentOS 7

2014-07-30 Thread Giles Coochey

On 30/07/2014 13:11, Vivek Patil wrote:

I tryied 7 also from the following link but no luck

http://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/

Please guide me if m going wrong



http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/php-imap-5.4.16-2.el7.x86_64.rpm

--
Regards,

Giles Coochey, CCNP, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 8444 780677
+44 (0) 7983 877438
http://www.coochey.net
http://www.netsecspec.co.uk
gi...@coochey.net


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 7 - how to play mp3

2014-07-30 Thread Scott Robbins
On Wed, Jul 30, 2014 at 07:59:21AM -0400, mark wrote:
> On 07/30/14 07:24, Bonnie B Mtengwa wrote:
> > From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
> > Of ambrogio cirillo
> >
> > Dear Sirs,
> > no way to play mp3 on Centos 7.
> 

>  > Its Possible, I did it on my machine
>  >
>  > You need to enable the nux-desktop repo,
>  >
>  > Then  install
>  >   yum install gstreamer gstreamer-plugins-base gstreamer-plugins-good
>  > gstreamer-plugins-bad-free
> 
> Isn't mplayer available yet for CentOS 7? 

Yes, from ATrpms or the Nux Desktop repo.  (I'm going by pkgs.org)
(Both also have the libdvdcss as well if one wants to play movie DVDs)

-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 7 - how to play mp3

2014-07-30 Thread Robert Moskowitz

On 07/30/2014 03:41 AM, ambrogio cirillo wrote:
> Dear Sirs,
> no way to play mp3 on Centos 7.
> I tried all suggestions w/o success!
> Could you please tell me how to?

Well I don't have C7 yet, but I use either mplayer or vlc.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install php-imap using yum or any on CentOS 7

2014-07-30 Thread David Both
And, of course, this brings up the question of when EPEL Beta (7) and RPMFusion 
will be ready for CentOS 7. Can anyone make a comment on that? I am waiting for 
EPEL and RPMFusion before upgrading some of my hosts.


On 07/30/2014 07:50 AM, Thomas Göttgens wrote:
> Don't use EPEL6 with CentOS 7.
>   
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
> -- 
>
>
> *
> David P. Both, RHCE
> Millennium Technology Consulting LLC
> 919-389-8678
>
> db...@millennium-technology.com
>
> www.millennium-technology.com
> www.databook.bz - Home of the DataBook for Linux
> DataBook is a Registered Trademark of David Both
> *
> This communication may be unlawfully collected and stored by the National 
> Security Agency (NSA) in secret. The parties to this email do not consent to 
> the retrieving or storing of this communication and any related metadata, as 
> well as printing, copying, re-transmitting, disseminating, or otherwise using 
> it. If you believe you have received this communication in error, please 
> delete it immediately.
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install php-imap using yum or any on CentOS 7

2014-07-30 Thread Vivek Patil
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch
failovermethod=priority
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 7 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch
failovermethod=priority
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=1


On 7/30/2014 5:46 PM, Reindl Harald wrote:
> [epel]
> name=Extra Packages for Enterprise Linux 7 - $basearch
> # baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
> failovermethod=priority
> enabled=1
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install php-imap using yum or any on CentOS 7

2014-07-30 Thread Giles Coochey

On 30/07/2014 13:34, Vivek Patil wrote:

[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch
failovermethod=priority
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 7 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch
failovermethod=priority
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
gpgcheck=1


On 7/30/2014 5:46 PM, Reindl Harald wrote:

[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
# baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7


Your links are wrong, change them to 
/pub/epel/beta/7/$basearch


--
Regards,

Giles Coochey, CCNP, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 8444 780677
+44 (0) 7983 877438
http://www.coochey.net
http://www.netsecspec.co.uk
gi...@coochey.net


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 7: printing four copies with Libreoffice prints garbage

2014-07-30 Thread Valeri Galtsev
Try to use generic postscript driver (if the driver for your model of
printer is not available).

Thanks.
Valeri
On Tue, July 29, 2014 11:31 pm, Frank Cox wrote:
> I have a Xerox Phaser 3250 printer
>
> It worked perfectly under Centos 6 when I told cups that it was a Xerox
> Phaser 3150.
>
> It works under Centos 7, too.  I can print pdf files from evince and
> whatnot with no problems, and printing one, two or three copies of a
> document from libreoffice works as well.
>
> However, if I tell libreoffice to print four copies of a document ("number
> of copies" =4) then I get garbage printed on the printer; many many pages
> containing one or two lines of garbage characters.
>
> If I run the spadmin program and tell it to print a test page, it prints
> fine. Two test pages, fine.  Three, also fine.  Four test pages, and I get
> page after page after page of garbage again.
>
> What could the problem be?
>
> --
> MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] using Red Hat site for documentation

2014-07-30 Thread Adrian Buciuman
Hi,

Is using Red Hat site for documentation legal?

If I understand correctly you have to be a customer of Red Hat to be
allowed to use their bandwidth:
https://access.redhat.com/help/terms/

"2. Terms Applicable to Red Hat Content. In order to access a Red Hat
Portal and Red Hat Content, you must be a current Customer of Red Hat
or its affiliates
[...]
 "Some Red Hat Content may have additional terms, license agreements,
privacy terms, export terms, subscription agreements, or other terms
and conditions ("Additional Terms") that apply to your access to or
use of the applicable Red Hat Content. In the event of a conflict,
inconsistency, or difference between these Terms of Use and the
Additional Terms, the Additional Terms will control.
[]
6. Use of Content. Red Hat grants you a personal, non-assignable
license to use Red Hat Content for your own internal use while you are
a Red Hat Customer (as defined in Section 2 above). Distributing any
portion of Red Hat Content to a third party, using any Red Hat Content
for the benefit of a third party, or using Red Hat Content in
connection with software other than Red Hat Software under an active
Red Hat subscription are all prohibited. Red Hat authorizes you to
display on your computer, download, play, and print the Red Hat
Content provided: (a) the copyright notice is not removed, (b) Red Hat
Content is not be altered, (c) Red Hat Content is used only for your
personal, educational, and non-commercial use in support of your
active valid subscriptions to Red Hat products and services and in
accordance with your Customer Agreement, (d) you do not further
redistribute or copy Red Hat Content, and (e) you comply with any
Additional Terms. In the event of a conflict, inconsistency, or
difference between this Section 6 and the terms of a License or
Customer Agreement, the License or Customer Agreement will control
(for example, for Red Hat Content licensed under a Creative Commons
License, you will have the rights set forth in the applicable Creative
Commons License)."

---

The way I understand it, most RHEL documentation has a more permissive
license, like CC-BY-SA: http://creativecommons.org/licenses/by-sa/3.0/
and can be redistributed under certain conditions.
However, the terms of use still apply to using the Red Hat websites
(=bandwidth).

But if someone is a Red Hat customer, he can legally access the site,
fetch the documentation and redistribute it to everyone.

Since RHEL and CentOS are now collaborating, can they sort out this issue?

Thanks,

Adrian Buciuman
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install php-imap using yum or any on CentOS 7

2014-07-30 Thread Dennis Jacobfeuerborn
On 30.07.2014 14:53, Giles Coochey wrote:
> On 30/07/2014 13:34, Vivek Patil wrote:
>> [epel]
>> name=Extra Packages for Enterprise Linux 7 - $basearch
>> #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
>> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
>>
>> failovermethod=priority
>> enabled=1
>> gpgcheck=1
>> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
>>
>> [epel-debuginfo]
>> name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
>> #baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug
>> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch
>>
>> failovermethod=priority
>> enabled=1
>> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
>> gpgcheck=1
>>
>> [epel-source]
>> name=Extra Packages for Enterprise Linux 7 - $basearch - Source
>> #baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS
>> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch
>>
>> failovermethod=priority
>> enabled=1
>> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
>> gpgcheck=1
>>
>>
>> On 7/30/2014 5:46 PM, Reindl Harald wrote:
>>> [epel]
>>> name=Extra Packages for Enterprise Linux 7 - $basearch
>>> # baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
>>> mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
>>>
>>> failovermethod=priority
>>> enabled=1
>>> gpgcheck=1
>>> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
>>
> Your links are wrong, change them to
> /pub/epel/beta/7/$basearch

Don't play with the repo files manually at all and instead install the
release package for the repo:

http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm

That way if anything changes in the repo config you get these changes
with the next update.

Regards,
  Dennis
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using Red Hat site for documentation

2014-07-30 Thread Jim Perrin


On 07/30/2014 08:38 AM, Adrian Buciuman wrote:




--
> 
> The way I understand it, most RHEL documentation has a more permissive
> license, like CC-BY-SA: http://creativecommons.org/licenses/by-sa/3.0/
> and can be redistributed under certain conditions.
> However, the terms of use still apply to using the Red Hat websites
> (=bandwidth).
> 
> But if someone is a Red Hat customer, he can legally access the site,
> fetch the documentation and redistribute it to everyone.

This is best asked of lawyers, and I'm betting many of the folks who
chime in here won't have passed the bar.  *MY* understanding (IANAL) is
that you may redistribute the documentation so long as you follow the
CC-BY-SA license.

> 
> Since RHEL and CentOS are now collaborating, can they sort out this issue?


We've been discussing this previously with the RH folks. The issue is
that we want to change the documentation (we don't do entitlements,
subscriptions, etc). In altering the documentation, we must then make
other changes as required by the license, but the source used to
generate the docs isn't available in most cases.

 We've not had the free cycles deal with the html edits and keep up with
it. Oracle uses the pdf copies of the docs rather than changing things,
but a pdf in a browser isn't exactly 'nice'.

Patches welcome.


-- 
Jim Perrin
The CentOS Project | http://www.centos.org
twitter: @BitIntegrity | GPG Key: FA09AD77
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 7: printing four copies with Libreoffice prints garbage

2014-07-30 Thread m . roth
Valeri Galtsev wrote:

Please don't top post.

> On Tue, July 29, 2014 11:31 pm, Frank Cox wrote:
>> I have a Xerox Phaser 3250 printer
>>
>> It worked perfectly under Centos 6 when I told cups that it was a Xerox
>> Phaser 3150.
>>
>> It works under Centos 7, too.  I can print pdf files from evince and
>> whatnot with no problems, and printing one, two or three copies of a
>> document from libreoffice works as well.
>>
>> However, if I tell libreoffice to print four copies of a document
>> ("number of copies" =4) then I get garbage printed on the printer; many
many
>> pages containing one or two lines of garbage characters.

That's postscript garbage. You're lucky if you don't get 100 or 200 pages
of garbage. So, yeah, it's a postscript issue.

>> What could the problem be?
>>
> Try to use generic postscript driver (if the driver for your model of
> printer is not available).

Yes. Or try other Phasers - hopefully, you won't mind the smell of hot
wax  while finding one that works.

 mark
  mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using Red Hat site for documentation

2014-07-30 Thread Valeri Galtsev
This only can be said about the portion of their website that requires
username and password to access. Everything else (such as Documentation)
appears to be put out by them into public domain (that is you do not have
to agree to any terms when you enter the documentation portion of their
website), and therefore documentation can be used by anybody. This does
not include copying portion of that documentation and posting it elsewhere
(which separate - copyright - notice covers, I meant to say prohibits).

On a side note. RedHat as a commercial company that lives off open source
(mostly GNU licensed) software. And they to the best of my knowledge are
very good at following the terms of the license(s) themselves. That is:
they put out into public domain (make accessible) source RPMs and patches.
Exactly as GNU license requires them to. That, BTW, is why CentOS exists
quite legally. And even though I'm using CentOS on all workstations in the
Department and on several older servers (introduction and philosophy of
RHEL 7 made it clear that new servers will definitely be not CentOS 7, -
FreeBSD most likely), I feel no shame or feeling that I'm ripping off
RedHat. They do great job. They are paid by their customers for that. Our
University maintains contract with them. But in case of emergency, you
will faster go through to a solution if you are not going through some
pilot server, but can get necessary stuff directly (RHEL vs CentOS +
maintaining official CentOS public mirror in your server room).

Thanks.
Valeri

On Wed, July 30, 2014 8:38 am, Adrian Buciuman wrote:
> Hi,
>
> Is using Red Hat site for documentation legal?
>
> If I understand correctly you have to be a customer of Red Hat to be
> allowed to use their bandwidth:
> https://access.redhat.com/help/terms/
>
> "2. Terms Applicable to Red Hat Content. In order to access a Red Hat
> Portal and Red Hat Content, you must be a current Customer of Red Hat
> or its affiliates
> [...]
>  "Some Red Hat Content may have additional terms, license agreements,
> privacy terms, export terms, subscription agreements, or other terms
> and conditions ("Additional Terms") that apply to your access to or
> use of the applicable Red Hat Content. In the event of a conflict,
> inconsistency, or difference between these Terms of Use and the
> Additional Terms, the Additional Terms will control.
> []
> 6. Use of Content. Red Hat grants you a personal, non-assignable
> license to use Red Hat Content for your own internal use while you are
> a Red Hat Customer (as defined in Section 2 above). Distributing any
> portion of Red Hat Content to a third party, using any Red Hat Content
> for the benefit of a third party, or using Red Hat Content in
> connection with software other than Red Hat Software under an active
> Red Hat subscription are all prohibited. Red Hat authorizes you to
> display on your computer, download, play, and print the Red Hat
> Content provided: (a) the copyright notice is not removed, (b) Red Hat
> Content is not be altered, (c) Red Hat Content is used only for your
> personal, educational, and non-commercial use in support of your
> active valid subscriptions to Red Hat products and services and in
> accordance with your Customer Agreement, (d) you do not further
> redistribute or copy Red Hat Content, and (e) you comply with any
> Additional Terms. In the event of a conflict, inconsistency, or
> difference between this Section 6 and the terms of a License or
> Customer Agreement, the License or Customer Agreement will control
> (for example, for Red Hat Content licensed under a Creative Commons
> License, you will have the rights set forth in the applicable Creative
> Commons License)."
>
> ---
>
> The way I understand it, most RHEL documentation has a more permissive
> license, like CC-BY-SA: http://creativecommons.org/licenses/by-sa/3.0/
> and can be redistributed under certain conditions.
> However, the terms of use still apply to using the Red Hat websites
> (=bandwidth).
>
> But if someone is a Red Hat customer, he can legally access the site,
> fetch the documentation and redistribute it to everyone.
>
> Since RHEL and CentOS are now collaborating, can they sort out this issue?
>
> Thanks,
>
> Adrian Buciuman
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget: unable to resolve host address “xxxxx”

2014-07-30 Thread Devin Reade


> On Jul 29, 2014, at 23:47, Gopu Krishnan  wrote:
> 
> try adding google dns
> 8.8.8.8
> in resolv.conf

His IP is in private address space; google nameservers won't help. The correct 
answer is to fix his local DNS config. 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget: unable to resolve host address “xxxxx”

2014-07-30 Thread Theodore Si
But how? Could you be more specific?
I am using NAT to connect my virtual machine to the Internet.

于2014年7月30日 22:39:04,Devin Reade写到:
>
>
>> On Jul 29, 2014, at 23:47, Gopu Krishnan  wrote:
>>
>> try adding google dns
>> 8.8.8.8
>> in resolv.conf
>
> His IP is in private address space; google nameservers won't help. The 
> correct answer is to fix his local DNS config.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget: unable to resolve host address “xxxxx”

2014-07-30 Thread Johnny Hughes
On 07/30/2014 09:40 AM, Theodore Si wrote:
> But how? Could you be more specific?
> I am using NAT to connect my virtual machine to the Internet.
> 

What is the exact commend you are using that is not working?

192.168.80.128 is not a normal address, it is what is called an Internal
address.  See this link concerning 192.168 branch:

http://en.wikipedia.org/wiki/Private_network

You would need SOMETHING to relate a name to that address, either in a
host file or someone would need to add the name to your DNS.

Thanks,
Johnny Hughes

> 于2014年7月30日 22:39:04,Devin Reade写到:
>>
>>
>>> On Jul 29, 2014, at 23:47, Gopu Krishnan  wrote:
>>>
>>> try adding google dns
>>> 8.8.8.8
>>> in resolv.conf
>>
>> His IP is in private address space; google nameservers won't help. The 
>> correct answer is to fix his local DNS config.




signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget: unable to resolve host address “xxxxx”

2014-07-30 Thread John R Pierce
On 7/29/2014 10:11 PM, Theodore Si wrote:
> nameserver 192.168.80.2

is that a valid DNS server that knows how to look up the address you're 
trying to wget from? the wget command you're running, is it from a 
host on your local NAT network, or from a host on the public internet?

-- 
john r pierce  37N 122W
somewhere on the middle of the left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using Red Hat site for documentation

2014-07-30 Thread Always Learning

On Wed, 2014-07-30 at 09:07 -0500, Valeri Galtsev wrote:

> . And even though I'm using CentOS on all workstations in the
> Department and on several older servers (introduction and philosophy of
> RHEL 7 made it clear that new servers will definitely be not CentOS 7, -
> FreeBSD most likely), 


May I ask why your servers are leaving the Red Hat environment?

Thank you.


-- 
Regards,

Paul.
England, EU.

   Centos, Exim, Apache, Libre Office.
   Linux is the future. Micro$oft is the past.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using Red Hat site for documentation

2014-07-30 Thread Valeri Galtsev
Oh, boy. Now I have to rant on Linux and RedHat after being so happy with
them for much longer than a decade. OK, the first thing I have to admit:
I'm ignorant person. Please teach something...

Now questions:

1. How often do you reboot your Linux servers? (every about 45 days there
is either kernel or glibc update. I remember somewhere about RedHat 5 -
RedHat 7 machines having uptime about 2 years)

2. All major Linux distributions either have switched to systemd or plan
to do so in next release... I prefer system V init. I don't like something
big handling everything when there is no reason to.

And the list can go on...

But there are changes I really like (to keep the balance...). Such as
switching to XFS as to default fs! And BTW, I was extremely happy I went
with RedHat/CentOS when my debian friend sysadmin was re-creating all keys
and certificates (and rebuilding systems) after known random number
generator flop debian had...

So, please, teach me something: how do I build enterprise level server
based CentOS 7 which I'll be able to run 1-2 years without reboot (I did
apologize already for being ignorant person ;-)

Thanks.
Valeri

On Wed, July 30, 2014 2:13 pm, Always Learning wrote:
>
> On Wed, 2014-07-30 at 09:07 -0500, Valeri Galtsev wrote:
>
>> . And even though I'm using CentOS on all workstations in the
Department and on several older servers (introduction and philosophy of
RHEL 7 made it clear that new servers will definitely be not CentOS 7,
-
>> FreeBSD most likely), 
>
>
> May I ask why your servers are leaving the Red Hat environment?
>
> Thank you.
>
>
> --
> Regards,
>
> Paul.
> England, EU.
>
>Centos, Exim, Apache, Libre Office.
>Linux is the future. Micro$oft is the past.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247





___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using Red Hat site for documentation

2014-07-30 Thread Eero Volotinen
> So, please, teach me something: how do I build enterprise level server
> based CentOS 7 which I'll be able to run 1-2 years without reboot (I did
> apologize already for being ignorant person ;-)
>
>
Well, just like other in systems,  ignore all security patches?

--
Eero
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using Red Hat site for documentation

2014-07-30 Thread Les Mikesell
On Wed, Jul 30, 2014 at 3:03 PM, Valeri Galtsev
 wrote:
> Oh, boy. Now I have to rant on Linux and RedHat after being so happy with
> them for much longer than a decade. OK, the first thing I have to admit:
> I'm ignorant person. Please teach something...
>
> Now questions:
>
> 1. How often do you reboot your Linux servers? (every about 45 days there
> is either kernel or glibc update. I remember somewhere about RedHat 5 -
> RedHat 7 machines having uptime about 2 years)
>
> 2. All major Linux distributions either have switched to systemd or plan
> to do so in next release... I prefer system V init. I don't like something
> big handling everything when there is no reason to.
>
> And the list can go on...
>
> But there are changes I really like (to keep the balance...). Such as
> switching to XFS as to default fs! And BTW, I was extremely happy I went
> with RedHat/CentOS when my debian friend sysadmin was re-creating all keys
> and certificates (and rebuilding systems) after known random number
> generator flop debian had...
>
> So, please, teach me something: how do I build enterprise level server
> based CentOS 7 which I'll be able to run 1-2 years without reboot (I did
> apologize already for being ignorant person ;-)

You don't _have_ to install a new kernel/glibc the second it is
released, especially if the server isn't internet-exposed.   Usually
any memory leak or device driver bugs are discovered and fixed quickly
in the release cycle, so if current kernel has any of those problems
they should be fixed soon.   Then you just need to watch the update
notifications and decide if subsequent updates are something you need
badly enough to reboot.  Just be aware that something that is
described as a 'local root escalation' might be combined with
different application-level bugs in server programs to give the effect
of remote exploits (and there _will_ be people who know how to do
that) so you can't ignore everything.

-- 
   Les Mikesell
  lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using Red Hat site for documentation

2014-07-30 Thread Maxim Shpakov
2014-07-30 23:03 GMT+03:00 Valeri Galtsev :
> So, please, teach me something: how do I build enterprise level server
> based CentOS 7 which I'll be able to run 1-2 years without reboot (I did
> apologize already for being ignorant person ;-)
>

Oh, Valera, it seems you don't know about this:

http://www.kernelcare.com/try_it/install.php
http://www.cloudlinux.com/blog/clnews/kernelcare-for-centos-rhel-7.php
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to compile APUE code on centos 6.X

2014-07-30 Thread Jonathan Billings
You shouldn't need the bsd/stdlib.h if the barrier.c used the function 
definition you described in your original message.  I was able to find and 
build the file on CentOS 6 with the EPEL libbsd package installed.

Are you sure you installed the right package? 32-bit vs. 64-bit?

On July 29, 2014 11:54:01 PM EDT, Theodore Si  wrote:
>I write a .c file and #include  and call heapsort, I get
>this:
>
>Apparently, heapsort can be called.
>
>于2014年7月30日 11:46:55,Theodore Si写到:
>>
>> I build the libbsd from source code that I downloaded from here:
>> http://libbsd.freedesktop.org/wiki/
>>
>> I think I got all things needed, right?
>>
>>
>>
>> 于2014年7月30日 10:35:39,Theodore Si写到:
>>>
>>>
>>> I tried to install libbsd before, it didn't work.(I can execute man
>>> heapsort)
>>> Today, I installed epel-release-6-8.noarch.rpm and then yum install
>>> libbsd,(No result for man heapsort) but it still doesn't work.
>>>
>>> 于2014年7月29日 23:58:48,Jonathan Billings写到:


 On Tue, Jul 29, 2014 at 10:00:53PM +0800, Theodore Si wrote:
>
>
>
> Hi all,
>
> I want to compile the source code of Advanced Programming in the
>Unix
> Environment(APUE) 3rd edition, and I encountered some
>difficulties.
> After executing "make", I got this message:
> [...]
> How to install libbsd to solve this problem on CentOS (this works
>on
> Ubuntu)?



 You need the 'libbsd' package, available in EPEL.
 (http://fedoraproject.org/wiki/EPEL)

 The 'heapsort()' function is implemented there.
>___
>CentOS mailing list
>CentOS@centos.org
>http://lists.centos.org/mailman/listinfo/centos

-- 
Jonathan Billings 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 and android connectivity (Nook)

2014-07-30 Thread Ali Corbin
On Wed, Jul 30, 2014 at 4:34 AM, Timothy Murphy  wrote:
> Ali Corbin wrote:
>
>> I gave up on mtp after a while and now just adb push the files over.
>> It's not as user friendly, but it's a whole lot quicker.
>
> How exactly do you do this?
>
> --
> Timothy Murphy

I installed the android-tools rpm on my linux box.
On my phone/tablet I enabled the developer options (on a nexus you do
this by tapping 7 times on Settings -> About Phone -> Build number.
Don't know about other hardware.).  This makes a Developer Options
menu item appear in Settings.  Under that I set USB debugging.
I then connected the phone to the computer over a USB cable and, on
the computer, typed 'adp devices'.  This spawns a pop-up on the phone
asking if this computer should be allowed access.
Yeah, that's a bit of a lot of setup, but it only has to be done once.
After that you just plug in the phone and type, on the computer,
things like:
  adb push file/or/directory /sdcard/file/or/directory
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using Red Hat site for documentation

2014-07-30 Thread Johnny Hughes
WTF does this email have to do with the subject








On 07/30/2014 03:03 PM, Valeri Galtsev wrote:
> Oh, boy. Now I have to rant on Linux and RedHat after being so happy with
> them for much longer than a decade. OK, the first thing I have to admit:
> I'm ignorant person. Please teach something...
> 
> Now questions:
> 
> 1. How often do you reboot your Linux servers? (every about 45 days there
> is either kernel or glibc update. I remember somewhere about RedHat 5 -
> RedHat 7 machines having uptime about 2 years)
> 
> 2. All major Linux distributions either have switched to systemd or plan
> to do so in next release... I prefer system V init. I don't like something
> big handling everything when there is no reason to.
> 
> And the list can go on...
> 
> But there are changes I really like (to keep the balance...). Such as
> switching to XFS as to default fs! And BTW, I was extremely happy I went
> with RedHat/CentOS when my debian friend sysadmin was re-creating all keys
> and certificates (and rebuilding systems) after known random number
> generator flop debian had...
> 
> So, please, teach me something: how do I build enterprise level server
> based CentOS 7 which I'll be able to run 1-2 years without reboot (I did
> apologize already for being ignorant person ;-)
> 
> Thanks.
> Valeri
> 
> On Wed, July 30, 2014 2:13 pm, Always Learning wrote:
>>
>> On Wed, 2014-07-30 at 09:07 -0500, Valeri Galtsev wrote:
>>
>>> . And even though I'm using CentOS on all workstations in the
> Department and on several older servers (introduction and philosophy of
> RHEL 7 made it clear that new servers will definitely be not CentOS 7,
> -
>>> FreeBSD most likely), 
>>
>>
>> May I ask why your servers are leaving the Red Hat environment?
>>
>> Thank you.
>>
>>
>> --
>> Regards,
>>
>> Paul.
>> England, EU.
>>
>>Centos, Exim, Apache, Libre Office.
>>Linux is the future. Micro$oft is the past.
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
> 
> 
> 
> Valeri Galtsev
> Sr System Administrator
> Department of Astronomy and Astrophysics
> Kavli Institute for Cosmological Physics
> University of Chicago
> Phone: 773-702-4247
> 
> 
> 
> 
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 




signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using Red Hat site for documentation

2014-07-30 Thread Always Learning

On Wed, 2014-07-30 at 23:13 +0300, Eero Volotinen wrote:

> Valeri Galtsev:
> > So, please, teach me something: how do I build enterprise level server
> > based CentOS 7 which I'll be able to run 1-2 years without reboot (I did
> > apologize already for being ignorant person ;-)

Thank you for your explanation. Everyone is ignorant, usually partially,
because of lack of time, lack of brain power and lack of "in head"
storage. I'm still learning.

> Well, just like other in systems,  ignore all security patches?

Surely the only re-boots needed are kernel related?  Therefore the
uptime is solely dependent on kernel improvements, including security
patches, and hardware related problems. My current longest uptime is on
C 6.5 = 185 days.




-- 
Regards,

Paul.
England, EU.

   Centos, Exim, Apache, Libre Office.
   Linux is the future. Micro$oft is the past.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using Red Hat site for documentation

2014-07-30 Thread Jonathan Billings
On Wed, Jul 30, 2014 at 03:03:29PM -0500, Valeri Galtsev wrote:
> 1. How often do you reboot your Linux servers? (every about 45 days there
> is either kernel or glibc update. I remember somewhere about RedHat 5 -
> RedHat 7 machines having uptime about 2 years)

Eventually, you'll be able to use kpatch to avoid reboots for kernel
updates, (http://rhelblog.redhat.com/2014/02/26/kpatch/), however I
tend to think that Uptime is overrated.  Newer technologies, such as
VMs and containers, allow services to not be tied to single servers
anymore.  Anyway, it's hardly Red Hat's fault that it addresses
security issues promptly.

-- 
Jonathan Billings 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] wget: unable to resolve host address “xxxxx”

2014-07-30 Thread Theodore Si
I tried to wget the google homepage, and It worked... So confused
On Jul 31, 2014 2:02 AM, "John R Pierce"  wrote:

> On 7/29/2014 10:11 PM, Theodore Si wrote:
> > nameserver 192.168.80.2
>
> is that a valid DNS server that knows how to look up the address you're
> trying to wget from? the wget command you're running, is it from a
> host on your local NAT network, or from a host on the public internet?
>
> --
> john r pierce  37N 122W
> somewhere on the middle of the left coast
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to compile APUE code on centos 6.X

2014-07-30 Thread Theodore Si
I build it myself, not using rpm since it doesn't work. My OS is 32bit.
On Jul 31, 2014 4:21 AM, "Jonathan Billings"  wrote:

> You shouldn't need the bsd/stdlib.h if the barrier.c used the function
> definition you described in your original message.  I was able to find and
> build the file on CentOS 6 with the EPEL libbsd package installed.
>
> Are you sure you installed the right package? 32-bit vs. 64-bit?
>
> On July 29, 2014 11:54:01 PM EDT, Theodore Si  wrote:
> >I write a .c file and #include  and call heapsort, I get
> >this:
> >
> >Apparently, heapsort can be called.
> >
> >于2014年7月30日 11:46:55,Theodore Si写到:
> >>
> >> I build the libbsd from source code that I downloaded from here:
> >> http://libbsd.freedesktop.org/wiki/
> >>
> >> I think I got all things needed, right?
> >>
> >>
> >>
> >> 于2014年7月30日 10:35:39,Theodore Si写到:
> >>>
> >>>
> >>> I tried to install libbsd before, it didn't work.(I can execute man
> >>> heapsort)
> >>> Today, I installed epel-release-6-8.noarch.rpm and then yum install
> >>> libbsd,(No result for man heapsort) but it still doesn't work.
> >>>
> >>> 于2014年7月29日 23:58:48,Jonathan Billings写到:
> 
> 
>  On Tue, Jul 29, 2014 at 10:00:53PM +0800, Theodore Si wrote:
> >
> >
> >
> > Hi all,
> >
> > I want to compile the source code of Advanced Programming in the
> >Unix
> > Environment(APUE) 3rd edition, and I encountered some
> >difficulties.
> > After executing "make", I got this message:
> > [...]
> > How to install libbsd to solve this problem on CentOS (this works
> >on
> > Ubuntu)?
> 
> 
> 
>  You need the 'libbsd' package, available in EPEL.
>  (http://fedoraproject.org/wiki/EPEL)
> 
>  The 'heapsort()' function is implemented there.
> >___
> >CentOS mailing list
> >CentOS@centos.org
> >http://lists.centos.org/mailman/listinfo/centos
>
> --
> Jonathan Billings 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to compile APUE code on centos 6.X

2014-07-30 Thread Jonathan Billings
On Thu, Jul 31, 2014 at 08:09:52AM +0800, Theodore Si wrote:
> I build it myself, not using rpm since it doesn't work. My OS is 32bit.

It works for me with libbsd and libbsd-devel installed:

$ cd /tmp
$ wget http://www.apuebook.com/src.3e.tar.gz
$ tar zxvf src.3e.tar.gz
$ cd apue.3e
$ make
[multiple lines building]
$ cd threads
$ make
gcc -ansi -I../include -Wall -DLINUX -D_GNU_SOURCE  barrier.c -o
barrier  -L../lib -lapue -pthread -lrt -lbsd
/tmp/ccmCvcBh.o: In function `thr_fn':
barrier.c:(.text+0x80): undefined reference to `heapsort'
collect2: ld returned 1 exit status
make: *** [barrier] Error 1
$ sudo yum -y -q install libbsd libbsd-devel
$ make
gcc -ansi -I../include -Wall -DLINUX -D_GNU_SOURCE  barrier.c -o
barrier  -L../lib -lapue -pthread -lrt -lbsd
$

I'll admit that my OS is 64-bit, but I don't see anything in the code
that would break with 32-bit.


-- 
Jonathan Billings 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using Red Hat site for documentation

2014-07-30 Thread Keith Keller
On 2014-07-30, Jonathan Billings  wrote:
>
> Eventually, you'll be able to use kpatch to avoid reboots for kernel
> updates, (http://rhelblog.redhat.com/2014/02/26/kpatch/),

This looks very exciting!

> however I
> tend to think that Uptime is overrated.

uptime as a number of days is overrated, but scheduling down time is
certainly not.

> Newer technologies, such as
> VMs and containers, allow services to not be tied to single servers
> anymore.

The container host still needs to be patched and rebooted.  For simple
services with light storage needs this is fine, but a container with
large local storage might not be easy to hot migrate.  You're certainly
not going to migrate a 30TB storage container, for example.

> Anyway, it's hardly Red Hat's fault that it addresses
> security issues promptly.

No, but the kernel itself has had a number of serious flaws this
calendar year, which is what the previous poster was concerned about.

--keith

-- 
kkel...@wombat.san-francisco.ca.us


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 and android connectivity (Nook) [SOLVED]

2014-07-30 Thread David G . Miller
mark  writes:

> 
> On 07/29/14 12:15, m.roth@... wrote:
> 
> > I did find this, while googling this morning:
> > ,
> > which led me to
> > ,
> > which I'll try this evening. I was hoping for extras, or elrepo, but no
> > joy.
> 
> VICTORY!
> 
> I installed both of his rpm's. Then I copied
> rsync -HPavx /lib/udev/rules.d/69-libmtp.rules /etc/udev/rules.d
> - his package installs it there.
> 
> And then, no reboot, jmtpfs /mnt/nook, and voila!
> 
>   mark
> 
Tad late to reply because I get the digest and had a very full day.  Also, I 
don't have a nook but have a Google branded ASUS tablet.

On standard (if there is such a thing) Android tablets there is an ap called 
"on the go".  It turns the one-way, micro-USB interface into a true USB 
storage device.  You also need an A-micro (male) to B (female) USB cable.

I also had some luck with a bluetooth connection but that was a little slow.  
Handy as a backup though if you don't have the right cable when you need it.

Cheers,
Dave



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] SOLVED: Centos 7: printing four copies with Libreoffice prints garbage

2014-07-30 Thread Frank Cox
After much head scratching and throwing most of a ream of paper into the trash, 
I just found and solved the problem.

Thinking that perhaps I have a cable issue, I was re-seating the usb cable that 
connects my Xerox Phaser 3250 printer to the computer and realized that the 
printer was plugged into a USB 3.0 port on my computer.  When I moved it to a 
USB 2.0 port, the printer immediately started working properly using the Xerox 
Phaser 3150 driver that comes with cups, just like it always did under Centos 6.

The computer must have been pushing data to the printer too quickly over the 
USB 3.0 port; the printer got a garbled postscript instruction and everything 
went downhill from there.

Now I'm pretty happy -- my printer works again.  I've taped a note to the 
printer to be damn sure that I remember to always plug it into a USB 2.0 port 
in the future.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos