Re: [CentOS-es] Boteo Dual Centos 6.5 y win 8.1
El 3 de julio de 2014, 15:31, Cesar Augusto Martinez Cobo cmc...@ciencias.udea.edu.co escribió: Buenas tardes compañeros, quisiera saber cuales son los pasos a seguir para instalar en una maquina que tiene windows 8.1 con buteo Uefi, instalar tambien CENTOS 6.5. De antemanos muchas gracias por su colaboracion. Ya falta poco para que salga Centos 7, creo que sería buena idea esperar ya que Centos 7 se basa en Fedora 18-20 y te puede funcionar mejor. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] Privilegios de usuarios en PostgreSQL
Buen dia colegas, Tengo un servidor con PostgreSQL en CentOS 5 y quisiera crear un usuario que tenga los siguientes privilegios: - Que pueda hacer consultas - Que pueda modificar los datos de las BDs - QUe pueda hacer BACKUP las BDs - QUe pueda hacer restauras de las BDs Pero - QUE NO SEA CAPAZ DE CREAR BASES DE DATOS NUEVAS, TAMPOCO BORRAR LAS EXISTENTES... He hecho varias pruebas sin exito, es decir no puedo lograr q se cumpla todas la condiciones... alguna idea? Saludos y graxias de antemano ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Privilegios de usuarios en PostgreSQL
Saludos. Crea un usuario de base de datos que no sea superusuario. crea la base de datos y asígnale como propietario el usuario anterior. Las sentencias serían: CREATE USER cmartinez; ALTER USER cmartinez WITH PASSWORD 'holamundo'; CREATE DATABASE dbnegocio OWNER cmartinez; El detalle de lo anterior es que cmartinez puede borrar y crear tablas de dbnegocio. Si esto no es lo que quieres, entonces debes crear dos usuarios: el primero para la restauración, backup y modificación del modelo de datos. El otro es para manipular exclusivamente los datos (INSERT, UPDATE, DELETE, EXECUTION ...) Atte., Carlos Andrés Martínez 2014-07-04 9:27 GMT-05:00 ylarg...@cimex.com.cu: Buen dia colegas, Tengo un servidor con PostgreSQL en CentOS 5 y quisiera crear un usuario que tenga los siguientes privilegios: - Que pueda hacer consultas - Que pueda modificar los datos de las BDs - QUe pueda hacer BACKUP las BDs - QUe pueda hacer restauras de las BDs Pero - QUE NO SEA CAPAZ DE CREAR BASES DE DATOS NUEVAS, TAMPOCO BORRAR LAS EXISTENTES... He hecho varias pruebas sin exito, es decir no puedo lograr q se cumpla todas la condiciones... alguna idea? Saludos y graxias de antemano ___ 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] Ubuntu 14.4 y Centos 6.5
2014-06-30 10:45 GMT-03:00 Francesc Guitart fguit...@gmx.com: Hola Martín, Una duda: El 30/06/2014 11:53, Martín Cigorraga escribió: 2014-06-19 19:24 GMT-03:00 New Route Inc newro...@gmail.com: Saludos, También se podría tener la partición TMP común. Hola a todos! Por experiencia no recomiendo compartir el directorio /tmp ya que los SO hacen uso extensivo del mismo y a veces pueden pisar datos o directamente borrarlos. En el caso particular de Ubuntu 14.04 y CentOS 6.5 estos sistemas todavía no usan systemd ni implementan el paradigma moderno de /tmp: sólamente el sistema debe tener acceso al directorio y el mismo es montado con el FS tempfs de forma que su contenido es volátil, es decir desaparece con cada reiniciada. Si el contenido desaparece con cada reiniciada que problema puede haber con pisar datos o directamente borrarlos. Inclusive compartiendo el directorio con ambos sistemas corriendo systemd (supongamos CentOS 7 y Ubuntu 15.04) pueden presentarse problemas de incompatibilidad de permisos o ownership... Realmente lo pensaría varias veces antes de hacerlo! Saludos. Saludos. Hola! 'Si el contenido desaparece con cada reiniciada que problema puede haber con pisar datos o directamente borrarlos.' No es lo que dije, permitime un pequeño errata y luego please re-read: En el caso particular de Ubuntu 14.04 y CentOS 6.5 estos sistemas todavía no usan systemd ni implementan el paradigma moderno de /tmp en donde sólamente el sistema[...] En cuanto a los problemas de ownershp en teoría no deberían existir ya que si se monta un /tmp como tmpfs sobre el directorio /tmp real no se estarían modificando el contenido del mismo ni sus permisos, sin embargo no me animaría a hacerlo en producción sin un testeo extensivo y menos sin una real necesidad. Ahora sabiendo que cada OS va a tener una versión diferente de systemd y conociendo el historial de incompatibilidad hacia atrás de algunas versiones de systemd repito: usar un /tmp compartido en entorno de producción no es precisamente la mejor práctica - por lo menos para mi :) Saludos. -Martin ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS] How to enable sound for other users but the one who owns the current session
On Thu, 3 Jul 2014, wwp wrote: I'm trying to get sound from applications running from other users bug the one who owns the current GNOME sessions. Typically, my default user is A and he's running the GNOME session, logged in graphically. From this session, I open terminals, su to other users (B or C, non-root) and run mplayer or firefox. No sound for these. If A enables sound, does it work for other users? -- Michael henne...@web.cs.ndsu.nodak.edu SCSI is NOT magic. There are *fundamental technical reasons* why it is necessary to sacrifice a young goat to your SCSI chain now and then. -- John Woods ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to enable sound for other users but the one who owns the current session
Hello Michael, On Fri, 4 Jul 2014 11:25:33 -0500 (CDT) Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: On Thu, 3 Jul 2014, wwp wrote: I'm trying to get sound from applications running from other users bug the one who owns the current GNOME sessions. Typically, my default user is A and he's running the GNOME session, logged in graphically. From this session, I open terminals, su to other users (B or C, non-root) and run mplayer or firefox. No sound for these. If A enables sound, does it work for other users? What do you mean exactly saying A enables sound? Regards, -- wwp signature.asc Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS-6.5 LiveDVD problem
I downloaded the Live DVD for CentOS-6.5 and burned a DVD-R using a CentOS-6.5 desktop. To test the validity of the new DVD I then rebooted the same desktop using the same Live DVD. No matter which Live DVD boot option I choose I see this after the splash screen completes the Circle (sounds like a good title for a novel). --- Kernel panic - Not syncing - Attempting to kill init! Pid: 1, comm: init Not tainted 2.6.32-431.el6.x86_64 # 1 call trace [815271fa] ? Panic+0xa7/0x16f [81077622] ? do_exit+0x862/0x870 [8118a865] ? fput+0x25/0x30 [81077688] ? do_group_exit+0x58/0xd0 [81077717] ? sys_exit_group+0x17/0x020 [81006072] ? system_call_fastpath+0x16/0x16 dkm_kms_helper panic occurred, switching back to text console --- The very last line appears for each boot choice saving only the text mode boot. In that case the line is absent but the rest of the output remains unchanged. An extract of the system specifications rendered by lshw: --- description: Desktop Computer width: 64 bits capabilities: smbios-2.4 dmi-2.4 vsyscall64 vsyscall32 configuration: boot=normal chassis=desktop uuid=B4CDC46C-7E7A-11DE-87DF-0011D8A408ED *-core description: Motherboard product: DG43GT vendor: Intel Corporation physical id: 0 version: AAE62768-300 serial: BTGT931003W4 slot: To be filled by O.E.M. *-firmware description: BIOS vendor: Intel Corp. physical id: 0 version: GTG4310H.86A.0019.2009.0625.1334 (06/25/2009) size: 64KiB capacity: 960KiB capabilities: pci upgrade shadowing escd cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb ls120boot zipboot biosbootspecification *-cpu description: CPU product: Intel(R) Core(TM)2 Quad CPUQ8400 @ 2.66GHz vendor: Intel Corp. physical id: 4 bus info: cpu@0 version: Intel(R) Core(TM)2 Quad CPUQ8400 @ 2.66GHz serial: To Be Filled By O.E.M. slot: PROCESSOR size: 2666MHz capacity: 4GHz width: 64 bits clock: 333MHz capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx x86-64 constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm tpr_shadow vnmi flexpriority *-cache:0 description: L1 cache physical id: 5 slot: L1-Cache size: 32KiB capacity: 32KiB capabilities: internal write-back data *-cache:1 description: L2 cache physical id: 6 slot: L2-Cache size: 2MiB capacity: 2MiB capabilities: internal varies unified *-memory description: System Memory physical id: 2b slot: System board or motherboard size: 16GiB *-bank:0 description: DIMM DDR2 Synchronous 800 MHz (1.2 ns) product: PartNum0 vendor: Manufacturer0 physical id: 0 serial: SerNum0 slot: CHANNEL_A size: 4GiB width: 64 bits clock: 800MHz (1.2ns) *-bank:1 --- Help??? -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:byrn...@harte-lyne.ca Harte Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] block level changes at the file system level?
--On Thursday, July 03, 2014 04:47:30 PM -0400 Stephen Harris li...@spuddy.org wrote: On Thu, Jul 03, 2014 at 12:48:34PM -0700, Lists wrote: Whatever we do, we need the ability to create a point-in-time history. We commonly use our archival dumps for audit, testing, and debugging purposes. I don't think PG + WAL provides this type of capability. So at the moment we're down to: You can recover WAL files up until the point in time specified in the restore file See, for example http://opensourcedbms.com/dbms/how-to-do-point-in-time-recovery-with-post gresql-9-2-pitr-3/ I have to back up Stephen on this one: 1. The most efficient way to get minimal diffs is generally to get the program that understands the semantics of the data to make the diffs. In the DB world this is typically some type of baseline + log shipping. It comes in various flavours and names, but the concept is the same across the various enterprise-grade databases. Just as algorithmic changes to an application to increase performance are always going to be much better than trying to tune OS-level parameters, doing dedup at the application level (where the capability exists) is always going to be more efficient than trying to do it at the OS level. 2. Recreating a point-in-time image for audits, testing, etc, then becomes the process of exercising your recovery/DR procedures (which is a very good side effect). Want to do an audit? Recover the db by starting with the baseline and rolling the log forward to the desired point. 3. Although rolling the log forward can take time, you can find a suitable tradeoff between recover time and disk space by periodically taking a new baseline (weekly? monthly? depends on your write load) Then anything older than that baseline is only of interest for audit data/retention purposes, and no longer factors into the recovery/DR/test scenarios. 4. Using baseline + log shipping generally results in smaller storage requirements for offline / offsite backups. (Don't forget that you're not exercising your DR procedure unless you sometimes recover from your offsite backups, so maybe it would be good to have a policy that all audits are performed based on recovery from offsite media, only.) 5. With the above mechanisms in place, there's basically zero need for block- or file-based deduplication, so you can save yourself from that level of complexity / resource usage. You may decide that filesystem-level snapshots of the filesystem holding the log files still plays a part in your backup strategy, but that's separate from the dedup issue. Echoing one of John's comments, I would be very surprised if doing dedup on database-type data would realize any significant benefits for common configurations/loads. Devin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS-6.5 LiveDVD problem
On 7/4/2014 12:43 PM, James B. Byrne wrote: I downloaded the Live DVD for CentOS-6.5 and burned a DVD-R using a CentOS-6.5 desktop. To test the validity of the new DVD I then rebooted the same desktop using the same Live DVD. No matter which Live DVD boot option I choose I see this after the splash screen completes the Circle (sounds like a good title for a novel). --- Kernel panic - Not syncing - Attempting to kill init! Pid: 1, comm: init Not tainted 2.6.32-431.el6.x86_64 # 1 call trace [815271fa] ? Panic+0xa7/0x16f [81077622] ? do_exit+0x862/0x870 [8118a865] ? fput+0x25/0x30 [81077688] ? do_group_exit+0x58/0xd0 [81077717] ? sys_exit_group+0x17/0x020 [81006072] ? system_call_fastpath+0x16/0x16 dkm_kms_helper panic occurred, switching back to text console --- The very last line appears for each boot choice saving only the text mode boot. In that case the line is absent but the rest of the output remains unchanged. An extract of the system specifications rendered by lshw: --- description: Desktop Computer width: 64 bits capabilities: smbios-2.4 dmi-2.4 vsyscall64 vsyscall32 configuration: boot=normal chassis=desktop uuid=B4CDC46C-7E7A-11DE-87DF-0011D8A408ED *-core description: Motherboard product: DG43GT vendor: Intel Corporation physical id: 0 version: AAE62768-300 serial: BTGT931003W4 slot: To be filled by O.E.M. *-firmware description: BIOS vendor: Intel Corp. physical id: 0 version: GTG4310H.86A.0019.2009.0625.1334 (06/25/2009) size: 64KiB capacity: 960KiB capabilities: pci upgrade shadowing escd cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb ls120boot zipboot biosbootspecification *-cpu description: CPU product: Intel(R) Core(TM)2 Quad CPUQ8400 @ 2.66GHz vendor: Intel Corp. physical id: 4 bus info: cpu@0 version: Intel(R) Core(TM)2 Quad CPUQ8400 @ 2.66GHz serial: To Be Filled By O.E.M. slot: PROCESSOR size: 2666MHz capacity: 4GHz width: 64 bits clock: 333MHz capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx x86-64 constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm tpr_shadow vnmi flexpriority *-cache:0 description: L1 cache physical id: 5 slot: L1-Cache size: 32KiB capacity: 32KiB capabilities: internal write-back data *-cache:1 description: L2 cache physical id: 6 slot: L2-Cache size: 2MiB capacity: 2MiB capabilities: internal varies unified *-memory description: System Memory physical id: 2b slot: System board or motherboard size: 16GiB *-bank:0 description: DIMM DDR2 Synchronous 800 MHz (1.2 ns) product: PartNum0 vendor: Manufacturer0 physical id: 0 serial: SerNum0 slot: CHANNEL_A size: 4GiB width: 64 bits clock: 800MHz (1.2ns) *-bank:1 --- Help??? I saw the same issues with my machine and never sorted it out (I just went back to my 5.10 media and installed that instead). I had a thought that I had burned a dual layer DVD, then tried to read in on a single layer drive, but I never verified this as the problem. -chuck -- ACCEL Services, Inc.| Specialists in Gravity, Magnetics | (713)993-0671 ph. | and Integrated Interpretation | (713)993-0608 fax 448 W. 19th St. #325|Since 1992 | (713)306-5794 cell Houston, TX, 77008 | Chuck Campbell | campb...@accelinc.com | President Senior Geoscientist | Integration means more than having all the maps at the same scale! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] block level changes at the file system level?
Ljubomir Ljubojevic cen...@plnet.rs writes: 7za a -t7z $YearNum-$MonthNum.7z -i...@include.lst -mx$CompressionMetod -mmt$ThreadNumber -mtc=on So, 742 files that uncompressed have 179 MB, compressed ocupy only 452 KB, which is only 0.2% of original size, 442 TIMES smaller : Perhaps there is a file system that supports compression and would do a good job with the snapshots transparently. Maybe even ZFS or btrfs do? -- Knowledge is volatile and fluid. Software is power. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS-6.5 LiveDVD problem
On 07/04/2014 07:43 PM, James B. Byrne wrote: I downloaded the Live DVD for CentOS-6.5 and burned a DVD-R using a CentOS-6.5 desktop. To test the validity of the new DVD I then rebooted the same desktop using the same Live DVD. No matter which Live DVD boot option I choose I see this after the splash screen completes the Circle (sounds like a good title for a novel). Validity of ISO file is tested with md5sum program. Have you done that? -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to enable sound for other users but the one who owns the current session
On Fri, 4 Jul 2014, wwp wrote: On Fri, 4 Jul 2014 11:25:33 -0500 (CDT) Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: On Thu, 3 Jul 2014, wwp wrote: I'm trying to get sound from applications running from other users bug the one who owns the current GNOME sessions. Typically, my default user is A and he's running the GNOME session, logged in graphically. From this session, I open terminals, su to other users (B or C, non-root) and run mplayer or firefox. No sound for these. If A enables sound, does it work for other users? What do you mean exactly saying A enables sound? From the question, I infer that for A, sound just works: A need not do anything special to enable sound. -- Michael henne...@web.cs.ndsu.nodak.edu SCSI is NOT magic. There are *fundamental technical reasons* why it is necessary to sacrifice a young goat to your SCSI chain now and then. -- John Woods ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] printing from firefox
Is there a way to get firefox to not print all that useful data at the top and bottom of a web page. For me, that oftem makes one web page into two printed pages. There is rarely a good place for the split. -- Michael henne...@web.cs.ndsu.nodak.edu SCSI is NOT magic. There are *fundamental technical reasons* why it is necessary to sacrifice a young goat to your SCSI chain now and then. -- John Woods ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] printing from firefox
On Fri, 4 Jul 2014 16:58:24 -0500 (CDT) Michael Hennebry wrote: Is there a way to get firefox to not print all that useful data at the top and bottom of a web page. I usually highlight what I want, paste it into libreoffice text file, then print that. -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] printing from firefox
On Fri, 4 Jul 2014, Frank Cox wrote: On Fri, 4 Jul 2014 16:58:24 -0500 (CDT) Michael Hennebry wrote: Is there a way to get firefox to not print all that useful data at the top and bottom of a web page. I usually highlight what I want, paste it into libreoffice text file, then print that. I need images. They are done in a way that I cannot copy easily. -- Michael henne...@web.cs.ndsu.nodak.edu SCSI is NOT magic. There are *fundamental technical reasons* why it is necessary to sacrifice a young goat to your SCSI chain now and then. -- John Woods ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] printing from firefox
On 07/04/2014 03:11 PM, Michael Hennebry wrote: I need images. They are done in a way that I cannot copy easily. You could use GIMP to grab a screenshot of the window, then save/edit/print it however you want. Note that FF has a setting to adjust the headers and footers under Print - Options -- KevinO ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] printing from firefox
On Fri, 4 Jul 2014 17:11:43 -0500 (CDT) Michael Hennebry wrote: On Fri, 4 Jul 2014, Frank Cox wrote: On Fri, 4 Jul 2014 16:58:24 -0500 (CDT) Michael Hennebry wrote: Is there a way to get firefox to not print all that useful data at the top and bottom of a web page. I usually highlight what I want, paste it into libreoffice text file, then print that. I need images. They are done in a way that I cannot copy easily. Highlight what you want (including the images) and paste it into a libreoffice text document. Have you tried it? I get the images too when I do that. -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] printing from firefox
--On Friday, July 04, 2014 05:11:43 PM -0500 Michael Hennebry henne...@web.cs.ndsu.nodak.edu wrote: I need images. They are done in a way that I cannot copy easily. If getting a png of your page or a portion of your page is sufficient, using the ScreenGrab Firefox plugin might be an option. I use that tool to grab screen shots when documenting web applications. It means an extra step of first saving the image via ScreenGrab and then printing it via eog (or whatever), but it's an option. ScreenGrab allows you to either grab the visible area in the browser, the entire page, or a selected region. As an afterthought, you might also want to check to see what your page settings are. In particular, make sure you're not trying to print A4 if you need Letter or vice versa. They're sufficiently close to make the difference not obvious on screen, but quite obvious when printing. Devin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] printing from firefox
On Fri, 2014-07-04 at 17:11 -0500, Michael Hennebry wrote: I need images. They are done in a way that I cannot copy easily. Right click, select 'save image as ' Then double-click the saved image and print. QED. 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