Re: [CentOS-docs] SELinux

2008-08-11 Thread Manuel Wolfshant

Ned Slider wrote:

Hi list,

I've knocked up a contribution on SELinux here:

http://wiki.centos.org/HowTos/SELinux

I've tried to pitch it as an introduction for those not already 
familiar with SELinux but also hopefully a useful reference.


I'm relatively new to SELinux and have covered pretty much everything 
I know to the limits of my limited knowledge. If folks think other 
material needs to be covered then it may be more appropriate for them 
to make the additions rather than me. Consider it a get the ball 
rolling contribution that the community can add to as necessary :)


Comments welcomed,
I would add the following just before Sumamry (in case one wants to 
edit the rules suggested by audit2allow):


   Building module policy manually


- grep sendmail /var/log/audit/audit.log | audit2allow -M postfix
- while reviewing the generated postfix.te

   module local 1.0;

   require {
   type httpd_log_t;
   type postfix_postdrop_t;
   class dir getattr;
   class file { read getattr };
   }

   #= postfix_postdrop_t ==
   allow postfix_postdrop_t httpd_log_t:file getattr;


we decide that we do not want either to *relabel* the files or to 
*allow* the action, but it is safe to *ignore* the warnings. Therefore 
we edit the action rule, like below:


   dontaudit postfix_postdrop_t httpd_log_t:file getattr;

We now need to compile and load the policy:

   $ checkmodule -M -m -o postfix.mod postfix.te
   $ semodule_package -o local.pp -m postfix.mod
   $ semodule -i postfix.pp



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


Re: [CentOS-docs] SELinux

2008-08-11 Thread Ralph Angenendt
Ned Slider wrote:
 Hi list,

 I've knocked up a contribution on SELinux here:

 http://wiki.centos.org/HowTos/SELinux

 I've tried to pitch it as an introduction for those not already familiar  
 with SELinux but also hopefully a useful reference.

Great article. 

What maybe should be added to the article is the fact, that SELinux
doesn't need programs to be changed, meaning that programs do not (need
to) know about SELinux at all for it to work. So a SELinux denial just
looks like a normal access denied to any program.

Cheers,

Ralph


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


Re: [CentOS-virt] Need Kernel for NetBSD to install on Xen

2008-08-11 Thread Pierre-Philipp Braun
Augustin,

install the x86_64 version of CentOS 5.2.  You will be able to boot the
NetBSD/amd64-current domU install kernel.

-Pierre-Philipp

Quoting white list (11/08/2008 19:16),
 Hello You All,
 I'm trying to install NetBSD on Xen. Anyone, I need a kernel to install
 NetBSD or FreeBSD or both to install it on Xen 3.2 running from CentOS 5.2
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Need Kernel for NetBSD to install on Xen

2008-08-11 Thread white list
what do I need to do to install NetBSD I don't care what release I just want
to install NetBSD on CentOS 5.2 x86_64  version Xen 3.2.

It seems to make no difference if I use netbsd-INSTALL_XEN3_DOMU.gz (i386)
or x86_64 architecture.
Please Help.
Thanks,
Augustin




On Mon, Aug 11, 2008 at 12:29 PM, Pierre-Philipp Braun [EMAIL PROTECTED]wrote:

 Augustin,

 Yes NetBSD/i386 domU won't work: It's non-PAE and CentOS wants PAE.

 Here's a mirror of the NetBSD-current daily snapshots,
 ftp://ftp.fr.netbsd.org/pub/NetBSD-daily/HEAD
 As for today you might want this one,

 ftp://ftp.fr.netbsd.org/pub/NetBSD-daily/HEAD/200808090002Z/amd64/binary/kernel/netbsd-INSTALL_XEN3_DOMU.gz

 -Pierre-Philipp

 Quoting white list (11/08/2008 20:36),
  If try to install i386 architecture it won't work i get an error message.
  Using config file /etc/xen/vm02.
  Error: (2, 'Invalid kernel', 'xc_dom_compat_check: guest type
  xen-3.0-x86_32 not supported by xen kernel, sorry\n')
 
  Thats why i'm looking to get a amd64 kernel to install NetBSD or FreeBSD
  or both.
  Thanks,
  - Augustin
 
 
 
  On Mon, Aug 11, 2008 at 11:29 AM, Pierre-Philipp Braun
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 
  Augustin,
 
  install the x86_64 version of CentOS 5.2.  You will be able to boot
 the
  NetBSD/amd64-current domU install kernel.
 
  -Pierre-Philipp
 
  Quoting white list (11/08/2008 19:16),
   Hello You All,
   I'm trying to install NetBSD on Xen. Anyone, I need a kernel to
  install
   NetBSD or FreeBSD or both to install it on Xen 3.2 running from
  CentOS 5.2
  ___
  CentOS-virt mailing list
  CentOS-virt@centos.org mailto:CentOS-virt@centos.org
  http://lists.centos.org/mailman/listinfo/centos-virt
 
 
 
  
 
  ___
  CentOS-virt mailing list
  CentOS-virt@centos.org
  http://lists.centos.org/mailman/listinfo/centos-virt
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt

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


Re: [CentOS] Question about Open SSH Public Keys

2008-08-11 Thread Dirk H. Schulz
You could start the ssh server on that machine with -vvv to get a 
detailled, verbose logging. That does not always lead to entries making 
clear what happens, but to entries you can use for googling (or asking 
here).


I would also have a look at DNS - compare forward and reverse lookups (are 
they the same for the from=... entry?), does that Centos4-Box reach the 
DNS RELIABLY etc. SSH lies much emphasis on a working DNS.


Dirk

--On 11. August 2008 15:50:38 +1200 Clint Dilks [EMAIL PROTECTED] 
wrote:



Hi People

I am setting up some systems with ssh public keys and as part of this I
am using the from directive inside .ssh/authorized_keys.  Currently I am
using the IP address to control the source.  eg from=10.0.0.1 but on
one CentOS 4 System that is up to date this will only work if I replace
the IP with the DNS name of the server.  I have verified that DNS is
resolving the DNS Name to the correct IP address on the server in
question and all seems to be fine.
Aside from this CentOS Box have only been able to test this out on some
old FC6 Machines
 and they behave as I expected.  Anyone got any ideas why this might be
happening ?  I have compared the sshd config between the FC6 Machines and
the CentOS Box and can't spot anything that would explain the issue.

Thanks for any ideas, and have a nice day :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos




--
Dirk H. Schulz
IT Systems Service
Wiesenweg 12, 85567 Grafing
Tel. 0 80 92/86 25 68
Fax. 0 80 92/86 25 72
--
Technik vom Feinsten - und das nötige Tuning
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Need to restart ypserv to update the nis maps

2008-08-11 Thread Theo Band

Hi

I use NIS om my network (CentOS4.6). When an update on a map occurs 
(home directory changed in /etc/passwd for instance), I run make -C 
/var/yp/ and check the result on a client. On the client I use ypcat 
passwd and find indeed that the update has propagated (the clients run 
ypbind service). On the client I have configured /etc/nsswitch.conf with :

passwd: files nis
shadow: files nis
group:  files nis

The problem is however that on the client, if I try to use the new data, 
it still uses the old one. For instance cd ~john still directs me to 
the old path instead of to the updated path (as correctly reported by 
ypcat passwd).
To solve it I need to restart the ypserv service on the nis server for 
every change.


Does anyone now what could be the problem or where I should look? 
Apparently the OS gets password and user info using another way than the 
ypcat tool.


(ypserv-2.13-18,ypbind-1.17.2-13)

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


Re: [CentOS] Need to restart ypserv to update the nis maps

2008-08-11 Thread Clint Dilks

Theo Band wrote:

Hi

I use NIS om my network (CentOS4.6). When an update on a map occurs 
(home directory changed in /etc/passwd for instance), I run make -C 
/var/yp/ and check the result on a client. On the client I use ypcat 
passwd and find indeed that the update has propagated (the clients 
run ypbind service). On the client I have configured 
/etc/nsswitch.conf with :

passwd: files nis
shadow: files nis
group:  files nis

The problem is however that on the client, if I try to use the new 
data, it still uses the old one. For instance cd ~john still directs 
me to the old path instead of to the updated path (as correctly 
reported by ypcat passwd).
To solve it I need to restart the ypserv service on the nis server for 
every change.


Does anyone now what could be the problem or where I should look? 
Apparently the OS gets password and user info using another way than 
the ypcat tool.


(ypserv-2.13-18,ypbind-1.17.2-13)

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


Hi Theo,

As you are talking about the users homes I assume you are providing this 
via something like NFS?


If so it is your autofs information that controls what home gets mounted 
not the passwd information.


You can configure autofs to reference a NIS map.  Normally I would 
expect this to be something like auto_home.  An entry in this file might 
look like

user  server:nfs exported dir:

And you would have an entry in /etc/auto.master
/home  auto.home

I hope this helps :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Need to restart ypserv to update the nis maps

2008-08-11 Thread Clint Dilks

Clint Dilks wrote:

Theo Band wrote:

Hi

I use NIS om my network (CentOS4.6). When an update on a map occurs 
(home directory changed in /etc/passwd for instance), I run make -C 
/var/yp/ and check the result on a client. On the client I use ypcat 
passwd and find indeed that the update has propagated (the clients 
run ypbind service). On the client I have configured 
/etc/nsswitch.conf with :

passwd: files nis
shadow: files nis
group:  files nis

The problem is however that on the client, if I try to use the new 
data, it still uses the old one. For instance cd ~john still 
directs me to the old path instead of to the updated path (as 
correctly reported by ypcat passwd).
To solve it I need to restart the ypserv service on the nis server 
for every change.


Does anyone now what could be the problem or where I should look? 
Apparently the OS gets password and user info using another way than 
the ypcat tool.


(ypserv-2.13-18,ypbind-1.17.2-13)

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


Hi Theo,

As you are talking about the users homes I assume you are providing 
this via something like NFS?


If so it is your autofs information that controls what home gets 
mounted not the passwd information.


You can configure autofs to reference a NIS map.  Normally I would 
expect this to be something like auto_home.  An entry in this file 
might look like

user  server:nfs exported dir:

And you would have an entry in /etc/auto.master
/home  auto.home

I hope this helps :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Just to clarify this post.  The password file is still referenced eg if 
you have a user bob on your system with a home dir set to /home/bob 
(from the passwd file)  autofs tells your system where to mount 
/home/bob from rather than looking on local disk.


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


Re: [CentOS] Writable Centos LiveCD on Embeded Linux?

2008-08-11 Thread Johnny Hughes

Oliver Schulze L. wrote:

Hi Stephen,
thanks for answering.

I'm trying to see if I can get a router using an embeded platform, alix 
in this case.
Since the Alix platform is getting more powerfull and the 1GB compatch 
flash is also
getting cheaper, I was think in createing a full Centos distro booting 
in that platform.


Will read more about the overlay feature and see if it will do the job 
for me.


But maybe I will go back to have an ext2 partition and don't write to 
it. I like

the LiveCD option because of the fast (no fsck) boot feature

Regards,
Oliver

Stephen John Smoogen wrote:
On Sun, Aug 10, 2008 at 1:19 PM, Oliver Schulze L. 
[EMAIL PROTECTED] wrote:
 

Hi Stephen,
I read about the overlay feature in Fedora9, but I don't know if when 
the

changes
to the FS are so big (like going from 5.1 to 5.2) the overlay will 
grow and

grow
over time. And the overlay solution will require too much space.




For the live Cd that is about your only choise. The overlay will not
grow.. it will eventually fill up, but if you are making that many
changes in an embedded environment you really need to think about why
you aren't doing a complete reflush of the SSD


OK ... what would be the benefit of booting and updating the livecd as 
compared to just installing and updating CentOS on the flash.


There is nothing special about the RPMS on the LiveCD as compared to 
regular CentOS.


The only possible thing I see as an advantage would be the fact that the 
OS was NOT WRITABLE .. however, by rolling in the overlay feature, you 
would be over riding that.


Am I missing something here?



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos 5.2 / sun java ?

2008-08-11 Thread Johnny Hughes

John R Pierce wrote:

Heiko Adams wrote:

But maybe CentOS doesn't need to redistribute those RPMS for two
reasons:
1) CentOS testing already has IcedTea 6 RPMS
2) Somewhere I've read that Red Hat plans to integrate IcedTea RPMS into
5.3
  




agreed

I dunno any enterprise Java developers who are using OpenJDK for any 
production work yet.  sure, people are watching it to see how it comes 
out, but I suspect it will be a couple years yet before its considered 
production grade at places like where I work.


Well ... that still does not make older versions of sun java 
redistributable :D


if/when upstream rolls java into RHEL in a way that is redistributable, 
we will build it also for CentOS.




signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Need to restart ypserv to update the nis maps

2008-08-11 Thread Mogens Kjaer

Theo Band wrote:
...
The problem is however that on the client, if I try to use the new data, 
it still uses the old one. 


If you run authconfig-gtk on the client and look at the Options tab,
is Cache user information selected?

Mogens

--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Need to restart ypserv to update the nis maps

2008-08-11 Thread Stephen Harris
On Mon, Aug 11, 2008 at 11:05:58AM +0200, Theo Band wrote:
 I actually have problems that passwords don't get updated. I noticed 
 that by changing the home directory in /etc/passwd. When I change that 
 from /home/user to /nobackup/home/user it does work with ypcat passwd (I 
 see the correct path on the client). When I do cd ~user however, it 

Had you already done a cd ~user before the change?  Some shells cache
the home directory lookup so doesn't notice changes.

The other place to look into would be nscd; if you're running that
on the client then lookups are cached locally for a period of time.
This can result in changes not appearing on a client machine immediately.
ypcat talks directly to the NIS server, whereas the NS resolver
routines (nsswitch.conf entries) will utilise nscd if it's running.
What does getent passwd say?  That uses the OS resolver routines.
Or finger user?

You can test this on the client by
  service nscd stop
  rm /var/db/nscd/*
  service nscd start
and seeing if that works.

The fact that ypcat returns the right results means the _server_ is
working properly.

-- 

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


Re: [CentOS] Need to restart ypserv to update the nis maps

2008-08-11 Thread Ralph Angenendt
Theo Band wrote:
 The problem is however that on the client, if I try to use the new data,  
 it still uses the old one. For instance cd ~john still directs me to  
 the old path instead of to the updated path (as correctly reported by  
 ypcat passwd).
 To solve it I need to restart the ypserv service on the nis server for  
 every change.

Are you running nscd, the name service caching daemon?

Ralph


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


Re: [CentOS] Need to restart ypserv to update the nis maps

2008-08-11 Thread James Pearson

Theo Band wrote:

Hi

I use NIS om my network (CentOS4.6). When an update on a map occurs 
(home directory changed in /etc/passwd for instance), I run make -C 
/var/yp/ and check the result on a client. On the client I use ypcat 
passwd and find indeed that the update has propagated (the clients run 
ypbind service). On the client I have configured /etc/nsswitch.conf with :

passwd: files nis
shadow: files nis
group:  files nis

The problem is however that on the client, if I try to use the new data, 
it still uses the old one. For instance cd ~john still directs me to 
the old path instead of to the updated path (as correctly reported by 
ypcat passwd).
To solve it I need to restart the ypserv service on the nis server for 
every change.


Does anyone now what could be the problem or where I should look? 
Apparently the OS gets password and user info using another way than the 
ypcat tool.


Are your running nscd on the clients?

If so, try disabling nscd and see if that make a difference.

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


Re: [CentOS] Need to restart ypserv to update the nis maps

2008-08-11 Thread Theo Band

Mogens Kjaer wrote:


Theo Band wrote:
...
The problem is however that on the client, if I try to use the new 
data, it still uses the old one. 


If you run authconfig-gtk on the client and look at the Options tab,
is Cache user information selected?

Mogens


I have not enabled this option. (Didn't realize it exists either...)

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


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Lanny Marcus
On Sun, Aug 10, 2008 at 5:40 PM, Akemi Yagi [EMAIL PROTECTED] wrote:
 On Sun, Aug 10, 2008 at 3:11 PM, Frank Cox [EMAIL PROTECTED] wrote:
 On Sun, 10 Aug 2008 17:04:16 -0500
 Lanny Marcus [EMAIL PROTECTED] wrote:

 Should I try to learn
 vi (Vim) (which obviously will help me, if I ever need to
 administer a remote box)  or install Emacs or something else,
 for the gcc editor?

 That's the sort of question where, if you ask ten people for their opinion, 
 you
 will get sixteen different answers.  At least.

 I personally use either vi or nedit, depending on what the current
 environment is and what I'm trying to accomplish.

 OK, I'm the second of the sixteen answers.  I use vi and elvis (GUI
 editor 100% compatible with vi).  I highly recommend you learn vi.
 You will never regret  :-D

Akemi: I think by the time I finished the question yesterday, I answered my own
question. I am going to learn how to use vi (actually, vim). This is the
first time I have heard of the elvis editor. As you wrote, I will not regret
learning vi and the other editors might not be available in a remote box.
Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Lanny Marcus
On Sun, Aug 10, 2008 at 6:19 PM, Nifty Cluster Mitch
[EMAIL PROTECTED] wrote:
 On Sun, Aug 10, 2008 at 05:04:16PM -0500, Lanny Marcus wrote:
 I downloaded the .pdf version of Thinking in C++ and I've
 begun to read that and I did
 yum groupinstall 'Development Tools'   I'm a Newbie Desktop
 user, jumping into the deep end of the pool. Should I try to learn
 vi (Vim) (which obviously will help me, if I ever need to
 administer a remote box)  or install Emacs or something else,
 for the gcc editor?  An easy learning curve is strongly preferred,
 but, I am 100% aware of the advantages of vi. Recommendations?
 TIA!

 gvim
 There is almost no pain if you stick with gvim (vim).
 The help is full of helpfull stuff, the mouse works,
 syntax and keyword aware

gvim sounds interesting. Thanks! I tried to install it, but it's not
in rpmforge.
Is it in another yum repository?

 You might also look at Eclipse.

First time I've heard of that one.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vncserver on IPv6

2008-08-11 Thread Robert Moskowitz

Not working

Rob Lockhart wrote:

In /etc/sysconfig/vncservers I have something like this:

VNCSERVERS=1:myusername
VNCSERVERARGS[1]=-geometry 1400x1050 -depth 16 -localhost

(so I can only use localhost, which means I only allow connections 
over ssh or from the local machine).


Yours might be something like this:

VNCSERVERS=1:robert
VNCSERVERARGS[1]=-geometry 1400x1050 -depth 16 InTransports=IPv6,IPv4


Well first my line has [2].  I changed that to [1] and tried all sorts 
of variants to the above, including putting a - infront of InTransports 
(like other options), and replacing the = with a space.  No listening on 
IPv6.


I have foudn the RealVNC support mailing list and sent a question there, 
hopefully to get answers.  But if anyone has anything to suggest here, 
please do.




then obviously as root:
service vncserver restart

Have you tried that?  Does VNC work over IPv4?


On Fri, Aug 8, 2008 at 3:55 PM, Robert Moskowitz [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


http://www.realvnc.com/products/enterprise/4.1/ipv6.html


  IPv6 support in VNC Server E4.1.7/P4.1.2

VNC Server E4.1.7  P4.1.2 are fully IPv6-aware, but is shipped
with IPv6 support disabled by default, for security reasons. IPv6
can be enabled by setting InTransports=IPv6,IPv4 (the default
being IPv4 only), either on the command-line when starting
vncserver under Unix

Ok.  we have vnc-server-4.1.2-9.el5.i386.rpm, so it SHOULD support
IPv6.

Don't know how to add a setting to the command-line, as I rund
VNCserver via the service command, but I added it to
/etc/sysconfig/vncservers:

InTransports=IPv6   (note I also tried without the quotes)

and netstat -na|grep 5902

shows vncserver only running on IPv4 and I can only connect to it
via IPv4.

So what am I missing?




___
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] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Lanny Marcus
On Sun, Aug 10, 2008 at 9:07 PM, Vaclav Mocek [EMAIL PROTECTED] wrote:
 Lanny Marcus wrote:
 I downloaded the .pdf version of Thinking in C++ and I've
 begun to read that and I did
 yum groupinstall 'Development Tools'   I'm a Newbie Desktop
 user, jumping into the deep end of the pool. Should I try to learn
 vi (Vim) (which obviously will help me, if I ever need to
 administer a remote box)  or install Emacs or something else,
 for the gcc editor?  An easy learning curve is strongly preferred,
 but, I am 100% aware of the advantages of vi. Recommendations?
 TIA!
snip

 I suggest to install Eclipse and CDT plugin and you get a full IDE
 http://www.eclipse.org/cdt/

I will look at Eclipse, but one of my goals is to be able to fix problems on
a remote box and that will probably require vi.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Ross S. W. Walker
Lanny Marcus wrote:
 On Sun, Aug 10, 2008 at 6:19 PM, Nifty Cluster Mitch
 [EMAIL PROTECTED] wrote:
  On Sun, Aug 10, 2008 at 05:04:16PM -0500, Lanny Marcus wrote:
  I downloaded the .pdf version of Thinking in C++ and I've
  begun to read that and I did
  yum groupinstall 'Development Tools'   I'm a Newbie Desktop
  user, jumping into the deep end of the pool. Should I try to learn
  vi (Vim) (which obviously will help me, if I ever need to
  administer a remote box)  or install Emacs or something else,
  for the gcc editor?  An easy learning curve is strongly preferred,
  but, I am 100% aware of the advantages of vi. Recommendations?
  TIA!
 
  gvim
  There is almost no pain if you stick with gvim (vim).
  The help is full of helpfull stuff, the mouse works,
  syntax and keyword aware
 
 gvim sounds interesting. Thanks! I tried to install it, but it's not
 in rpmforge.
 Is it in another yum repository?
 
  You might also look at Eclipse.
 
 First time I've heard of that one.

Well Eclipse is more of an IDE (Integrated Development Environment)
which I think having one that works across multiple languages is
essential.

Emacs was the original IDE, but the GUI gives a lot more to the
environment, contextual language reference, interface designing,
etc. Though Emacs purists will argue that elisp modules exist
to provide those, and they probably do, but GUI interface
design tools, most likely they do not.

vi is an essential tool to learn though for system administration
and quick-n-dirty coding, but to really develop a software system
you need an IDE, preferably one that can handle multiple languages,
has a GUI designer, language reference tools, and integrates with
multiple revision control systems (rcs/cvs, subversion, git).

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Ralph Angenendt
Lanny Marcus wrote:
 On Sun, Aug 10, 2008 at 6:19 PM, Nifty Cluster Mitch
  gvim
  There is almost no pain if you stick with gvim (vim).
  The help is full of helpfull stuff, the mouse works,
  syntax and keyword aware
 
 gvim sounds interesting. Thanks! I tried to install it, but it's not
 in rpmforge.
 Is it in another yum repository?

Yes, in base. It's what you get when you install vim-X11.

yum provides \*gvim\* can tell you things like that.

Cheers,

Ralph


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


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Lanny Marcus
On Mon, Aug 11, 2008 at 11:09 AM, Ross S. W. Walker
[EMAIL PROTECTED] wrote:
snip
 Well Eclipse is more of an IDE (Integrated Development Environment)
 which I think having one that works across multiple languages is
 essential.

 Emacs was the original IDE, but the GUI gives a lot more to the
 environment, contextual language reference, interface designing,
 etc. Though Emacs purists will argue that elisp modules exist
 to provide those, and they probably do, but GUI interface
 design tools, most likely they do not.

 vi is an essential tool to learn though for system administration
 and quick-n-dirty coding, but to really develop a software system
 you need an IDE, preferably one that can handle multiple languages,
 has a GUI designer, language reference tools, and integrates with
 multiple revision control systems (rcs/cvs, subversion, git).

Ross: Thank you, for all of the above. It looks like I need to learn both
vi and an IDE, for different tasks. Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Lanny Marcus
On Mon, Aug 11, 2008 at 11:09 AM, Ralph Angenendt
[EMAIL PROTECTED] wrote:
 Lanny Marcus wrote:
 On Sun, Aug 10, 2008 at 6:19 PM, Nifty Cluster Mitch
  gvim
  There is almost no pain if you stick with gvim (vim).
  The help is full of helpfull stuff, the mouse works,
  syntax and keyword aware

 gvim sounds interesting. Thanks! I tried to install it, but it's not
 in rpmforge.
 Is it in another yum repository?

 Yes, in base. It's what you get when you install vim-X11.

 yum provides \*gvim\* can tell you things like that.

Thanks! I've got it now.

Installed: vim-X11.i386 2:7.0.109-3.el5.3
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?) [Going OT]

2008-08-11 Thread William L. Maltby

On Mon, 2008-08-11 at 11:04 -0500, Lanny Marcus wrote:
 snip

 Vi or vim. I think Emacs would just cloud my mind, when I'm trying to absorb
 C++Lanny

If you have C experience, it'll be quick once you get your head around
constructors, destructors, inheritance, templates (I never did enough of
that to get it), et al.

It essentially implements a bunch of things we used to do as functions,
libraries or modules when we recognized a strong re-usability potential,
and formalizes all that to the object oriented model.

Good luck on it and I know you'll enjoy it once you see results.

 snip sig stuff

-- 
Bill

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


[CentOS] Looking for linphone

2008-08-11 Thread Robert Moskowitz

Where might I find an rpm for Centos?


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


Re: [CentOS] ext2online / ext2resize

2008-08-11 Thread Al Sparks
--- On Thu, 8/7/08, Ignacio Vazquez-Abrams [EMAIL PROTECTED] wrote:

 From: Ignacio Vazquez-Abrams [EMAIL PROTECTED]
 Subject: Re: [CentOS] ext2online / ext2resize
 To: CentOS mailing list centos@centos.org
 Date: Thursday, August 7, 2008, 5:42 PM
 On Thu, 2008-08-07 at 18:32 -0700, Al Sparks wrote:
  I'm running CentOS 5.2 x x86_64.
  
  I did an lvextend of a logical volume, and proceeded
 to run one of the
  ext2 utilities (e.g. ext2online, ext2resize) and found
 to my surprise
  that it wasn't on there.
 
 Did you mean resize2fs?

Yes, I did.  I found the program.

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


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?) [Going OT]

2008-08-11 Thread Lanny Marcus
On Mon, Aug 11, 2008 at 11:38 AM, William L. Maltby
[EMAIL PROTECTED] wrote:

 On Mon, 2008-08-11 at 11:04 -0500, Lanny Marcus wrote:
 snip

 Vi or vim. I think Emacs would just cloud my mind, when I'm trying to absorb
 C++Lanny

 If you have C experience, it'll be quick once you get your head around
 constructors, destructors, inheritance, templates (I never did enough of
 that to get it), et al.

 It essentially implements a bunch of things we used to do as functions,
 libraries or modules when we recognized a strong re-usability potential,
 and formalizes all that to the object oriented model.

 Good luck on it and I know you'll enjoy it once you see results.

Thanks! Not much C experience. I'm an old Assembly Language guy. Trying to
enter the 21st century now. C++ is a lot to learn and it looks like a
lot of it has to do with
the way things are done in OOP. The book is very long (878 pages) but
well regarded.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Lanny Marcus
On Sun, Aug 10, 2008 at 6:19 PM, Nifty Cluster Mitch
[EMAIL PROTECTED] wrote:
 On Sun, Aug 10, 2008 at 05:04:16PM -0500, Lanny Marcus wrote:

 I downloaded the .pdf version of Thinking in C++ and I've
 begun to read that and I did
 yum groupinstall 'Development Tools'   I'm a Newbie Desktop
 user, jumping into the deep end of the pool. Should I try to learn
 vi (Vim) (which obviously will help me, if I ever need to
 administer a remote box)  or install Emacs or something else,
 for the gcc editor?  An easy learning curve is strongly preferred,
 but, I am 100% aware of the advantages of vi. Recommendations?
 TIA!

 gvim

 There is almost no pain if you stick with gvim (vim).
 The help is full of helpfull stuff, the mouse works,
 syntax and keyword aware

Thank you! gvim is slick. As you wrote, it has lots of help
and it will be easy to learn how to use vi, by learning on gvim. Better
than holding a cheat sheet or having a book open, trying
to figure out what to do, when learning.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Looking for linphone

2008-08-11 Thread Ignacio Vazquez-Abrams
On Mon, 2008-08-11 at 12:49 -0400, Robert Moskowitz wrote:
 Where might I find an rpm for Centos?

RPMForge for EL4, centos.karan.org for EL5.

-- 
Ignacio Vazquez-Abrams [EMAIL PROTECTED]

PLEASE don't CC me; I'm already subscribed


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?) [Going OT]

2008-08-11 Thread William L. Maltby

On Mon, 2008-08-11 at 12:38 -0500, Lanny Marcus wrote:
 On Mon, Aug 11, 2008 at 11:38 AM, William L. Maltby
 [EMAIL PROTECTED] wrote:
 
  On Mon, 2008-08-11 at 11:04 -0500, Lanny Marcus wrote:
  snip
 
  Vi or vim. I think Emacs would just cloud my mind, when I'm trying to 
  absorb
  C++Lanny
 
 snip

 Thanks! Not much C experience. I'm an old Assembly Language guy. Trying to

Ditto - IBM 360/370. Some things never leave. BALR 14, save area trace
register 13, etc. I still love assembly. Speed and efficiency were my
big thing.

 enter the 21st century now. C++ is a lot to learn and it looks like a
 lot of it has to do with
 the way things are done in OOP. The book is very long (878 pages) but
 well regarded.

Yes, OOP is the whole purpose of C++. When it first came out, I
dismissed it as fluff (OOP was really new then and initial specs and
implementations had not much power). By the time C95 came out, things
had started to look more useful. By now (I've not looked in a long time)
I'm sure it deserves its highly regarded status.

 snip sig stuff

Well, don't want to pollute the list further. I'll just say that you
should grab some small snippets of a real application to peruse as you
go through the book. It will help assimilation (no, not the Borg kind!)
immensely.

Enjoy!

-- 
Bill

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


[CentOS] Re: gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Scott Silva

on 8-11-2008 9:06 AM Lanny Marcus spake the following:

On Sun, Aug 10, 2008 at 9:07 PM, Vaclav Mocek little.owl-PkL3B3/[EMAIL 
PROTECTED] wrote:

Lanny Marcus wrote:

I downloaded the .pdf version of Thinking in C++ and I've
begun to read that and I did
yum groupinstall 'Development Tools'   I'm a Newbie Desktop
user, jumping into the deep end of the pool. Should I try to learn
vi (Vim) (which obviously will help me, if I ever need to
administer a remote box)  or install Emacs or something else,
for the gcc editor?  An easy learning curve is strongly preferred,
but, I am 100% aware of the advantages of vi. Recommendations?
TIA!

snip


I suggest to install Eclipse and CDT plugin and you get a full IDE
http://www.eclipse.org/cdt/


I will look at Eclipse, but one of my goals is to be able to fix problems on
a remote box and that will probably require vi.
Then you shouldn't go wrong, because I have yet to be on a linux box or a bsd 
box that didn't have some form or emulation of vi installed.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] df to get total disk usage on all filesystems?

2008-08-11 Thread Sean Carolan
Is there a flag for the df command to get the total disk space used on
all filesystems as one number?  I have a server with a lot of mounted
shares.  I'm looking for a simple way to measure rate of data growth
across all shares as one total value.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-11 Thread Stephen Harris
 Is there a flag for the df command to get the total disk space used on
 all filesystems as one number?  I have a server with a lot of mounted
 shares.  I'm looking for a simple way to measure rate of data growth
 across all shares as one total value.

Not directly, but you can add up all the entries mounted from /dev with
a simple awk statement:

df -kl | awk '/^\/dev\// { avail += $3/1024 } END { printf(%d Mb 
used\n,avail)} '

-- 

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


Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-11 Thread Aleksey Tsalolikhin
Dear Sean,

  No, there isn't.   You'd have to parse the df output to get that
value.  I suggest using the -P switch to df, so you don't have to deal
with multi-line output per filesystem.

  The following will return kilobytes of disk space used (third column
in the df -kP output):

df -kP |grep -v ^Filesystem |awk '{sum += $3} END { print sum; }  '


Best,
-at

On 8/11/08, Sean Carolan [EMAIL PROTECTED] wrote:
 Is there a flag for the df command to get the total disk space used on
 all filesystems as one number?  I have a server with a lot of mounted
 shares.  I'm looking for a simple way to measure rate of data growth
 across all shares as one total value.
 ___
 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] df to get total disk usage on all filesystems?

2008-08-11 Thread Sean Carolan
 df -kl | awk '/^\/dev\// { avail += $3/1024 } END { printf(%d Mb 
 used\n,avail)} '

Awesome, this is going into my bag of goodies.  Thanks!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-11 Thread Stephen Harris
On Mon, Aug 11, 2008 at 12:07:09PM -0700, Aleksey Tsalolikhin wrote:
 value.  I suggest using the -P switch to df, so you don't have to deal
 with multi-line output per filesystem.

Ugh, hasn't RedHat fixed that?  Sun have (for a long time) automatically
done this if stdout is not a terminal.

*sigh*.

So my previous mail should really be
  df -Pkl | awk '/^\/dev\// { avail += $3/1024 } END { printf(%d Mb 
used\n,avail)} '

-- 

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


[CentOS] Re: Looking for linphone

2008-08-11 Thread Scott Silva

on 8-11-2008 10:57 AM Ignacio Vazquez-Abrams spake the following:

On Mon, 2008-08-11 at 12:49 -0400, Robert Moskowitz wrote:

Where might I find an rpm for Centos?


RPMForge for EL4, centos.karan.org for EL5.


Most of centos.karan.org for EL5 is in the testing repo AFAIK.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-11 Thread Dirk H. Schulz
As long as you only want the absolute amount of data (not the percentage of 
total file space that is used) you could use du -sh / on that server.


--On 11. August 2008 14:00:09 -0500 Sean Carolan [EMAIL PROTECTED] wrote:


Is there a flag for the df command to get the total disk space used on
all filesystems as one number?  I have a server with a lot of mounted
shares.  I'm looking for a simple way to measure rate of data growth
across all shares as one total value.
___
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] Re: Looking for linphone

2008-08-11 Thread Robert Moskowitz

Scott Silva wrote:

on 8-11-2008 10:57 AM Ignacio Vazquez-Abrams spake the following:

On Mon, 2008-08-11 at 12:49 -0400, Robert Moskowitz wrote:

Where might I find an rpm for Centos?


RPMForge for EL4, centos.karan.org for EL5.

Most of centos.karan.org for EL5 is in the testing repo AFAIK. 
And nowhere in centos.karan.org/el5/extras/testing/i386/RPMS or 
centos.karan.org/el5/misc/testing/i386/RPMS am I finding linphone



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


Re: [CentOS] Re: Looking for linphone

2008-08-11 Thread John R Pierce

Robert Moskowitz wrote:
And nowhere in centos.karan.org/el5/extras/testing/i386/RPMS or 
centos.karan.org/el5/misc/testing/i386/RPMS am I finding linphone



google found me...
http://centos.karan.org/el5/extras/testing/x86_64/RPMS/linphone-0.12.2-7.x86_64.rpm

but not the i386 version.   /me shrugs


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


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Florin Andrei

mcedit

yum install mc and you can start using it. Can't get more intuitive 
than that. I use it for PHP and C programming, and shell scripting.


--
Florin Andrei

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


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Kuang-Chun Cheng
On Mon, Aug 11, 2008 at 6:40 AM, Akemi Yagi [EMAIL PROTECTED] wrote:
 On Sun, Aug 10, 2008 at 3:11 PM, Frank Cox [EMAIL PROTECTED] wrote:
 On Sun, 10 Aug 2008 17:04:16 -0500
 Lanny Marcus [EMAIL PROTECTED] wrote:

 Should I try to learn
 vi (Vim) (which obviously will help me, if I ever need to
 administer a remote box)  or install Emacs or something else,
 for the gcc editor?

 That's the sort of question where, if you ask ten people for their opinion, 
 you
 will get sixteen different answers.  At least.

 I personally use either vi or nedit, depending on what the current
 environment is and what I'm trying to accomplish.

 OK, I'm the second of the sixteen answers.  I use vi and elvis (GUI
 editor 100% compatible with vi).  I highly recommend you learn vi.
 You will never regret  :-D

I also recommend you learn vi.  There are one reason which is not vi
related and I want to point it out here.

People using vi usually work on terminal ... if your are Linux or
Win32/MinGW+MSYS
user ... you are probably using 'bash'.  The 'bash' has a edit mode
called vi mode
which allow you to edit command history via vi's search command '/' or '?'.

If you are using terminal command a lot ... this feature is your
friend.  It's a lot
of better than using arrow key to fetch back the command history.

So, learn vi ... and you can share the same command when using terminal/bash.


Regards
KC



 Akemi
 ___
 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] Re: Looking for linphone

2008-08-11 Thread Karanbir Singh

John R Pierce wrote:

Robert Moskowitz wrote:
And nowhere in centos.karan.org/el5/extras/testing/i386/RPMS or 
centos.karan.org/el5/misc/testing/i386/RPMS am I finding linphone



google found me...
http://centos.karan.org/el5/extras/testing/x86_64/RPMS/linphone-0.12.2-7.x86_64.rpm 



but not the i386 version.   /me shrugs



let me investigate, I recall there was a lib issue at the time.

--
Karanbir Singh : http://www.karan.org/  : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] df to get total disk usage on all filesystems?

2008-08-11 Thread Spiro Harvey, Knossos Networks Ltd

Sean Carolan wrote:

Is there a flag for the df command to get the total disk space used on
all filesystems as one number?  I have a server with a lot of mounted
shares.  I'm looking for a simple way to measure rate of data growth
across all shares as one total value.


You've had a few replies as to the actual command(s) to use to achieve 
this, but what about looking at it from a different perspective?


Is having one number useful for different data volumes? If one is a SQL 
database that remains static, and another is a shared disk used by the 
marketing department and its usage changes by gigs a week, then you're 
not really able to judge when a particular disk is going to need more 
capacity. One overall number has very limited use.


Of course maybe that really is what you're after, in which case all this 
is redundant.. :)


But another way to measure usage would be to feed the data daily (or 
weekly, or hourly, or whatever) into something like RRD Tool. Then it 
will come up with some pretty graphs of usage per disk. Then you can 
also calculate the total as well as another field, but I believe that 
separate data volumes warrant measuring separately.


RRD Tool can be a bit complex to talk to directly, but if you use 
something like Cacti (http://www.cacti.net/), then I think you will get 
more value out of your data. I've never used Cacti myself, but it looks 
like a very nice package. And it makes talking to RRD Tool much easier.


That and you can produce lots of pretty graphs for management that prove 
you need upgrades and more imortantly, *where*. :)



--
Spiro Harvey  Knossos Networks Ltd
021-295-1923www.knossos.net.nz

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


Re: [CentOS] Re: gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Lanny Marcus
On Mon, Aug 11, 2008 at 1:30 PM, Scott Silva [EMAIL PROTECTED] wrote:
 on 8-11-2008 9:06 AM Lanny Marcus spake the following:
snip
 I will look at Eclipse, but one of my goals is to be able to fix problems
 on
 a remote box and that will probably require vi.

 Then you shouldn't go wrong, because I have yet to be on a linux box or a
 bsd box that didn't have some form or emulation of vi installed.

vi is everywhere! But, apparently, I need to learn how to use Emacs or
another IDE
too, so there's another learning curve.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Lanny Marcus
On Mon, Aug 11, 2008 at 3:51 PM, Florin Andrei [EMAIL PROTECTED] wrote:
 mcedit
 yum install mc and you can start using it. Can't get more intuitive than 
 that. I use it for PHP and C programming, and shell scripting.

I think a friend used Midnight Commander, years ago. On Wikipedia,
their description explains some interesting capabilities.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Lanny Marcus
On Mon, Aug 11, 2008 at 4:04 PM, Kuang-Chun Cheng [EMAIL PROTECTED] wrote:
 On Mon, Aug 11, 2008 at 6:40 AM, Akemi Yagi [EMAIL PROTECTED] wrote:
 On Sun, Aug 10, 2008 at 3:11 PM, Frank Cox [EMAIL PROTECTED] wrote:
 On Sun, 10 Aug 2008 17:04:16 -0500
 Lanny Marcus [EMAIL PROTECTED] wrote:
 Should I try to learn
 vi (Vim) (which obviously will help me, if I ever need to
 administer a remote box)  or install Emacs or something else,
 for the gcc editor?
snip
 I also recommend you learn vi.  There are one reason which is not vi
 related and I want to point it out here.

 People using vi usually work on terminal ... if your are Linux or
 Win32/MinGW+MSYS
 user ... you are probably using 'bash'.  The 'bash' has a edit mode
 called vi mode
 which allow you to edit command history via vi's search command '/' or '?'.

 If you are using terminal command a lot ... this feature is your
 friend.  It's a lot
 of better than using arrow key to fetch back the command history.

 So, learn vi ... and you can share the same command when using terminal/bash.

Thank you for pointing that out! Yes, bash is the shell.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?) [Going OT]

2008-08-11 Thread Lanny Marcus
On Mon, Aug 11, 2008 at 1:07 PM, William L. Maltby
[EMAIL PROTECTED] wrote:
 On Mon, 2008-08-11 at 12:38 -0500, Lanny Marcus wrote:
 On Mon, Aug 11, 2008 at 11:38 AM, William L. Maltby
 [EMAIL PROTECTED] wrote:
 Thanks! Not much C experience. I'm an old Assembly Language guy. Trying to

 Ditto - IBM 360/370. Some things never leave. BALR 14, save area trace
 register 13, etc. I still love assembly. Speed and efficiency were my
 big thing.

I began with IBM 360/65  ALC on an airline reservation system
snip

I finished the first chapter of the book. It is excellent. The author
obviously worked in industry and knows what it is like, working in the
real world.

 Yes, OOP is the whole purpose of C++. When it first came out, I
 dismissed it as fluff (OOP was really new then and initial specs and
 implementations had not much power). By the time C95 came out, things
 had started to look more useful. By now (I've not looked in a long time)
 I'm sure it deserves its highly regarded status.

From reading the first chapter, I'm sure that is true. He wrote that
50 to 70% of projects end in failure. OOP should reduce that
percentage.

 Well, don't want to pollute the list further. I'll just say that you
 should grab some small snippets of a real application to peruse as you
 go through the book. It will help assimilation (no, not the Borg kind!)
 immensely.

I'll ask a former manager/colleague if he happens to have any code
from a project he worked on that isn't classified, that he can send
me.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Suggestion on Network Management software with troubleticket system

2008-08-11 Thread Fajar Priyanto
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,
I'm looking for a network management software. And as the network grows
it clearly becomes that manual notes is getting too tedious. Also an
integrated troube ticketing systemm would be great.
Any reference is really appreciated.
Thanks.
- --
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial
http://linux2.arinet.org
13:10:54 up 5:02, 2.6.24-18-generic GNU/Linux
Let's use OpenOffice. http://www.openoffice.org
The real challenge of teaching is getting your students motivated to learn.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIoN7d8TneBL/L6RoRAop3AJ9zTBbGGQ0lcPUnMSGYIelcHO+dNgCcD1pu
wFKECD19DsWW5sWHHanjIbQ=
=U4Rw
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Tim Utschig

On 08/10/08 15:04, Lanny Marcus wrote:

I downloaded the .pdf version of Thinking in C++ and I've
begun to read that and I did
yum groupinstall 'Development Tools'   I'm a Newbie Desktop
user, jumping into the deep end of the pool. Should I try to learn
vi (Vim) (which obviously will help me, if I ever need to
administer a remote box)  or install Emacs or something else,
for the gcc editor?  An easy learning curve is strongly preferred,
but, I am 100% aware of the advantages of vi. Recommendations?
TIA!



I'm a Vim user myself, but I noticed one of our engineers using an 
editor which looked pretty nice.  It's called geany:


   http://geany.uvena.de/

Looks like DAG has packaged it:

   http://dag.wieers.com/rpm/packages/geany/

--
Tim Utschig [EMAIL PROTECTED]
408-934-3754 (desk)
408-644-3861 (cell)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 5.2, Firefox 3, and IPv6

2008-08-11 Thread Robert Moskowitz
I am doing some testing and it almost seems as if Firefox 3.0.1 that 
comes with Centos 5.2 is NOT working with IPv6.


Anyone know for sure?

I am getting weird hang behaviours and other just not working things.


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


Re: [CentOS] gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread Ignacio Vazquez-Abrams
On Mon, 2008-08-11 at 18:03 -0700, Tim Utschig wrote:
 On 08/10/08 15:04, Lanny Marcus wrote:
  I downloaded the .pdf version of Thinking in C++ and I've
  begun to read that and I did
  yum groupinstall 'Development Tools'   I'm a Newbie Desktop
  user, jumping into the deep end of the pool. Should I try to learn
  vi (Vim) (which obviously will help me, if I ever need to
  administer a remote box)  or install Emacs or something else,
  for the gcc editor?  An easy learning curve is strongly preferred,
  but, I am 100% aware of the advantages of vi. Recommendations?
  TIA!
 
 I'm a Vim user myself, but I noticed one of our engineers using an 
 editor which looked pretty nice.  It's called geany:
 
 http://geany.uvena.de/

geany is great; I use it all the time. The only issue I have with it is
that it doesn't support gnome-vfs so you can't connect directly to a
remote server and edit files there.

-- 
Ignacio Vazquez-Abrams [EMAIL PROTECTED]

PLEASE don't CC me; I'm already subscribed


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Suggestion on Network Management software with troubleticket system

2008-08-11 Thread nate
Fajar Priyanto wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi all,
 I'm looking for a network management software. And as the network grows
 it clearly becomes that manual notes is getting too tedious. Also an
 integrated troube ticketing systemm would be great.
 Any reference is really appreciated.

For managing my network of servers(assuming what you mean since
your posting to a CentOS list and not a network equipment list),
I use CFengine to manage them(www.cfengine.org). Puppet(t?) is also
increasing in popularity as well(don't know the web site and doing
a google search didn't come up with anything obvious).

For a ticketing system I suggest Request Tracker(RT)
(http://www.bestpractical.com/rt).

For monitoring I use a combination of an extremely customized
cacti[collects 10+ million points a day](www.cacti.net) and
Nagios(www.nagios.org).

For documentation I highly recommend confluence
(http://www.atlassian.com/software/confluence/).

nate

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


Re: [CentOS] Centos 5.2, Firefox 3, and IPv6

2008-08-11 Thread Craig White
On Mon, 2008-08-11 at 21:11 -0400, Robert Moskowitz wrote:
 I am doing some testing and it almost seems as if Firefox 3.0.1 that 
 comes with Centos 5.2 is NOT working with IPv6.
 
 Anyone know for sure?
 
 I am getting weird hang behaviours and other just not working things.

more likely a DNS issue

Craig

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


Re: [CentOS] Re: gcc editor for newbie (Emacs or vim or ?)

2008-08-11 Thread MHR
On Mon, Aug 11, 2008 at 5:20 PM, Lanny Marcus [EMAIL PROTECTED] wrote:

 vi is everywhere! But, apparently, I need to learn how to use Emacs or
 another IDE
 too, so there's another learning curve.


I've been using vi (and vim and gvim) for more than twenty years and
I've never needed an IDE.  They're helpful in some situations, but
if you're programming on a UNIX/Linux platform, vi can be enough.
There is even a way to get vi to coordinate with some compilers such
that you land on the line where a syntax error occurs, but even that
wasn't required.

Vi is not the world's best editor, but it is in every single UNIX or
Linux system out there, and there are advantages in knowing how to use
it.  I've used it long enough that I'm just not interested in other
editors.  As for IDEs, a great deal of what you need one for can often
be accomplished just by having several windows open for the various
tasks one needs for debugging.

My $0.02, and it's not available for spending on editor wars.  :-)

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


Re: [CentOS] Suggestion on Network Management software with troubleticket system

2008-08-11 Thread Les Mikesell

Fajar Priyanto wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,
I'm looking for a network management software. And as the network grows
it clearly becomes that manual notes is getting too tedious. Also an
integrated troube ticketing systemm would be great.
Any reference is really appreciated.


OpenNMS is pretty good for network monitoring (http://www.opennms.org). 
   It isn't tightly integrated with a trouble ticket system but some 
work has been mentioned on the mail list about tying it to RT.


--
  Les Mikesell
   [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 5.2, Firefox 3, and IPv6

2008-08-11 Thread Robert Moskowitz

Craig White wrote:

On Mon, 2008-08-11 at 21:11 -0400, Robert Moskowitz wrote:
  
I am doing some testing and it almost seems as if Firefox 3.0.1 that 
comes with Centos 5.2 is NOT working with IPv6.


Anyone know for sure?

I am getting weird hang behaviours and other just not working things.



more likely a DNS issue

Name is coded in /etc/hosts

Of course the fqdn I am using does NOT follow 'standard' TLDs, but it 
should NOT be masking that, or would that be a 'security' feature?



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


Re: [CentOS] Centos 5.2, Firefox 3, and IPv6

2008-08-11 Thread Craig White
On Mon, 2008-08-11 at 23:28 -0400, Robert Moskowitz wrote:
 Craig White wrote:
  On Mon, 2008-08-11 at 21:11 -0400, Robert Moskowitz wrote:

  I am doing some testing and it almost seems as if Firefox 3.0.1 that 
  comes with Centos 5.2 is NOT working with IPv6.
 
  Anyone know for sure?
 
  I am getting weird hang behaviours and other just not working things.
  
  
  more likely a DNS issue
 Name is coded in /etc/hosts
 
 Of course the fqdn I am using does NOT follow 'standard' TLDs, but it 
 should NOT be masking that, or would that be a 'security' feature?

I have no clue what you are talking about being coded in /etc/hosts...

you can check DNS if it returns ipV6 addresses for hosts or if there are
snags/delays in trying to resolve names from command line

Craig

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


Re: [CentOS] Centos 5.2, Firefox 3, and IPv6

2008-08-11 Thread Robert Moskowitz

Craig White wrote:

On Mon, 2008-08-11 at 23:28 -0400, Robert Moskowitz wrote:
  

Craig White wrote:


On Mon, 2008-08-11 at 21:11 -0400, Robert Moskowitz wrote:
  
  
I am doing some testing and it almost seems as if Firefox 3.0.1 that 
comes with Centos 5.2 is NOT working with IPv6.


Anyone know for sure?

I am getting weird hang behaviours and other just not working things.




more likely a DNS issue
  

Name is coded in /etc/hosts

Of course the fqdn I am using does NOT follow 'standard' TLDs, but it 
should NOT be masking that, or would that be a 'security' feature?



I have no clue what you are talking about being coded in /etc/hosts...

you can check DNS if it returns ipV6 addresses for hosts or if there are
snags/delays in trying to resolve names from command line

p3490.htt is in my /etc/hosts file as something like:

2701:24:2:1:0:1:2:3   p3490.htt

I can 'ping6 -n p3490.htt'

But putting a url of http//p3490.htt does not work


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


Re: [CentOS] Centos 5.2, Firefox 3, and IPv6

2008-08-11 Thread Craig White
On Tue, 2008-08-12 at 00:15 -0400, Robert Moskowitz wrote:
 Craig White wrote:
  On Mon, 2008-08-11 at 23:28 -0400, Robert Moskowitz wrote:

  Craig White wrote:
  
  On Mon, 2008-08-11 at 21:11 -0400, Robert Moskowitz wrote:


  I am doing some testing and it almost seems as if Firefox 3.0.1 that 
  comes with Centos 5.2 is NOT working with IPv6.
 
  Anyone know for sure?
 
  I am getting weird hang behaviours and other just not working things.
  
  
  
  more likely a DNS issue

  Name is coded in /etc/hosts
 
  Of course the fqdn I am using does NOT follow 'standard' TLDs, but it 
  should NOT be masking that, or would that be a 'security' feature?
  
  
  I have no clue what you are talking about being coded in /etc/hosts...
 
  you can check DNS if it returns ipV6 addresses for hosts or if there are
  snags/delays in trying to resolve names from command line
 p3490.htt is in my /etc/hosts file as something like:
 
 2701:24:2:1:0:1:2:3   p3490.htt
 
 I can 'ping6 -n p3490.htt'
 
 But putting a url of http//p3490.htt does not work

perhaps apache doesn't know how to handle that name (presuming that you
have a colon to make it a valid URL).

does netstat show that apache is listening on ipv6 address?

Craig

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


Re: [CentOS] Centos 5.2, Firefox 3, and IPv6

2008-08-11 Thread Craig White
On Tue, 2008-08-12 at 00:15 -0400, Robert Moskowitz wrote:
 Craig White wrote:
  On Mon, 2008-08-11 at 23:28 -0400, Robert Moskowitz wrote:

  Craig White wrote:
  
  On Mon, 2008-08-11 at 21:11 -0400, Robert Moskowitz wrote:


  I am doing some testing and it almost seems as if Firefox 3.0.1 that 
  comes with Centos 5.2 is NOT working with IPv6.
 
  Anyone know for sure?
 
  I am getting weird hang behaviours and other just not working things.
  
  
  
  more likely a DNS issue

  Name is coded in /etc/hosts
 
  Of course the fqdn I am using does NOT follow 'standard' TLDs, but it 
  should NOT be masking that, or would that be a 'security' feature?
  
  
  I have no clue what you are talking about being coded in /etc/hosts...
 
  you can check DNS if it returns ipV6 addresses for hosts or if there are
  snags/delays in trying to resolve names from command line
 p3490.htt is in my /etc/hosts file as something like:
 
 2701:24:2:1:0:1:2:3   p3490.htt
 
 I can 'ping6 -n p3490.htt'
 
 But putting a url of http//p3490.htt does not work

do you have a line in /etc/hosts like...
::1 localhost6.localdomain6 localhost6

and if so, can you connect to http://localhost6

Craig

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