RE: [CentOS-docs] What's an Enterprise class OS
Akemi Wrote: This makes me think we need to look at how we can restructure the information on the Wiki to make it more accessible or maybe produce pages that bring together related but individually scattered content in a more structured (easier to find and navigate) manner. JohnStanley Writes: Well I thought I was the only one thinking like that. Color of the Wiki is a great choice but one problem. It needs to be designed with ADD in mind. Attention Deficent Disorder That's right. Things need better organization and classification. What I get asked a lot is what the heck is CentOS? Well the wiki doesn't tell you and the main centos.org doesn't really say. Every one does not know it is a derivative of Red Hat EL. Besides, What is an Ent. Class OS there could also be How CentOS can be utilized as a Desktop. Just my thought and opinion... ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS] only backup selected files
On Sun, Nov 9, 2008 at 4:49 AM, Robert [EMAIL PROTECTED] wrote: I'm sure there will be other ideas but in the absence of an include these files file option, you could employ a simple loop to append the files in a man tar: -T, --files-from F get names to extract or create from file F list to a tar archive. For example, if you had a file named include with these 3 records /bin/gawk /etc/fstab /etc/resolv.conf This would cause the 3 files to be archived as included.tar. [EMAIL PROTECTED] ~]$ while read inc ; do echo including: $inc ; tar -v -r $inc -f included.tar ; done include or: tar -jvrc included.tar.bz2 --files-from include BR Bent ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] centralized logs server and also storing the logs on the local server
On Sun, Nov 9, 2008 at 8:57 AM, ankush grover [EMAIL PROTECTED] wrote: store all the logs on the local server aka means logs will be sent to the central log server but also will be stored on the local server. I see two ways of doing this: 1) use rsyslog and multiple rules, one for writing to local file and another for TCP forwarding to central syslog server. 2) Do the logging locally, and let logrotate copy the files to the central location. BR Bent ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] centralized logs server and also storing the logs on the local server
Ankush, --On 9. November 2008 13:27:42 +0530 ankush grover [EMAIL PROTECTED] wrote: Hi Friends, I am running most of my company's Linux Servers on Centos 4.x/5.x 32 and 64-bit. I am now trying to configure a centralized logging server where logs of all the linux servers will be stored and also I want to store all the logs on the local server aka means logs will be sent to the central log server but also will be stored on the local server. The reason for storing the logs locally is because we have offices in different cities and few more offices are coming up and it is good to store the logs locally so that when the connectivity b/w the offices break the logs does not get lost. There are lots of configuration available on internet which tells how to send the logs to the centralized log server but I did not find any configuration where logs can be stored locally as well as send to the centralized log. If you use rsyslog from base repo that is easy to achieve. Rsyslog replaces syslog; thus you can copy your existing syslog.conf into rsyslog.conf and just add an enty for sending everything to the central log host additionally, like e.g. *.* @@your.loghost.tld On the loghost you switch to rsyslog as well and open it up for remote logging in /etc/sysconfig/rsyslog (it is documented there). Be aware to upen up your loghost's local firewall, if you use it. On of the advantages of using rsyslog is that on the central loghost you can stuff everything in a mysql database (again additionally to plain log files) quite easy - that makes automated evaluation of log entries much more convenient. Moreover I am also looking for logs analyzer tool which can generate reports separately for each host for ex there are logs of 15 servers are stored on the server and this logs analyzer tool should generate reports separately for each host. What exactly do yo want the analyzer to do? The simplest thing would be to use logwatch on the servers and customize it, but that depends on what kind of analyzation you have in mind. Dirk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Hiding Files in Samba
Miguel Medalha wrote: Vandaman wrote I may need a strong shot of coffee but I though putting hide files = /~*/ as follows in the samba config file would hide files with a tilde. [homes] comment = Home Directories browseable = no writable = yes hide files = /~*/ Unfortunately after restarting the server the files are still visible. If you have Windows Explorer set to show hidden files, they will appear in a dim color. Actually hide works exactly as intended. I needed some coffee and after some sleep. Revisiting the issue, it now works. Regards, Vandaman. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: Reinstalled Windows and GRUB - Cannot boot Linux - fstab and grub.conf errors?
Lanny Marcus wrote: There is a Permissions problem, when I try to access /boot/grub/grub.conf and /etc/fstab so I can edit them. How can I do that, using the Live CD's I have? I need root access. Instead of using a LIVECD, have you tried using the CentOS rescue CD and then using the grub command. I don't have Centos 5 but you can look at the CentOS docs or a quick Fedora example below. http://dailypackage.fedorabook.com/index.php?/archives/158-System-Recovery-Week-Rescue-Mode-and-Reinstalling-Grub.html Regards, Vandaman. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Where is the file that sets aliases?
On Saturday 08 November 2008 22:26:51 John R Pierce wrote: I note that the commands you're seeing are aliased explicitly in /root/.bashrc That's exactly what I was looking for, thanks. Anne 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] What happened to the CentOS Docs?
Ned Slider wrote: Your link is wrong. Here is the correct link: http://www.centos.org/docs/4/ I also had a look on the CentOS forum and the forum FAQ still links to the above location. Example http://mirror.centos.org/centos/4/docs/html/rhel-rg-en-4/s1-grub-installing.html No, the forum FAQ thread has the correct link for Documentation. See here: http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14337forum=48 Where are you looking to find the wrong link? I was looking at the smartfaq below are my squid logs :- 1226225760.382 1773 10.0.0.3 TCP_MISS/200 14202 GET http://www.centos.org/modules/smartfaq/faq.php? - DIRECT/72.232.194.162 text/html 1226225782.162242 10.0.0.3 TCP_MISS/404 606 GET http://mirror.centos.org/centos/4/docs/html/rhel-sag-en-4/ch-raid-intro.html - DIRECT/84.22.180.89 text/html 1226225782.745 37 10.0.0.3 TCP_MISS/404 566 GET http://mirror.centos.org/favicon.ico - DIRECT/84.22.180.89 text/html 1226225785.707 2 10.0.0.3 TCP_NEGATIVE_HIT/404 572 GET http://mirror.centos.org/favicon.ico - NONE/- text/html Are you Ned Slider from the CentOS forum and have changed the faq links? Regards, Vandaman. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What happened to the CentOS Docs?
Ned Slider wrote: Where are you looking to find the wrong link? Hmm its on http://wiki.centos.org/FAQ/CentOS4 part 11 where it has several links and bottom says FAQ/CentOS4 last edited 2008-03-23 15:19:48 by DagWieers My point is that the docs used to be on mirror.centos.org but have now been moved presumably without notice/announcement. Regards, Vandaman. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] What happened to the CentOS Docs?
I don't log into the CentOS forum, CentOS chat but I don't know why the docs were removed from http://mirror.centos.org/centos/4/docs/ I also had a look on the CentOS forum and the forum FAQ still links to the above location. Example http://mirror.centos.org/centos/4/docs/html/rhel-rg-en-4/s1-grub-installing.html Not everyone uses IRC/Forum/Developers mailing list so for the benefit of others, what happened to the docs? Regards, Vandaman. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What happened to the CentOS Docs?
Vandaman wrote: Ned Slider wrote: Where are you looking to find the wrong link? Hmm its on http://wiki.centos.org/FAQ/CentOS4 part 11 where it has several links and bottom says FAQ/CentOS4 last edited 2008-03-23 15:19:48 by DagWieers Thanks - link fixed :-) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Hwinfo
Has anyone info about package hwinfo for Centos, rhel, fedora? Nice piece of commandline tools. Jarmo ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reinstalled Windows and GRUB - Cannot boot Linux - fstab and grub.conf errors?
Lanny Marcus wrote: Booting 'CentOS (2.6.18-92.1.17.el5)' root (hd0,2) Filesystem type unknown, partition type 0x8e Kernel /vmlinuz-2.6.18-92.1.17.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet Error 17: Cannot mount selected partition Press any key to continue 01 /dev/hda1 ntfs Active 02 /dev/hda2 ext3 (/boot) 03 /dev/hda3 unknown (CentOS LVM) AFAIK,in centos or fedora a boot partition cannot reside in an LVM volume.a boot partition must be a regular ext2 or ext3 file system. or are you trying to boot from from wrong partition ? /dev/hda2 is labled as boot and is an ext3 filesystem. so i am inclined to believe that is the partition where the vmlinuz and initrd file resides. you need to change the line root (hd0,2) to root (hd0,1) during booting. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What happened to the CentOS Docs?
Vandaman wrote: I don't log into the CentOS forum, CentOS chat but I don't know why the docs were removed from http://mirror.centos.org/centos/4/docs/ Your link is wrong. Here is the correct link: http://www.centos.org/docs/4/ I also had a look on the CentOS forum and the forum FAQ still links to the above location. Example http://mirror.centos.org/centos/4/docs/html/rhel-rg-en-4/s1-grub-installing.html No, the forum FAQ thread has the correct link for Documentation. See here: http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14337forum=48 Where are you looking to find the wrong link? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Appliance platform
On Sun, Nov 09, 2008 at 12:15:05AM -0500, Ted Miller wrote: Joseph L. Casale wrote: I have a project that I need some hardware pointers for. I need to build some Centos appliances (dedicated boxes to do one thing only). Target cost is under $250/box. Given the rest of the requirements, I would say something like: http://www.mini-box.com/M200-LCD-Enclosure By the time I fully configure the box it is slightly over my target price, but given the user interaction on the front panel, I think I can live with that. Have you used this box, or others from mini-box? How about something like the Asus eeebox? -- --- .Fred Smith / ( /__ ,__. __ __ / __ : / // / /__) / / /__) .+' Home: [EMAIL PROTECTED] // (__ (___ (__(_ (___ / :__ 781-438-5471 Jude 1:24,25 - pgpDd78qdre4Q.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] only backup selected files
Bent Terp wrote: On Sun, Nov 9, 2008 at 4:49 AM, Robert [EMAIL PROTECTED] wrote: I'm sure there will be other ideas but in the absence of an include these files file option, you could employ a simple loop to append the files in a man tar: -T, --files-from F get names to extract or create from file F Yes, I overlooked that option, as I imagine the OP did. list to a tar archive. For example, if you had a file named include with these 3 records /bin/gawk /etc/fstab /etc/resolv.conf This would cause the 3 files to be archived as included.tar. [EMAIL PROTECTED] ~]$ while read inc ; do echo including: $inc ; tar -v -r $inc -f included.tar ; done include or: tar -jvrc included.tar.bz2 --files-from include Almost 1. Options r and c are mutually exclusive. tar: You may not specify more than one `-Acdtrux' option Try `tar --help' or `tar --usage' for more information. 2. Without the f option, output goes to std out This works: [EMAIL PROTECTED] ~]$ tar -jvcf included.tar.bz2 --files-from include tar: Removing leading `/' from member names /bin/gawk /etc/fstab /etc/resolv.conf [EMAIL PROTECTED] ~]$ I hope the OP has followed this far without giving up on our combined blunders. :-( BR Bent KRS Robert ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] re: HA Storage
Greetings, on this matter, Sunfire x4150 a 1U machine with 2xcpu sockets, eight drive bays, 64 GB expandability, 4 NIC packs quite a punch for its size. I don't think I've ever seen such power in such a small package Regards Rajagopal ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] re: HA Storage
On Sun, Nov 09, 2008 at 08:59:24PM +0530, Rajagopal Swaminathan wrote: on this matter, Sunfire x4150 a 1U machine with 2xcpu sockets, eight drive bays, 64 GB expandability, 4 NIC packs quite a punch for its size. Sunfire X4540; 4U, dual quad core AMD Opteron, 48 (count them!) hotswap SATA drives (so can scale to 48TByte of space in 4U), etc etc. When Sun came out with the X4500 I immediately said NAS server. Then Sun came out with ZFS and I said Really, NAS server. Now I note that the X4540 is marketed as Simply the best selling storage server. Heh. ZFS is really nice. If VMware was supported on Solaris 86 then I would have built my own home server with Solaris rather than CentOS. (Although I'm not using VMware on that machine, at present; merely UserModeLinux for my protected instances). But CentOS is handling my 5*1Tbyte RAID5 OK for now :-) -- rgds Stephen ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] re: HA Storage
Stephen Harris wrote: ZFS is really nice. If VMware was supported on Solaris 86 then I would have built my own home server with Solaris rather than CentOS. (Although I'm not using VMware on that machine, at present; merely UserModeLinux for my protected instances). But CentOS is handling my 5*1Tbyte RAID5 OK for now :-) You know the inverse is true right? Solaris is supported on VMWare ESX(i). Though SATA disks are not officially supported by the VMFS file system in 3.x. ESXi is as free as VMware server. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Where is the file that sets aliases?
I'm sorry, but I just can't understand why I can't find these Anne [EMAIL PROTECTED] ~]# pwd /root [EMAIL PROTECTED] ~]# cat .bashrc # .bashrc # User specific aliases and functions alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi [EMAIL PROTECTED] ~]# ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] re: HA Storage
On Sun, Nov 09, 2008 at 08:30:42AM -0800, nate wrote: Stephen Harris wrote: ZFS is really nice. If VMware was supported on Solaris 86 then I would have built my own home server with Solaris rather than CentOS. (Although I'm not using VMware on that machine, at present; merely UserModeLinux for my protected instances). But CentOS is handling my 5*1Tbyte RAID5 OK for now :-) You know the inverse is true right? Solaris is supported on VMWare ESX(i). Though SATA disks are not officially supported by the VMFS file system in 3.x. I wanted Solaris as the Host OS so it could natively manage my disks via ZFS. Making it a guest would be pointless. Underneath that I would run a couple of smaller Linux instances (eg for internet facing services), maybe a Windows instance and so on. -- rgds Stephen ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Hiding Files in Samba
I may need a strong shot of coffee but I though putting hide files = /~*/ as follows in the samba config file would hide files with a tilde. Vandaman Wrote: [homes] comment = Home Directories browseable = no writable = yes hide files = /~*/ # Try this ! # for the heck of of it hides files = /.jpg*/ # Could be the tilde Character Unfortunately after restarting the server the files are still visible. JohnStanley Writes: Where is the folder at your using samba to share? Is this share on Windows? If so I don't think it will ever work. However it will work on Samba 3 and under CentOS ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Appliance platform
Ted Miller wrote: Application (in case anyone cares): Move better-than-FM quality audio across a leased audio circuit with delay under 10 seconds. No Internet exposure. Obviously one box is required at each end, and the encoding box works much harder than the decoding box. Software to run will probably be Ices - Icecast - network - mplayer. Will be using USB audio interfaces, probably something like the M-Audio Fast Track Pro. Because of the nature of the application, once it is booted up the only disk activity is occasional logging when there is a problem with the connection. Any advice, web links, battle scars, or advice gladly accepted. Not quite a match, but maybe worth investigating the hackability: the $99 Roku box sold initially to stream Netflix but supposed to be getting other capabilities. Or for just audio, their soundbridge products that are more expensive but some include speakers. Development specs are available for the soundbridge along with source for gpl'd code included with the netflix box. Not sure about development on the netflix box, though. Might be worth $99 just to take it apart and see what's in there. -- Les Mikesell [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Hiding Files in Samba
On Saturday 08 November 2008 20:28:23 Vandaman wrote: I may need a strong shot of coffee but I though putting hide files = /~*/ as follows in the samba config file would hide files with a tilde. You mean files starting with a tilde? Anne 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] Appliance platform
Ted Miller wrote: Les Mikesell wrote: Ted Miller wrote: Application (in case anyone cares): Move better-than-FM quality audio across a leased audio circuit with delay under 10 seconds. No Internet exposure. Obviously one box is required at each end, and the encoding box works much harder than the decoding box. Software to run will probably be Ices - Icecast - network - mplayer. Will be using USB audio interfaces, probably something like the M-Audio Fast Track Pro. Because of the nature of the application, once it is booted up the only disk activity is occasional logging when there is a problem with the connection. Any advice, web links, battle scars, or advice gladly accepted. Not quite a match, but maybe worth investigating the hackability: the $99 Roku box sold initially to stream Netflix but supposed to be getting other capabilities. Or for just audio, their soundbridge products that are more expensive but some include speakers. Development specs are available for the soundbridge along with source for gpl'd code included with the netflix box. Not sure about development on the netflix box, though. Might be worth $99 just to take it apart and see what's in there. This would be more interesting for the playback end (no audio input capability is visible) if this were a one-time project, but we will probably have to supply more pairs in the future, so a more stable platform is more interesting. Price is certainly right, but unlikely to hold, as they are charging $200 for their SoundBridge. The netflix box is new hardware - and there doesn't seem to be much reason for promotional pricing. They claim that they will release an SDK soon for anyone who wants to generate their own channel (but not opensource the box itself). But as long as you can send some standard-protocol stream, why worry about matching the hardware? A sip speakerphone might even work as an endpoint. Here's an interview with the roku CEO: http://www.youtube.com/watch?v=7z3zUCiELcI The chumby is probably more hackable, but it already plays network streams. -- Les Mikesell [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] centralized logs server and also storing the logs on the local server
ankush grover wrote: Hi Friends, I am running most of my company's Linux Servers on Centos 4.x/5.x 32 and 64-bit. I am now trying to configure a centralized logging server where logs of all the linux servers will be stored and also I want to store all the logs on the local server aka means logs will be sent to the central log server but also will be stored on the local server. The reason for storing the logs locally is because we have offices in different cities and few more offices are coming up and it is good to store the logs locally so that when the connectivity b/w the offices break the logs does not get lost. There are lots of configuration available on internet which tells how to send the logs to the centralized log server but I did not find any configuration where logs can be stored locally as well as send to the centralized log. If you don't mind being somewhat behind on the central copies, the simple-minded way is to run a scripted rsync nightly to pull in whatever you want from the remote sites. For the ones that logrotate renames, you'll have to adjust accordingly - or fix it so the name always contains the date. Moreover I am also looking for logs analyzer tool which can generate reports separately for each host for ex there are logs of 15 servers are stored on the server and this logs analyzer tool should generate reports separately for each host. Analog is very versatile for web logs. But any tool should be able to accept command line options for the files and output location so you can script the runs you want. If you want to go crazy with reporting and analysis, look at the tools from http://community.pentaho.com/index.php and figure out how to get the log fields into a database. -- Les Mikesell [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Appliance platform
Les Mikesell wrote: Ted Miller wrote: Application (in case anyone cares): Move better-than-FM quality audio across a leased audio circuit with delay under 10 seconds. No Internet exposure. Obviously one box is required at each end, and the encoding box works much harder than the decoding box. Software to run will probably be Ices - Icecast - network - mplayer. Will be using USB audio interfaces, probably something like the M-Audio Fast Track Pro. Because of the nature of the application, once it is booted up the only disk activity is occasional logging when there is a problem with the connection. Any advice, web links, battle scars, or advice gladly accepted. Not quite a match, but maybe worth investigating the hackability: the $99 Roku box sold initially to stream Netflix but supposed to be getting other capabilities. Or for just audio, their soundbridge products that are more expensive but some include speakers. Development specs are available for the soundbridge along with source for gpl'd code included with the netflix box. Not sure about development on the netflix box, though. Might be worth $99 just to take it apart and see what's in there. Or this: perhaps a little too cutesy, but... http://www.chumby.com/ -- Les Mikesell [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Hiding Files in Samba
John wrote: Where is the folder at your using samba to share? Is this share on Windows? If so I don't think it will ever work. However it will work on Samba 3 and under CentOS It does work. I'm using XP and acccessing accessing the home dir on a CentOS box. [homes] comment = Home Directories browseable = no writable = yes hide files = /~*/ Regards, Vandaman. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] re: HA Storage
Stephen Harris wrote: Things have changed, but I don't want to rebuild now. If I ever get a new (better, stronger, faster) machine then I'll look into it again, but then maybe ZFS on Linux will be a strong contender by that point :-) Yeah - that'll come right after Hell freezes over. -- Les Mikesell [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] re: HA Storage
On Sun, Nov 09, 2008 at 02:44:16PM -0500, Ross Walker wrote: On Nov 9, 2008, at 11:38 AM, Stephen Harris wrote: I wanted Solaris as the Host OS so it could natively manage my disks via ZFS. Making it a guest would be pointless. Underneath that I would You know you may not find VMware server for Solaris, but there is always Xen or VirtualBox. When I was looking at this, Xen wasn't anywhere near stable enough for my liking (I did look into it, but the Xen kernel failed to boot on my test box whereas the non-Xen kernel booted fine) and VirtualBox wasn't suitable (this was before Sun took it over). Things have changed, but I don't want to rebuild now. If I ever get a new (better, stronger, faster) machine then I'll look into it again, but then maybe ZFS on Linux will be a strong contender by that point :-) -- rgds Stephen ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Hiding Files in Samba
Anne Wilson wrote: Vandaman wrote: I may need a strong shot of coffee but I though putting hide files = /~*/ as follows in the samba config file would hide files with a tilde. You mean files starting with a tilde? I expanded the selection to hide all files with a tilde. I will also setup a music share and hide .ini and .jpg files which are hidden on windows but would be displayed on the Samba share. Regards, Vandaman. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] can I use 2 HDD's with the same LVM labels at the same time?
On Mon, 2008-11-10 at 00:25 +0200, Rudi Ahlers wrote: On Mon, Nov 10, 2008 at 12:08 AM, Ignacio Vazquez-Abrams [EMAIL PROTECTED] wrote: On Sun, 2008-11-09 at 23:30 +0200, Rudi Ahlers wrote: I need to add a drive with the same LVM labels (i.e. system) to a machine with a drive with the same label. How can I access the data on both drive's LVM partitions at the same time? You can't. Use vgrename on one of them. This is what I have: [EMAIL PROTECTED]:[~]$ lvscan ACTIVE'/dev/System/root' [10.00 GB] inherit [snip] Basically, most HDD's are setup the same, but I want to add another HDD to the same server, and use data on both HDD's. So, do I rename System with vgrename then? Yes. Don't forget to edit grub.conf and fstab and recreate your initrd. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] PLEASE don't CC me; I'm already subscribed 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] [SOLVED] Problem with widescreen display
On Saturday 01 November 2008 22:08, Marko Vojinovic wrote: Basically, what I did was to run system-config-display to reconfigure for the new monitor and resolution. All goes well, but after X restarts, I see a strange picture: the resolution indeed goes to 1680x1050 as is supposed to, but is squeezed/shrinked/scaled horizontally to match a 4:3 aspect ratio, leaving two (unequal) black bands on the left and right side of the monitor. [snip] The very same hardware and virtually same X configuration work perfectly ok on FC4 [snip] Ok, just for the record, I resolved the issue, in the following way: - took the exact modeline parameters for 1680x1050 (known to work) from FC4's Xorg.0.log and copy-pasted it into CentOS's xorg.conf - also took the DisplaySize, HorizSync and VertRefresh parameters from the Fedora's log and put it into xorg.conf - Disabled the DDC (undocumented option!!!) - CRUCIAL PART !!! - took the modeline parameters for various other resolutions since without DDC nothing gets autoconfigured - restarted X Now everything works perfectly, and my hacked xorg.conf is just the default one with the following Monitor section: Section Monitor Identifier Monitor0 ModelName LCD Panel 1680x1050 # hacked DisplaySize --- note that the values are *wrong*, # monitor is actually 470x300 mm DisplaySize 370 280 HorizSync 31.5 - 90.0 VertRefresh 60.0 - 60.0 Option dpms # turned off the DDC; didn't know which option would do # the job so put them both there Option NoDDC true Option DDC false # various modelines, taken from Fedora's log: Modeline 1680x1050 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -hsync +vsync Modeline 1400x1050 122.00 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync Modeline 800x600 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync Modeline 640x480 25.20 640 656 752 800 480 490 492 525 -hsync -vsync EndSection Hopefully someone with a similar problem maybe finds this useful. ;-) Best, :-) Marko ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] re: HA Storage
Stephen Harris wrote: On Sun, Nov 09, 2008 at 08:30:42AM -0800, nate wrote: Stephen Harris wrote: ZFS is really nice. If VMware was supported on Solaris 86 then I would have built my own home server with Solaris rather than CentOS. (Although I'm not using VMware on that machine, at present; merely UserModeLinux for my protected instances). But CentOS is handling my 5*1Tbyte RAID5 OK for now :-) You know the inverse is true right? Solaris is supported on VMWare ESX(i). Though SATA disks are not officially supported by the VMFS file system in 3.x. I wanted Solaris as the Host OS so it could natively manage my disks via ZFS. Making it a guest would be pointless. Underneath that I would run a couple of smaller Linux instances (eg for internet facing services), maybe a Windows instance and so on. Have you looked at virtualbox (http://www.virtualbox.org/)? I haven't tried it myself but it looks like a match for vmware and can be hosted on solaris. -- Les Mikesell [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] re: HA Storage
On Nov 9, 2008, at 11:38 AM, Stephen Harris wrote: On Sun, Nov 09, 2008 at 08:30:42AM -0800, nate wrote: Stephen Harris wrote: ZFS is really nice. If VMware was supported on Solaris 86 then I would have built my own home server with Solaris rather than CentOS. (Although I'm not using VMware on that machine, at present; merely UserModeLinux for my protected instances). But CentOS is handling my 5*1Tbyte RAID5 OK for now :-) You know the inverse is true right? Solaris is supported on VMWare ESX(i). Though SATA disks are not officially supported by the VMFS file system in 3.x. I wanted Solaris as the Host OS so it could natively manage my disks via ZFS. Making it a guest would be pointless. Underneath that I would run a couple of smaller Linux instances (eg for internet facing services), maybe a Windows instance and so on. You know you may not find VMware server for Solaris, but there is always Xen or VirtualBox. -Ross ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] can I use 2 HDD's with the same LVM labels at the same time?
On Mon, Nov 10, 2008 at 12:08 AM, Ignacio Vazquez-Abrams [EMAIL PROTECTED] wrote: On Sun, 2008-11-09 at 23:30 +0200, Rudi Ahlers wrote: I need to add a drive with the same LVM labels (i.e. system) to a machine with a drive with the same label. How can I access the data on both drive's LVM partitions at the same time? You can't. Use vgrename on one of them. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] PLEASE don't CC me; I'm already subscribed ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos This is what I have: sh-3.2# [EMAIL PROTECTED]:[~]$ pvscan PV /dev/md1 VG System lvm2 [148.94 GB / 8.94 GB free] Total: 1 [148.94 GB] / in use: 1 [148.94 GB] / in no VG: 0 [0 ] [EMAIL PROTECTED]:[~]$ vgscan Reading all physical volumes. This may take a while... l Found volume group System using metadata type lvm2 [EMAIL PROTECTED]:[~]$ lvscan ACTIVE'/dev/System/root' [10.00 GB] inherit ACTIVE'/dev/System/swap' [4.00 GB] inherit ACTIVE'/dev/System/home' [10.00 GB] inherit ACTIVE'/dev/System/data' [20.00 GB] inherit ACTIVE'/dev/System/andrew_vmswap' [1.00 GB] inherit ACTIVE'/dev/System/andrew_rootimg' [20.00 GB] inherit ACTIVE'/dev/System/wiseguy' [11.00 GB] inherit ACTIVE'/dev/System/pluto_rootimg' [20.00 GB] inherit ACTIVE'/dev/System/wiseguy_vmswap' [1.00 GB] inherit ACTIVE'/dev/System/wiseguy_rootimg' [20.00 GB] inherit ACTIVE'/dev/System/keith_vmswap' [1.00 GB] inherit ACTIVE'/dev/System/keith_rootimg' [20.00 GB] inherit ACTIVE'/dev/System/pluto_vmswap' [2.00 GB] inherit [EMAIL PROTECTED]:[~]$ Basically, most HDD's are setup the same, but I want to add another HDD to the same server, and use data on both HDD's. So, do I rename System with vgrename then? -- Kind Regards Rudi Ahlers ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] re: HA Storage
Ross Walker wrote: You know you may not find VMware server for Solaris, but there is always Xen or VirtualBox. and xVM Server which is Sun's version of Xen, with a Solaris domU and ZFS storage management. Last I looked, Sun is on the verge of releasing a paravirtualization driver package for MS Windows, too, which would make Windows in a VM perform very well (this is roughly equivalent to VMware Tools). xVM Server is available now as part of SXCE and OpenSolaris now, and will be integrated into a future version of Solaris. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] can I use 2 HDD's with the same LVM labels at the same time?
Rudi Ahlers wrote: Basically, most HDD's are setup the same, but I want to add another HDD to the same server, and use data on both HDD's. So, do I rename System with vgrename then? If your wanting to add a new disk to the same volume group and use it then no you don't need to rename anything, you can use the vgextend command after running pvcreate on the new disk to extend the existing volume group to the new disk. If your wanting to add an existing disk to a system that already has a conflicting volume group name in it, then yes you'll need to vgrename one of them so they do not conflict. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Appliance platform
Les Mikesell wrote: Ted Miller wrote: Application (in case anyone cares): Move better-than-FM quality audio across a leased audio circuit with delay under 10 seconds. No Internet exposure. Obviously one box is required at each end, and the encoding box works much harder than the decoding box. Software to run will probably be Ices - Icecast - network - mplayer. Will be using USB audio interfaces, probably something like the M-Audio Fast Track Pro. Because of the nature of the application, once it is booted up the only disk activity is occasional logging when there is a problem with the connection. Any advice, web links, battle scars, or advice gladly accepted. Not quite a match, but maybe worth investigating the hackability: the $99 Roku box sold initially to stream Netflix but supposed to be getting other capabilities. Or for just audio, their soundbridge products that are more expensive but some include speakers. Development specs are available for the soundbridge along with source for gpl'd code included with the netflix box. Not sure about development on the netflix box, though. Might be worth $99 just to take it apart and see what's in there. This would be more interesting for the playback end (no audio input capability is visible) if this were a one-time project, but we will probably have to supply more pairs in the future, so a more stable platform is more interesting. Price is certainly right, but unlikely to hold, as they are charging $200 for their SoundBridge. Ted Miller Indiana, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Appliance platform
fred smith wrote: On Sun, Nov 09, 2008 at 12:15:05AM -0500, Ted Miller wrote: Joseph L. Casale wrote: I have a project that I need some hardware pointers for. I need to build some Centos appliances (dedicated boxes to do one thing only). Target cost is under $250/box. Given the rest of the requirements, I would say something like: http://www.mini-box.com/M200-LCD-Enclosure By the time I fully configure the box it is slightly over my target price, but given the user interaction on the front panel, I think I can live with that. Have you used this box, or others from mini-box? How about something like the Asus eeebox? Looks like it would work, but for my purposes it looks like the mini-box units fit better, and at a lower price. Ted Miller Indiana, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] only backup selected files
Thank you. How about untar? I am using -T tar cvf file.tar -T file.txt inside file.txt, eg: /var/www/html/version/abc.html /var/www/html/version/image/abc.jpg how can I untar those files into /var/www/html instead of /var/www/html/version Thank you again Robert [EMAIL PROTECTED] wrote: chloe K wrote: Hi I have number of selected files to backup and it is also in different folders How can I make it easy? eg: tar zcvf select-file.tar.gz from selected file or tar zcvf select-file.tar.gz (from selected files in file.txt)? Thank you for your help I'm sure there will be other ideas but in the absence of an include these files file option, you could employ a simple loop to append the files in a list to a tar archive. For example, if you had a file named include with these 3 records /bin/gawk /etc/fstab /etc/resolv.conf This would cause the 3 files to be archived as included.tar. [EMAIL PROTECTED] ~]$ while read inc ; do echo including: $inc ; tar -v -r $inc -f included.tar ; done include Just to be sure [EMAIL PROTECTED] ~]$ tar -tvf included.tar -rwxr-xr-x root/root 320416 2007-03-14 09:48:15 bin/gawk -rw-r--r-- root/root 874 2008-09-23 09:53:40 etc/fstab -rw-r--r-- root/root 135 2008-08-21 21:18:43 etc/resolv.conf [EMAIL PROTECTED] ~]$ The real challenge here is to compile the include file correctly. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos - All new Yahoo! Mail - Get a sneak peak at messages with a handy reading pane.___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Hwinfo
On Sun, 9 Nov 2008, jarmo wrote: Has anyone info about package hwinfo for Centos, rhel, fedora? Nice piece of commandline tools. I tried, but hwinfo is very SuSE specific. -- -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Appliance platform
Les Mikesell wrote: Ted Miller wrote: Les Mikesell wrote: Ted Miller wrote: Application (in case anyone cares): Move better-than-FM quality audio across a leased audio circuit with delay under 10 seconds. No Internet exposure. Obviously one box is required at each end, and the encoding box works much harder than the decoding box. Software to run will probably be Ices - Icecast - network - mplayer. Will be using USB audio interfaces, probably something like the M-Audio Fast Track Pro. Because of the nature of the application, once it is booted up the only disk activity is occasional logging when there is a problem with the connection. Any advice, web links, battle scars, or advice gladly accepted. Not quite a match, but maybe worth investigating the hackability: the $99 Roku box sold initially to stream Netflix but supposed to be getting other capabilities. Or for just audio, their soundbridge products that are more expensive but some include speakers. Development specs are available for the soundbridge along with source for gpl'd code included with the netflix box. Not sure about development on the netflix box, though. Might be worth $99 just to take it apart and see what's in there. This would be more interesting for the playback end (no audio input capability is visible) if this were a one-time project, but we will probably have to supply more pairs in the future, so a more stable platform is more interesting. Price is certainly right, but unlikely to hold, as they are charging $200 for their SoundBridge. The netflix box is new hardware - and there doesn't seem to be much reason for promotional pricing. They claim that they will release an SDK soon for anyone who wants to generate their own channel (but not opensource the box itself). But as long as you can send some standard-protocol stream, why worry about matching the hardware? According to their FAQ the only standard-protocol stream it understands is Windows Media formatted files from Netflix content servers, and according to the manual they are using Macrovision DRM software to control access. That kind of approach is not compatible with the project I am working on. We will encode with MP3, Ogg, or FLAC among other possibilities. A sip speakerphone might even work as an endpoint. This is not to play background music at somebody's desk. This application literally puts a company out of business any time it is not working. It has to recover automatically and immediately following the removal of every possible problem that would interrupt the audio stream. It will eventually be equipped with a USB drive full of MP3 material so be a temporary substitute in case the main audio source is lost. Once I go to the work to get it right, I don't have the time to go back and rework it every time a consumer-type platform does a revision. I want something that I can get working and know that six months from now, when I get a request for another system, I can order the hardware, program it up, and send it out the door. Here's an interview with the roku CEO: http://www.youtube.com/watch?v=7z3zUCiELcI At the moment Firefox doesn't feel like playing any Flash, so I can't see this. The chumby is probably more hackable, but it already plays network streams. Same problems with persistence in the face of obstacles. My guess is that if the stream ends the Chumby is quite content to sit there silently. Ted Miller Indiana, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Appliance platform
Les Mikesell wrote: Les Mikesell wrote: Ted Miller wrote: Application (in case anyone cares): Move better-than-FM quality audio across a leased audio circuit with delay under 10 seconds. No Internet exposure. Obviously one box is required at each end, and the encoding box works much harder than the decoding box. Software to run will probably be Ices - Icecast - network - mplayer. Will be using USB audio interfaces, probably something like the M-Audio Fast Track Pro. Because of the nature of the application, once it is booted up the only disk activity is occasional logging when there is a problem with the connection. Any advice, web links, battle scars, or advice gladly accepted. Not quite a match, but maybe worth investigating the hackability: the $99 Roku box sold initially to stream Netflix but supposed to be getting other capabilities. Or for just audio, their soundbridge products that are more expensive but some include speakers. Development specs are available for the soundbridge along with source for gpl'd code included with the netflix box. Not sure about development on the netflix box, though. Might be worth $99 just to take it apart and see what's in there. Or this: perhaps a little too cutesy, but... http://www.chumby.com/ Cute little thing. Would probably work, but I have my doubts whether it would come back to life after a power failure, persistently retry an interrupted connection, etc, and with an ARM inside, I have no idea how hackable it would be. An interesting hardware platform, if it is programmable. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] can I use 2 HDD's with the same LVM labels at the same time?
On Sun, 2008-11-09 at 23:30 +0200, Rudi Ahlers wrote: I need to add a drive with the same LVM labels (i.e. system) to a machine with a drive with the same label. How can I access the data on both drive's LVM partitions at the same time? You can't. Use vgrename on one of them. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] PLEASE don't CC me; I'm already subscribed signature.asc Description: This is a digitally signed message part ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] can I use 2 HDD's with the same LVM labels at the same time?
Hi all, I need to add a drive with the same LVM labels (i.e. system) to a machine with a drive with the same label. How can I access the data on both drive's LVM partitions at the same time? -- Kind Regards Rudi Ahlers ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos