[CentOS] Home LAN server - dnsmasq
Hello all, I'm testing a home LAN server inside Virtualbox - figured it'd be easier to build (and fix) things inside a virtual sandbox first, and then migrate over to a physical install once I have most of the kinks worked out. The host OS is Windows Vista; the guest OS will be various Linux distributions for education/entertainment purposes. First, a little explanation on the 'lay of the land': The first virtual machine is a gateway/router box running CentOS 5.4. The 'outward' facing NIC is eth0, and it picks up an IP through the NAT interface provided by Virtualbox. That part seems to be working fine at the moment. The VM has CentOS 5.4 installed, downloaded and installed updates, and can browse the web, etc. The 'internal' network adapter (eth1) is connected to a virtual LAN 'intnet' that is otherwise not accessible from the 'outside' world at this point. It has a static IP assigned (10.0.0.1/255.255.255.0), and dnsmasq is running. Here is the contents of /etc/dnsmasq.conf: domain-needed bogus-priv filterwin2k except-interface=eth0 dhcp-range=10.0.0.50,10.0.0.100,1h dhcp-host=asmodean dhcp-host=demandred dhcp-host=lanfear dhcp-authoritative conf-dir=/etc/dnsmasq.d and here is the contents of /etc/hosts: 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 10.0.0.1rahvin.localrahvin 10.0.0.2asmodean.local asmodean 10.0.0.3demandred.local demandred 10.0.0.4lanfear.local lanfear What I *want* to happen is to be able to give a fixed dhcp lease to a client that sends a particular name from /etc/hosts - that way I just have to maintain /etc/hosts on the gateway/router box for local DNS, and I don't have to fiddle around finding and recording and entering the MAC addresses for each network card on each machine (actually easier on a 'virtual' lan than in real life, but still a minor PITA). I got the idea from this clause in the original dnsmasq.conf file: # Enable the address given for "judge" in /etc/hosts # to be given to a machine presenting the name "judge" when # it asks for a DHCP lease. #dhcp-host=judge The specific problem I'm having is that of the virtual 'clients', only one of them is getting assigned an IP address from the list in /etc/hosts. 'asmodean', running Ubuntu 9.10 gets its IP address of 10.0.0.2 as planned. The other two, demandred (running F12+LXDE) and lanfear (running Debian 5.03 Lenny), get randomly assinged IP addresses from the pool defined in dnsmasq.conf (10.0.0.50-10.0.0.100) like one would normally expect for a *dynamically* assigned lease. Except I wanted them to get fixed leases based on /etc/hosts. I've looked at most everything I can think of on both hosts... it doesn't seem to much matter if I set the hostname to 'demandred.local' or just 'demandred'. I'm not sure how to tell if the clients are sending that information in their requests? Any other ideas or suggestions? I realize the problem may not be strictly with the CentOS box, but any help would be greatly appreciated. TIA, Monte ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Deleting contents of /tmp on shutdown
On Sun, Dec 13, 2009 at 03:17:37AM +, Geerd-Dietger Hoffmann wrote: > > I would make it a little bigger as 100M depending on how much memory > you have. And the mode should be the same as /tmp would normally be => > mode=777 :) /tmp is 1777 by default. John -- It has to be said, we must all own up that without Les Paul, generations of flash little punks like us would be in jail or cleaning toilets. This man, by his genius, made the road that we still travel today. I don't know how he did it, but I'm so grateful he did. -- Stones guitarist Keith Richards pgp03lXTYCEsC.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Deleting contents of /tmp on shutdown
On Sun, Dec 13, 2009 at 3:10 AM, Thomas Dukes wrote: >> > Today, I found upd.pl in my tmp directory. The date was oct 09. I >> > also found my /etc/passwd and /etc/shadow had been changed >> with a user >> > of 0Profile added. I deleted the old files and restored those from >> > backup. I ran my chkrootkit and installed mod_security. >> SSH is not >> > running so I don't know how this happened. >> >> Perhaps your system is not as simple as you think it is. ;-/ >> >> --keith > > > Thanks, Keith! > > Guess I'd better brush up on my vi commands in case I have to boot from a > rescue disk. :-) All you need is [Esc]q! :) > > Just guessing here, but to do this, I need to add: > > tmpfs /tmp tmpfs size=100M,mode=0755 0 0 > To my /etc/fstb and cross my fingers? I would make it a little bigger as 100M depending on how much memory you have. And the mode should be the same as /tmp would normally be => mode=777 :) If you have been hacked, like it seams you have, you should first find out how the guy got in. Do you have a webserver running? Firewall enabled? Then just to be safe I would always reinstall as you never know what he might have done. Then you can modify the tmp in fstab Cheers Didi -- My www page: www.ribalba.de Email / Jabber: riba...@gmail.com Skype : ribalba ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Deleting contents of /tmp on shutdown
> -Original Message- > From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On Behalf Of Keith Keller > Sent: Saturday, December 12, 2009 9:19 PM > To: CentOS mailing list > Subject: Re: [CentOS] Deleting contents of /tmp on shutdown > > On Sat, Dec 12, 2009 at 07:35:51PM -0500, Thomas Dukes wrote: > > > > Thanks for the link. It's a little over my head though. > > No it isn't. The main thing you need is > > mount -t tmpfs -o size=100M,mode=0755 tmpfs > /var/www/www.example.com/cache > > You would adjust size to be the size of the vmdisk you want, > and adjust /var/www... to be /tmp. If you want this on boot, > put the appropriate entry into /etc/fstab: > > tmpfs /var/www/www.example.com/cache tmpfs size=100M,mode=0755 0 0 > > (same adjustments here) > > > Today, I found upd.pl in my tmp directory. The date was oct 09. I > > also found my /etc/passwd and /etc/shadow had been changed > with a user > > of 0Profile added. I deleted the old files and restored those from > > backup. I ran my chkrootkit and installed mod_security. > SSH is not > > running so I don't know how this happened. > > Perhaps your system is not as simple as you think it is. ;-/ > > --keith Thanks, Keith! Guess I'd better brush up on my vi commands in case I have to boot from a rescue disk. :-) Just guessing here, but to do this, I need to add: tmpfs /tmp tmpfs size=100M,mode=0755 0 0 To my /etc/fstb and cross my fingers? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.4 - Problem with Enumeration of NICs
> As I recall my solution was to comment out the modprobe alias created > for the network cards (/etc/modprobe.conf) and then in > network-scripts, use the HWADDR in each config script. Make sure the > device=ethX matches the name of the file, if nothing else, for your > own sanity - since the OS checks that line, and does not care what the > file is named. > > Thank you for your answer. I will look it up. I found this useful article: Linux Enumeration of NICs http://linux.dell.com/files/whitepapers/nic-enum-whitepaper-v4.pdf The author, a Dell employee, made a script to automate the process of ordering the NICs. He also gives tips to manually solve this recurring problem. Regards Miguel ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] moving from live partitions to raid1 on an eserver
I have a qtp (qmail toaster plus) machine on an ibm 326 eserver that has 2 sata 250GB drives. The problem I have is that when the Os was installed I thought I had hardware raid on but to my avail the Os assumed to drives an installed accordingly. Here is what df has for the partitions. # df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sdb1240362656 17843040 210309816 8% / /dev/sda1 101086 11843 84024 13% /boot none 2047316 0 2047316 0% /dev/shm I need a raid in place on this machine. This is a live machine but I do have a lab machine to break. I really need to move this in a live fashion without losing the data of course I have complete backups to start a new if need be but it would be nice to be able to make the change and have raid1 in place to have a some better redundancy. I guess what I am asking what are the basic steps and what warnings to look for? Thanks --Dave ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Deleting contents of /tmp on shutdown
On Sat, Dec 12, 2009 at 07:35:51PM -0500, Thomas Dukes wrote: > > Thanks for the link. It's a little over my head though. No it isn't. The main thing you need is mount -t tmpfs -o size=100M,mode=0755 tmpfs /var/www/www.example.com/cache You would adjust size to be the size of the vmdisk you want, and adjust /var/www... to be /tmp. If you want this on boot, put the appropriate entry into /etc/fstab: tmpfs /var/www/www.example.com/cache tmpfs size=100M,mode=0755 0 0 (same adjustments here) > Today, I found upd.pl in my tmp directory. The date was oct 09. I also > found my /etc/passwd and /etc/shadow had been changed with a user of > 0Profile added. I deleted the old files and restored those from backup. I > ran my chkrootkit and installed mod_security. SSH is not running so I don't > know how this happened. Perhaps your system is not as simple as you think it is. ;-/ --keith -- kkel...@speakeasy.net ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.4 - Problem with Enumeration of NICs
On Sat, Dec 12, 2009 at 6:01 PM, Miguel Medalha wrote: > I want to manually assign a ID to the cards and let them keep it forever. > Will the manual entry of the HWADDR=/ /parameter in the ifcfg-eth > files fix this for good or will it be overrided by some other component > of the OS? Miguel, I just went through this a few weeks ago myself. If you want to check the archives, I believe the subject was something like "nic order, again" As I recall my solution was to comment out the modprobe alias created for the network cards (/etc/modprobe.conf) and then in network-scripts, use the HWADDR in each config script. Make sure the device=ethX matches the name of the file, if nothing else, for your own sanity - since the OS checks that line, and does not care what the file is named. Good luck! Gordon ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Deleting contents of /tmp on shutdown
> -Original Message- > From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On Behalf Of Larry Brower > Sent: Saturday, December 12, 2009 6:47 PM > To: CentOS mailing list > Subject: Re: [CentOS] Deleting contents of /tmp on shutdown > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Thomas Dukes wrote: > > >> > >> I have the /tmp in memory, which effectively deletes everything on > >> reboot. Maybe another solution? > >> > >> Cheers Didi > > > > Hi Didi, > > > > I read that was an option also. How would I move my /tmp to RAM? > > > > TIA > > > > ___ > > CentOS mailing list > > CentOS@centos.org > > http://lists.centos.org/mailman/listinfo/centos > > +1 for tmpfs :) > > Heres an example: > > http://www.howtoforge.com/storing-files-directories-in-memory- > with-tmpfs > > Thanks for the link. It's a little over my head though. I run a simple system that requires very little involvement on my part. Today, I found upd.pl in my tmp directory. The date was oct 09. I also found my /etc/passwd and /etc/shadow had been changed with a user of 0Profile added. I deleted the old files and restored those from backup. I ran my chkrootkit and installed mod_security. SSH is not running so I don't know how this happened. I'm running CentOS 5.4 and everyone should check their system!! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Deleting contents of /tmp on shutdown
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas Dukes wrote: >> >> I have the /tmp in memory, which effectively deletes >> everything on reboot. Maybe another solution? >> >> Cheers Didi > > Hi Didi, > > I read that was an option also. How would I move my /tmp to RAM? > > TIA > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos +1 for tmpfs :) Heres an example: http://www.howtoforge.com/storing-files-directories-in-memory-with-tmpfs -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJLJCtyAAoJEJgMwfbkYL1RUlIQAIF3TrtIqEnWPaXmkiyml5uq mMLDM22i6cpvqp5XbkSyS7PJXBEBfn9GfNeEYF+H9KBldyjDbVNpxsIzhkSGDoFQ JsZqnh7BZyIvfOLsoxk9bjj8UHldfLKw3h7n/JJ6lFUhk16GgZFeZBqanY3osvFJ REASuLaMIcDso6LOA9Ckq6kJOy2SBrc5JD9UWxvjp6a1FnkwxFoBEJGsiC1zicU9 1nWy0EwcTPLKCSnAy11uX+VBCjUOg7lMMspN0p8N0PmHoZcPdY9M1wftFZ2jX1VL OAGB5z34REmgyEHr/8k1G4f/Rm7tzbEKgmxXM2bc5CASs7t+kNYrqjk+uuGMyP0z K3uIQjGn+gqsvU0FzNGc7iWuVupyzrpJECkkT8CvORjmUuskgpeZpmp7gum+knVp mgdoqv/We8gBBEt3Myvq6tlv38iCEIlJomaca2HHytSjie58FbS9QBPWrmJo0RBd 5T2xiBI3pbl0mh0bIkdIY90cVLYuBE6wflV49F2ZW5kdNeLtDOCgv5ihTdNs5iHt EoMrFdyx4W6znpP2TeToGmKZndXobHpS5pm2bvZjAX2IbWWVd+eZ1MiF/c9GzyMW tUNLoEgzLfLCU+tPumxaZwo/f1iK+7cyw8uzk6NDc1zoV/bJI8erbgwIYz/hzcAb rgnLjFR2c71oiox2/BOK =7pPE -END PGP SIGNATURE- smime.p7s Description: S/MIME Cryptographic Signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 5.4 - Problem with Enumeration of NICs
I just made a new CentOS 5.4 installation. The machine has an Intel 10/100 and an Intel GB on board, and a Broadcom GB card on a PCI-X (64 bit) slot. After the install finished, I noticed that the order and naming of the Ethernet interfaces is totally screwed up. Under Network Manager, the Intel GB card shows the MAC address of the Broadcom and vice-versa. As a consequence, none of them works. When I push the Probe button, they show each other's MAC Adress. The names of the devices do not correspond to the names of the interfaces. If I correct the problem by manually editing the configuration files, they MAY get wrong again upon reboot. Only the 10/100 interface stays put. After a remote reboot for kernel update, I just lost connection with the machine, so I guess it happened again. This NEVER happened with CentOS 5.2 or 5.3 on the same machine. I want to manually assign a ID to the cards and let them keep it forever. Will the manual entry of the HWADDR=/ /parameter in the ifcfg-eth files fix this for good or will it be overrided by some other component of the OS? Thank you. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Deleting contents of /tmp on shutdown
> -Original Message- > From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On Behalf Of Geerd-Dietger Hoffmann > Sent: Saturday, December 12, 2009 5:22 PM > To: CentOS mailing list > Subject: Re: [CentOS] Deleting contents of /tmp on shutdown > > On Sat, Dec 12, 2009 at 10:05 PM, Thomas Dukes > wrote: > > > > > >> -Original Message- > >> From: centos-boun...@centos.org > >> [mailto:centos-boun...@centos.org] On Behalf Of Keith Keller > >> Sent: Saturday, December 12, 2009 4:50 PM > >> To: CentOS mailing list > >> Subject: Re: [CentOS] Deleting contents of /tmp on shutdown > >> > >> On Sat, Dec 12, 2009 at 02:33:33PM -0500, Thomas Dukes wrote: > >> > I use to have a line of code in /etc/init.d/syslog (I think > >> this was > >> > the > >> > file) to delete the contents of my /tmp directory on shutdown. > >> > >> In /etc/init.d/syslog? That seems like a bad place to put > it, even > >> if it does check (as I assume it must have) the current > runlevel, and > >> only deletes in runlevels [016] or [06]; if it gets killed > too early, > >> you could delete a file from /tmp that is needed to > cleanly kill off > >> a subsequent process. > >> > >> /etc/init.d/halt calls /sbin/halt.local, which might be a > good place, > >> except that it's already umounted nonessential filesystems > by then, > >> so if you have /tmp on a different fs putting it there > won't work. > >> (You could mount it from halt.local, clean it, then umount it, but > >> that seems extremely kludgy.) You could write your own > simple script > >> and link it in /etc/rc[06].d/ to run after S00killall but before > >> S01halt or S01reboot. > >> (It is not clear to me whether enough processes are killed > off that > >> cleaning /tmp is safe here; might be worth testing in a > noncritical > >> environment > >> first.) > >> > >> --keith > > > > As I said, I think that was were the code was added. Just > not really sure. > > I remember the files were deleted on shutdown/reboot. > > > > Been reading and have seen it may be better to delete the tmp > > directory files on boot before any services start. What do > you think? > > I have the /tmp in memory, which effectively deletes > everything on reboot. Maybe another solution? > > Cheers Didi Hi Didi, I read that was an option also. How would I move my /tmp to RAM? TIA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Deleting contents of /tmp on shutdown
On Sat, Dec 12, 2009 at 10:05 PM, Thomas Dukes wrote: > > >> -Original Message- >> From: centos-boun...@centos.org >> [mailto:centos-boun...@centos.org] On Behalf Of Keith Keller >> Sent: Saturday, December 12, 2009 4:50 PM >> To: CentOS mailing list >> Subject: Re: [CentOS] Deleting contents of /tmp on shutdown >> >> On Sat, Dec 12, 2009 at 02:33:33PM -0500, Thomas Dukes wrote: >> > I use to have a line of code in /etc/init.d/syslog (I think >> this was >> > the >> > file) to delete the contents of my /tmp directory on shutdown. >> >> In /etc/init.d/syslog? That seems like a bad place to put >> it, even if it does check (as I assume it must have) the >> current runlevel, and only deletes in runlevels [016] or >> [06]; if it gets killed too early, you could delete a file >> from /tmp that is needed to cleanly kill off a subsequent process. >> >> /etc/init.d/halt calls /sbin/halt.local, which might be a >> good place, except that it's already umounted nonessential >> filesystems by then, so if you have /tmp on a different fs >> putting it there won't work. (You could mount it from >> halt.local, clean it, then umount it, but that seems >> extremely kludgy.) You could write your own simple script >> and link it in /etc/rc[06].d/ to run after S00killall but >> before S01halt or S01reboot. >> (It is not clear to me whether enough processes are killed >> off that cleaning /tmp is safe here; might be worth testing >> in a noncritical environment >> first.) >> >> --keith > > As I said, I think that was were the code was added. Just not really sure. > I remember the files were deleted on shutdown/reboot. > > Been reading and have seen it may be better to delete the tmp directory > files on boot before any services start. What do you think? I have the /tmp in memory, which effectively deletes everything on reboot. Maybe another solution? Cheers Didi -- My www page: www.ribalba.de Email / Jabber: riba...@gmail.com Skype : ribalba ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How do I link to custom libs without affecting system libs (LD_LIBRARY_PATH)
Chris Morley wrote: > Hi, i am getting an issue with rtorrent that is related to my curl libaries. > > In summary it requires a later curl libary than CentOS 5.4 uses for its > system files (CentOS uses curl libs version 7.15.5, rtorrent requires 7.19.2 > or greater). > > To get around this I would like to download the latest curl version and > compile and link to rtorrent without affecting system files. > > How can i statically link the latest Curl libs to my rtorrent build? I belive > its to do with LD_LIBRARY_PATH but i am not sure howto proceed: > > wget http://curl.haxx.se/download/curl-7.19.7.tar.gz > cd curl-7.19.7./configuremakemake install > > The above make install would overwrite or upgrade the existing curl, worried > about breaking existing system! > no, static linking has NOTHING to do with LD_LIBRARY_PATH. actually, you don't even need a static link here, just link it against the alternate libcurl.so that you put in an alternate path. for instance, build your new curl library to live somewhere like /usr/locall/curl/lib, then specify this as a -L argument to the link of your rtorrent, which likely is built to install to /usr/local/bin or such. depending on how rtorrent's build works, this could be a simple argument to the ../configure, like --path-libcurl=/usr/local/curl/lib ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Deleting contents of /tmp on shutdown
> -Original Message- > From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On Behalf Of Keith Keller > Sent: Saturday, December 12, 2009 4:50 PM > To: CentOS mailing list > Subject: Re: [CentOS] Deleting contents of /tmp on shutdown > > On Sat, Dec 12, 2009 at 02:33:33PM -0500, Thomas Dukes wrote: > > I use to have a line of code in /etc/init.d/syslog (I think > this was > > the > > file) to delete the contents of my /tmp directory on shutdown. > > In /etc/init.d/syslog? That seems like a bad place to put > it, even if it does check (as I assume it must have) the > current runlevel, and only deletes in runlevels [016] or > [06]; if it gets killed too early, you could delete a file > from /tmp that is needed to cleanly kill off a subsequent process. > > /etc/init.d/halt calls /sbin/halt.local, which might be a > good place, except that it's already umounted nonessential > filesystems by then, so if you have /tmp on a different fs > putting it there won't work. (You could mount it from > halt.local, clean it, then umount it, but that seems > extremely kludgy.) You could write your own simple script > and link it in /etc/rc[06].d/ to run after S00killall but > before S01halt or S01reboot. > (It is not clear to me whether enough processes are killed > off that cleaning /tmp is safe here; might be worth testing > in a noncritical environment > first.) > > --keith As I said, I think that was were the code was added. Just not really sure. I remember the files were deleted on shutdown/reboot. Been reading and have seen it may be better to delete the tmp directory files on boot before any services start. What do you think? Thanks, Eddie ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Deleting contents of /tmp on shutdown
On Sat, Dec 12, 2009 at 02:33:33PM -0500, Thomas Dukes wrote: > I use to have a line of code in /etc/init.d/syslog (I think this was the > file) to delete the contents of my /tmp directory on shutdown. In /etc/init.d/syslog? That seems like a bad place to put it, even if it does check (as I assume it must have) the current runlevel, and only deletes in runlevels [016] or [06]; if it gets killed too early, you could delete a file from /tmp that is needed to cleanly kill off a subsequent process. /etc/init.d/halt calls /sbin/halt.local, which might be a good place, except that it's already umounted nonessential filesystems by then, so if you have /tmp on a different fs putting it there won't work. (You could mount it from halt.local, clean it, then umount it, but that seems extremely kludgy.) You could write your own simple script and link it in /etc/rc[06].d/ to run after S00killall but before S01halt or S01reboot. (It is not clear to me whether enough processes are killed off that cleaning /tmp is safe here; might be worth testing in a noncritical environment first.) --keith -- kkel...@speakeasy.net pgpyHGrV4zYRm.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] How do I link to custom libs without affecting system libs (LD_LIBRARY_PATH)
Hi, i am getting an issue with rtorrent that is related to my curl libaries. In summary it requires a later curl libary than CentOS 5.4 uses for its system files (CentOS uses curl libs version 7.15.5, rtorrent requires 7.19.2 or greater). To get around this I would like to download the latest curl version and compile and link to rtorrent without affecting system files. How can i statically link the latest Curl libs to my rtorrent build? I belive its to do with LD_LIBRARY_PATH but i am not sure howto proceed: wget http://curl.haxx.se/download/curl-7.19.7.tar.gz cd curl-7.19.7./configuremakemake install The above make install would overwrite or upgrade the existing curl, worried about breaking existing system! Many thanks in advance, Chris _ View your other email accounts from your Hotmail inbox. Add them now. http://clk.atdmt.com/UKM/go/186394592/direct/01/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] yum quit working in CentOS 5.4 x86_64
Have been running 5.4 x86_64 for a couple of months now. Every once in a while, I would get a notice that updates were available. It appears that about 3 weeks ago, yum stopped notifying me of updates. Over that time, I've manually done a 'yum update' from a command line, with an output that there are no updates. I know this cannot be true, because I watch the 'centOS-announce Digest' messages come through and see that there are updates for my installation. I tried 'yum clean all' followed by another 'yum update' and still no updates are listed as available. I have the priorities plugin installed and here is the output I get: [r...@desk ~]# yum update Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile * addons: ftp.lug.udel.edu * base: mirror.rackspace.com * centosplus: mirrors.netdna.com * extras: ftp.lug.udel.edu * rpmforge: fr2.rpmfind.net * updates: mirrors.adams.net 598 packages excluded due to repository priority protections Setting up Update Process No Packages marked for Update [r...@desk ~]# Here is the contents of CentOS-Base.repo: [r...@desk yum.repos.d]# cat CentOS-Base.repo # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other mirrors. # # If the mirrorlist= does not work for you, as a fall back you can try the # remarked out baseurl= line instead. # # [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch= $basearch&repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 priority=1 #released updates [updates] name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch= $basearch&repo=updates #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 priority=1 #packages used/produced in the build but not released [addons] name=CentOS-$releasever - Addons mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch= $basearch&repo=addons #baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 priority=1 #additional packages that may be useful [extras] name=CentOS-$releasever - Extras mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch= $basearch&repo=extras #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 priority=1 #additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch= $basearch&repo=centosplus #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 priority=2 #contrib - packages by Centos Users [contrib] name=CentOS-$releasever - Contrib mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch= $basearch&repo=contrib #baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/ enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 priority=2 [r...@desk yum.repos.d]# What is wrong? DaveM ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Firewall for virtual machines
On Sat, Dec 12, 2009 at 4:31 AM, Kai Schaetzl wrote: > Mhr wrote on Fri, 11 Dec 2009 13:50:27 -0800: > > Yes, using ZA is a bad idea. XP has its own firewall which is enabled by > default if you are patched up-to-date. Keep that on. > Now you've sparked my curiosity - how is the XP firewall any better than ZA? Also, in regard to other answers I've seen on the list, since I'm using NAT, isn't another firewall just a waste? Thanks. mhr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Deleting contents of /tmp on shutdown
I use to have a line of code in /etc/init.d/syslog (I think this was the file) to delete the contents of my /tmp directory on shutdown. It originally came from fedora. I have searched for it but can't find it again. Anyone happen to have it? TIA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Firewall for virtual machines
Mhr wrote on Fri, 11 Dec 2009 13:50:27 -0800: > would it be a bad idea (or a complete waste) > to use a firewall, like ZoneAlarm, on my Windows guest OS? Yes, using ZA is a bad idea. XP has its own firewall which is enabled by default if you are patched up-to-date. Keep that on. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Red Hat commercial support for CentOS/Fedora
At Fri, 11 Dec 2009 23:10:02 -0800 CentOS mailing list wrote: > > > > Someone told me that if you have a CentOS or Fedora server, you can pay a > Red Hat yearly fee and get them to support it (because the environments are > so similar). > > Can anyone here substantiate this claim? If you A) need commercial support and B) need an 'enterprise' O/S, then you can pay RedHat for RHEL, which includes support. RedHat won't provide commercial support for either CentOS or Fedora Core. CentOS and RHEL are pretty much the *same* environment (binary equivelant -- CentOS has just been de-branded and the few non open-source packages removed). Fedora Core is not that same -- it is more like a beta-testbed for RHEL/CentOS and is stricky community supported. > > MIME-Version: 1.0 > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > > -- Robert Heller -- 978-544-6933 Deepwoods Software-- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows hel...@deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos