Re: [CentOS-docs] Contribute to the Wiki

2009-06-28 Thread Ralph Angenendt
John Greiman wrote:
 The current wiki says that you need to install the dkms and dkms-fuse 
 packages, but it is missing key instructions:  1) how-to fix the yum older 
 kernel version dependency issue and 2) how-to configure, make, and install 
 the fuse kernel module.
  
 The reason for all this is that I have a CentOS 5.3 LiveCD that cannot 
 connect to the internet via a public WIFI hotspot (missing iwl3945 ucode) 
 and cannot mount a NTFS filesystem.  All of the necessary files (wget 
 URL's), scripts, and instructions have been tested and are ready to be 
 posted.

So more of a tipps and tricks article. Good. What is your userid on the wiki?

Cheers,

Ralph

pgpqcYm1UuVlJ.pgp
Description: PGP signature
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] CentOS-docs Digest, Vol 34, Issue 23

2009-06-28 Thread John Greiman
My wiki userid is:  JohnGreiman.

--- On Sun, 6/28/09, centos-docs-requ...@centos.org 
centos-docs-requ...@centos.org wrote:


Date: Sun, 28 Jun 2009 13:50:11 +0200
From: Ralph Angenendt ra+cen...@br-online.de
Subject: Re: [CentOS-docs] Contribute to the Wiki
To: centos-docs@centos.org
Message-ID: 20090628115011.ga...@br-online.de
Content-Type: text/plain; charset=utf-8

John Greiman wrote:
 The current wiki says that you need to install the dkms and dkms-fuse 
 packages, but it is missing key instructions:? 1) how-to fix the yum older 
 kernel version dependency issue and 2) how-to configure, make, and install 
 the fuse kernel module.
?
 The reason for all this is that I have a CentOS 5.3 LiveCD that cannot 
 connect to the internet via a public?WIFI hotspot (missing iwl3945 ucode) 
 and cannot mount a NTFS filesystem.? All of the necessary files (wget 
 URL's), scripts, and instructions have been tested and are ready to be 
 posted.

So more of a tipps and tricks article. Good. What is your userid on the wiki?

Cheers,

Ralph


  ___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


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 logging in with SSH?  Or are they getting in via some
kind of web back door?  Maybe because of the website software?  Have
you checked with the software to see if there are known holes?  Are
you running the latest version?

If only certain people need SSH access and that is how the crackers
are getting in, then you could set up your firewall to only accept SSH
connections from certain IPs.  Assuming those who need to get in have
a fixed IP.  You could also set up SSH to only accept connections via
keys, and then install the keys on the server for those who need to
get in.

Lots of questions you need to be asking.

What you can also consider is something I do on my box - run tcpdump
continuously, with the options to create round-robin log files.  You
just have to make sure you'll have enough space for that.  This can
give you TCPIP logs going back X amount of time, so that you can do
forensics with something like Wireshark to see how people are getting
in.

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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% Mounted on
/dev/cciss/c0d0p6  23G  432M   22G   2% /
/dev/mapper/VolGroup00-LogVol00
  5.0G  139M  4.7G   3%
 /home
/dev/mapper/VolGroup00-LogVol03
   98G  275M   93G   1% /var
/dev/mapper/VolGroup00-LogVol02
  5.0G  2.9G  1.9G  61% /usr
/dev/cciss/c0d0p1  99M   19M   75M  20% /boot
tmpfs 470M 0  470M   0% /dev/shm

I would like to have your comments before I continue installin MySQL and others.

Thanks
Yaovi



  ___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[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-host-decl-names on;

# Adresses statiques
host babasse {
   hardware ethernet 00:0d:61:ae:6b:8f;
   fixed-address 192.168.1.249;
}
--8---

Now the question is: how should the configuration look like on the 
client side, so the hostname gets effetively fetched from the DHCP 
server? During the initial install, I assigned hostnames manually to 
every machine.

Cheers,

Niki Kovacs
___
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

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 partition  when I add
 another disk?
 
  FilesystemSize  Used Avail Use% Mounted on
 /dev/cciss/c0d0p6  23G  432M   22G   2% /
 /dev/mapper/VolGroup00-LogVol00
   5.0G  139M  4.7G   3% /home
 /dev/mapper/VolGroup00-LogVol03
98G  275M   93G   1% /var
 /dev/mapper/VolGroup00-LogVol02
   5.0G  2.9G  1.9G  61% /usr
 /dev/cciss/c0d0p1  99M   19M   75M  20% /boot
 tmpfs 470M 0  470M   0% /dev/shm
 
 I would like to have your comments before I continue installin MySQL and
 others.
 
 Thanks
 Yaovi

Yes, add a new disk to the system, then run commands such as:

pvcreate /dev/whatever device it is

vgextend VolGroup00 /dev/whatever device it is

lvextend (either -l +## to add extents or -L +## to add size)
/dev/VolGroup00/LogVol03

resize2fs /dev/VolGroup00/LogVol03

- --
David Goldsmith
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpHjogACgkQ417vU8/9QfkM9QCeIAcvH5Bgkwgv96D50rmAXVbt
MOkAn0MFj0F5SixH/Lnsu63j1X4Dr7JX
=8vaY
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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 while the
filesystem is mounted.  Resizing to shrink a filesystem requires the
filesystem to not be mounted.

Example of online resizing:

# df -h /var
FilesystemSize  Used Avail Use% Mounted on
/dev/mapper/vg0-varlv
  2.0G  605M  1.3G  33% /var
# lvextend -L +1G /dev/vg0/varlv
  Extending logical volume varlv to 3.00 GB
  Logical volume varlv successfully resized

# resize2fs /dev/vg0/varlv
resize2fs 1.39 (29-May-2006)
Filesystem at /dev/vg0/varlv is mounted on /var; on-line resizing required
Performing an on-line resize of /dev/vg0/varlv to 786432 (4k) blocks.
The filesystem on /dev/vg0/varlv is now 786432 blocks long.

# df -h /var
FilesystemSize  Used Avail Use% Mounted on
/dev/mapper/vg0-varlv
  3.0G  605M  2.2G  22% /var

- --
David Goldsmith
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpHkcQACgkQ417vU8/9Qfl1wQCfTvtzeYz6xeDNC6sHyt4A6dT2
W7oAoIHVnagZmxOfjuUGqYmzUmFEOTU3
=wnz+
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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 years. ;^

  
 (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-host-decl-names on;
 
 # Adresses statiques
 host babasse {
hardware ethernet 00:0d:61:ae:6b:8f;
fixed-address 192.168.1.249;
 }
 --8---

This config is just about identical to mine.

 
 Now the question is: how should the configuration look like on the 
 client side, so the hostname gets effetively fetched from the DHCP 
 server? During the initial install, I assigned hostnames manually to 
 every machine.

Unless you have modified the DHCP client config, the machine SHOULD get
the hostname by default.  You can verify this by checking the contents
of /var/lib/dhclient/dhclient-eth0.leases to see the data that the
client has gotten from the server.

Since I let my client machines get all this from DHCP during
installation, I'm not completely sure what you need to do to make the
manually-assigned hostname go away.  I THINK that if you comment out the
line for the host's IP address in /etc/hosts the system will use the
hostname from DHCP, but I haven't exercised that stuff in years.

 
 Cheers,
 
 Niki Kovacs
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
-- 
Ron Loftin  relof...@twcny.rr.com

God, root, what is difference ?   Piter from UserFriendly

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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 best,
Jorge
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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 
 From: Mag Gam magaw...@gmail.com
 To: CentOS mailing list centos@centos.org
 Sent: Sunday, June 28, 2009 3:21:25 AM
 Subject: [CentOS] server is always getting hacked
 
 WE have a centos 5.3 install, and our server is keep getting hacked.
 We see load averages of 500+ and see people from all over the world
 logging into our server (used last).
 
 Is there a good place to start to avoid these kinds of things?
 
 For example, here is what I already did.
 
 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.
 
 
 I am not sure what else measures I can take. Can someone please assist?
 
 TIA
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[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 Gammagaw...@gmail.com 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 500+ and see people from all over the world
logging into our server (used last).

If I understood you correctly, you're saying that running the last
command shows logins worldwide that are not yours? Immediately suspend
/ disable / lockdown the accounts they're logging into if they're not
important (say a user thats only used for a daemon).

If I were you I would immediately set up keys for your ssh, disabling
root ssh login (you can gain root via su - or sudo once you
login), and only enable protocol 2 for ssh.

Install an iptables frontend like APF to help you ban malicious IP addresses.

Are you running the latest version of CentOS? Make sure they don't
have a critical exploit like a kernel privilege escalation exploit.


-- 
Best Regards,

Justin Bull
http://www.sohipitmhz.com/pubkey.txt (PGP Public Key)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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-format and re-install any and all hacked boxes.
5) Change all passwords everywhere and make sure they are not recycled.

Once the baddies got in, they had the chance to install a rootkit.  If you
inspect your box and do not see a rootkit it just means they did a good job
of hacking your box and there is most likely one installed, anyways.

Once the baddies get access to your box the game is over.

-geoff


-
Geoff Galitz
Blankenheim NRW, Germany
http://www.galitz.org/
http://german-way.com/blog/



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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 passwords everywhere and make sure they are not recycled.
   

I think you have steps 1 and 2 reversed.   take it offline THEN make the 
backups etc etc.the infected systems disks should be mounted r/o on 
another secure system for doing said backups.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[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. I found this article:
http://webdesign.about.com/od/htmleditors/tp/aatpwyslinux.htm when I
googled. Recommendations?  TIA!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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 FrontPage user. I found this article:
 http://webdesign.about.com/od/htmleditors/tp/aatpwyslinux.htm when I
 googled. Recommendations?  TIA!

bluefish http://bluefish.openoffice.nl/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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
PutClientHostNameHereNotSureIfItHasToBeSameAsAbove-babasse;
}

#Don't remember what happens when a linux client machine has already
been configured.
#But know for a fact that all pxe booted and live linux booted and
Windows Vista and WinXP
#machines use the hostname from the dhcpd entry.

On Sun, Jun 28, 2009 at 10:38 AM, Niki Kovacscont...@kikinovak.net 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
 (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-host-decl-names on;

 # Adresses statiques
 host babasse {
   hardware ethernet 00:0d:61:ae:6b:8f;
   fixed-address 192.168.1.249;
 }
 --8---

 Now the question is: how should the configuration look like on the
 client side, so the hostname gets effetively fetched from the DHCP
 server? During the initial install, I assigned hostnames manually to
 every machine.

 Cheers,

 Niki Kovacs
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Linux WYSIWYG HTML Editors

2009-06-28 Thread Lanny Marcus
On Sun, Jun 28, 2009 at 4:30 PM, Barry Brimerli...@brimer.org 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
 is easier on a FrontPage user. I found this article:
 http://webdesign.about.com/od/htmleditors/tp/aatpwyslinux.htm when I
 googled. Recommendations?  TIA!

 bluefish http://bluefish.openoffice.nl/

I will check into bluefish. Thank you.  And, when I googled for
SeaMonkey+RPM a couple of minutes ago,  I found this thread.
http://www.linux-archive.org/centos/160041-seamonkey-rpm-centos-5-2-32-bit-yum-repository.html
Apparently, I brought this up last September on the list and that's
when I installed KomPozer.  From the contents of that thread, probably
kompozer or bluefish are the way to go on Linux and *not* SeaMonkey.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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 centos@centos.org 
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
 is easier on a FrontPage user. I found this article:
 http://webdesign.about.com/od/htmleditors/tp/aatpwyslinux.htm when I
 googled. Recommendations?  TIA!

First of all WYSIWYG and HTML are really mutually exclusive ideas.  The
*best* you are going to get (if the editor is sane and does not make
hardwired assumptions about the end-user's browser) is control over the
relative placement of content.  At worst, the page will like fine in
one partitular browser, at one partitular window size, with one set of
fonts installer, and look horrible otherwise, with text and/or graphics
overlaping, etc.

That said, have you looked at nvu? http://www.net2.com/nvu/

The other option is to move away from 'hand edited HTML' and use a
web-based CMS, such as WordPress.

 ___
 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


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
 is easier on a FrontPage user. I found this article:
 http://webdesign.about.com/od/htmleditors/tp/aatpwyslinux.htm when I
 googled. Recommendations?  TIA!

What's wrong with your favourite text editor and preview in Firefox?

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Linux WYSIWYG HTML Editors

2009-06-28 Thread luc...@lastdot.org
On Sun, Jun 28, 2009 at 10:45 PM, Lanny Marcuslmmailingli...@gmail.com wrote:
 On Sun, Jun 28, 2009 at 4:30 PM, Barry Brimerli...@brimer.org 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
 is easier on a FrontPage user. I found this article:
 http://webdesign.about.com/od/htmleditors/tp/aatpwyslinux.htm when I
 googled. Recommendations?  TIA!

 bluefish http://bluefish.openoffice.nl/

 I will check into bluefish. Thank you.  And, when I googled for
 SeaMonkey+RPM a couple of minutes ago,  I found this thread.
 http://www.linux-archive.org/centos/160041-seamonkey-rpm-centos-5-2-32-bit-yum-repository.html
 Apparently, I brought this up last September on the list and that's
 when I installed KomPozer.  From the contents of that thread, probably
 kompozer or bluefish are the way to go on Linux and *not* SeaMonkey.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


The binary from http://getseamonkey.com/ will run just fine on Centos 5.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Linux WYSIWYG HTML Editors

2009-06-28 Thread Rob Townley
On Sun, Jun 28, 2009 at 4:48 PM, Ned Slidern...@unixmail.co.uk 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. Wondering if there is anything else I can use on Linux that
 is easier on a FrontPage user. I found this article:
 http://webdesign.about.com/od/htmleditors/tp/aatpwyslinux.htm when I
 googled. Recommendations?  TIA!

 What's wrong with your favourite text editor and preview in Firefox?

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


It always seemed to me that the only logical reason for FrontPage to
purposely mess up the tag order was in the hopes that someday M$ would
be the only ones capable of detangling it.  Without FrontPage
generating such messy html, i think you will find hand editing
html/xhtml/xml to be not so difficult.  O'Reilly's Head First HTML css
and xhtml is a good book. http://www.headfirstlabs.com/books/hfhtml/

eclipse and some plugins as documened here:
http://web-design.lovetoknow.com/Eclipse_HTML_Editor
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[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 RAID disk and 
original /boot and / change to /dev/sde1 and /dev/sde2.

My modprobe.conf is:

alias scsi_hostadapter megaraid_sas
alias scsi_hostadapter1 ata_piix
alias eth0 bnx2
alias eth0.1998 bnx2
alias eth1 bnx2

how to change sequence back?

Thanks.


  
__
付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] usb

2009-06-28 Thread Jim Perrin
On Sun, Jun 28, 2009 at 3:03 PM, mattiasm...@mjw.se 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 straight 'no'.

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Linux WYSIWYG HTML Editors

2009-06-28 Thread Lanny Marcus
On Sun, Jun 28, 2009 at 4:48 PM, Robert Hellerhel...@deepsoft.com wrote:
 At Sun, 28 Jun 2009 16:17:31 -0500 CentOS mailing list centos@centos.org 
 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
 is easier on a FrontPage user. I found this article:
 http://webdesign.about.com/od/htmleditors/tp/aatpwyslinux.htm when I
 googled. Recommendations?  TIA!

 First of all WYSIWYG and HTML are really mutually exclusive ideas.  The
 *best* you are going to get (if the editor is sane and does not make
 hardwired assumptions about the end-user's browser) is control over the
 relative placement of content.  At worst, the page will like fine in
 one partitular browser, at one partitular window size, with one set of
 fonts installer, and look horrible otherwise, with text and/or graphics
 overlaping, etc.

 That said, have you looked at nvu? http://www.net2.com/nvu/

 The other option is to move away from 'hand edited HTML' and use a
 web-based CMS, such as WordPress.

Robert: KompoZer is a project that built on nvu, which apparently is a
project that stopped. I just looked at Bluefish, incredibly powerful,
but harder for me to learn to use than KompoZer. Your idea about using
WordPress is a brand new idea for me and I will look into that, as
another option. Thank you. Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Linux WYSIWYG HTML Editors

2009-06-28 Thread Lanny Marcus
On Sun, Jun 28, 2009 at 4:48 PM, Ned Slidern...@unixmail.co.uk 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. Wondering if there is anything else I can use on Linux that
 is easier on a FrontPage user. I found this article:
 http://webdesign.about.com/od/htmleditors/tp/aatpwyslinux.htm when I
 googled. Recommendations?  TIA!

 What's wrong with your favourite text editor and preview in Firefox?

End goal and that will probably produce better HTML.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Linux WYSIWYG HTML Editors

2009-06-28 Thread Lanny Marcus
On Sun, Jun 28, 2009 at 5:05 PM, luc...@lastdot.orgluc...@lastdot.org wrote:
 On Sun, Jun 28, 2009 at 10:45 PM, Lanny Marcuslmmailingli...@gmail.com 
 wrote:
 On Sun, Jun 28, 2009 at 4:30 PM, Barry Brimerli...@brimer.org 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
 is easier on a FrontPage user. I found this article:
 http://webdesign.about.com/od/htmleditors/tp/aatpwyslinux.htm when I
 googled. Recommendations?  TIA!
 The binary from http://getseamonkey.com/ will run just fine on Centos 5.

I may install the SeaMonkey Composer and see whether I like that
better than Kompozer.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Linux WYSIWYG HTML Editors

2009-06-28 Thread Lanny Marcus
On Sun, Jun 28, 2009 at 5:06 PM, Rob Townleyrob.town...@gmail.com wrote:
 On Sun, Jun 28, 2009 at 4:48 PM, Ned Slidern...@unixmail.co.uk 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. Wondering if there is anything else I can use on Linux that
 is easier on a FrontPage user. I found this article:
 http://webdesign.about.com/od/htmleditors/tp/aatpwyslinux.htm when I
 googled. Recommendations?  TIA!
snip

 It always seemed to me that the only logical reason for FrontPage to
 purposely mess up the tag order was in the hopes that someday M$ would
 be the only ones capable of detangling it.  Without FrontPage
 generating such messy html, i think you will find hand editing
 html/xhtml/xml to be not so difficult.  O'Reilly's Head First HTML css
 and xhtml is a good book. http://www.headfirstlabs.com/books/hfhtml/

 eclipse and some plugins as documened here:
 http://web-design.lovetoknow.com/Eclipse_HTML_Editor

In addition to the bad HTML code produced by FrontPage, the Server
Extensions for Linux were EOL a long time ago. I want to get away from
FrontPage and Windoze.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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, 2009 at 3:03 PM, mattiasm...@mjw.se 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 straight 'no'.

-- 
During times of universal deceit, telling the truth becomes a
revolutionary act. George Orwell
___
CentOS mailing list
CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] usb

2009-06-28 Thread Jim Perrin
On Sun, Jun 28, 2009 at 7:21 PM, mattiasm...@mjw.se 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 getting it?
The NSA security guide advocates removing the usb storage modules
completely from the kernel tree, and many other security guides
recommend blacklisting the module. There are a few hundred different
ways to keep removable media from showing up. You'll have to clue us
in a bit more as to what's going on.



-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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 jper...@gmail.com a écrit :

 On Sun, Jun 28, 2009 at 7:21 PM, mattiasm...@mjw.se 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 getting it?
 The NSA security guide advocates removing the usb storage modules
 completely from the kernel tree, and many other security guides
 recommend blacklisting the module. There are a few hundred different
 ways to keep removable media from showing up. You'll have to clue us
 in a bit more as to what's going on.



 --  
 During times of universal deceit, telling the truth becomes a  
 revolutionary act.
 George Orwell
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] usb

2009-06-28 Thread Steven Vishoot





- Original Message 
 From: Jim Perrin jper...@gmail.com
 To: CentOS mailing list centos@centos.org
 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 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 straight 'no'.
 
 -- 
 During times of universal deceit, telling the truth becomes a revolutionary 
 act.
 George Orwell
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

Jim,

you know they want you to get your famous crystal ball out and figure out what 
is being said... :-)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/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 mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[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 by the OS. The output of df command is:

[r...@production ~]# df
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
 74859680  16053996  55002960  23% /
/dev/sda1   101086 27066 68801  29% /boot
none480176 0480176   0% /dev/shm
/dev/sdb1976760032 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 that could help me achieve this as I am newbie to Linux and not
very confident with commands. Any suggestions would be greatly appreciated.

Thanks.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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 that could help me achieve this as I am newbie to Linux and not
 very confident with commands. Any suggestions would be greatly appreciated.

Don't be afraid of fdisk, it's really an easy tool to use.  From your
output above it's quite apparent that your USB drive is located at
/dev/sdb.  First unmount your drive (umount /dev/sdb1) and then run
this command as root:

fdisk /dev/sdb

Then hit d to blow away that big vfat partition.  Then you hit n
to create a new partition.  You don't have to know anything about
cylinders, as fdisk will allow you to specify your partition sizes in
megabytes.  Create your three partitions, hit the 'w' key to write out
the new partition table and you're almost done.  Once the partition
table is written you can format your shares like this:

mkfs -text3 /dev/sdb1
mkfs -text3 /dev/sdb2
mkfs -text3 /dev/sdb3

Easy.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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 fee...@googlemail.com
To: CentOS mailing list centos@centos.org
Sent: Saturday, June 27, 2009 11:14:33 PM
Subject: Re: [CentOS] 2 servers cluster

Thnx Brian. This is the first thing that I will do...


On Sat, Jun 27, 2009 at 5:29 PM, Brian Mathis brian.mat...@gmail.com wrote:

CentOS has the redhat piranha packages available for install.  Piranha
is a repackaging of the linux virtual server software, along with a
web-based front-end.  You can find information about that in the
CentOS docs and also by googling for redhat piranha.



On Fri, Jun 26, 2009 at 11:57 PM, fmb fmbfee...@googlemail.com wrote:
 Hi,

 I am thinking of setting up two servers in load balance mode. I would really
 appreciate your suggestions and hints...


 thnx,


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


  ___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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 we wrote our
own geographically distributed database system.
We can adapt that to your project if you are interested.
 
Neil


--
Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
Your e-commerce site can be geographically redundant and available
even if failure occurs. Ask me about the GRed database system. 

 


  _  

From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf
Of Linux Advocate
Sent: Sunday, June 28, 2009 11:18 PM
To: CentOS mailing list
Subject: Re: [CentOS] 2 servers cluster


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 fee...@googlemail.com
To: CentOS mailing list centos@centos.org
Sent: Saturday, June 27, 2009 11:14:33 PM
Subject: Re: [CentOS] 2 servers cluster

Thnx Brian. This is the first thing that I will do...


On Sat, Jun 27, 2009 at 5:29 PM, Brian Mathis brian.mat...@gmail.com
wrote:


CentOS has the redhat piranha packages available for install.  Piranha
is a repackaging of the linux virtual server software, along with a
web-based front-end.  You can find information about that in the
CentOS docs and also by googling for redhat piranha.



On Fri, Jun 26, 2009 at 11:57 PM, fmb fmbfee...@googlemail.com wrote:
 Hi,

 I am thinking of setting up two servers in load balance mode. I would
really
 appreciate your suggestions and hints...


 thnx,


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos




___
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 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 3 logical partitions 33% each. It went numbering
sdb1, sdb5, sdb6 and sdb7. Where's the hell 2,3 and 4? Anyways, I've
got my partitions now and formatted them so, it's all good.

Thanks for your help with this. Next, as I went through Bacula's
pages, I found that they mostly use tape drives for
backupugh...how can I use my usb partitions with Bacula? Any
ideas?

Thanks again!
Cheers :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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 n...@jammconsulting.com
To: CentOS mailing list centos@centos.org
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/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 we wrote 
our
own geographically distributed database system.
We can adapt that to your project if you are 
interested.
 
Neil

--
Neil Aggarwal, (281)846-8957, www.JAMMConsulting.com
Your e-commerce site can be geographically redundant 
and available
even if failure occurs. Ask me about the GRed database 
system. 
 



 From: centos-boun...@centos.org  [mailto:centos-boun...@centos.org] On Behalf 
Of Linux  Advocate
Sent: Sunday, June 28, 2009 11:18 PM
To: CentOS  mailing list
Subject: Re: [CentOS] 2 servers  cluster


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  fee...@googlemail.com
To: CentOS mailing list  centos@centos.org
Sent: Saturday, June 27, 2009 11:14:33  PM
Subject: Re: [CentOS] 2  servers cluster

Thnx Brian. This is the first thing that I will  do...


On Sat, Jun 27, 2009 at 5:29 PM, Brian Mathis brian.mat...@gmail.com wrote:

CentOS has the redhat piranha packages available for  install.  Piranha
is a repackaging of the linux virtual server  software, along with a
web-based front-end.  You can find  information about that in the
CentOS docs and also by googling for  redhat piranha.



On Fri, Jun 26, 2009 at 11:57 PM, fmb fmbfee...@googlemail.com  wrote:
 Hi,

 I am thinking of setting up two servers  in load balance mode. I would really
 appreciate your suggestions and  hints...


 thnx,


___
CentOS  mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


  ___
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 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 partition of 90% disk. Inside that extended
 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
 got my partitions now and formatted them so, it's all good.
 
-- 
It is because you created an Extended Partition.

john

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos