Re: [CentOS-docs] update HOWTO page for how to copy ssh pub keys

2010-10-08 Thread Alan Bartlett
On 8 October 2010 12:49, Phil Schaffner philip.r.schaff...@nasa.gov wrote:
 Robert P. J. Day wrote on 10/07/2010 06:17 PM:
 ...
   which is actually fine with me.  really.  i'm good with just posting
 suggestions and fixes for the time being.

 That's why I suggested you request edit rights for one or more of the
 pages you have suggested be substantially changed.  The usual route to
 global rights is to do some good work on specific targets, usually with
 a new page, or pages, and to become known to the -docs list members.
 For new pages it is usually (IMHO) a good idea to put a draft out for
 review by the list, even for established members with global edit rights.

My suggestion for Rob is a page that really needs a maintainer and
significant editorial work, due to age induced rotting -- HowTo
Install Java on CentOS 4 and CentOS 5 [1].

It is a page (as a whole) that regularly receives a black look from
me whenever it comes into my view and is, I know, a page that Russ
regards as an example of poor wiki practice.

Alan.

[1] http://wiki.centos.org/HowTos/JavaOnCentOS
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


[CentOS-docs] Suggestion for how to section: easy way to install the JDK?

2010-10-08 Thread Bob Stine
I've read website http://wiki.centos.org/HowTos/JavaOnCentOS.  I am a total 
newbie with CentOS, but currently, with update 21 of the Java 6 JDK and CentOS 
5.5, the installing the JDK appears to be simpler:

1. Download the latest *rpm.bin jdk (as of today,jdk-6u21-linux-i586-rpm.bin) 
fromhttp://java.sun.com/javase/downloads/widget/jdk6.jsp

2. chmod +x the downloaded file.
3. su
4. Execute the file.

The main advantage of this procedure is that you do not need to build an RPM. 
---
Bob Stine 
b...@waltonstine.net  (703) 217-4784
Rule for living: What Would Clint Eastwood Do?
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Suggestion for how to section: easy way to install the JDK?

2010-10-08 Thread Milos Blazevic
Bob Stine wrote:
 I've read website http://wiki.centos.org/HowTos/JavaOnCentOS 
 http://wiki.centos.org/HowTos/JavaOnCentOS.  I am a total newbie 
 with CentOS, but currently, with update 21 of the Java 6 JDK and 
 CentOS 5.5, the installing the JDK appears to be simpler:

 1. Download the latest *rpm.bin jdk (as of 
 today,jdk-6u21-linux-i586-rpm.bin) 
 fromhttp://java.sun.com/javase/downloads/widget/jdk6.jsp 
 http://java.sun.com/javase/downloads/widget/jdk6.jsp
 2. chmod +x the downloaded file.
 3. su
 4. Execute the file.

 The main advantage of this procedure is that you do not need to build 
 an RPM. 
 ---
 Bob Stine
 b...@waltonstine.net mailto:b...@waltonstine.net  (703) 217-4784
 /Rule for living: What Would Clint Eastwood Do?/

 

 ___
 CentOS-docs mailing list
 CentOS-docs@centos.org
 http://lists.centos.org/mailman/listinfo/centos-docs
   
This issue with Wiki page has been discussed recently on the following 
forum topic:
https://www.centos.org/modules/newbb/viewtopic.php?post_id=116041topic_id=28126forum=38#forumpost116041

and although I never got to reply to Alan Bartlett's proposition (sorry 
Alan), cause I never got the time to go through the whole thing 
thoroughly - been rather busy lately.

However, I am, in fact, interested in making adjustments to the Wiki 
page - but sadly not the ones you proposed Bob, since the just won't do 
the trick.
I have to admitt, I don't recall the above instructions (provided at 
Sun/Oracle's web site - with the links to download the Sun Java SDK 
package) ever
doing any good.

So, Ralph (or any other Wiki admin) would you be kind enough to escalate 
my privileges in order for me to edit the JavaOnCentOS Wiki?

Of course, if we get to it, I'll make sure we discuss it thoroughly on 
the mailing list before the changes go public.


--
*Milos Blazevic*

Cert. No: 805010564450148
Email: milos.blaze...@sbb.rs mailto:milos.blaze...@sbb.rs
Tel: 064/301 45 78
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Suggestion for how to section: easy way to install the JDK?

2010-10-08 Thread Bob Stine
Milos Blazivec wrote:

... I am, in fact, interested in making adjustments to the Wiki 
page - but sadly not the ones you proposed Bob, since the just won't do 
the trick.

Hmm.  I ran the executed the bin file, edited /etc/profile so that PATH 
included 
the bin directory of the sun jdk directory, added environment variable 
JDK_HOME,  deleted the /usr/bin/java symlink from java - 
/etc/alternative/java, 
and everything works, or at least well enough for me to run the Eclipse C++ 
IDE, 
which was my goal.  

Maybe adding the jdk was unnecessary for Eclipse to work?

Could you unpack just won't do, or point to a discussion of the issue?

Thanks.
---
Bob Stine 
b...@waltonstine.net  (703) 217-4784
Rule for living: What Would Clint Eastwood Do?
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Suggestion for how to section: easy way to install the JDK?

2010-10-08 Thread Milos Blazevic
Bob Stine wrote:
 Milos Blazivec wrote:

 /... I am, in fact, interested in making adjustments to the Wiki /
 /page - but sadly not the ones you proposed Bob, since the just
 won't do /
 /the trick./


 Hmm.  I ran the executed the bin file, edited /etc/profile so that 
 PATH included the bin directory of the sun jdk directory, added 
 environment variable JDK_HOME,  deleted the /usr/bin/java symlink from 
 java - /etc/alternative/java, and everything works, or at least well 
 enough for me to run the Eclipse C++ IDE, which was my goal.  

 Maybe adding the jdk was unnecessary for Eclipse to work?

 Could you unpack just won't do, or point to a discussion of the issue?

 Thanks.
 ---
 Bob Stine
 b...@waltonstine.net mailto:b...@waltonstine.net  (703) 217-4784
 /Rule for living: What Would Clint Eastwood Do?/

 

 ___
 CentOS-docs mailing list
 CentOS-docs@centos.org
 http://lists.centos.org/mailman/listinfo/centos-docs
   
What I meant is that the instructions you suggested in your first e-mail 
are taken from: 
http://www.oracle.com/technetwork/java/javase/install-linux-64-rpm-138254.html
and are all but comprehenssive, let alone appropriate for beginners. 
These installation instructions have been accompanying Sun Java as long 
as I can remember, and strangely, no one cared to mention 'em in the 
Wiki page... don't you think that's kinda odd? I don't - 'cause they 
don't work!

This second part (editing /etc/profiles, deleting symlinks and editing 
PATH...) is NOT what you mentioned in your first e-mail. However, in my 
honest oppinion, this is still not the correct way to do this.

What you did, is that you probably got it to work for Your particular 
purpose by resorting to an unconventional method (i.e. circumvent the 
mechanism intended for this purpose, rather than a by-the-book 
approach). By solving the problem this way, sooner or later you'll end 
up breaking something. Maintainance may prove difficult later

For me, by-the-book is using alternatives utility for this purpose - 
intended by the makers way to handle this kind of issues. (switching 
between different mail servers, etc.)

Better idea is to adjust symlink to point to the desired binary, rather 
than editing PATH variable, deleting the symlink,...

Eclipse has got nothing to do with all this...

-- 
***Milos Blazevic*
Cert. No: 805010564450148
Email: milos.blaze...@sbb.rs mailto:milos.blaze...@sbb.rs
Tel: 064/301 45 78
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Suggestion for how to section: easy way to install the JDK?

2010-10-08 Thread Jerry Amundson
On Fri, Oct 8, 2010 at 8:33 PM, Milos Blazevic milos.blaze...@sbb.rs wrote:
 Bob Stine wrote:
 Milos Blazivec wrote:

     /... I am, in fact, interested in making adjustments to the Wiki /
     /page - but sadly not the ones you proposed Bob, since the just
     won't do /
     /the trick./

 Hmm.  I ran the executed the bin file, edited /etc/profile so that
 PATH included the bin directory of the sun jdk directory, added
 environment variable JDK_HOME,  deleted the /usr/bin/java symlink from
 java - /etc/alternative/java, and everything works, or at least well
 enough for me to run the Eclipse C++ IDE, which was my goal.

 Maybe adding the jdk was unnecessary for Eclipse to work?

 Could you unpack just won't do, or point to a discussion of the issue?

 Thanks.
 ---
 Bob Stine
 b...@waltonstine.net mailto:b...@waltonstine.net  (703) 217-4784
 /Rule for living: What Would Clint Eastwood Do?/

 What I meant is that the instructions you suggested in your first e-mail
 are taken from:
 http://www.oracle.com/technetwork/java/javase/install-linux-64-rpm-138254.html
 and are all but comprehensive, let alone appropriate for beginners.
 These installation instructions have been accompanying Sun Java as long
 as I can remember, and strangely, no one cared to mention 'em in the
 Wiki page... don't you think that's kinda odd? I don't - 'cause they
 don't work!

 This second part (editing /etc/profiles, deleting symlinks and editing
 PATH...) is NOT what you mentioned in your first e-mail. However, in my
 honest opinion, this is still not the correct way to do this.

 What you did, is that you probably got it to work for Your particular
 purpose by resorting to an unconventional method (i.e. circumvent the
 mechanism intended for this purpose, rather than a by-the-book
 approach). By solving the problem this way, sooner or later you'll end
 up breaking something. Maintenance may prove difficult later

Agreed. Sometimes the road best taken is the one not yet travelled.

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