[CentOS-docs] Becomming a CentOS contributor

2009-09-20 Thread Gytis Repečka
Good evening, CentOS community,

My name is Gytis Repecka, I am a Lithuanian computer specialist. My 
acquaintance with CentOS started not so long ago: even though I managed some 
web servers running Red Hat-based OS for several years, only couple months ago 
I've set up CentOS on my desktop, later - on a laptop. I've recently solved 
issues with WLAN on my laptop (thanks to CentOS forum community) and I would 
like to share experiences with others because I discovered how difficult can it 
be for a novice user to find some walkthroughs. Therefore I would like to 
contribute to CentOS Wiki.

My wiki username: GytisRepecka
Proposed subject of my Wiki contribution(s): CentOS on laptops, moving from 
Windows to CentOS, CentOS+Windows in one network, etc.
Proposed location of my Wiki contribution(s): 
http://wiki.centos.org/HowTos/Laptops, 
http://wiki.centos.org/HowTos/Laptops/Wireless

On my personal website www.repecka.com I have a CentOS section 
(http://www.repecka.com/?node=11), where I publish tutorials in Lithuanian.

You can read something about me at http://www.repecka.com/?node=7

Yours faithfully,
Gytis Repecka

www.repecka.com
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Becomming a CentOS contributor

2009-09-20 Thread Marcus Moeller
Dear Gytis,

 My name is Gytis Repecka, I am a Lithuanian computer specialist. My 
 acquaintance with CentOS started not so long ago: even though I managed some 
 web servers running Red Hat-based OS for several years, only couple months 
 ago I've set up CentOS on my desktop, later - on a laptop. I've recently 
 solved issues with WLAN on my laptop (thanks to CentOS forum community) and I 
 would like to share experiences with others because I discovered how 
 difficult can it be for a novice user to find some walkthroughs. Therefore I 
 would like to contribute to CentOS Wiki.

 My wiki username: GytisRepecka
 Proposed subject of my Wiki contribution(s): CentOS on laptops, moving from 
 Windows to CentOS, CentOS+Windows in one network, etc.
 Proposed location of my Wiki contribution(s): 
 http://wiki.centos.org/HowTos/Laptops, 
 http://wiki.centos.org/HowTos/Laptops/Wireless

 On my personal website www.repecka.com I have a CentOS section 
 (http://www.repecka.com/?node=11), where I publish tutorials in Lithuanian.

 You can read something about me at http://www.repecka.com/?node=7

Are you perhaps interested in translating wiki pages to Lithuanian?

Best Regards
Marcus
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


[CentOS-es] Timer para control sesionES

2009-09-20 Thread Cesar Augusto Martinez Cobo
Gracias por sus respuestas,lo que quiero es algo que a el usuario se les cierre 
la
sesion despues de un tiempo determinedo de uso ( por ejemplo 20 minutos), ya 
que los
equipos son en linux y son totalmente autonomos, es decir no estan pegados a 
ningun
servidor y deseo saber si hay alguna aplicacion en linux que me haga esta tarea,
o si hay en linux alguna aplicacion parecida al windows steady state.

De antemanos muchas gracias.




Cesar Augusto Martinez Cobo
Administrador de Sistemas
Facultad de Ciencias Exactas y Naturales
Universidad de Antioquia
e-mail: cmc...@matematicas.udea.edu.co
   cmc...@socrates.udea.edu.co
Tel: ++57(4)2195604
Medellin - Colombia


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


Re: [CentOS-es] Timer para control sesionES

2009-09-20 Thread Moan
No entiendo bien si al decir que los equipos son autónomos, estos no están
conectados a ninguna red, o si no hay un servidor central que los
administre.
En todo caso, una posible solución podría ser un shell script del tipo:

TIEMPO_LOGOUT=`date +%H:%M --date='+ 45 minutes'`

if  [ $TIEMPO_LOGOUT != `date +%H:%M` ]; then
logout
fi

También tendrías que programar la validez de la contraseña para el mismo
tiempo, así no habría posibilidad de que se vuelva a loguear.
Y correrlo en segundo plano en cada equipo que quieras limitar el tiempo de
sesión, de la siguiente manera (como root):

#sh script.sh 


Esto que te tiro es una idea, seguramente se pueda hacer mas fácil, pero
haciendo un script que te haga todo esto de forma automática al iniciar cada
sesión, no creo que quede tan incomodo, habría que ver bien el entorno en el
cual querés implementarlo, cyber, empresa, tu casa, etc..


El 20 de septiembre de 2009 13:00, Cesar Augusto Martinez Cobo 
cmc...@ciencias.udea.edu.co escribió:

 Gracias por sus respuestas,lo que quiero es algo que a el usuario se les
 cierre la
 sesion despues de un tiempo determinedo de uso ( por ejemplo 20 minutos),
 ya que los
 equipos son en linux y son totalmente autonomos, es decir no estan pegados
 a ningun
 servidor y deseo saber si hay alguna aplicacion en linux que me haga esta
 tarea,
 o si hay en linux alguna aplicacion parecida al windows steady state.

 De antemanos muchas gracias.



 
 Cesar Augusto Martinez Cobo
 Administrador de Sistemas
 Facultad de Ciencias Exactas y Naturales
 Universidad de Antioquia
 e-mail: cmc...@matematicas.udea.edu.co
   cmc...@socrates.udea.edu.co
 Tel: ++57(4)2195604
 Medellin - Colombia
 

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




-- 
Moan .-.-.-.-.-.-.-.-.-.-.-.
Montevideo - Uruguay

Amo el Rock 'N' Roll, como amo todo lo que es dionisiaco, violento y
afrodisiaco (Salvador Dali, 1956)
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Timer para control sesion

2009-09-20 Thread Moan
No entiendo bien si al decir que los equipos son autónomos, estos no están
conectados a ninguna red, o si no hay un servidor central que los
administre.
En todo caso, una posible solución podría ser un shell script del tipo:

TIEMPO_LOGOUT=`date +%H:%M --date='+ 45 minutes'`

if  [ $TIEMPO_LOGOUT != `date +%H:%M` ]; then
logout
fi

También tendrías que programar la validez de la contraseña para el mismo
tiempo, así no habría posibilidad de que se vuelva a loguear.
Y correrlo en segundo plano en cada equipo que quieras limitar el tiempo de
sesión, de la siguiente manera (como root):

#sh script.sh 


Esto que te tiro es una idea, seguramente se pueda hacer mas fácil, pero
haciendo un script que te haga todo esto de forma automática al iniciar cada
sesión, no creo que quede tan incomodo, habría que ver bien el entorno en el
cual querés implementarlo, cyber, empresa, tu casa, etc..


### Contesto también por acá, porque recién veo que llego un mail del
moderador, para seguir el tema en este hilo, disculpen...

El 18 de septiembre de 2009 19:05, Cesar Augusto Martinez Cobo 
cmc...@ciencias.udea.edu.co escribió:

 Es para Sesiones de usuarios.


 On Fri, 18 Sep 2009 12:00:19 -0500, Juan Pablo Botero wrote
  Saludos.
 
  Sesiones de usuario del sistema?, de servicios de red?
 
  2009/9/18 Cesar Augusto Martinez Cobo cmc...@ciencias.udea.edu.co
 
   Hola Compañeros muy buenos dias,
   Alguien me podria recomendar o decir donde consigo un software par
 control
   de sesiones
   en linux o se algo parecido a un Timer?
  
  
   De antemanos muchas gracias por su colaboracion.
  
  
   
   Cesar Augusto Martinez Cobo
   Administrador de Sistemas
   Facultad de Ciencias Exactas y Naturales
   Universidad de Antioquia
   e-mail: cmc...@matematicas.udea.edu.co
 cmc...@socrates.udea.edu.co
   Tel: ++57(4)2195604
   Medellin - Colombia
   
  
   ___
   CentOS-es mailing list
   CentOS-es@centos.org
   http://lists.centos.org/mailman/listinfo/centos-es
  
 
  --
  Juan Pablo Botero
  Administrador de Sistemas informáticos
  Fedora Ambassador for Colombia
  http://www.jpilldev.com
  Linux Registered user #435293


 
 Cesar Augusto Martinez Cobo
 Administrador de Sistemas
 Facultad de Ciencias Exactas y Naturales
 Universidad de Antioquia
 e-mail: cmc...@matematicas.udea.edu.co
   cmc...@socrates.udea.edu.co
 Tel: ++57(4)2195604
 Medellin - Colombia
 

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




-- 
Moan .-.-.-.-.-.-.-.-.-.-.-.
Montevideo - Uruguay

Amo el Rock 'N' Roll, como amo todo lo que es dionisiaco, violento y
afrodisiaco (Salvador Dali, 1956)
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Timer para control sesion

2009-09-20 Thread Ernesto Celis
El 20 de septiembre de 2009 12:33, Moan moa...@gmail.com escribió:


 ### Contesto también por acá, porque recién veo que llego un mail del
 moderador, para seguir el tema en este hilo, disculpen...


Jejeje, no soy yo el moderador. Son epe y Roger :) solo sugerí que
continuara acá, para que no se pierda el hilo de la conversación.


 --
 Moan .-.-.-.-.-.-.-.-.-.-.-.
 Montevideo - Uruguay


Saludos
Ernesto Celis (Usuario Linux #323140)
irc.freenode.net #centos-es
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS-es] SQUID + DANSGUARD + CLAMAV

2009-09-20 Thread Jorge Herrera
Deseo instalar un servidor proxy transparente con el squid, dansguard para
el filtrado de sitios web y el clamav como antivirus; alguien me podría
facilitar un manual o pasos de instalación para CENTOS
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] SQUID + DANSGUARD + CLAMAV

2009-09-20 Thread davxoc
Google, o una muy buena referencia x cual comenzar alcancelibre.org 
Enviado desde mi oficina móvil BlackBerry® de Telcel

-Original Message-
From: Jorge Herrera jorge20...@yahoo.es

Date: Sun, 20 Sep 2009 16:57:09 
To: centos-es@centos.org
Subject: [CentOS-es] SQUID + DANSGUARD + CLAMAV


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

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


Re: [CentOS-es] SQUID + DANSGUARD + CLAMAV

2009-09-20 Thread Oscar Osta Pueyo
Hola,
2009/9/20 dav...@gmail.com

 Google, o una muy buena referencia x cual comenzar alcancelibre.org
 Enviado desde mi oficina móvil BlackBerry® de Telcel


También puedes consultar en http://wiki.centos.org/es/HowTos que es el wiki
oficial de centos en nuestro idioma.

PD: Dedicado a Ernesto :)

-- 
Oscar Osta Pueyo
oostap.lis...@gmail.com
_kiakli_

http://fedoraproject.org/ca/
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS-es] Como configurar dos servidores en espejo

2009-09-20 Thread jorge marcelo martinez

Bunas quiero soliciatar ayuda con el tema de instalar dos servidores en espejo 
tengo instalado centos 5.2! Agradeceria todo tipo de información!!! Desde ya 
muchas gracias!!!
_
¿Te gustaría escuchar la mejor música en internet y gratis? Disfrutala aquí
http://latam.msn.cyloop.com/___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Como configurar dos servidores en espejo

2009-09-20 Thread Juan Pablo Botero
Saludos.

Supongo que te refieres a Cluster[1], recomiendo lo mires.

[1]: http://www.centos.org/docs/5/html/5.2/Cluster_Suite_Overview/


2009/9/20 jorge marcelo martinez marcelomartinez...@hotmail.com

  Bunas quiero soliciatar ayuda con el tema de instalar dos servidores en
 espejo tengo instalado centos 5.2! Agradeceria todo tipo de información!!!
 Desde ya muchas gracias!!!
 --
 Guardá correos, fotos, archivos, documentos; todo. ¡Con Windows Live tenés
 25 GB gratis! http://skydrive.live.com

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




-- 
Juan Pablo Botero
Administrador de Sistemas informáticos
Fedora Ambassador for Colombia
http://www.jpilldev.com
Linux Registered user #435293
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Como configurar dos servidores en espejo

2009-09-20 Thread jorge marcelo martinez


 No lo que necesito es hacer backup en otro servidor y a este configurarlo en 
espejo por si cae el central!!!

_
¡Viene la primavera: que no te encuentre sin compañía! Probá con MSN Amor y 
Amistad
http://match.ar.msn.com/channel/index.aspx?trackingid=1056241___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Como configurar dos servidores en espejo

2009-09-20 Thread Juan Pablo Botero
Ahh, listo.

Supongo que el rsync te puede servir para copiar los datos que quieras de
uno a otro.

Éxitos

2009/9/20 jorge marcelo martinez marcelomartinez...@hotmail.com


  No lo que necesito es hacer backup en otro servidor y a este configurarlo
 en espejo por si cae el central!!!

 --
 ¡Creá carpetas para todos tus correos! ¡Hotmail te da todo el espacio que
 puedas necesitar! http://mail.live.com/

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




-- 
Juan Pablo Botero
Administrador de Sistemas informáticos
Fedora Ambassador for Colombia
http://www.jpilldev.com
Linux Registered user #435293
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Como configurar dos servidores en espejo

2009-09-20 Thread jorge marcelo martinez

OK Gracias!!
 


From: juanpabloboterolo...@gmail.com
Date: Sun, 20 Sep 2009 19:57:01 -0500
To: centos-es@centos.org
Subject: Re: [CentOS-es] Como configurar dos servidores en espejo

Ahh, listo.

Supongo que el rsync te puede servir para copiar los datos que quieras de uno a 
otro.

Éxitos


2009/9/20 jorge marcelo martinez marcelomartinez...@hotmail.com



 No lo que necesito es hacer backup en otro servidor y a este configurarlo en 
espejo por si cae el central!!!




¡Creá carpetas para todos tus correos! ¡Hotmail te da todo el espacio que 
puedas necesitar!
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es



-- 
Juan Pablo Botero
Administrador de Sistemas informáticos
Fedora Ambassador for Colombia
http://www.jpilldev.com
Linux Registered user #435293

_
¿Te gustaría escuchar la mejor música en internet y gratis? Disfrutala aquí
http://latam.msn.cyloop.com/___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS] What repo did this rpm come from? rpm-VVa failures on new install

2009-09-20 Thread Linux Advocate


  Vendor: Fedora Project
 
 If (Vendor == Fedora Project) then repo is epel
 if (Vendor == Centos) then repo is Centos
 if (Vendor == Dag Apt Repository) repo is rpmforge
 


useful info. thanx.



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


Re: [CentOS] Apache: confusion about virtual hosts and DNS on a local network

2009-09-20 Thread Niki Kovacs
John R Pierce a écrit :

 thats what serveralias is for...
 

Thanks. Now everything works as expected.

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


Re: [CentOS] Problems with Adobe flash-plugin and Firefox-3.5.x under CentOs-5.3 (yum up to date) = libcurl.so.3/libcurl.so.4 missing

2009-09-20 Thread Martin Knoblauch
- Original Message 

 From: Bogdan Nicolescu dry...@gmail.com
 To: CentOS mailing list centos@centos.org
 Cc: spamt...@knobisoft.de
 Sent: Sunday, September 20, 2009 3:51:48 AM
 Subject: Re: [CentOS] Problems with Adobe flash-plugin and Firefox-3.5.x 
 under  CentOs-5.3 (yum up to date) = libcurl.so.3/libcurl.so.4 missing
 
 On Sat, Sep 19, 2009 at 6:58 AM, Martin Knoblauch wrote:
  - Original Message 
 
  From: Martin Knoblauch 
  To: Centos Discussions 
  Sent: Monday, September 14, 2009 3:16:20 PM
  Subject: Problems with Adobe flash-plugin and Firefox-3.5.x under 
  CentOs-5.3 
 (yum up to date)
 
  Hi,
 
  I am running 32-bit Firefox-3.5.3 on Centos-5.3 (64-bit kernel) on a Dell
  Precision M65 laptop. This is likely a Adobe problem, but maybe someone 
  else 
 has
  seen this before. Please CC me, as I only receive the digest version of the
  list.
 
 
  When using the 10.0.32.18-release version of the flash-plugin, trying
  to access *any* page containing flash (e.g. www.adobe.com) causes the
  browser to die. This also happens with version 10.0.22.87. Version
  9.0.115.0 works fine. To avoid problems with add-ons, Firefox is
  started with -safe-mode. As far as I know, the problem also happens
  with Firefox-3.0.x.
 
  # uname -a
  Linux l6g0223j 2.6.18-128.7.1.el5 #1 SMP Mon Aug 24 08:21:56 EDT 2009 
  x86_64
  x86_64 x86_64 GNU/Linux
  # rpm -q flash-plugin
  flash-plugin-10.0.32.18-release
 
 
  Any idea? Anything I can help debugging the problem?
 
 
   The problem turns out that libflashplayer.so (Version 10.x) is looking for 
 dynamically loading libcurl.so.3 or libcurl.so.4. This dependency is neither 
 documented, nor present in the flash-plugin RPMs from Adobe (both 32- and 
 64-bit). The dependency probably should also be present  in the firefox RPM 
 itself.
 
   I found out by chance when the problem went away after installing the 
 curl.i386 package to get firefox building on my system.
 
  Cheers
  Martin
 
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 
 
 Documented here under dependencies:
 
 http://kb2.adobe.com/cps/153/tn_15380.html

Hi Bogdan,

 interesting. Care to tell me how to find that page unless you know that you 
are looking for libcurl or a library dependency? Just curious. 

 The official Release Notes on the Adobe Home Page don't show this dependency, 
neither does the System Requirements page or the README that comes with the 
RPM. 

http://www.adobe.com/support/documentation/en/flashplayer/10/Flash_Player_10_Release_Notes.pdf
http://www.adobe.com/products/flashplayer/systemreqs/

rant
 Adobe really does not do a good job here to reveal the dependencies. One could 
also argue, that the runtime handling of the dlopen error seems to be lacking 
also. Just crashing the application without a hint is not really professional.

 And one could blame the firefox developers/packagers for not including a hint 
to a dependency on libcurl themselves. Apparently their crashreporter utility 
itself uses it and segfaults without an useful error message when trying to 
report the flash-plugin failure :-)

 But my ranting has nothing to do on a CentOs forum, of course.
rant

Q: where are the CentOs RPMS for firefox and flash-plugin coming from? They are 
available via yum, so are they provided by the CentOs team, or are they coming 
from the developers?

Cheers
Martin

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


[CentOS] SSL and virtual hosts?

2009-09-20 Thread Niki Kovacs
Hi,

I successfully managed to use SSL on a local webserver for testing 
purposes, following the section Using SSL in the Chapter Using 
Apache of the Definitive Guide to CentOS. Now I wonder: how can I use 
SSL with virtual hosts?

I have several virtual hosts defined. Let's say I want to use SSL with 
this one:

VirtualHost *:80
   ServerAdmin i...@microlinux.fr
   DocumentRoot /var/www/html/microlinux
   ServerName buildbox.presbytere.local
   ServerAlias microlinux.buildbox.presbytere.local
   ServerAlias microlinux.buildbox
   ErrorLog logs/microlinux-error_log
   CustomLog logs/microlinux-access_log common
/VirtualHost

The key and certificate files are located in /etc/certs:

# ls -lh /etc/certs
total 12K
-rw-r--r-- 1 root root 981 sep 20 11:06 microlinux.crt
-rw-r--r-- 1 root root 716 sep 20 11:04 microlinux.csr
-rw-r--r-- 1 root root 887 sep 20 11:11 microlinux.key

I'm not sure about the correct syntax to use SSL on this one. Where do I 
configure SSLCertificateFile and SSLCertificateKeyFile? In the virtual 
host stanza? Before trying various haphazard configurations, I thought 
I'd better ask here.

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


Re: [CentOS] SSL and virtual hosts?

2009-09-20 Thread Christoph Maser
Am Sonntag, den 20.09.2009, 11:36 +0200 schrieb Niki Kovacs:
 Hi,

 I successfully managed to use SSL on a local webserver for testing
 purposes, following the section Using SSL in the Chapter Using
 Apache of the Definitive Guide to CentOS. Now I wonder: how can I use
 SSL with virtual hosts?

You can't. At least not with name based virtual hosts and classic SSL.
See http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html#vhosts.




financial.com AG

Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | 
Germany
Frankfurt branch office/Niederlassung Frankfurt: Messeturm | 
Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany
Management board/Vorstand: Dr. Steffen Boehnert (CEO/Vorsitzender) | Dr. Alexis 
Eisenhofer | Dr. Yann Samson | Matthias Wiederwach
Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender)
Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID 
number/St.Nr.: DE205 370 553
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Testing and using a microphone

2009-09-20 Thread Niki Kovacs
Hi,

What's the most simple way to check if my microphone works on a plain 
CentOS 5.3 desktop? Is there a simple way, for example, to record voice 
into a simple .wav file?

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


Re: [CentOS] Testing and using a microphone

2009-09-20 Thread lostson

On Sun, 2009-09-20 at 13:36 +0200, Niki Kovacs wrote:
 Hi,
 
 What's the most simple way to check if my microphone works on a plain 
 CentOS 5.3 desktop? Is there a simple way, for example, to record voice 
 into a simple .wav file?
 
 Niki

 this guy put together a short and sweet tut on how to do this from a
terminal, I know it works because i tried it here as well.


http://jordilin.wordpress.com/2006/07/28/howto-recording-audio-from-the-command-line/

-- 
LostSon

http://lostsonsvault.org

CentOS - It's not just for servers ya know...


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SSL and virtual hosts?

2009-09-20 Thread Benjamin Franz



Christoph Maser wrote:
 Am Sonntag, den 20.09.2009, 11:36 +0200 schrieb Niki Kovacs:
   
 Hi,

 I successfully managed to use SSL on a local webserver for testing
 purposes, following the section Using SSL in the Chapter Using
 Apache of the Definitive Guide to CentOS. Now I wonder: how can I use
 SSL with virtual hosts?
 

 You can't. At least not with name based virtual hosts and classic SSL.
 See http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html#vhosts.
   
That is outdated information. There are at least two ways to use virtual 
hosts with SSL on Apache.

1) Use a wildcard cert. You can use *.somedomain certs to serve multiple 
SSL domains on a single IP so long as they fit in the *.somedomain pattern.

2) Use the SNI extension. 
http://hvera.wordpress.com/2009/09/02/apache-ssl-with-virtual-hosts-using-sni/

Note, however, that SNI does not work with older version of MSIE.

-- 
Benjamin Franz

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


Re: [CentOS] Testing and using a microphone

2009-09-20 Thread mark
Niki Kovacs wrote:
 
 What's the most simple way to check if my microphone works on a plain 
 CentOS 5.3 desktop? Is there a simple way, for example, to record voice 
 into a simple .wav file?

audacity.

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


Re: [CentOS] Testing and using a microphone

2009-09-20 Thread Frank Cox
On Sun, 20 Sep 2009 13:36:29 +0200
Niki Kovacs wrote:

 What's the most simple way to check if my microphone works on a plain 
 CentOS 5.3 desktop? Is there a simple way, for example, to record voice 
 into a simple .wav file?

arecord is probably already installed on your computer.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Receive, process and send email

2009-09-20 Thread CSB
We wish to do the following:
1. receive an email with an attachment
2. process the email body to get some information from it
3. send an outbound email to an email address based on the information
derived from step 2. The email will include the attachment received in step
1

I'm not sure where to start with this one so any suggestions would be
appreciated.


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


Re: [CentOS] Thermal information

2009-09-20 Thread Sergio Belkin
2009/9/18 Ned Slider n...@unixmail.co.uk:
 Sergio Belkin wrote:
 2009/9/18 Ned Slider n...@unixmail.co.uk:
 Sergio Belkin wrote:
 Hi,

 I'd want know get thermal information on Centos 5.3 but get nohting.
 If I run acpitool -e, it outputs:

  acpitool -e
   Kernel version : 2.6.18-92.1.18.20060707   -    ACPI version :
 20060707

 Why are you asumming so quickly that is not a Centos kernel?


 Because this is what the output from 'acpitool -e' looks like for me:

 $ acpitool -e
   Kernel version : 2.6.18-164.el5   -    ACPI version : 20060707

 and your output shows 2.6.18-92.1.18.20060707 which is not a CentOS
 kernel format (to my knowledge?). I might be wrong, and am happy to be
 corrected if I am :)

Yes you're wrong :)

acpitool output it's not the same that uname -r. I mean it doesn't
show rpm package name.





 rpm -qi kernel
 Name        : kernel                       Relocations: (not
 relocatable)
 Version     : 2.6.18                            Vendor: CentOS
 Release     : 92.el5                        Build Date: Tue 10 Jun

 Which is not the kernel you've shown running above??


Well, I explained it above. Sorry for my terrible sin, It is not
Centos 5.3 but 5.2.

Links Kernel used is below:

http://vault.centos.org/5.2/os/x86_64/CentOS/kernel-2.6.18-92.el5.x86_64.rpm



 What's wrong with you?

 Nothing, I was trying to help.

 Have a nice weekend.



Sorry for I was rude Ned, but I am somewhat sick of answers of people
that don't want to help about anything and only  know to give moral
advices and ask are you really using a system of every package Centos
that has been blessed?. Hey,  of course I ask here because I use
CentOS at work, and because supposedly there are people that has
experience using ir on daily basis.

Have a nice day
-- 
--
Open Kairos http://www.openkairos.com
Watch More TV http://sebelk.blogspot.com
Sergio Belkin -
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Thermal information

2009-09-20 Thread Ned Slider
Sergio Belkin wrote:
 2009/9/18 Ned Slider n...@unixmail.co.uk:
 Sergio Belkin wrote:
 2009/9/18 Ned Slider n...@unixmail.co.uk:
 Sergio Belkin wrote:
 Hi,

 I'd want know get thermal information on Centos 5.3 but get nohting.
 If I run acpitool -e, it outputs:

  acpitool -e
   Kernel version : 2.6.18-92.1.18.20060707   -ACPI version :
 20060707
 Why are you asumming so quickly that is not a Centos kernel?

 Because this is what the output from 'acpitool -e' looks like for me:

 $ acpitool -e
   Kernel version : 2.6.18-164.el5   -ACPI version : 20060707

 and your output shows 2.6.18-92.1.18.20060707 which is not a CentOS
 kernel format (to my knowledge?). I might be wrong, and am happy to be
 corrected if I am :)
 
 Yes you're wrong :)
 
 acpitool output it's not the same that uname -r. I mean it doesn't
 show rpm package name.
 
 
 
 
 rpm -qi kernel
 Name: kernel   Relocations: (not
 relocatable)
 Version : 2.6.18Vendor: CentOS
 Release : 92.el5Build Date: Tue 10 Jun
 Which is not the kernel you've shown running above??

 
 Well, I explained it above. Sorry for my terrible sin, It is not
 Centos 5.3 but 5.2.
 
 Links Kernel used is below:
 
 http://vault.centos.org/5.2/os/x86_64/CentOS/kernel-2.6.18-92.el5.x86_64.rpm
 

 What's wrong with you?
 Nothing, I was trying to help.

 Have a nice weekend.

 
 
 Sorry for I was rude Ned, but I am somewhat sick of answers of people
 that don't want to help about anything and only  know to give moral
 advices and ask are you really using a system of every package Centos
 that has been blessed?. Hey,  of course I ask here because I use
 CentOS at work, and because supposedly there are people that has
 experience using ir on daily basis.
 
 Have a nice day

No problem :)

As it's a CentOS kernel, then the elrepo.org coretemp module will work 
just fine and will give you nice accurate thermal data for the cpu.

http://elrepo.org/tiki/kmod-coretemp


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


Re: [CentOS] Receive, process and send email

2009-09-20 Thread Frank Cox
On Mon, 21 Sep 2009 05:49:29 +1200
CSB wrote:

 We wish to do the following:
 1. receive an email with an attachment
 2. process the email body to get some information from it
 3. send an outbound email to an email address based on the information
 derived from step 2. The email will include the attachment received in step
 1

You should be able to string a few commands together in a script to get what you
want, part of which depends on how you pick up and send out your email.  Do you
have your own mailserver?

If you don't have your own mailserver (or even if you do), this is one solution:

Step 1:  fetchmail or getmail.  I personally prefer getmail but that's just me.

Step 2:
http://www.codealias.info/technotes/extracting_attachment_from_e-mail_using_uudecode

Step 3:  http://www.cleancode.org/projects/email

If you have your own mailserver, you can do steps 1 and 3 in a more direct
manner, if you wish.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Receive, process and send email

2009-09-20 Thread Neil Aggarwal

Use a mailer.

That gives you complete control over how you
process incoming messages since it will be your
own program.

We can implement it for you if you like.

Thanks,
Neil


--
Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
Will your e-commerce site go offline if you have
a DB server failure, fiber cut, flood, fire, or other disaster?
If so, ask about our geographically redundant database system. 

 -Original Message-
 From: centos-boun...@centos.org 
 [mailto:centos-boun...@centos.org] On Behalf Of CSB
 Sent: Sunday, September 20, 2009 12:49 PM
 To: centos@centos.org
 Subject: [CentOS] Receive, process and send email
 
 We wish to do the following:
 1. receive an email with an attachment
 2. process the email body to get some information from it
 3. send an outbound email to an email address based on the information
 derived from step 2. The email will include the attachment 
 received in step
 1
 
 I'm not sure where to start with this one so any suggestions would be
 appreciated.
 
 
 ___
 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] Receive, process and send email

2009-09-20 Thread Jim Wildman
On Mon, 21 Sep 2009, CSB wrote:

 We wish to do the following:
 1. receive an email with an attachment
 2. process the email body to get some information from it
 3. send an outbound email to an email address based on the information
 derived from step 2. The email will include the attachment received in step
 1

 I'm not sure where to start with this one so any suggestions would be
 appreciated.


procmail is a good place to start.  There are multiple man pages and
examples.  Experiment with a throw away account til you get it figured
out. It is easy to do strange and unexpected things...

--
Jim Wildman, CISSP, RHCE   j...@rossberry.com http://www.rossberry.com
Society in every state is a blessing, but Government, even in its best
state, is a necessary evil; in its worst state, an intolerable one.
Thomas Paine
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Thermal information

2009-09-20 Thread Agile Aspect

 As it's a CentOS kernel, then the elrepo.org coretemp module will work
 just fine and will give you nice accurate thermal data for the cpu.

 http://elrepo.org/tiki/kmod-coretemp


Does anyone know where I can find the kernel source for coretemp
which does *not* depend on Xen and a PAE kernel, i.e,. other than the
source RPMs from elerepo.org?  I'm running a 2.6.18-128.1.10 kernel
on a netbook (Intel Atom N270.)


-- 
 We are drowning in information and starving for knowledge.

  --
Rutherford D. Roger
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Receive, process and send email

2009-09-20 Thread Les Mikesell
CSB wrote:
 We wish to do the following:
 1. receive an email with an attachment
 2. process the email body to get some information from it
 3. send an outbound email to an email address based on the information
 derived from step 2. The email will include the attachment received in step
 1
 
 I'm not sure where to start with this one so any suggestions would be
 appreciated.

Directing received email to a program can be done either with a sendmail alias 
that pipes to a program or a procmail recipe, depending on whether the address 
is a real system user or not.

If you want to program in perl, look at MIME::tools to parse the inbound copy's 
body and attachments and perhaps Mail::Sender to reassemble and re-send.

-- 
   Les Mikesell
lesmikes...@gmail.com

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


Re: [CentOS] SSL and virtual hosts?

2009-09-20 Thread Tracy Phillips
This is how I do it. It is a vhost file configured for http (port 80) and
https (port 443).

Hope it helps

VirtualHost 208.83.1.1:80

  ServerAdmin webmas...@domain.com

  ServerName my.domain.com

  DocumentRoot /var/www/domain.com/my/public/

  Directory /var/www/domain.com/my/public/
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
  /Directory

  # Setup error documents directory outside docroot
  Alias /error/ /var/www/error/

  # Setup our aliased /error directory for SSI
  Directory /var/www/error/
AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority en es de fr
ForceLanguagePriority Prefer Fallback
  /Directory

  ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
  ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
  ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
  ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
  ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
  ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
  ErrorDocument 410 /error/HTTP_GONE.html.var
  ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
  ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
  ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
  ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
  ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
  ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
  ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
  ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
  ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
  ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var

  # Set .htaccess to different name and explicitly deny access to it.
  AccessFileName .htaccess

  Files ~ ^\.ht
Order allow,deny
Deny from all
Satisfy All
  /Files

  # Possible values include: debug, info, notice, warn, error, crit, alert,
emerg.
  LogLevel warn

  ErrorLog /var/www/domain.com/my/log/error.log
  CustomLog /var/www/domain.com/my/log/access.log combined

  ServerSignature Off

/VirtualHost

VirtualHost 208.83.1.1:443

  ServerAdmin webmas...@domain.com

  ServerName my.domain.com

  DocumentRoot /var/www/domain.com/my/public/

  Directory /var/www/domain.com/my/public/
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
  /Directory

  SSLEngine on
  SSLCertificateFile /var/www/domain.com/my/ssl/domain.com.my.crt
  SSLCertificateKeyFile /var/www/domain.com/my/ssl/domain.com.my.key
  SSLCACertificateFile /var/www/domain.com/my/ssl/domain.com.my.ca-bundle
  SSLProtocol -ALL +SSLv3 +TLSv1
  # SSLProtocol -ALL +TLSv1
  SSLCipherSuite ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM

  # Setup error documents
  Alias /error/ /usr/share/apache2/error/

  Directory /usr/share/apache2/error
  AllowOverride None
  Options IncludesNoExec
  AddOutputFilter Includes html
  AddHandler type-map var
  Order allow,deny
  Allow from all
  LanguagePriority en cs de es fr it nl sv pt-br ro
  ForceLanguagePriority Prefer Fallback
  /Directory

  ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
  ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
  ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
  ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
  ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
  ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
  ErrorDocument 410 /error/HTTP_GONE.html.var
  ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
  ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
  ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
  ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
  ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
  ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
  ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
  ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
  ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
  ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var

  # Set .htaccess to different name and explicitly deny access to it.
  AccessFileName .htaccess

  Files ~ ^\.ht
Order allow,deny
Deny from all
Satisfy All
  /Files

  # Possible values include: debug, info, notice, warn, error, crit, alert,
emerg.
  LogLevel warn

  ErrorLog /var/www/domain.com/my/log/ssl_error.log
  CustomLog /var/www/domain.com/my/log/ssl_access.log combined

  ServerSignature Off

/VirtualHost


Tracy Phillips


On Sun, Sep 20, 2009 at 2:36 AM, Niki Kovacs cont...@kikinovak.net wrote:

 Hi,

 I successfully managed to use SSL on a local webserver for testing
 purposes, following the section Using SSL in the Chapter Using
 Apache of the Definitive Guide to CentOS. Now I wonder: how can I use
 SSL with virtual 

Re: [CentOS] SSL and virtual hosts?

2009-09-20 Thread Tracy Phillips

 1) Use a wildcard cert. You can use *.somedomain certs to serve multiple
 SSL domains on a single IP so long as they fit in the *.somedomain pattern.


This is incorrect.

apache can't read the headers since the traffic is encrypted. If it can't
read headers, it does not know which vhost to use and thus can not serve up
the correct files

If you have more than one ssl vhost, you will have to use two IP's. You can
use one SSL vhost with many non SSL vhosts on the same IP with no issues.

Tracy Phillips
Linux Systems Administrator
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos