Re: [U2] RHEL 6.x and Universe Package Requirements

2011-12-20 Thread John Thompson
I think I can help...

If you do an install from the RHEL installer, select customize now, and
you'll be able to see everything that can be installed.  You just simply
un-check what you do not want.
Start with the base server package.

However, if this is a 64 bit install, or x86_64 they call it.
You should be aware that you will have to install some 32 bit libraries
needed by Universe/Unidata.

These are as follows:

Rocket has a little paper on this that my vendor sent me, BUT, it uses rpm,
and rpm has been deprecated with RHEL 6.  You now need to run everything
through yum (the package manager).

So to be safe, do the following:
yum search package name you are looking for
yum install package name you need

The ones you are going to need are most likely going to end with an .i686
indicating that it is a 32 bit package.

Universe/Unidata has the following requirements.
So do a yum search for these packages.

glibc
nss-softokn-freebl
ncurses-libs
audit-libs
cracklib
db4-4
libselinux
pam
sssd
libgcc
libstdc
gdbm

Then install any i686 counterparts you may need.  If it is installed, when
you try to yum install it, it will tell you its already installed.

Again, don't use rpm, because yum will make your life easier.

If the Universe/Unidata install fails, it will tell you what library is
missing.
To be safe and start the installation over just remove...
/usr/uv/unishared.load
/usr/uv/HS.BP.O
(or the entire uv directory and start again)

Also, here is some info from the Rocket paper that is more up to date.

General RHEL 6 Information
Note:  Depending on your company guidelines some of these may be skipped:
- The GUI interface needs a minimum of 1GB of RAM (System RAM not dedicated
Video RAM)
- Under the Desktops option, select all options (not including all optional
packages) or all options except
KDE to get GUI interface to work.  Or, select the 'Software Development
Workstation' installation type.
- The firewall service is running by default, use the GUI interface to
disable/configure it.
- SELinux is running by default.  To disable, edit the /etc/selinux/config
file.  Change the first
uncommented line to 'SELINUX=disabled'.  Reboot.
Note:  vsftpd wasn't able to connect by default until SELinux was disabled.
There may be some way to
get this to work, but it was not pursued further.
- rsh, rsh-server, telnet, telnet-server, xinetd are part of the 'Base
System - Legacy Unix Compatibility'
install package option.  SSH tends to be the standard connectivity now.
- The 'ftp' client is in the 'Base System - Console Internet Tools'
package option.
- Enabling root via telnet and vsftpd is the same as previous RHEL
versions.
Specific to UniVerse:
- UV 10.3 still uses the uncompress command.  This is changed at UV 11.1 to
use gunzip instead.  For UV
10.3 installs, run the command 'ln -s /bin/gunzip /bin/uncompress'.
- Add the line 'uvrpc  31438/tcp' to the /etc/services file. This is used
for UniDK/UniAdmin type connections.
UniData adds the uvrpc entry by default.

On the SELINUX thing, when you change that option, you will have to reboot.
The only way to disable SELINUX on install, is to append a kernel option
before you boot the installer.
Just hit the spacebar to bring up the menu
Hit a
Then in the grub config, type: selinux=0 and hit Enter

I have a GNOME desktop on my machine for convenience because RAM is cheap
nowadays (and thats the only thing it really takes up) and it makes life
easier on some things, BUT, you do not need it.

Why Rocket can't just build their own yum package to do this is beyond me,
but, oh well, such is life.

Hope that helps.

On Mon, Dec 19, 2011 at 10:54 PM, Phil Walker p...@gnosys.co.nz wrote:

 Hi all,

 I am installing Universe on a system which already had RHEL 6 installed on
 and whoever installed it pretty much install all packages so it is very
 bloated. Can someone provide me with a list of packages that they have
 installed on the RHEL 6 server?

 I realise there will be subtle differences depending on
 customisation/programming, but I would suspect that mah-jong might be
 missing

 Cheers

 Phil.
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users




-- 
John Thompson
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] RHEL 6.x and Universe Package Requirements

2011-12-20 Thread John Thompson
This may help you with yum too.
This came from the Red Hat portal that you get access to with support.
I hope you can still view it.

https://access.redhat.com/kb/docs/DOC-2531

On Tue, Dec 20, 2011 at 8:52 AM, John Thompson jthompson...@gmail.comwrote:

 I think I can help...

 If you do an install from the RHEL installer, select customize now, and
 you'll be able to see everything that can be installed.  You just simply
 un-check what you do not want.
 Start with the base server package.

 However, if this is a 64 bit install, or x86_64 they call it.
 You should be aware that you will have to install some 32 bit libraries
 needed by Universe/Unidata.

 These are as follows:

 Rocket has a little paper on this that my vendor sent me, BUT, it uses
 rpm, and rpm has been deprecated with RHEL 6.  You now need to run
 everything through yum (the package manager).

 So to be safe, do the following:
 yum search package name you are looking for
 yum install package name you need

 The ones you are going to need are most likely going to end with an .i686
 indicating that it is a 32 bit package.

 Universe/Unidata has the following requirements.
 So do a yum search for these packages.

 glibc
 nss-softokn-freebl
 ncurses-libs
 audit-libs
 cracklib
 db4-4
 libselinux
 pam
 sssd
 libgcc
 libstdc
 gdbm

 Then install any i686 counterparts you may need.  If it is installed, when
 you try to yum install it, it will tell you its already installed.

 Again, don't use rpm, because yum will make your life easier.

 If the Universe/Unidata install fails, it will tell you what library is
 missing.
 To be safe and start the installation over just remove...
 /usr/uv/unishared.load
 /usr/uv/HS.BP.O
 (or the entire uv directory and start again)

 Also, here is some info from the Rocket paper that is more up to date.

 General RHEL 6 Information
 Note:  Depending on your company guidelines some of these may be skipped:
 - The GUI interface needs a minimum of 1GB of RAM (System RAM not
 dedicated Video RAM)
 - Under the Desktops option, select all options (not including all
 optional packages) or all options except
 KDE to get GUI interface to work.  Or, select the 'Software Development
 Workstation' installation type.
 - The firewall service is running by default, use the GUI interface to
 disable/configure it.
 - SELinux is running by default.  To disable, edit the /etc/selinux/config
 file.  Change the first
 uncommented line to 'SELINUX=disabled'.  Reboot.
 Note:  vsftpd wasn't able to connect by default until SELinux was
 disabled. There may be some way to
 get this to work, but it was not pursued further.
 - rsh, rsh-server, telnet, telnet-server, xinetd are part of the 'Base
 System - Legacy Unix Compatibility'
 install package option.  SSH tends to be the standard connectivity now.
 - The 'ftp' client is in the 'Base System - Console Internet Tools'
 package option.
 - Enabling root via telnet and vsftpd is the same as previous RHEL
 versions.
 Specific to UniVerse:
 - UV 10.3 still uses the uncompress command.  This is changed at UV 11.1
 to use gunzip instead.  For UV
 10.3 installs, run the command 'ln -s /bin/gunzip /bin/uncompress'.
 - Add the line 'uvrpc  31438/tcp' to the /etc/services file. This is used
 for UniDK/UniAdmin type connections.
 UniData adds the uvrpc entry by default.

 On the SELINUX thing, when you change that option, you will have to reboot.
 The only way to disable SELINUX on install, is to append a kernel option
 before you boot the installer.
 Just hit the spacebar to bring up the menu
 Hit a
 Then in the grub config, type: selinux=0 and hit Enter

 I have a GNOME desktop on my machine for convenience because RAM is cheap
 nowadays (and thats the only thing it really takes up) and it makes life
 easier on some things, BUT, you do not need it.

 Why Rocket can't just build their own yum package to do this is beyond me,
 but, oh well, such is life.

 Hope that helps.

 On Mon, Dec 19, 2011 at 10:54 PM, Phil Walker p...@gnosys.co.nz wrote:

 Hi all,

 I am installing Universe on a system which already had RHEL 6 installed
 on and whoever installed it pretty much install all packages so it is very
 bloated. Can someone provide me with a list of packages that they have
 installed on the RHEL 6 server?

 I realise there will be subtle differences depending on
 customisation/programming, but I would suspect that mah-jong might be
 missing

 Cheers

 Phil.
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users




 --
 John Thompson




-- 
John Thompson
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] RHEL 6.x and Universe Package Requirements

2011-12-20 Thread Wols Lists

On 20/12/11 14:17, John Thompson wrote:

True.  But if you don't use yum, yum doesn't update its database properly
of what has been installed/updated and will sometimes complain on its next
run.  Plus yum seems to do a much better job of automatically installing
the dependencies you need, without having to manually do it.


WEIRD!!!

aiui, yum doesn't have its own db, it just uses the rpm db!


I come from the Debian world, and I always hated rpm, so I was glad to see
them improve it over the years.  Just my two cents.


The problem was never rpm, the problem was (a) poor rpm spec files, and 
(b) conflicting package definitions. Because all the apt/dpkg distros 
were derived from debian, they kept debian conventions, and debian also 
had sane definition files.


But because the no 2 rpm-based distro was not a Red Hat derivative, they 
kept their own packaging conventions, and drove a coach and horses 
through any attempt to make rpms compatible across distros.


Two interesting factoids - rpm was written by Caldera, and SuSE is a 
slackware derivative :-)


Cheers,
Wol


On Tue, Dec 20, 2011 at 9:09 AM, Wols Listsantli...@youngman.org.ukwrote:


On 20/12/11 13:52, John Thompson wrote:


Rocket has a little paper on this that my vendor sent me, BUT, it uses
rpm,
and rpm has been deprecated with RHEL 6.  You now need to run everything
through yum (the package manager).



AUIU, all yum does is call rpm under the hood. So yes, using yum
*should* be easier, but making it easier makes it less flexible.

Horses for courses and all that.

Cheers,
Wol

__**_
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/**mailman/listinfo/u2-usershttp://listserver.u2ug.org/mailman/listinfo/u2-users







___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users