On Thu, Sep 14, 2017 at 12:53 PM, Jose <linuxas08(a)gmail.com> wrote:
> Hello,
> Although you've instaled Oracle JRE 1.8, OpenJDK is the default, as you can
> see.
> Remove OpenJDK and execute java -version again.
How can I run yum remove without it trying to access the net? This
machine has no internet connection and yum remove has been running for
an hour trying to hit mirrors and repos.
> Kind regards
>
> El 14 sept. 2017 5:55 p. m., "Larry Martell" <larry.martell(a)gmail.com>
> escribió:
>
>> On Thu, Sep 14, 2017 at 11:38 AM, Rich Huff <rich(a)richhuff.com> wrote:
>> > On Thu, 2017-09-14 at 11:25 -0400, Larry Martell wrote:
>> >> On Thu, Sep 14, 2017 at 11:08 AM, Darr247 <darr247(a)gmail.com> wrote:
>> >> >
>> >> >
>> >> > > I have some software that says it requires JRE 8.1 or higher.
>> >> >
>> >> > That's very odd, since technically JRE 8 is java 1.8 (and JRE 7
>> >> > is/was 1.7;
>> >> > JRE 6 was 1.6, et cetera).
>> >> >
>> >> > > If I go to
>> >> >
>> >> > http://www.oracle.com/technetwork/java/javase/downloads/jre8-downlo
>> >> > ads-21331
>> >> > 55.html
>> >> > > and install jre-8u144-linux-x64.rpm I get jrel.8.0_144. Anyone
>> >> > > know where
>> >> >
>> >> > I can get 8.1?
>> >> >
>> >> > http://javadl.oracle.com/webapps/download/AutoDL?BundleId=225344_09
>> >> > 0f390dda5
>> >> > b47b9b721c7dfaa008135
>> >> > should get you the 64-bit v1.8 build 144 of Java, which is indeed
>> >> > the latest
>> >> > version.
>> >> >
>> >> > What software is it that requires JRE 8.1?
>> >>
>> >> Sorry I mistyped it says 1.8 or greater. I did install that and I
>> >> still get the message. It's remote control software for an IBM
>> >> system.
>> >
>> > Do you have a lower version Java installed?
>> > What does command 'java -version' say?
>>
>> openJDK version "1.8.0_101"
>> OpenJDK Runtime Environment (build 1.8.0_101-b13)
>> OpenJDK 64-Bit Server VM (build 25.101-b13, mixed mode)
>>
>>
>> > IBM has their own flavor of Java. Is it looking for that?
>>
>> I don't know. I am running CentOS6 and then trying to run their remote
>> control SW throught FF. Maybe I have to restart FF ... going to try
>> that ... no joy, same errors. Contacting IBM now.
>> _______________________________________________
>> CentOS mailing list
>> CentOS(a)centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>>
> _______________________________________________
> CentOS mailing list
> CentOS(a)centos.org
> https://lists.centos.org/mailman/listinfo/centos
Hi,
I have a v2000 compaq laptop. The realtek network and USB on this
machine was not working. After adding to grub.conf
"acpi=off apci=off noacpi noapic"
the v2000 realtek started working and the USB worked fine... Fantastic!
So I thought I would try those same options on my r4000 laptop.
they had no effect.... This AMD turion 64 4000+ rating laptop is still
running SLOWWW...
/proc/cpuinfo has the cpu Mhz running at 2393
below is my dmesg output for the r4000. There is a line talking about
"Your time source seems to be instable or some driver is hogging interupts"
that seems bad to me but not sure what to do about it .
Any further suggestions would be great. THanks,
Jerry
---------------
Bootdata ok (command line is ro root=LABEL=/1 rhgb quiet apci=off acpi=off noacpi noapic)
Linux version 2.6.9-22.0.1.EL (buildcentos@x8664-build) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 Thu Oct 27 14:29:45 CDT 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000d0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003fef0000 (usable)
BIOS-e820: 000000003fef0000 - 000000003feff000 (ACPI data)
BIOS-e820: 000000003feff000 - 000000003ff00000 (ACPI NVS)
BIOS-e820: 000000003ff00000 - 0000000040000000 (reserved)
BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
ACPI: RSDP (v000 PTLTD ) @ 0x00000000000f7df0
ACPI: RSDT (v001 PTLTD RSDT 0x06040000 LTP 0x00000000) @ 0x000000003fef9503
ACPI: FADT (v001 HP Piranha 0x06040000 ATI 0x000f4240) @ 0x000000003fefee10
ACPI: MCFG (v001 ATI Piranha 0x06040000 LOHR 0x0000005f) @ 0x000000003fefee84
ACPI: SSDT (v001 PTLTD POWERNOW 0x06040000 LTP 0x00000001) @ 0x000000003fefeec0
ACPI: MADT (v001 PTLTD APIC 0x06040000 LTP 0x00000000) @ 0x000000003fefefb0
ACPI: DSDT (v001 HP 3085 0x06040000 MSFT 0x0100000e) @ 0x0000000000000000
No mptable found.
On node 0 totalpages: 261872
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 257776 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI present.
Intel MultiProcessor Specification v1.4
Virtual Wire compatibility mode.
OEM ID: <6>Product ID: <6>APIC at: 0xFEE00000
Processor #0 15:7 APIC version 16
I/O APIC #1 Version 33 at 0xFEC00000.
Processors: 1
Checking aperture...
CPU 0: aperture @ 6cb0000000 size 32 MB
Aperture from northbridge cpu 0 too small (32 MB)
No AGP bridge found
Built 1 zonelists
Kernel command line: ro root=LABEL=/1 rhgb quiet apci=off acpi=off noacpi noapic console=tty0
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 131072 bytes)
time.c: Using 1.193182 MHz PIT timer.
time.c: Detected 997.121 MHz processor.
time.c: Using PIT/TSC based timekeeping.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Memory: 1025280k/1047488k available (2398k kernel code, 21468k reserved, 1303k data, 164k init)
Calibrating delay loop... 1957.88 BogoMIPS (lpj=978944)
Security Scaffold v1.0.0 initialized
SELinux: Initializing.
SELinux: Starting in permissive mode
There is already a security framework initialized, register_security failed.
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 256 (order: 0, 4096 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU: AMD Athlon(tm) 64 Processor 4000+ stepping 0a
Using local APIC NMI watchdog using perfctr0
Using local APIC timer interrupts.
Detected 12.464 MHz APIC timer.
checking if image is initramfs... it is
NET: Registered protocol family 16
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040816
ACPI: Interpreter disabled.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:14.1
PCI: Transparent bridge - 0000:00:14.4
PCI-DMA: Disabling IOMMU.
IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
audit: initializing netlink socket (disabled)
audit(1135068849.306:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
SELinux: Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key 3A21F444BEEAFDD
- User ID: CentOS (Kernel Module GPG key)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Real Time Clock Driver v1.12
Linux agpgart interface v0.100 (c) Dave Jones
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
divert: not allocating divert_blk for non-ethernet device lo
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
hda: ST9100822A, ATA DISK drive
Probing IDE interface ide1...
hdc: HL-DT-ST DVD-RW GWA-4082N, ATAPI CD/DVD-ROM drive
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
Using cfq io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 195371568 sectors (100030 MB) w/8192KiB Cache, CHS=16383/255/63
hda: cache flushes supported
hda: hda1 hda2 hda3 hda4
hdc: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
Synaptics Touchpad, model: 1
Firmware: 6.2
Sensor: 35
new absolute packet format
Touchpad has extended capability bits
-> multifinger detection
-> palm detection
input: SynPS/2 Synaptics TouchPad on isa0060/serio1
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 56Kbytes
TCP: Hash tables configured (established 262144 bind 37449)
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.39.04)
powernow-k8: 0 : fid 0x2 (1000 MHz), vid 0x10 (1150 mV)
powernow-k8: 1 : fid 0xa (1800 MHz), vid 0xe (1200 mV)
powernow-k8: 2 : fid 0xe (2200 MHz), vid 0x6 (1400 mV)
powernow-k8: 3 : fid 0x10 (2400 MHz), vid 0x2 (1500 mV)
powernow-k8: cpu_init done, current fid 0x2, vid 0x10
Freeing unused kernel memory: 164k freed
Losing some ticks... checking if CPU frequency changed.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
warning: many lost ticks.
Your time source seems to be instable or some driver is hogging interupts
rip __do_softirq+0x41/0xa2
SELinux: Disabled at runtime.
SELinux: Unregistering netfilter hooks
spurious 8259A interrupt: IRQ7.
inserting floppy driver for 2.6.9-22.0.1.EL
floppy0: no floppy controllers found
8139too Fast Ethernet driver 0.9.27
divert: allocating divert_blk for eth0
eth0: RealTek RTL8139 at 0xa000, 00:0f:b0:bb:43:61, IRQ 10
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
ehci_hcd 0000:00:13.2: EHCI Host Controller
ehci_hcd 0000:00:13.2: irq 11, pci mem ffffff0000010000
ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:13.2: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd 0000:00:13.0: OHCI Host Controller
ohci_hcd 0000:00:13.0: irq 11, pci mem ffffff0000012000
ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 4 ports detected
ohci_hcd 0000:00:13.1: OHCI Host Controller
ohci_hcd 0000:00:13.1: irq 11, pci mem ffffff0000014000
ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 4 ports detected
Linux Kernel Card Services
options: [pci] [cardbus] [pm]
usb 2-4: new full speed USB device using address 2
Yenta: CardBus bridge found at 0000:03:04.0 [103c:3085]
Yenta: ISA IRQ mask 0x02f8, PCI irq 10
Socket status: 30000006
Bluetooth: Core ver 2.6
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: HCI USB driver ver 2.7
usbcore: registered new driver hci_usb
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET: Registered protocol family 10
Disabled Privacy Extensions on device ffffffff80451480(lo)
IPv6 over IPv4 tunneling driver
divert: not allocating divert_blk for non-ethernet device sit0
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
EXT3 FS on hda2, internal journal
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel(a)redhat.com
cdrom: open failed.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 2048276k swap on /dev/hda3. Priority:-1 extents:1
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (4091 buckets, 32728 max) - 496 bytes per conntrack
eth0: link down
eth0: no IPv6 routers present
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
Robert Moskowitz <rgm(a)htt-consult.com> wrote:
> Because Evolution (because of gnome) is very single user
> centric.
Then why are you using Evolution?
> This I missed in my searches. Back to looking at
> Thunderbird.
Didn't we discuss this weeks ago (or was that another list)?
> Not confused. I have been doing business this way for
> around 6 years now.
Yes, confused, because you are making assumptions on Eudora
and Windows usage. I'm not questioning your experience for
how you do business. I'm trying to get you to step back and
realize that you are using that past experience to guess what
you need to do.
Please keep this in mind at all times ...
UNIX does _not_ act like Windows when it comes to the
_networked_ user experience -- especially for business
applications
It may emulate it somewhat at the application-level, but it
is very, very _different_ when it comes to multiuser --
radically!
> At any time I could have switched to a single executing
> copy of Eudora with multiple personalities.
> But I chose not to.
Evolution is not designed as such.
Groupwise is not designed as such.
Outlook is not designed as such (with 1 legacy, MAPI caveat
from pre-NT).
These corporate collaboration tools are designed for 1:1
user:object-framework. That's GNOME's CORBA in the case of
Evolution. That's GDI/Explorer's COM+ in the case Outlook.
Eudora is not designed for the 1:1 setup.
Outlook Express is not designed for the 1:1 setup.
[Mozilla] Thunderbird is not designed for the 1:1 setup.
As an enterprise administrator, I want a 1:1
user:object-framework setup when users login. I do _not_
want users to have control over such. That's what MS Outlook
is designed for. That's what Evolution is designed for.
That's what Novell Groupwise is designed for.
They are _not_ designed for what you want. ;->
> It is important to maintain separateness of my identities.
I understand this.
And I'm telling you that you are not looking for Evolution.
> And as things are developing, I may have to fragment
further
> than I have. I have around 12 - 18 email accounts. These
are
> grouped into (currently) 5 identities (I terminated one
> identity when a consulting gig ended abruptly). I run at
least
> 2 identities all the time with their multiple
personalities.
In addition to having the ability and separation of multiple
e-mail accounts, the "Personalities" are called "Profiles" in
Thunderbird. By default, the "default" profile is always
used (and _not_ prompted for) in Thunderbird.
Here's how you launch the profile manager in various OSes for
Thunderbird:
http://www.mozilla.org/support/thunderbird/profile
Namely, you need to pass the "-profilemanager" option.
Once you have multiple profiles, when you launch Thunderbird,
it will prompt you for which one (unless you click the box
"Don't ask at startup").
If you already have one running, you will want to pass the
option again. Otherwise, the currently running profile may
be assumed.
This is how _all_ the "Mozilla" suite of products work --
they can use multiple profiles.
Each profile can have one or more e-mail accounts, and their
folders _will_ be separated by default for _each_ e-mail
account setup.
> I run the others a couple times a day (desktop DOES get
> cluttered and memory consumed).
> All the work documents and mail are organized by identity.
> So I am leaning more and more to separate linux users.
No, that's _overkill_ for what you want.
Learn to use Thunderbird's Profiles, or some other "Internet
e-mail designed" application that does the same. Someone
mentioned KMail here.
> After finding more gnome documentation, I see they call
> them workspaces.
Yes, I know. Desktops, workspaces, viewports, etc... In
old, original "virtual window manager" speak, it's the
"pager." The idea that you can "page around" multiple areas
of the X session so it seems you have a much bigger desktop
than normal.
> Yes, I remember the flyer that was dropped around one of
> the ACM meetings when X came out. Around '92 (or was it
'87)?
> I wish I could find it again. X use to be a real killer.
> But then we are not running the same Un*x on the same
> platforms, terminals, networks that we were then.
Who says? The concepts are _exactly_ the _same_ today on
Linux!
Even games use OpenGL on X-Window (GLX) -- you can even run
the actual 3D computation on a back-end cluster, then render
on a _single_ 3D workstation with the card (and GLX
accelerating drivers). nVidia even uses the same codebase
for both its Linux GLX and NT ICD (installable client driver)
OpenGL support, as well as for Apple's QuartzExtreme (OpenGL
framebuffer integrated windowing environment).
1984 c/o MIT and Digital (among others). It was loosely
based on "w", which pre-dates even Apple's Lisa (circa 1982).
But I won't go all the way back to the '60s on how the
original mouse had 3 buttons (let alone the original 1973
Xerox PARC window/mount environment had the same, etc...).
GNOME runs on X-Window version 11 (X11). GNOME is a
combination of subsystems. GLib uses the X libraries (Xlib).
It's core widget set is the GIMP Toolkit Plus (GTK+), which
builds upon the X Tookit (Xt) included with X11. Although
they have GTK+ that runs on framebuffer, I've yet to see a
full GNOME implementation that doesn't use Xlib, Xt, etc...
GNOME then adds Pango (accessibility), Bonobo (CORBA object
framework -- loosely equivalent to MS COM+, only vastly
superior for networks although almost overkill**).
[ **NOTE: The next-generation of GNOME is adopting the .NET
object framework, so objects and applications will be at
least source-code compatible with MS .NET, if not Common
Language Runtime (CLR) compatible. The same people behind
the open Mono implementation were the same people who
designed GNOME -- and they work for Novell who purchased
Ximian. ]
Citrix began around '90 on OS/2. The OS/2 kernel, unlike the
NT kernel (with its GDI requirement), could support multiple
sessions, and run a GUI atop of each session. So Citrix
wanted to make a UNIX/X-Window like desktop system, with
Citrix terminals ("thin clients" as they are called today)
like X-Terminals (the original "thin client" a decade before
the term was coined ;-), etc...
But what really made Citrix was their NT 3.51 hack that
results in MetaFrame. They virtualized the GDI so you didn't
need a physical video card/keyboard. Every [true] Win32
application is built with the requirement of the GDI -- they
are always rooted to a physical video frame buffer (i.e.,
video card) and input. A variant of it (long, long story)
became NT 4.0 Terminal Server. The technology was called
"MultiWin" and it was integrated by default in NT 5.0+
(2000+) -- which is how you can do "Remote Administration"
(simultaneous -- but not slow, remote framebuffer unlike
pcAnywhere, VNC, etc...) as well as "Administrator only
Access" (2 user) as well as "Windows Terminal Server" (X
users).
--
Bryan J. Smith Professional, Technical Annoyance b.j.smith(a)ieee.org http://thebs413.blogspot.com
----------------------------------------------------
*** Speed doesn't kill, difference in speed does ***
Johnny Hughes wrote:
> On Wed, 2005-06-29 at 19:02 -0500, Johnny Hughes wrote:
>
>>On Wed, 2005-06-29 at 16:42 -0700, dan.trainor wrote:
>>
>>>Hello, all -
>>>
>>>I've been throwing the question around on the kickstart-list for the
>>>last few days here, and can't quite get ahold of things. Please, allow
>>>me to explain.
>>>
>>>I am in the process of making a custom CentOS/RHEL kickstart install.
>>>It works well right now; however, it's a hackjob, and I am not
>>>comfortable with it as of yet.
>>>
>>>For the past few days, I've even gone as far as making a custom
>>>comps.xml file, for the purpose of the kickstart. What I'd like to do
>>>is not include any @groups or -/+files in my kickstart file; rather, I'd
>>>like to edit comps.xml's @Base and @Core so that I need nothing else in
>>>my kickstart file, except for the configuration options. I know that
>>>this isn't required, I'm just anal about the whole situation ;)
>>>
>>>This would also give me a chance to package, along with my install,
>>>newer and updated packages/RPMs so that I don't have to run an update
>>>process on the newly installed machine. My understanding is, if this is
>>>done, a new base/hdlist{2} file{s} is/are needed to be created. I've
>>>read around a bit, and apparently I'm supposed to use a tool named
>>>"genhdlist", but I've not been able to find any documentation on this
>>>tool, what exactly it does, and how exactly to use it.
>>
>>genhdlist is part of anaconda-runtime
>>
>>Here is some good info:
>>
>>http://fedoraproject.org/wiki/Anaconda
>>
>>http://fedoraproject.org/wiki/AnacondaBinaries
>>
>>Here is all the stuff you need to run the anaconda binaries:
>>
>>http://fedoraproject.org/wiki/AnacondaBuildEnvironment
>>
>>(Although anaconda is very much undocumented)
>>
>>
>>>I'm expressing my frustration, along with many other people who have
>>>been in the same situation, as seen from the kickstart-list.
>>>
>>>I guess what I'm asking for, is if someone has ever made a completely
>>>custom kickstart install that does the following:
>>>
>>>1) edits comps.xml to modify @base and @core
>>>2) takes newer packages into consideration
>>>3) compiles this information, creates new hdlist{2} reference files
>>>4) gets the mother to work.
>>>
>>>This seemingly simple process seems to lack a bit of documentation. I
>>>ahve found sniplets all over the 'net where it would show a small
>>>process of how to get all this done, however, the author fails to
>>>document the utility or method in detail, or the process is for
>>>something totally archaic such as RH6.2.
>>>
>>>Any help would be greatly appreciated.
>>
>>Here is the script I use to build the ISOs from the main tree:
>>
>>http://centos.hughesjr.com/testing/build.sh.txt
>
>
>
> Here is my .rpmmacros of i386:
>
> http://centos.hughesjr.com/testing/rpmmacros
>
Hey there, Johnny -
I've been playing around for the past few days with the info that you
have provided, and it has been a great help. I'd like to thank you for
that.
However, I'm still just a bit confused.
My problem is, that I don't need to create a whole new distribution, but
rather, just remaster the data on an ISO that I've made of all the
packages I'll be needing, including editing comps.xml and generating
base/hdlist{2} files from the editing. As far as I can gather, this is
a lot to ask.
Would you mind me asking where you gathered the information to create
this script, or like everyone else, did you hear from a friend of a
friend who's cousin found a note written by someone who used to work for
RedHat that had a friend that made these distributions? That's the
story I hear every single time.
For something so critical, I don't know why this process is so cryptic.
Anaconda and kickstart installations have tremendous power, and it's
all going to waste becase only a small handfull of people can actually
pull it off.
Thanks again for your time, Johnny
-dant
I use OpenNMS and this is how I install it. So far it's worked every time
(6 installs). Make sure you open up your IPTables as needed. Let me know
how it goes.
--Todd
--------------
Installing DAG RPM Repository
nano -w /etc/yum.repos.d/dag.repo
[dag]
name=Dag RPM Repository for RHEL
baseURL=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1
rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
yum -y update
--------------
Installing Java and Tomcat
Download SDK and JRE from Sun Microsystems to Local Machine
mkdir /usr/local/java
cp /downloads/j2sdk-1_4_2_09-linux-i586.bin /usr/local/java
cp /downloads/j2re-1_4_2_09-linux-i586.bin /usr/local/java
cd /usr/local/java
chmod +x *
./j2sdk-1_4_2_09-linux-i586.bin
./j2re-1_4_2_09-linux-i586.bin
rm -rf *.bin
chown -R root:root j2sdk1.4.2_09
chown -R root:root j2re1.4.2_09
ln -s j2sdk1.4.2_09 j2sdk
ln -s j2re1.4.2_09 j2jre
nano -w /etc/profile
-----START CUT-----
if ! echo ${PATH} | grep -q /usr/local/java/j2sdk/bin ; then
export PATH=/usr/local/java/j2sdk/bin:${PATH}
fi
if ! echo ${PATH} | grep -q /usr/local/java/j2re/bin ; then
export PATH=/usr/java/local/j2re/bin:${PATH}
fi
export JAVA_HOME=/usr/local/java/j2sdk
export
CLASSPATH=.:/usr/local/java/j2sdk/lib/tools.jar:/usr/local/java/j2re/lib/rt.
jar
-----END CUT-----
exit
su -
java -version
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-b05)
Java HotSpot(TM) Client VM (build 1.4.2_09-b05, mixed mode)
cd /downloads
groupadd -g 220 tomcat
useradd -u 220 -g tomcat -c "Tomcat" -r -d /usr/local/tomcat -s
"/sbin/nologin" tomcat
wget
http://mirrors.isc.org/pub/apache/jakarta/tomcat-4/v4.1.31/bin/jakarta-tomca
t-4.1.31.tar.gz
cp jakarta-tomcat-4.1.31.tar.gz /usr/local
cd /usr/local
tar -zxvf jakarta-tomcat-4.1.31.tar.gz
rm *.gz
chown -R tomcat:tomcat /usr/local/jakarta-tomcat-4.1.31
ln -s jakarta-tomcat-4.1.31 tomcat
nano -w /etc/sysconfig/iptables
Add port 8080
service iptables restart
nano -w /etc/profile
Add: CATALINA_HOME=/usr/local/tomcat
echo $CATALINA_HOME
nano -w /etc/rc.d/init.d/tomcat
ADD CONTENT:
-----START CUT-----
#!/bin/sh
#
# Startup script for the Jakarta Tomcat Java Servlets and JSP server
#
# chkconfig: - 85 15
# description: Jakarta Tomcat Java Servlets and JSP server
# processname: tomcat
# pidfile: /var/run/tomcat.pid
# config:
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0# Set Tomcat environment.
export JAVA_HOME=/usr/local/java/j2sdk
export
CLASSPATH=.:/usr/local/java/j2sdk/lib/tools.jar:/usr/local/java/j2re/lib/rt.
jar
export CATALINA_HOME=/usr/local/tomcat
export CATALINA_OPTS="-Dbuild.compiler.emacs=true"
export PATH=/usr/local/java/j2sdk/bin:/usr/local/local/j2re/bin:$PATH
[ -f /usr/local/tomcat/bin/startup.sh ] || exit 0
[ -f /usr/local/tomcat/bin/shutdown.sh ] || exit 0
export PATH=$PATH:/usr/bin:/usr/local/bin
# See how we were called.
case "$1" in
start)
# Start daemon.
echo -n "Starting Tomcat: "
/usr/local/tomcat/bin/startup.sh
RETVAL=$?
echo
[ $RETVAL = 0 ] && touch /var/lock/subsys/tomcat
;;
stop)
# Stop daemons.
echo -n "Shutting down Tomcat: "
/usr/local/tomcat/bin/shutdown.sh
RETVAL=$?
echo
[ $RETVAL = 0 ] && rm -f /var/lock/subsys/tomcat
;;
restart)
$0 stop
$0 start
;;
condrestart)
[ -e /var/lock/subsys/tomcat ] && $0 restart
;;
status)
status tomcat
;;
*)
echo "Usage: $0 {start|stop|restart|status}"
exit 1
esac
exit 0
-----END CUT-----
chown root:root /etc/rc.d/init.d/tomcat
chmod 755 /etc/rc.d/init.d/tomcat
chkconfig --add tomcat
chkconfig tomcat on
Go to: http://localhost:8080
Note: It will take about 15 seconds to pull up.
--------------
Installing RRDTool
yum install rrdtool
--------------
Configuring Postgresql
service postgresql start
chkconfig postgresql on
nano -w /var/lib/pgsql/data/postgresql.conf
add/change: tcpip_socket = true
add/change: shared_buffers = 1024
nano -w /var/lib/pgsql/data/pg_hba.conf
change (remove comment): host all all 127.0.0.1 255.255.255.255 trust
change: local all all trust
service postgresql restart
--------------
Configuring OpenNMS
cd /downloads
wget
http://easynews.dl.sourceforge.net/sourceforge/opennms/opennms-1.2.4-1_cento
s4.i386.rpm
wget
http://easynews.dl.sourceforge.net/sourceforge/opennms/opennms-docs-1.2.4-1_
centos4.i386.rpm
wget
http://easynews.dl.sourceforge.net/sourceforge/opennms/opennms-webapp-1.2.4-
1_centos4.i386.rpm
rpm -i opennms-1.2.4-1_centos4.i386.rpm --nodeps
rpm -i opennms-docs-1.2.4-1_centos4.i386.rpm --nodeps
rpm -i opennms-webapp-1.2.4-1_centos4.i386.rpm --nodeps
cd /opt/OpenNMS/bin
./runjava -s
./install -disU
./install -y -w $CATALINA_HOME/webapps -W $CATALINA_HOME/server/lib
cd /opt/OpenNMS/etc
nano -w discovery-configuration.xml
Change the begin and end IP address to 127.0.0.1
service tomcat restart
/opt/OpenNMS/bin/opennms.sh start
chkconfig opennms on
opennms -v status
Goto: http://localhost:8080/opennms/
login with admin:admin
Change password
--------------
Configuring SNMP
yum -y install net-snmp-utils
cd /etc/snmp
mv snmpd.conf snmpd.conf.old
nano -w snmpd.conf
Add: rocommunity <password>
chkconfig snmpd on
service snmpd start
snmpwalk -v 1 -c <password> localhost system
-----Original Message-----
From: centos-bounces(a)centos.org [mailto:centos-bounces@centos.org] On Behalf
Of Peter Farrow
Sent: Monday, October 17, 2005 5:05 AM
To: CentOS mailing list
Subject: [CentOS] Tomcat 4 on Centos 4.1
Had anyone managed to install Tomcat 4 on Centos 4.1
I want to run OpenNMS but the dependancy list is tortuous to say the
least (Tomcat4, J2SDK etc etc etc )...
I have rpms for tomcat that install ok, but then the services give a ton
of errors about missing files when you start/stop them
Failing this can anyone recommend any free Networm Management System for
Centos, I only need a simple solution just so
that I can import mibs into it and send it traps!
OpenNMS seemed a good choice as it does everything (although rather too
heavyweight for what I want), as its taken me and
a few Java experts here more than two days to try and install OpenNMS I
think its time to move onto something else.
Any advice is most welcome!
Regards
Pete
_______________________________________________
CentOS mailing list
CentOS(a)centos.org
http://lists.centos.org/mailman/listinfo/centos