Re: [CentOS] Systemd spends 6 min. to startup a host
On 10/03/2015 07:47 PM, C.L. Martinez wrote: Hi all, [...] Are not supposed that systemd startups hosts more faster?? ts.centos.org/mailman/listinfo/centos I think you misunderstand: systemd has a dependency management between services, that could make the boot faster. Speeding up the boot was not the goal, it's an effect. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clamav / EXIM on Centos 7
On 08/25/2015 04:16 PM, Gary Stainburn wrote: connect to UNIX socket (/var/run/clamd.exim/clamd.sock): No such file If you try to locate that file, do you find it somewhere? When you list services (units) and grep with clamav, do you find some? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clamav / EXIM on Centos 7
On 08/25/2015 04:36 PM, Gary Stainburn wrote: so I've edited that file to comment out the 'example' line. In here it defines the socket as /var/run/clamav-milter/clamav-milter.socket However, after saving this file the service still fails to start and the socket still doesn't exist Does the directory /var/run/clamav-milter/ exist and is it traversable and writable by the clamav user is running as? Socket creation mostly doesnt include recursive operation (creating the directory) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Nagios, getting started
On 06/22/2015 01:04 PM, Rob Kampen wrote: Hi List, I have noted a number of times, various comments on this list about Nagios, hence my questions. just been employed by an ISP and they want to upgrade their fairly extensive nagios monitoring. Just for information, Nagios has been forked by some, for several reasons. https://www.icinga.org/ http://shinken-monitoring.org/ I recommend you check the history in order to have the background. They are mostly an ubuntu lts shop, so 1st question What advantages does the RH/CentOS world have (if any?) over the ubuntu LTS world? There is a famous quote: If ain't broke, dont fix it https://en.wiktionary.org/wiki/if_it_ain't_broke,_don't_fix_it If you have documentation, plugins, configuration all working with some flavor of a distribution, ease your work. They are talking about running the server on a vm, as I have no experience with this tool, is that appropriate? or does it really need some hardware resources to function properly? If a vm is okay, what kind of RAM does it need? We run our monitoring tools (Nagios, Collectd, Munin,...) all on VMs. It is ideologically OK to run this kind of service on a VM. About ressources, VM are extensible: begin with small ressources, extend when needed. I see epel has nagios 3.5.1 with a date of 2013 for CentOS7 along with plugins, is this the version folk use? - as the latest from nagios is 4.0.8 I am under orders to use packages and not compile, a viewpoint I endorse. Are there other repos folk use? Packaging has advantages and drawbacks. On the other hand, packages are built from compiling sources. Some repos can be trusted for their packages quality, but some others might be personnal repos that might work only for the packager use case. Some repos are listed on the CentOS website: http://wiki.centos.org/AdditionalResources/Repositories Using a 3rd party repo requires some investigation. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Virtualization
On 06/17/2015 09:54 AM, Alessandro Baggi wrote: Also ESX(i) is not CentOS related but is included in this post. And what about oVirt? MMmmm, I really thought ESX was in some way a RHEL derivative but when reading http://www.v-front.de/2013/08/a-myth-busted-and-faq-esxi-is-not-based.html it is clearly not... Anyway, I learnt a new thing today ;-) oVirt, in my opinion, is a bit harder to implement: basic usage seems to require at least 2 servers, according to http://www.ovirt.org/Quick_Start_Guide#Prerequisites There is an oVirt mailing list where you can ask specific questions: http://www.ovirt.org/Mailing_lists I would add XenServer to the list, which is currently my favorite, BUT it misses a Linux management interface http://xenserver.org/overview-xenserver-open-source-virtualization/source-code.html (I let you read what is the upstream ;-) ) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Virtualization
On 06/17/2015 11:10 AM, John R Pierce wrote: regardless of all that noise, in RHEL and therefore CentOS, KVM is the preferred and best supported hypervisor. I dont catch your point. The OP was wide enough in his question in order to allow that discussion. Anyway, I'll add one point: compatibility. In our example, we were heavily using VMware ESX and its VM format (at export) is not really supported for import by known solution. We ended at keeping old VMWare VMs on ESX and new ones on XenServer. Have you got any tool that could satisfy a vmdk to some more friandly format migration? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Virtualization
On 06/17/2015 04:52 PM, Lamar Owen wrote: But to address the direct question of the OP, I use KVM for many things, but I have older hardware in quantity on which I'll likely run Xen4CentOS with paravirtualized guests, Is not LXC an alternative for such situation? Simpler, fully integrated to libvirt,... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] nmcli, pppoe (ADSL login and password)
Hi all, My target is: CentOS 7 on a X less gateway My internet provider provides a pppoe connection with a login and a password On CentOS6, I used to setip it up with rp-pppoe wizzard and it works: it sets up the needed things to make the network init script launch the connection at boot. I would like to learn how to do it with NM and CentOS 7. How to invoke nmcli in order to have it connected at boot? Thank you. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] C7 systemd and network configuration
Hi all, I used to manage network through /etc/sysconfig/network-scripts/ifcfg-* Most of my use case are vlans (ie: eth0.1) an aliases (ie: eth1:3) My context in headless VMs (no DE, no Xorg, no GUI) With CentOS7 and systemd: is it still managed with /etc/sysconfig/network-scripts/ifcfg-* ? For the mount component, I found that systemd kind of sources /etc/fstab and converts it to something for it (so, no worry about fstab), but how about networking? Thanks. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C7 systemd and network configuration
On 04/21/2015 04:54 PM, Jonathan Billings wrote: On Tue, Apr 21, 2015 at 03:46:52PM +0200, Dennis Jacobfeuerborn wrote: Networking isn't really controlled by systemd but by NetworkManager. I usually just yum remove NetworkManager* and then everything works just as it did in CentOS 6. Note: NetworkManager is in CentOS6 too, and is part of the default workstation install. The NM in CentOS7 is a bit more polished than the NM in CentOS6, but it is configured in the same way, using files in /etc/sysconfig/network-scripts/ (using the ifcfg-rh NetworkManager plugin). In both cases, you can remove NM and use the 'network' service instead. This is the information I needed: ... using files in /etc/sysconfig/network-scripts/... Looking furter I found https://access.redhat.com/discussions/644133 where I can read: What is the preferred method for changing an interface's setttings? Previously, editing /etc/sysconfig/network-scripts/ifcfg-xxx then service network restart did the trick. On RHEL 7, after editing the ifcfg file, nothing short of a reboot seems to get it to use that config. I've tried service network restart I've tried systemctl restart network.service as well as systemctl stop network.service followed by systemctl start network.service Those don't seem to actually do anything. I need to reboot to get the new config to work. Then answered by Ryan Sawhill : A little late, but the command you're missing (if you're using NM) is: * |nmcli connection reload| Which can be shortened to: * |nmcli c r| That will reload the ifcfg files after manual edits. From there if you want to re-up a connection whose file you changed, you need to manually do so with another |nmcli connection| command, e.g.: * |nmcli c up System eno1| Note that you don't actually need to take an interface down first, like in the old days (e.g., with |ifdown eth0| followed by |ifup eth0|). Thanks for all. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] error building php spec file
On 03/24/2015 05:38 PM, Tim Dunphy wrote: I'm using CentOS 7. I'll check to see if I can get php version 5.6.7 from IUS that way. But also I'm trying to get better at building RPM's. So if anybody has any advice on how to solve this problem, I'd appreciate anything you'd have to say! Take the IUS src.rpm, install it, and get inspiration from its specfile. You'll learn by example. Hope this helps. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Very slow disk I/O
On 01/28/2015 03:32 PM, Jatin Davey wrote: Could someone point me on how to improve the disk I/O on my server and reduce the wait time on I/O. Fisrt of all, you should ensure how fast are your disks. There are several methods to check that: https://www.thomas-krenn.com/en/wiki/Linux_I/O_Performance_Tests_using_dd But there are several aother way to achieve measurement. If you notice some poor performance, then you can assume your disks are slow. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Develop ineo 25e printer and CUPS
Hi all, I have a Develop ineo 25e printer, and want to set it up with CUPS. I connect to http://localhost:631/ and add the printer, with uploading the PPD available here: http://www.develop.eu/en/products/office-products/colour/ineo-25/downloads.html (English, Linux, version 1.1 dated 2012) The printer is network connected, and the connection is socket://192.168.129.100 job-sheets=none, none media=iso_a4_210x297mm sides=one-sided I tried several combinations, with or without the PPD, socket:// or ipp://,... no way: The test page prints OK, but any other page is a kind of source code I could not define. Would you know what option could save me? Thanks. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] centos 6.3
On 12/02/2014 10:29 AM, Hadi Motamedi wrote: Dear All I want to put my stuff on centos 6.3 but some colleagues warned that it is not wise to use it at now for some bugs reported. Can you please confirm if this is true and which vulnerability can be risked for ? It is generally unsafe to run a outdated operating system. Whatever it is. What are your constraints not to upgrade to the latests 6.6? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] open-vm-tools on CentOS 6
On 11/07/2014 09:05 PM, Boris Epstein wrote: Hello all, As far as which VMWare tools to use - the ones from VM Ware or the open-vm-tools available through the EPEL - is there any consensus on what is better? I know that for CentOS 7 you are told to use open-vm-tools but what is the situation with CentOS 6? I use this: https://www.vmware.com/support/packages ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 6.4 kernel panic on boot after upgrading kernel to 2.6.32-431.29.2
On 10/14/2014 09:19 AM, Greg Lindahl wrote: Yeah: don't run random combinations of rpms and then ask the mailing list for support. If yum/rpm allowed him to just upgrade the core kernel witouh the whole system, that means it should be possible to run with it. Please, be positive. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Hi again problem with minimal CentOS and Github
On 10/11/2014 12:03 PM, Niki Kovacs wrote: # git push error: The requested URL returned error: 403 Forbidden while accessing https://github.com/kikinovak/centos/info/refs fatal: HTTP request failed As far as I understand, this error is server side because GItHub does not allow write operations over HTTP. Can you please share your Git configs on the Slawk box? I think your origin is ssh:// and not https://; Cheers from Madagascar. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7 docs, tutorials, etc...
On 10/08/2014 07:50 PM, Valeri Galtsev wrote: Again, this is just $0.02 worth of my own opinion, definitely not a consensus (and likely not even a majority opinion) on this list. Just your humble opinion, but how do you insist and repeat it :-) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] launching samba and having logs
Hi all, I try to setup a Samba/Openchange service. In the Oopenchange documentation, they advise to launch samba in an interactive mode and a verbose level: I like that. http://www.openchange.org/cookbook/configuring.html # samba -d3 -i -M single The problem is I want to launch it via an init script (centos6) # SMBDOPTIONS= -d3 -M single # start() { echo -n $Starting Samba services: daemon samba $SMBDOPTIONS RETVAL=$? echo [ $RETVAL -eq 0 ] touch /var/lock/subsys/$SAMBA_NAME || \ RETVAL=1 return $RETVAL } # ... I dont get the same verbose output in any log file in /var/log/samba/ How to get the same verbosity in a log file when launching samba from an init script? BTW, I dont understand what is the difference between /var/log/samba4/log.samba and /var/log/samba4/log.smbd Thank you very much. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] X, why did it have to be X
On 09/23/2014 12:06 AM, m.r...@5-cent.us wrote: I just did a full update. X comes up in both screens... but the left one is *not* rotated, while the right one is. And they're mirrored. I tend to use arandr for screens settings. It generates the appropriate xrandr invocation that I call at session login. Unfortunately, that doesnt solved the issue for thing before the session (boot sequence and display manager)... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] C6: why i686 are installed on x86_64 based arch?
Hi all, I noticed that when I install some packages (precise list not defined), my x86_64 C6 tends to install both 32bits and 64bits at the same time: # yum install fontconfig freetype \ libfreetype.so.6 libfontconfig.so.1 \ libstdc++.so.6 Gives: http://pastebin.com/FNzztefV My repository configuration is same: http://pastebin.com/Hf38sAic No 3rd party repository. No i686 initially installed: # rpm -aq | grep -Ev '(noarch|x86_64)' gpg-pubkey-c105b9de-4e0fd3a3 # I dont want that, unless I'ts really mandatory: Is it? One solution would be to append the architecture to the package name to install, but how to make it default, in order to save typing? Thank you. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Minimum RAM for CentOS7
On 09/07/2014 09:44 PM, Oliver Schad wrote: If you have 1.000 or 10.000 machines it*is* a reason to think about every fucking dollar per machine you can save each month. You could *just* *install* with 1GB and then get down to 512 at runtime. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] C7: need authconfig against LDAP
Hi all, On a C6 box, when I want to enable LDAP authentication, I issue: # yum -y install nss-pam-ldapd pam_ldap nscd # authconfig --enableldap --enableldapauth --enablemkhomedir \ --ldapserver=ldap://ldap-blabla/ \ --ldapbasedn=blabla \ --enablecache --disablefingerprint \ --kickstart --update All is working fine, the directory structure is fine and compliant. What about C7? As far as I read, - there is a switch to sssd - I found 1 link: http://www.certdepot.net/ldap-client-configuration-authconfig/ Is there something in particular I should pay attention for? Note that I have only GUI-less servers. Thank you. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] C7: need authconfig against LDAP
On 08/29/2014 11:06 AM, anax wrote: As far as I read, - there is a switch to sssd - I found 1 link: http://www.certdepot.net/ldap-client-configuration-authconfig/ sssd is a hard peace to configure. In C7 it wants absolutely to have an encrypted connection to the LDAP server. Therefore, it must at least have a valid CAcert at disposition. Also, the LDAP server itself must have a valid CAcert (eventually the same as the sssd client) and a valid server-certificate with the Common-Name of the host it runs on. Our LDAP servers are all clear text for the moment and there is no short|mid-term plan to bring an encryption. It's then a no go for the moment :-(. Thanks. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cannot Static Routes
On 08/27/2014 09:42 PM, Sergio Belkin wrote: I'd want to configure persistent static routes, ie in config files, but I can't configure static routes, I tested: [root@centos7 ~]# cat /etc/sysconfig/network-scripts/routes-enp0s3 ADDRESS0=10.10.10.0 NETMASK0=255.255.255.0 GATEWAY0=192.168.1.1 logs says nothing: [...] I've also tried using /etc/sysconfig/static-routes file as is in http://www.ehowstuff.com/how-to-setup-persistent-static-routes-on-linux-centos-6-4/ Hi Sergio, The log parts you posted are related to networkManager. What happens if you explicitely say in the configuration file that the interface is not managed by NetworkMAnager? Regards. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] php-fpm on centos 6
On 08/22/2014 11:27 PM, Александр Кириллов wrote: Does it? There's mod_fastcgi in rpmforge but I don't feel quite comfortable with packages from this repo. Just check the spec file from the src.rpm and see if you find something suspicious. Or, if you have a bit more spare time, check the spec file and just rebuild it. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to Stop the Image URL in apache
On 07/28/2014 12:03 PM, Shital Sakhare wrote: RewriteEngine On Options -Indexes RewriteBase / RewriteCond %{HTTP_REFERER} !^%{HTTP_HOST}$ [NC] RewriteRule \.(swf|gif|png|jpg|doc|xls|pdf|html|htm|xlsx|docx)$ [R,L] This can be worked arround very easy with wget: http://www.askapache.com/linux/wget-header-trick.html Look at the first trick. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] A question about 7
On 01/15/2014 06:17 AM, Warren Young wrote: On 1/14/2014 19:54, Les Mikesell wrote: On Tue, Jan 14, 2014 at 8:43 PM, Stephen Harris li...@spuddy.org wrote: If you are old enough, you might remember unix versions that named disks by controller, bus, target numbers. /dev/rdsk/c0t0n0q0w0e0p1k5n8 :) It's another reason I took to Linux quickly, right along with eth0. I'm old enough to remember another distribution where the trick was to symlink to /dev/cdrom. DO you? :-P ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Why does 'mysql' user has /bin/bash shell?
Hello, Default MySQL installation on CentOS sets /bin/bash as shell. I'm on a user cleanup task where I want reduce unneeded privileges to users. What is the mysql user shell for? (What will happen if I change it to /bin/false or whatever would disable it's shell?) It's not only a matter of SSH (I'm aware I can AllowUsers in sshd_config for example). ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Why does 'mysql' user has /bin/bash shell?
On 01/10/2014 02:25 AM, Cliff Pratt wrote: Can you not set up a test system and try it out? Or, if this is your only system, could you not back it up, and test your suggestions out? I dont have enough unit test in mind to assume it's safe. The mysql shell is for viewing data in your databases and manipulating the data in required. You can also add tables and things like that. It is a powerful tool if you know what you are doing. I might confuse you. I'm not talking about the mysql prompt. I know what it is for. I'm talking about: # grep mysql /etc/passwd mysql:x:498:498:MySQL server:/var/lib/mysql:/bin/bash ^ this -| ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] list installed packaged, without formatting overhead
Hi all, In order to make the same installation on two servers where all was installed via yum/rpm, I want to dump a list of all installed packages on the first server. My problem is if I just yum list installed, some weird formatting prints packages information on 2 lines... I have to # yum list installed | awk '{print $1}' \ | grep -v '@' | grep -vE '^[0-9]' Is there a cleaner way? # rpm -aq Is not OK because it includes version in a way it's more hard to parse just the package name. Thank you. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM RAID0 and SSD discards/TRIM
On 2013-08-20 13:20, Dennis Jacobfeuerborn wrote: On 19.08.2013 20:28, Joakim Ziegler wrote: So, from what I understand, if I can get this thing running on CentOS 6.4, I'll get kernel discard support, and discard support in LVM when running a RAID0. I'm using ext4. Is that correct? Will this solve my problem? I want to confirm that discard support works on a RAID0 of SSDs using LVM and ext4 before I start working on getting this legacy application to run on a newer CentOS. What kind of SSD are you using? We use Intel 520's here and don't really see these kind of slowdowns. Seeing his problem I remember I saw a similar complain about SSD and write rate. Searching my recent archives it appears its neither on such an old kernel nor on RAID0. For what it's worth: http://www.mail-archive.com/collectd@verplant.org/msg02683.html -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: laptop recommendations for CentOS6
On 2013-08-16 19:06, carlopmart wrote: Hi all, First of all, sorry for the OT. I need to buy a new laptop for my work. My prerequisites are: - RAM: 6/8 GiB (preferably 8 GiB) - Processor: Core i7 - Disk: up to 500 GiB for SATA, 128 GiB for SSD. - Graphics card: Intel HD (I really hate to use Nvidia or ATI Radeon graphics cards). I currently dual boot a Dell latitude E6430 with Fedora 18 and CentOS 6 without problems. CPU i5 + Intel graphic (1600x900) on the 14. I think it's a very good choice. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS-virt] Traffic Accounting KVM vs Xen
On 2013-08-16 02:24, Robert Dinse wrote: I am getting to where we want to offer virtual servers for lease but to do so we need some method of measuring and/or limiting traffic to individual guests. I am wondering what others are using for this purpose? I know that you can look at traffic stats on the bridge on the host machine but that information is lost when the machine is rebooted. I'm wondering if there is any software that databases that information on an ongoing basis and does not lost information across reboots? What would be your policies when reaching the quota? Depending on that, you could take some solution or another. In a previous work, we used AAA with Coova and FreeRADIUS, but you can also just use iptables. -- RMA. ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
[CentOS] pppd + rp-pppoe: /sbin/ifup-local when ADSL re-up?
Hi all, I set up an ADSL connection using rp-pppoe/pppoe-setup. The setting is to persist the connection, so that when the link goes down, it's re-up'd by pppd. The interface is ppp0 and it appears /sbin/ifup-local is not called when re-uppping the ADSL link. It is a problem for me, as I have some routing tables which get cleared from the routes via ppp0 when the ADSL is down and I need the routes to be added when ppp0 is back. What's your suggestion in order to either launch /sbin/ifup-localor launch a script when pppd gets ppp0 back? -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] MP3 Tagger
On 2013-07-30 11:30, Jake Shipton wrote: Personally, I use EasyTAG. Used it for a fair few years now, works fine I've used Linux for 12 years (not so old compared to some early geeks) now and I remember the pack of software I used: * Netscape communicator + navigator, * XMMS * KSCD * Easytag * Gnutella * ... Easytag is in this pack! :-) It's been arround for a while and it will do the job. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] How to know hardware RAID failure
Hi, We have on an old Dell 2850 with 4 SCSI drives, where we put a Hardware RAID5 on 3 disks and left 1 as spare. I dont remember exactly, but the RAID was setup in the BIOS, and when installing CentOS6, I just saw 1 drive. If it was software RAID, disk failure could be seen in /proc/mdastat, and I could simulate failure with mdadm. As far as it is hardware ATM, how, at least, to know the state of the RAID array? (syncing, healthy,...) Thank you. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Run multiple instance of apache
On 2013-05-27 14:14, Rainer Duffner wrote: When your infrastructure is completely virtualized, it may make no sense. But some people still prefer to run on real hardware;-) What about using LXC? You can isolate 2 Apaches. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] F18: Create a USB install of CentOS 6 from iso
Hi all, On a F18, I installed livecd-tools-18.15-1 I downloaded CenOS6.x minimal .iso and with livecd-iso-to-disk the resulting USB is never bootable: the computer doesnt boot on it. Tested on many computers. The fact is I succeded to install CentOS on a Netbook (no CD/DVD tray), but I dont remember how I invoked livecd-iso-to-disk. I tried with many combinations (/dev/sdc is the USB pendrive): 1°) $ sudo livecd-iso-to-disk --format --force ISO /dev/sdc 2°) $ sudo livecd-iso-to-disk --format --force ISO /dev/sdc1 3°) - Format with VFAT on partiion #1 then $ sudo livecd-iso-to-disk ISO /dev/sdc1 4°) - Format with Ext on partiion #1 then $ sudo livecd-iso-to-disk ISO /dev/sdc1 ... N°) I dont remember what I tried, but it was many, mostly tried with CentOS 6.2 Please, if someone has a F18 + an USB drive: would you test and see if you succed? If you ever succed, how did you? -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] exim localhost vs 127.0.0.1
Hi all, I had a big problem I did not figured out. It is solved, but I have questions about the matter. It's about Exim 4.72/CentOS 6. Connecting to Exim via localhost is denies relay Connecting to Exim via 127.0.0.1 accepts the relay localhost is in the local_domains domainlists localhost is resolving to 127.0.0.1 in /etc/hosts Why? [mihamina@recette53 ~]$ rpm -aq | grep exim exim-4.72-4.el6.x86_64 [mihamina@recette53 ~]$ telnet localhost 25 Trying ::1... Connected to localhost. Escape character is '^]'. 220 recette53.ideoneov.com ESMTP Exim 4.72 Mon, 11 Mar 2013 10:09:27 +0100 HELO mihamina 250 recette53.ideoneov.com Hello localhost [::1] MAIL from: mrako...@free.fr 250 OK RCPT to: miham...@rktmb.org 550 relay not permitted mihamina@recette53 ~]$ telnet 127.0.0.1 25 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. 220 recette53.ideoneov.com ESMTP Exim 4.72 Mon, 11 Mar 2013 10:10:26 +0100 HELO mihamina 250 recette53.ideoneov.com Hello localhost [127.0.0.1] MAIL from: mrako...@free.fr 250 OK RCPT to: miham...@rktmb.org 250 Accepted DATA 354 Enter message, ending with . on a line by itself From: mrako...@free.fr To: miham...@rktmb.org Subject: Haftra Andrana Ity dia andrana fotsiny ihany. . 250 OK id=1UEykk-0006Fr-TO QUIT 221 recette53.ideoneov.com closing connection -- RMA. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] /etc/sysconfig/network-scripts/ifcfg-xxx for CHAP PPPoE
Hi all I get a Cisco 1841 router, connecting the office through a CHAP PPPoE link: [...] interface Dialer1 ip address negotiated ip mtu 1492 ip nat outside ip virtual-reassembly encapsulation ppp ip tcp adjust-mss 1452 dialer pool 1 dialer-group 1 no cdp enable ppp authentication chap callin ppp chap hostname username@isp ppp chap password 0 s0meStr0ngP4sswd [...] As a fallback solution, I would like to setup a CentOS Dual NIC 1U unit. I dont want to use NetworkManager, I'd rather use the bare interface configuration tools. I'm running CentOS 6.3 I looked for the right way to configure the internface: - http://goo.gl/UaNBe: officiel doc, found no indication. - http://goo.gl/DQ5Gk: using rp-pppoe, is it the right way? - http://goo.gl/PTaes: seem to be right, but which package is it from? -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Webinar server, installable on CentOS6
Hi all, I'm looking for an opensource solution for hosting webinars on a remote dedicated server running CentOS6. I would like to use FOSS, and it would be perfect if it's packaged, or at least easealy packageable. Please let me know if you have some suggestion. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] check file changes within several directories
Hi all, I forgot the name a sofware (I think it was something related to security) wich checks for file content/permission changes, on a cron trigger basis. I could then have the list of added/changed files. I dont want to use some selfmade git-based or find|xargs-based piece of scripts. Thank you. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] centos 6.3, cron and mail script output
On 11/26/2012 09:41 AM, John R. Dennison wrote: On Mon, Nov 26, 2012 at 09:32:37AM +0300, Mihamina Rakotomandimby wrote: Is there a special feature such as it only mail if STDERR? Because all the messages (rsync output + echo foo) is to STDOUT. Nope. _ALL_ output, bother stdout and stderr, will be sent via mail to the owner of the crontab or the address specified in the MAILTO variable. Please include the _full_ rsync command line. Forget about it: the culprit was the Google App antispam. It sent all the message from this particular crontjob to tha Spam folder. I'm going to fix the antispam settings of my account. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] centos 6.3, cron and mail script output
On 11/23/2012 12:18 PM, Birta Levente wrote: check out the crontab file if you have these, If it's centos 6, maybe /etc/anacrontab I have MAILTO=root in the file. If I make a CLI test to mail to root, all is working. Is there a special feature such as it only mail if STDERR? Because all the messages (rsync output + echo foo) is to STDOUT. I cant find any doc about that. I suspect the thing to mail only if it's an error message... -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] centos 6.3, cron and mail script output
Hi all I have a '/etc/cron.daily/push-to-backup' script which the content is: #!/bin/bash /usr/bin/rsync [... long options line ...] echo finished pushing to the backup Launched manually, it's OK. Waiting for cron to execute it, In the /var/log/cron, I see the starting time and the finish time, and I see it take about 10 minutes to make the job. That's very fine, it's the expected executioon time The problem is: I get no EMail. In /etc/cron.daily/, I also have logwatch, whose EMail comes to me without problem. /etc/aliases is already setup to forward root and cron emails to my email adress. Testing the MTA (Exim) on command-line: success (anyway, logwatch also success on sending email) On another centos5 machine, the same script, the mail is sent. On the Centos 6: $ rpm -aq | grep cron crontabs-1.10-33.el6.noarch cronie-1.4.4-7.el6.x86_64 cronie-anacron-1.4.4-7.el6.x86_64 On the Centos 5: $ rpm -aq | grep cron crontabs-1.10-8 vixie-cron-4.1-81.el5 anacron-2.3-45.el5.centos How to setup the Centos6 system so that the cron sends me an email the script output?? -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Samsung Galaxy 3 and Centos
On 10/10/2012 01:00 AM, Ljubomir Ljubojevic wrote: On 10/03/2012 01:17 PM, Nux! wrote: On 02.10.2012 23:29, Frank Cox wrote: My cell phone provider just sent me a letter stating that my 3 year contract is up and they will give me a Samsung Galaxy 3 if I will sign a new contract. It should work fine; this phone I think supports native usb storage, Mine doesnt. It uses MTP or PTP. So, I had to install gvfs gphoto2. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Spamassassin under CentOS-6.3
On 08/31/2012 04:56 PM, Timothy Murphy wrote: It appears to be running OK, but only catches about 20% of my spam. If you have old rules and as far as spam evolves, that situation is fair I wonder if others have experienced this decline? No. I suspect that sa-learn is not performing properly. (I run sa-learn nightly on my spam, which is saved in ~/Maildir/.Spam/cur/ , through the default spamassassin installation.) - how old is the Spam to feed sa-learn with? - what weight do you give to bayesean detection? Eg I receive more or less identical spam many times without it being caught. Also, about 35% of the spam that gets through is in foreign languates - Russian, Chinese, Arabic and Turkish - Those are local langages for some... One difficultly I have is that there seem many places where one can make changes in spamassassin settings. Am I right in thinking that all such changes can be made in .spamassassin/user_prefs ? Seems OK What should I put in this file to change the score for eg 3.5 BAYES_99 BODY: Bayes spam probability is 99 to 100% Advices: - SA can be asked to report the scores in one header: make it reports and analyze the scoring - SA has a mailingg list you could also trigger in order to help -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] KVM Setup for Win7 Pro on CentOS 5.x
On 08/16/2012 12:34 AM, Bill Campbell wrote: Can somebody point me to a HowTO or other documentation describing the tools available under the CentOS 5 KVM package to create and manage a Windows 7 Pro VM? All my VM experience to date has been the old free VMware Server. Just for information, there is a centos-virt ML. My VM configuration dumps are here: https://code.google.com/p/rktmb-samples/source/browse/trunk/xml-vmconfig you'll find some comparison point to what you get. My VMs are all routed+NATed (for those). I dont have bridged Windows. This is my sample invocation when installing a Windows: sudo virt-install --connect qemu:///system --name win-7-01 \ --ram 1024 --keymap=fr \ --cdrom=/media/500G/ISO/Windows7Ultimate64bit.iso \ --os-type=windows \ --os-variant=win7 --network=network:default --vnc --accelerate \ --force --disk path=/mnt/big/mihamina/Virtual/win-7-01,size=20 -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How protect bash history file, do audit alike in server
Use sudo. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] install CentOS 6 from minimal, console only
Hi all I would like to install CentOS on this: http://www.lannerinc.com/x86_Network_Appliances/FW-7520 - No VGA/DVI - Only a console port (the old 9600 baudrate one) - Boot on USB actived by default Would you know a tutorial helping on installing CentOS on this? I guess I have to - download the minimal iso, - 'dd'-copy it to a flash USB drive - setup some files to use the console instead of vga (which ones...?) My desktopo side, I already have minicom et al installed, just looking for. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] launch a iptables + tc at power on
Hi all I have a QoS script involving iptables and tc that I would like to run after eth0 and eth1 come up. I thought about some POST_UP_SCRIPT= or similar in /etc/sysconfig/network (or ifcfg-ethX) As I document, I found that http://goo.gl/jWoPn According to these, I have to create (if they does not exist): - /sbin/ifup-pre-local - /sbin/ifup-local It sounds a bit wild to me to have to tweak in /sbin for that, I really expected something in /etc/sysconfig/** Would you know if there is a way configure what I want? -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Tomcat7
On 05/23/2012 05:24 PM, Rudinei Dias wrote: The question is if anyone knows where you have a RPM repository for the tomcat7 HREL6/EL6. I dream of the existence of a repository I just activate and issue $ sudo yum install @tomcat Like this one http://www.how2centos.com/installing-tomcat-6-on-centos-5-5-tutorial/ but on CentOS6 for Tomcat 7. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] PHP and PHP53 on CentOS5
On 05/01/2012 06:14 PM, Max Pyziur wrote: Can someone offer their experience/advice in this regard? If I execute the command # yum install php53\* ... will this just install php53 and remove php-* packages? Depending on your means, you could also install a virtual machine (KVM, VirtualBox,...) and make your own custom tests. Isn'it? -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] XEN or KVM - performance/stability/security?
On 04/23/2012 06:44 PM, Peter Peltonen wrote: I would add some LXC pins for quick ehanced chroot, depending on the use case LXC sounds interesting: are there any yum repositries / RPMs / tutorials for CentOS available? You dont need rpms: the libvirt directly use the LXC API. A tutorial: http://goo.gl/kQOxm All you need is to - setup the XML - define a VM from it - start the VM No more, for the basic example. Really fun. Of course, when you need a custom environment, you'll need to read further: but it's still fun :-) -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] LVM: PV on 2 external USB drives
Hi all, I have a box, until warranty (I may not open it) and 2 external USB hard drives. My perfect solution is to open the box, plug the drives on the SATA slots, and use them. Unfortunately, I'll have to fall back to the cheap solution: I would like to use each external drive as physical volume (PV) and then join them as a VG in order to use a LVM composed by internal drives and the externals. This is not for a very secure storage, just for a low reliability quantity temporary one: I just need it to work for 3-4 weeks with potential power cycles. How to get the USB external drives to be detected in always the same order, so that they always get the same name? /dev/sdX fixed to them? That way, the LVM wont be messed... Thank you. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM: PV on 2 external USB drives
On 04/23/2012 01:43 PM, Karanbir Singh wrote: I suspect Mihamina is trying to fix a non-existant problem I'm on the way to buy the external racks (I got the disks), I did not really test... Sorry if inconvenient. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] XEN or KVM - performance/stability/security?
On 04/20/2012 04:23 PM, Dmitry Cherkasov wrote: On CentOS6 all is fine with KVM right out of the box. Never used XEN so cannot compare. Same here. I would add some LXC pins for quick ehanced chroot, depending on the use case. I think the OP should provide more details: What is benchmarked (Network? HD?...) -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] A request from the CentOS Project
On 04/20/2012 04:01 PM, Les Mikesell wrote: 18) If you're on AOL, don't worry about anything I've said here. You're already a fucking laughing stock, and there's no hope for you. Oh, that fateful day when AOL joined usenet, and usenet died. IIRC that wasn't the same day. Was still a case of cause and effect. AOL just added lots of ordinary users. Usenet's history revolves much more around moderated vs. unmoderated issues and the content of alt.binaries.*. With MegaUpload death, Usenet could rebirth... But guys, there should really be a trash ML. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] PHP and PHP53
On 04/17/2012 01:18 AM, Max Pyziur wrote: Greetings, We have someone requesting the use of Wordpress 3.3.1. It requires PHP 5.2 minimum. Currently, our machine is running CentOS 5.7. What about the IUS repository listed here http://wiki.centos.org/AdditionalResources/Repositories ? IUS PHP packages list for 5: http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/repoview/development.languages.group.html If you have virtualization capabilities and depending on your PHP extension needs, you should give a try and compare with other repositories. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] packaging: src.rpm not a rpm
Hi all, I have installed the recommended installs from here: http://wiki.centos.org/HowTos/RebuildSRPM I want to build a ipfm RPM on a CentOS 6.2, for legacy purpose. I cant immediately get rid of that piece of software, but we're on the move... So: $ wget http://rpm.pbone.net/index.php3/stat/3/srodzaj/2/search/ipfm-0.11.5-alt1.src.rpm $ rpm -i --nomd5 ipfm-0.11.5-alt1.src.rpm error: ipfm-0.11.5-alt1.src.rpm: not an rpm package (or package manifest): I probably missed something or am using some very outdated ressources: would some help me? -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] packaging: src.rpm not a rpm
On 04/17/2012 12:17 PM, Rob Kampen wrote: source packages are stored in the vault.centos.org repo. Did not find, but I just discovered (by jus reading further with attention) that the source has a spec file: http://robert.cheramy.net/ipfm/browser/trunk?order=name Thank you very much! -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Building RPM, Unknown tag Licence Copyright
Hi all, When trying to rpmbuild http://robert.cheramy.net/ipfm/browser/trunk/redhat/ipfm.spec, I do this: [mihamina@centos6-01 redhat]$ rpmbuild -ba ipfm.spec error: line 5: Unknown tag: Licence: GPL And I get the error above. [mihamina@centos6-01 redhat]$ head -n 5 ipfm.spec Summary: IP Flow Meter is a bandwidth analysis tool Name: ipfm Version: 0.12.0rc1 Release: rktmb Licence: GPL [mihamina@centos6-01 redhat]$ There, I changed the original Copyright: to Licence:, but I get the same error with Copyright: (but mentioning Copyright:). http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-tags.html says Licence: is a valid tag. Isnt'it? These are my rpm installed. [mihamina@centos6-01 redhat]$ rpm -aq | grep rpm rpm-python-4.8.0-19.el6_2.1.x86_64 deltarpm-3.5-0.5.20090913git.el6.x86_64 rpm-4.8.0-19.el6_2.1.x86_64 rpm-build-4.8.0-19.el6_2.1.x86_64 redhat-rpm-config-9.0.3-34.el6.noarch rpm-libs-4.8.0-19.el6_2.1.x86_64 Thank you. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Building RPM, Unknown tag Licence Copyright
On 04/17/2012 11:11 PM, Markus Falb wrote: The error message is telling you that you made a typo. http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-tags.html says Licence: is a valid tag. Isnt'it? License: were a valid tag. Oh my god, a typo... t... Thank you Markus. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] URGENT -- pseudo network interface creating problem with dhcp-- centos 5.5
On 04/11/2012 01:35 PM, sri wrote: Is there anything that I have to check to nail down the issue. Any pointers are highly appreciated. I did not understand your issue: - Do you want to get rid of the peudo interface? - Do you want the pseudo interface not to get a DHCP answer? - Do you want the switch not to see your pseudo interface? - Do you want to locate exactly where is the pseudo interface? -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] shellinabox
On 03/27/2012 11:20 PM, Piero wrote: normally I would use ssh to reach the server I need to manage but actually I'm working in an environment where internet connection is filtered from firewalls and proxies: in a such place it is not possible to use ssh as its connection is closed as soon as I try to open it. How about changing your SSH listening port to 80? -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] minute cron
Hi all, CentOs has choosen anacron as default cron daemon. I did not look further about the reasons, I think there are some good reasons. I want to create a minute based set of scripts. No much precision required, once a minute more or less 20 sec is OK. Using anacron, how do you recommend to do it? Is anacron the right tool? Otherwise what's the right tool? -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reason for high load on CentOS
On 03/26/2012 01:00 PM, Markus Falb wrote: The load average has relationship with I/O. Not necessarily. Agreed. I would define load as the number of processes who are waiting to get cpu time. I should have said statistically, I have noticed... I missed precision. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] A problem with power outages
On 03/24/2012 02:33 PM, Timothy Murphy wrote: Any suggestions, advice or experience of this problem gratefully received. An advice among all others: - When the machine gets stable, disable FS checks (in fstab, I dont remember what field to set to 0) - Setup the filesystem not to ask for check every N mounts (tune2fs) - Have a netboot available when things get really bad, so that you can mount you usual / via the netbooted system -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reason for high load on CentOS
On 03/26/2012 07:31 AM, Kaushal Shriyan wrote: Are there tools or utilities to understand about the reason behind high load on CentOS Linux. Please help me understand with examples. How did you know there is a high load in the first place? Using w command - top - iotop The load average has relationship with I/O. If you have RAID system, check what the status says you. You might be on a degraded RAID (broken, rebuilding,...) eating much disk I/O. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] build rpm from tar.xz tarball
On 02/29/2012 04:11 AM, fakessh @ wrote: What is the correct procedure to build an rpm with this type of package tar.xz the standard package rebuilding, I guess. just have to change the decompression utility call -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Centos 6.2, sheduled tasks (cron)
Hi all, I wanted to schedule some rsync backups and found that CentOS is by default using anacron. I'm mostly used with the historical cron, but let's follow the progress :-) - I made a shell script in /etc/cron.daily/dobackup - I made it 755, root.root. - In /etc/anacrontab, START_HOURS_RANGE=21-23 (I kept the other lines unchanged) - When I manually run /etc/cron.daily/dobackup, it runs quietly (no errors) Where should I check if the task scheduler is setup correctly (logs)? Must I reload a service (BTW, is it crond yet?) after editing /etc/anacrontab? How to tell that it may launch between 21:00 and 5:00? - START_HOURS_RANGE=21-05? - START_HOURS_RANGE=21-23,00-05? - ... -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] advice on having php 5.2.x:
On 02/09/2012 01:16 PM, John R. Dennison wrote: On Thu, Feb 09, 2012 at 12:07:34PM +0200, Peter Peltonen wrote: There is a PHP 5.2 RPM for CentoOS5 in the testing repo: http://dev.centos.org/centos/5/testing/SRPMS/ Use the IUS repository and the php-5.2.17 packages they supply [...] Please see http://wiki.centos.org/AdditionalResources/Repositories for more information and a link to the IUS repo. Thank you very much. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] advice on having php 5.2.x:
Hi all, My goal is to have PHP 5.2.x on a centos virtual machine (LXC) Looking at the repositories: - 6.2 has php 5.3: ftp://ftp.free.fr/mirrors/ftp.centos.org/6.2/updates/i386/drpms/ - 5.7 has php 5.1 ftp://ftp.free.fr/mirrors/ftp.centos.org/5.7/updates/i386/RPMS/ I'll have to rebuild a source RPM in order to have what I want: - Which base should I install for a php 5.2 VM? 6.2 or 5.7? - Which release of CentOS had a php 5.2 source rpm that I could just rebuild without too much extra patching? Thank you all. Side note: For legacy projects, I'll also have to have a php 4, but there, no problem: ftp://ftp.free.fr/mirrors/ftp.centos.org/4.9/updates/i386/RPMS/ has a php 4.3.9, so, no problem. The machines are simply development machines, on the LAN, in order to keep (very) old projects running if we ever have to get back on them. These are not for public or production use. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] looking for lxc rpm for centos 6.2 x86_64
Hi all Just on a fresh CentOS 6.2 minimal install, it doesnt find lxc: [mihamina@dev-spare ~]$ sudo yum install lxc [...] No package lxc available. Error: Nothing to do [mihamina@dev-spare ~]$ yum provides lxc-create [...] No Matches found Well, I think this is not really a problem: there probably is a personal packager that made his own lxc package and some people in here trust :-) Which one would you recommend? - http://goo.gl/8UXGh: MMmmm not rpm, just binaries... - ... what else? -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] about major version upgrades
Hi all, In http://goo.gl/Krjfh I read: +++ Upgrading from CentOS-4 or CentOS-5: We recommend everyone run through a reinstall rather than attempt an inplace upgrade from CentOS-4 or CentOS-5 +++ Do you ever now if that advice will be up to date for the 6 to 7 upgrade? What is the preferred upgrade process if some want to upgrade inplace? I mostly run virtual guest in a one-VM-per-service (MySQL, php, Mail, DNS, NFS/SMB) basis, with a main + spare physical machine. I'm installing 6.2 on our dev servers and try to pre-evaluate the amount of work when 7 will be released. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] configure network bridge listing bridged intefaces
On 02/04/2012 07:53 AM, Robert Spangler wrote: snip DEVICE=eth# ONBOOT=yes BRIDGE=br# /snip Thank you so much, Robert. That is the thing I wanted to do. For the record, in Debian world, it's auto br0 iface br0 inet static address 192.168.0.10 network 192.168.0.0 netmask 255.255.255.0 broadcast 192.168.0.255 gateway 192.168.0.1 bridge_ports eth0 # - here you list bridged ports I was a bit lost, I looked for that definition in the bridge conf file instead of the interface one. Thank you again. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] configure network bridge listing bridged intefaces
Hi all, Having a 4 NIC server, I want to bridge eth2 and eth3, with a bridge named br0. Searching the web I only found about creating a file /etc/sysconfig/network-scripts/ifcfg-br0, but did not find where to explicitely list what ports will be bridged. Where is it configured? Thank you. -- RMA. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos