I think you need policy routing:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/configuring-policy-based-routing-to-define-alternative-routes_configuring-and-managing-networking
Try telling grub to swap the disks:
title Windows 7
map (hd1) (hd0)
map (hd0) (hd1)
rootnoverify (hd1,0)
chainloader +1
Lorenzo
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
mv /boot/initramfs-2.6.32-358.0.1.el6.i386.img
/boot/initramfs-2.6.32-358.0.1.el6.i386-nouveau.img
dracut /boot/initramfs-2.6.32-358.0.1.el6.i386.img 2.6.32-358.0.1.el6.i386
Interestingly enough, the new initramfs that I got from this command is
slightly
smaller than the one that I
that is reasonable to do?
You could use fail2ban to reduce the load on the server; here is my config:
cat /etc/fail2ban/filter.d/apache-errorcode.conf
# Fail2Ban configuration file
#
# Author: Lorenzo Quatrini
#
# $Revision: 1 $
#
[Definition]
errorcode = 400|403|404
# Option: failregex
# Notes
Il 03/12/2012 20:05, Karanbir Singh ha scritto:
hi,
Some of you might have seen the email on the centos-devel list, for the
rest I just wanted to point out that we've been working on getting
opennebula ( http://www.opennebula.org/ ) rpms and contextualised images
for opennebula available
Il 03/01/2012 04:14, Nataraj ha scritto:
Ok, the above works now. But while the setting was (by default) commented
out, the default wasn't /var/log/vsftpd.log but /var/log/xferlog which
was growing without limits (it was over 6 GB when I first time noticed the
problem) since logrotate
Larry Vaden ha scritto:
AFAIK, that's the status of the clones at this time. Still unexplained is why
'host www.yahoo.com 208.67.220.220' and 'host www.yahoo.com 8.8.8.8'
got completely different answers.
For what I know OpenDNS (208.67.222.222, 208.67.220.220) does some more
caching and
Poh Yong Hwang ha scritto:
Hi,
I have two guest vm instance running CentOS 5 with ext3 partition. I
will like to reduce 1 VM harddisk space and using the 'release' harddisk
space to add onto my second VM. Basically I need to know how can I
reduce and increase an ext3 partition in CentOS
Rudi Ahlers ha scritto:
On Wed, Jan 26, 2011 at 10:32 AM, Edo ml2ed...@gmail.com wrote:
How does one mount an NFS share, to avoid system timeouts when the
remove NFS server is offline?
I would use a different approach: use autofs, then the share is mounted on the
fly only when needed, and
Niki Kovacs ha scritto:
Hi,
Last week I finished installing a small network in a private school :
one server (an old IBM X225), seventeen desktops (Fujitsu Siemens PIV
2.4 GHZ, 512 MB RAM, 40 GB HD), all running CentOS 5.5.
One extra machine is acting as a router, in that it is
Boris Epstein ha scritto:
Hi all,
I have two near identical CentOS 5.5 machines; both are running named
server (DNS). On one using system-config-bind I can easily define a
slave zone; on the other, it is a no go: it says the definition is
there, etc. but there is no corresponding file in
listserv.traf...@sloop.net ha scritto:
Problem:
Postfix is doing RBL lookups on zen.spamhaus.org.
Everything goes along groovy - but then lookups start failing.
Just some toughs: you could try to install rbldnsd.i386 from rpmforge repo for
caching rbl lookups
I certainly suspect a problem
JohnS ha scritto:
---
scsi_dev_flags SCSI black/white list.
scsi_dev_flags=vendor:model:flags
This option lets the user add entries to the SCSI black/white list for
a specific vendor and model of device.
Dug it up from my notes. This goes on the kernel boot line.
For what I understand it
Hi all,
do you know if there is a way at boot time do disable specific LUN's on a SCSI
bus of a particular controller?
I'm trying to write an udev rule, but it seems that the system ignores the
vendor model/name of the controller...
For example: I want to disable /dev/sdb; so I gather some
2010/3/30 nate cen...@linuxpowered.net:
Lorenzo Quatrini wrote:
Hi all,
do you know if there is a way at boot time do disable specific LUN's on a
SCSI
bus of a particular controller?
What do you need to do this for?
How about just echoing the command to /proc/scsi/scsi
echo scsi remove
2010/3/30 nate cen...@linuxpowered.net:
Lorenzo Quatrini wrote:
This is what I'm doing right now; but I was searching for a way of
doing it earlier on startup.
I'm playing with a non partitionable DS4300 FC, and I would like to
avoid LUN contention.
Since it appears to be a SAN of sorts
Brian Mathis ha scritto:
On Mon, Feb 1, 2010 at 10:24 AM, Niki Kovacs cont...@kikinovak.net wrote:
You don't need to delete and re-add the user every time. That would
be silly and as you see requires root privs.
Since you already have the login script ability, change that script to
RafaĆ Radecki ha scritto:
Hi All.
I plan to use virtualization in my production environment. I plan to use
one of the following options:
- KVM;
- VMWare Esxi;
- VMWare Workstation.
I plan to install Windows 2008 as a guest. I want to use something like
LVM snapshots for backups.
Phil Schaffner ha scritto:
2. The command to create /etc/mdadm.conf will result in an extra line
spares=1 while the array is still syncing. Adding | head -1 to
the command to create it fixes the problem.
May I suggest to add | grep -v spares or | grep ARRAY instead? If the
command is
2009/10/25 Les Mikesell lesmikes...@gmail.com:
Gilbert Sebenste wrote:
On Sat, 24 Oct 2009, Philip Gwyn wrote:
On 24-Oct-2009 Oliver Ransom wrote:
I don't think there are any ramifications/disadvantages of running the
SSH daemon on a non standard port.
Unless I want to sftp. It always
2009/10/25 Gordon Messmer yiny...@eburg.com:
On 10/23/2009 06:10 PM, Jonathan Moore wrote:
What I was really looking for was a little more detail on exactly what
I *must* have from the mirror to successfully upgrade.
If you want to download the minimum number of packages, the easiest
James Matthews ha scritto:
There is a very large issue with all people running VPS machines that
are waiting for upgrades.
Looks like, at least for openvz, virtualized machines are safe
http://openvz.org/pipermail/users/2009-August/002961.html
___
to be sorted manually.
Again, I guess it really depends on what you are administering and if/how you
can handle a server outage, so you have to carefully make your own decision
based on your environment.
--
Regards
Lorenzo Quatrini
___
CentOS mailing list
James B. Byrne ha scritto:
I have a little niggling situation that I would like to resolve
programmatically. I use Git as my SCM and I have release branches
which are sometimes patched. I find myself sometimes entering the
working directory tree forgetting that I was last on a release
David Leon ha scritto:
Hi guys
I'm trying to set up the SNMP service. I need it to use MRTG to graph
some variables of my Centos 5.3 box. Any of you have a working SNMP
configuration can send me to tweak mine?
Thanks
David
I did this:
used the default /etc/snmp/snmpd.conf and
Patrick May ha scritto:
I have a CentOS 5.2 installation with gcc 3.4.6 as the default. I'd
like to upgrade the entire gcc tool chain, including libraries, to 4.x in
order to build some software that requires 4.1.0 or better. Can I do this
easily through yum? If I upgrade to 5.3 will I
that there are few checks
and calls to /sbin/ifup-pre-local, /sbin/ifup-local,
/sbin/ifdown-pre-local, /sbin/ifdown-local, so I guess that this is
the right place to put ip routes and rules commands.
Regards
Lorenzo Quatrini
___
CentOS mailing list
CentOS
John R Pierce ha scritto:
i dunno, i would sort of assume the -local functions are for the
localhost interface (/dev/lo), and the idea of having system specific
config files in /sbin/ is somewhat abhorrant.
I agree!
in fact, upon some digging, it looks like you put RULES in
commands and configuration files?
Does someone have a better place other than rc.local?
If I put them in rc.local, is there a way to issue a command like service
network restart?
TIA
Lorenzo Quatrini
___
CentOS mailing list
CentOS@centos.org
http
need to tell the system about the
dual route. Of course if you want to load-balance adjust the weight to your
needs.
Hope this helps
Regards
Lorenzo Quatrini
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
luc...@lastdot.org ha scritto:
On Thu, Jul 2, 2009 at 10:05 AM, Lorenzo
Quatrinilorenzo.quatr...@gmail.com wrote:
John R Pierce ha scritto:
now, these commands are NOT persistent, and, AFAIK, RHEL has no
provision for `ip route` or rule commands, so I end up sticking this
stuff in
John Thomas ha scritto:
Lanny Marcus wrote:
Is there a Viewer for .docx M$ WORD files? If so, where can I get
it? This file type cannot be opened with OpenOffice.org 2.3.TIA!
If you install
http://katana.oooninja.com/w/odf-converter-integrator/download
JohnS ha scritto:
On Thu, 2009-05-21 at 16:40 -0400, James B. Byrne wrote:
SOMEbody on this list must have this combination working by now.
How does one enable the firefox jre plugin for Sun's x86_64
distribution? Every site that I can find refers to making a link to
a now non-existent
modified files from
rpms) and a 'comm' between rpm -qla and something like find / (with some
clean-up to get files not coming from rpms) will do the magic.
--
Regards
Lorenzo Quatrini
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org
server (over wich you'll can do all the backups that you like) and keep it in
sync with google with imapsync (rpmforge repository).
Looks simple and straightforward to do:
http://nivox.blogspot.com/2008/02/gmail-imap-backup.html
Hope this helps.
--
Regards
Lorenzo Quatrini
install a full Debian inside (but this involves soldering
a serial interface, for what I can understand), is quiet and is quite flexible
on the configuration even on the standard configuration.
I just saw one yesterday, and looked interesting; the owner is fully satisfied.
--
Regards
Lorenzo
, so unless you tell
your MUA to download a copy locally you only see index files.
I can confirm that: if you select the folder for offline use you'll find on the
imap.gmak.com folder an INBOX which looks like an mbox file.
--
Regards
Lorenzo Quatrini
This should give all the other process priority over dd
Hope this helps
--
Regards
Lorenzo Quatrini
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Lorenzo Quatrini ha scritto:
Joseph L. Casale ha scritto:
Is there a way to nice the IO on a process such as dd?
If not, what could be a way to control the IO level of
such a process from bogging down a server to severely.
As I was told few days ago you cold nice the whole process, eg
network
Also remove 10.10.80.0; from listen-on port as it isn't needed (here you can
specify addresses if your server is multi-homed and you want it to listen only
on some interfaces)
--
Regards
Lorenzo Quatrini
___
CentOS mailing list
CentOS@centos.org
http
finally noticed that badblocs has a non-distructive read-write mode (the
man page is outdated and doesn't mention that) which can be used routinely (say
once at month) to force a check of the whole disk.
Thanks to all for the explanation
Regards
Lorenzo Quatrini
William L. Maltby ha scritto:
From man badblocks:
-n Use non-destructive read-write mode. By default only a non-
destructive read-only test is done. This option must not be
combined with the -w option, as they are mutually exclusive.
Note the phrase beginning
William L. Maltby ha scritto:
Yep. Only a few copies of the superblock and the i-node tables are
written by the file system make process. That's why it's important for
files systems in critical applications to be created with the check
forced. Folks should also keep in mind that the default
the procedure, do you think that a force
rewrite of the full disk would work?
Eg. dd if=/dev/sda pf=/dev/sda bs=512
Shoudl this be done at runlevel 1 or offline or I can do it without too many
worries, since I'm reading and rewriting the same data on the disk?
TIA and sorry for the OT
Lorenzo
nate ha scritto:
Lorenzo Quatrini wrote:
I have few disk that have offline uncorrectables sectors;
Ideally it should be done using the manufacturer's tools,
and really any disk that has even one bad sector that the OS
can see should not be relied upon, it should be considered a
failed disk
/apps/gnome-screensaver/user_switch_enabled TRUE
(source: http://live.gnome.org/GnomeScreensaver/FrequentlyAskedQuestions)
regards
Lorenzo Quatrini
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
save and close the current session without user intervention?
Or can you point me on the right direction to rebuild the SRPM with the patch
for this bug (http://bugzilla.gnome.org/show_bug.cgi?id=149447)?
thanks,
Lorenzo Quatrini
___
CentOS mailing
William L. Maltby ha scritto:
And look at using the yum priorities plugin so you can safely mix repos.
I have one question about this:
Which is the safest setup for priorities?
base, update and extras: priority=1
ATrpms (which should not replace _any_ base package): priority=10
rpmforge
://wiki.centos.org/AdditionalResources/Repositories?action=showredirect=Repositories;
4) http://wiki.centos.org
5) google
99) when anything else fails: ask this list ;)
Regards
Lorenzo Quatrini
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org
ArcosCom Linux User ha scritto:
2 questions:
a) Must I put the same IP with 3 virtual macs under the same interface?
b) Must the ARP entry be changed in the bridges? In the computers?
Well, I don't remember for sure if I did something on the Cluster side (maybe I
choose Multicast on
nate ha scritto:
ankush grover wrote:
Please let me know if you need any further inputs.
I'm not sure if it applies to all tftp servers but for
the most part the file your uploading must already exist
and be world writable.
touch /tftpboot/filename
chmod 666 /tftpboot/filename
then upload
If only the first cd had an install option like linux minimal instead
of going into anaconda and de-selecting everything one by one. Or even a
button to un-select all.
If I recall correctly when you select all then the same button becames an
un-select all... so just push it twice and
tuned, shortly, I hope, I'll have some news.
Regards
Lorenzo Quatrini
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
yum list installed | tail -n +4 | awk '{ print $1 }'
but still there is some work to do.
Maybe rpm -qa is a better way to have the list, but still, if you have to
install multiple systems at once, I guess that kickstarting is the best way.
Regards
Lorenzo Quatrini
on OCS-ng, but everything broke on the upgrade of the test
pc...
TIA
Lorenzo Quatrini
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
it damaged it. I had to reinstall from scratch... Any pretty way to
find broken links on the entire filesystem would be welcome however.
try fslint (rpmforge repository)
Regards
Lorenzo Quatrini
___
CentOS mailing list
CentOS@centos.org
http
Johnny Hughes ha scritto:
Lorenzo Quatrini wrote:
Johnny Hughes ha scritto:
Kenneth Porter wrote:
Googling for this feature, I saw reports from the yum developer that it
wasn't yet implemented. This was in mailing list posts from a year or
more ago. Did it ever make it into the yum code?
I
, make sure to duplicate the machine
packagelist you want to get the downloads for)
you can then copy these files to the new machine(s) /var/cache/yum/
Thanks,
Johnny Hughes
What about centos 4? Does exists something similar?
TIA
Lorenzo Quatrini
Hi all,
I have a little trouble with mrepo: yum groups doesn't seem to be setup
correctly; if I do yum grouplist it only gives me
Installed Groups:
Yum Utilities
Available Groups:
FreeNX and NX
XFCE-4.4
Horde
Did I forget something on the mrepo.conf or similar?
tia
Lorenzo
Dag Wieers ha scritto:
On Wed, 7 Nov 2007, Lorenzo Quatrini wrote:
I have a little trouble with mrepo: yum groups doesn't seem to be setup
correctly; if I do yum grouplist it only gives me
Installed Groups:
Yum Utilities
Available Groups:
FreeNX and NX
XFCE-4.4
Horde
Did I
Craig White ha scritto:
On Wed, 2007-11-07 at 15:37 +0100, Lorenzo Quatrini wrote:
Dag Wieers ha scritto:
On Wed, 7 Nov 2007, Lorenzo Quatrini wrote:
I have a little trouble with mrepo: yum groups doesn't seem to be setup
correctly; if I do yum grouplist it only gives me
Installed Groups
/yum.conf ?
Regards
Lorenzo Quatrini
Do you mean http_proxy=http://host:port? Yes, it still happens even after I try
proxy=http://host:port. Sorry for the delay answer, due to long holiday.
Thanks,
From 'man yum.conf' the syntax is 'proxy=http://host:port
metadata' and 'yum clean all' but the problem still persists. Can
you please give me the clue on how to solve this.
Thanks,
junji
aisalen.wordpress.com
Linux Registered User #253162
Is this appening even if you put the proxy=http://host:port directive on
/etc/yum.conf ?
Regards
Lorenzo
and I am getting errors
because the device changes from sdb to sdc and
thanks in advance
Israel
Another quick and dirty way:
put a file (maybe an hiden file) on your device, and on top of your script
search for that file on the various disks...
Cheers
Lorenzo Quatrini
Regards
Lorenzo Quatrini
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
James A. Peltier ha scritto:
Lorenzo Quatrini wrote:
James A. Peltier ha scritto:
Hi All,
I'm trying to find out the best way to mirror the kbsingh
repositories because most of my machines do not have access to the
outside world.
What is the best way to do this. I want extras and misc
/proxy; as
soon as I have news I'll let you know, as in that case you don't need anymore
to setup squid and the proxy box will be really trivial to setup.
Regards
Lorenzo Quatrini
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman
of how I might accomplish this with CentOS?
Hi,
after a lot of googling and searching I think I've found something that looks
really interesting:
http://freshmeat.net/projects/http-replicator
I'm testing it right now, it looks really promising.
Regards
Lorenzo Quatrini
Kai Schaetzl ha scritto:
Lorenzo wrote on Thu, 11 Oct 2007 09:38:21 +0200:
Have you tried mrepo?
How would this help? The main problem is to get rid of the old updates.
Kai
You're right, I thought that mrepo would get rid of old updates by himself, but
id doesn't.
I am looking right now
69 matches
Mail list logo