Re: [CentOS] server is always getting hacked

2009-06-28 Thread Alan McKay
> Open up sshd port only > setup iptables to only accept port 80 and 22 > No FTP > No other ports are allowed according to IP Tables. Where is the box? Am I correct that it runs a website? What website software are you running? Who needs to log in with SSH? And where from? Are the crackers log

Re: [CentOS] server is always getting hacked

2009-06-28 Thread Uwe Kiewel
Alan McKay schrieb: >> Open up sshd port only Restrict the access to 22/tcp (ssh) and permit relay required hosts only Uwe ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] Partitionning for future.

2009-06-28 Thread Yaovi Atohoun
Hi all, I have a disk of 146Gb in a machine intended to have mainly mysql database, apache and some web data.  I didn't use LVM for / and /boot during the installtion Could I extend  easily in the future the /var partition  when I add another disk?  Filesystem    Size  Used Avail Use%

[CentOS] Set hostname via DHCP ?

2009-06-28 Thread Niki Kovacs
Hi. I just setup one of my machines as a DHCP server. I'd like it to handle the hostnames of clients. Don't know if this is an orthodox thing to do (feel free to add your comments :oD). Here's the server's relevant lines of dhcpd.conf: --8<--- ... # Envoyer les noms d'hôtes aux clients use

Re: [CentOS] Partitionning for future.

2009-06-28 Thread David Goldsmith
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yaovi Atohoun wrote: > Hi all, > > I have a disk of 146Gb in a machine intended to have mainly mysql > database, apache and some web data. I didn't use LVM for / and /boot > during the installtion > > Could I extend easily in the future the /var pa

Re: [CentOS] Partitionning for future.

2009-06-28 Thread Jorge Fábregas
On Sunday 28 June 2009 11:38:48 am David Goldsmith wrote: > resize2fs /dev/VolGroup00/LogVol03 Does it performs the resizing while the filesystem is mounted? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Partitionning for future.

2009-06-28 Thread David Goldsmith
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jorge Fábregas wrote: > On Sunday 28 June 2009 11:38:48 am David Goldsmith wrote: >> resize2fs /dev/VolGroup00/LogVol03 > > Does it performs the resizing while the filesystem is mounted? Resizing to make an ext2/ext3 filesystem larger can be done wh

Re: [CentOS] Set hostname via DHCP ?

2009-06-28 Thread Ron Loftin
On Sun, 2009-06-28 at 17:38 +0200, Niki Kovacs wrote: > Hi. > > I just setup one of my machines as a DHCP server. I'd like it to handle > the hostnames of clients. Don't know if this is an orthodox thing to do I really don't know if it's "orthodox" or not, but I've been doing it like this for y

Re: [CentOS] Partitionning for future.

2009-06-28 Thread Jorge Fábregas
On Sunday 28 June 2009 11:52:36 am David Goldsmith wrote: > Resizing to make an ext2/ext3 filesystem larger can be done while the > filesystem is mounted.  Resizing to shrink a filesystem requires the > filesystem to not be mounted. Thanks for the tip and for the nice demonstration David. All the

Re: [CentOS] server is always getting hacked

2009-06-28 Thread Linux Advocate
get ; 1. fail2ban - it blocks failed login ips etc 2. get shorewall or any iptables front end and restrict ips to the ranges u need ( or even specific ips) 3. run ssh on a nonstandard port 4. good, long password these steps will go a long way and will get u started. - Original Message -

[CentOS] usb

2009-06-28 Thread mattias
are usb disable in centos 5.3 if so how to enable? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] server is always getting hacked

2009-06-28 Thread Justin Bull
On Sat, Jun 27, 2009 at 12:21 PM, Mag Gam wrote: > I am not sure what else measures I can take. Can someone please assist? You should install an Intrusion Detection System (IDS) as they are great tools to assist you in how the crackers are gaining access into your system. >We see load averages of

Re: [CentOS] server is always getting hacked

2009-06-28 Thread Geoff Galitz
> I am not sure what else measures I can take. Can someone please assist? 1) Make a good backup of the hacked system for data archival and forensic analysis. 2) Take the affected system off-line. 3) Check all other systems in your company as they are definitely at high risk. 4) Completely re-fo

Re: [CentOS] server is always getting hacked

2009-06-28 Thread John R Pierce
> 1) Make a good backup of the hacked system for data archival and forensic > analysis. > 2) Take the affected system off-line. > 3) Check all other systems in your company as they are definitely at high > risk. > 4) Completely re-format and re-install any and all hacked boxes. > 5) Change all pas

[CentOS] OT: Linux WYSIWYG HTML Editors

2009-06-28 Thread Lanny Marcus
I have KomPozer installed, but after using M$ FrontPage for years, KomPozer looks like it is going to have a learning curve and I want to get away from FrontPage and Windows. I know Mark (MHR) uses SeaMonkey. Wondering if there is anything else I can use on Linux that is easier on a FrontPage user

Re: [CentOS] OT: Linux WYSIWYG HTML Editors

2009-06-28 Thread Barry Brimer
> I have KomPozer installed, but after using M$ FrontPage for years, > KomPozer looks like it is going to have a learning curve and I want to > get away from FrontPage and Windows. I know Mark (MHR) uses > SeaMonkey. Wondering if there is anything else I can use on Linux that > is easier on a Fron

Re: [CentOS] Set hostname via DHCP ?

2009-06-28 Thread Rob Townley
# i do NOT have any kind of use-host-decl-names on; entry. Do you use dnsmasq or dhcpd? # /etc/dhcpd.conf Not sure if a dnsmasq entry would be the same anymore. host babasse { hardware ethernet 00:0d:61:ae:6b:8f; fixed-address 192.168.1.249; option host-name "PutClientHostNameHereNot

Re: [CentOS] OT: Linux WYSIWYG HTML Editors

2009-06-28 Thread Lanny Marcus
On Sun, Jun 28, 2009 at 4:30 PM, Barry Brimer wrote: >> I have KomPozer installed, but after using M$ FrontPage for years, >> KomPozer looks like it is going to have a learning curve and I want to >> get away from FrontPage and Windows.  I know Mark (MHR) uses >> SeaMonkey. Wondering if there is an

Re: [CentOS] OT: Linux WYSIWYG HTML Editors

2009-06-28 Thread Robert Heller
At Sun, 28 Jun 2009 16:17:31 -0500 CentOS mailing list wrote: > > I have KomPozer installed, but after using M$ FrontPage for years, > KomPozer looks like it is going to have a learning curve and I want to > get away from FrontPage and Windows. I know Mark (MHR) uses > SeaMonkey. Wondering if

Re: [CentOS] OT: Linux WYSIWYG HTML Editors

2009-06-28 Thread Ned Slider
Lanny Marcus wrote: > I have KomPozer installed, but after using M$ FrontPage for years, > KomPozer looks like it is going to have a learning curve and I want to > get away from FrontPage and Windows. I know Mark (MHR) uses > SeaMonkey. Wondering if there is anything else I can use on Linux that >

Re: [CentOS] OT: Linux WYSIWYG HTML Editors

2009-06-28 Thread luc...@lastdot.org
On Sun, Jun 28, 2009 at 10:45 PM, Lanny Marcus wrote: > On Sun, Jun 28, 2009 at 4:30 PM, Barry Brimer wrote: >>> I have KomPozer installed, but after using M$ FrontPage for years, >>> KomPozer looks like it is going to have a learning curve and I want to >>> get away from FrontPage and Windows.  I

Re: [CentOS] OT: Linux WYSIWYG HTML Editors

2009-06-28 Thread Rob Townley
On Sun, Jun 28, 2009 at 4:48 PM, Ned Slider wrote: > Lanny Marcus wrote: >> I have KomPozer installed, but after using M$ FrontPage for years, >> KomPozer looks like it is going to have a learning curve and I want to >> get away from FrontPage and Windows.  I know Mark (MHR) uses >> SeaMonkey. Wond

[CentOS] How to change Disk sequence on DELL R900 CENTOS 5.3?

2009-06-28 Thread mcclnx mcc
we have DELL R900 with CENTOS 5.3 in it. This DELL R900 come with one integrate PERC6/I and two PERC6/E card. DELL 6/I control 5 internal disks. The original disk sequence are: /dev/sda1 /boot /dev/sda2 / /dev/sdb1 swap ... after I configured PERC6/E disks and reboot, /dev/sda change to R

Re: [CentOS] usb

2009-06-28 Thread Jim Perrin
On Sun, Jun 28, 2009 at 3:03 PM, mattias wrote: > are usb disable in centos 5.3 > if so how to enable? No, USB is not disabled in centos 5.3. Perhaps if you could provide a bit more detail as to what led you to this conclusion, folks on the mailing list could provide a more useful answer than a st

Re: [CentOS] OT: Linux WYSIWYG HTML Editors

2009-06-28 Thread Lanny Marcus
On Sun, Jun 28, 2009 at 4:48 PM, Robert Heller wrote: > At Sun, 28 Jun 2009 16:17:31 -0500 CentOS mailing list > wrote: >> >> I have KomPozer installed, but after using M$ FrontPage for years, >> KomPozer looks like it is going to have a learning curve and I want to >> get away from FrontPage and

Re: [CentOS] OT: Linux WYSIWYG HTML Editors

2009-06-28 Thread Lanny Marcus
On Sun, Jun 28, 2009 at 4:48 PM, Ned Slider wrote: > Lanny Marcus wrote: >> I have KomPozer installed, but after using M$ FrontPage for years, >> KomPozer looks like it is going to have a learning curve and I want to >> get away from FrontPage and Windows.  I know Mark (MHR) uses >> SeaMonkey. Wond

Re: [CentOS] OT: Linux WYSIWYG HTML Editors

2009-06-28 Thread Lanny Marcus
On Sun, Jun 28, 2009 at 5:05 PM, luc...@lastdot.org wrote: > On Sun, Jun 28, 2009 at 10:45 PM, Lanny Marcus > wrote: >> On Sun, Jun 28, 2009 at 4:30 PM, Barry Brimer wrote: I have KomPozer installed, but after using M$ FrontPage for years, KomPozer looks like it is going to have a learni

Re: [CentOS] OT: Linux WYSIWYG HTML Editors

2009-06-28 Thread Lanny Marcus
On Sun, Jun 28, 2009 at 5:06 PM, Rob Townley wrote: > On Sun, Jun 28, 2009 at 4:48 PM, Ned Slider wrote: >> Lanny Marcus wrote: >>> I have KomPozer installed, but after using M$ FrontPage for years, >>> KomPozer looks like it is going to have a learning curve and I want to >>> get away from FrontPa

Re: [CentOS] usb

2009-06-28 Thread mattias
Sorry I connect my usb stick to the serer Nothing happened Fdisk -l dosent help me -Ursprungligt meddelande- Från: centos-boun...@centos.org [mailto:centos-boun...@centos.org] För Jim Perrin Skickat: den 29 juni 2009 00:57 Till: CentOS mailing list Ämne: Re: [CentOS] usb On Sun, Jun 28,

Re: [CentOS] usb

2009-06-28 Thread Jim Perrin
On Sun, Jun 28, 2009 at 7:21 PM, mattias wrote: > Sorry > I connect my usb stick to the serer > Nothing happened > Fdisk -l dosent help me Well, that could be a few things. Try watching the logs (/var/log/messages) when you insert the media. Was anyone else administering this machine prior to you

Re: [CentOS] usb

2009-06-28 Thread probert
Envoyé par Air Courriel http://www.AirCourriel.com http://www.MacTI.ca Le 2009-06-28 à 19:27, Jim Perrin a écrit : > On Sun, Jun 28, 2009 at 7:21 PM, mattias wrote: >> Sorry >> I connect my usb stick to the serer >> Nothing happened >> Fdisk -l dosent help me > > Well, that could be a few thi

Re: [CentOS] usb

2009-06-28 Thread Steven Vishoot
- Original Message > From: Jim Perrin > To: CentOS mailing list > Sent: Sunday, June 28, 2009 5:56:54 PM > Subject: Re: [CentOS] usb > > On Sun, Jun 28, 2009 at 3:03 PM, mattiaswrote: > > are usb disable in centos 5.3 > > if so how to enable? > > No, USB is not disabled in centos

[CentOS] IPVS support in current kernel

2009-06-28 Thread fmb fmb
Is the IP Virtual Server available by default in the stock 2.6.18-128.1.14.el5? Or shall I compile my own kernel? I did check "config-2.6.18-128.1.14.el5" yet I am not that sure! :) Usually how long does it take to compile the kernel on a modern machine? I am using CentOS 5.3 32 bit thnx ___

[CentOS] External USB Drive partitioning and formatting

2009-06-28 Thread Sagar Koirala
Hi, I just bought a Seagate 1TB USB drive thinking that I could create a few partitions in it, format in ext3 fs, then configure bacula to setup a backup server in my CentOS box and backup my windows and mac clients. I have plugged the drive and mounted in /mnt/usbdrive and is seen as /dev/sdb1 b

Re: [CentOS] External USB Drive partitioning and formatting

2009-06-28 Thread Sean Carolan
> /dev/sdb1            976760032     97808 976662224   1% /mnt/usbdrive > > I am thinking of having three partitions instead of just one whole big 1 TB > thing, and then format all three partitions in ext3. I tried doing > fdisk, but cylinders are always confusing for me. Is there any GUI > tool th

Re: [CentOS] 2 servers cluster

2009-06-28 Thread Linux Advocate
taling abt piranha... i understand that its LVS + webfrontend and is suitable fro webpages and so on. What do we need to make it as a LAMP cluster, i.e with a mysql HA backend as well. So-> HA of [ LoadBalancer + Apache + MySQL} Any ideas guys? From: fmb fmb

Re: [CentOS] 2 servers cluster

2009-06-28 Thread Neil Aggarwal
We tried Sequioa: http://www.continuent.com/community/lab-projects/sequoia We wanted automatic failover and geographical distribution of the database nodes. Sequoia only supports master-master operation if the database nodes are on the same subnet. We did not find anything else out there, so w

Re: [CentOS] External USB Drive partitioning, formatting and configuring Bacula server

2009-06-28 Thread Sagar Koirala
Thanks for your help Sean, did all the steps you mentioned. One thing I don't understand, when partitions are created, why does Linux number it awkwardly? For example, I created 1 Primary partition of 10% disk, then created 1 Extended partition of 90% disk. Inside that extended partition, I created

Re: [CentOS] 2 servers cluster

2009-06-28 Thread Linux Advocate
thanx bro. yes i have been looking as well. have looked at drbd... From: Neil Aggarwal To: CentOS mailing list Sent: Monday, June 29, 2009 12:32:46 PM Subject: Re: [CentOS] 2 servers cluster We tried Sequioa: http://www.continuent.com/community/lab-projects

Re: [CentOS] External USB Drive partitioning, formatting and configuring Bacula server

2009-06-28 Thread JohnS
On Mon, 2009-06-29 at 14:36 +1000, Sagar Koirala wrote: > Thanks for your help Sean, did all the steps you mentioned. One thing > I don't understand, when partitions are created, why does Linux number > it awkwardly? For example, I created 1 Primary partition of 10% disk, > then created 1 Extended

Re: [CentOS] How to change Disk sequence on DELL R900 CENTOS 5.3?

2009-06-28 Thread Joseph L. Casale
>how to change sequence back? Rather than chase that never ending loop, maybe now is the time to look into an fstab populated by UUID. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] External USB Drive partitioning, formatting and configuring Bacula server

2009-06-28 Thread Bent Terp
On Mon, Jun 29, 2009 at 6:36 AM, Sagar Koirala wrote: > partition, I created 3 logical partitions 33% each. It went numbering > sdb1, sdb5, sdb6 and sdb7. Where's the hell 2,3 and 4? Anyways, I've partitions 1 through 4 are dedicated to primary/extended partitions, logicals start from 5. this is