post installation and configuration guide

Sir

i am new to this forum.i have installed openSuse 11.1 today.i need to install 11gR1.but i need to create a user
i).as asmadmin,
ii).as dba
iii). as asmdba
and so on…

how can i do that?is there any guide book for suse administration available?

2)another thing is that on every booting suse taking me to a direct login to the specified a/c during installation how to change that?

And i need to do…

i have a mixed scenario right now.
I have only three computer on home network.

i).vista accer travelmate 4720 laptop loaded with vista sp1 ultimate

ii).normal pc : this pc is loaded with opensuse 11.x linux but this pc has 2 NICs I have connected both with a switch and internet.can I use one NIC as private and another NIC as public to access internet?

iii). normal pc : its loaded with win xp sp2

how to set my network.
I have connected each NIC with a D-Link switch.And the D-Link switch is connected with DataOne Nokia Siemens network c2110 modem.

But problems are that

  1. each time i can connect only one PC at a time.

2)opensuse 11.x is not connected to the specified modem ever…by adsl seup command.

Every time i am trying to connect to network suse is saying you need to configure your NIC.how to do that?

please help as soon as you can…

  1. hmmmm…you are gonna install and use Oracle 11gR1, but need help
    adding users?? ok, use YaST to add users…

or do it the old fashioned way with adduser, see man adduser for details…

“guide book” at
http://www.novell.com/documentation/opensuse110/opensuse110_startup/data/opensuse110_startup.html

and, if you elected to install it, at
file:///usr/share/doc/manual/opensuse-manual_en/manual/index.html

and http://en.opensuse.org/Documentation

a good, general Linux administrator guide is among these:
http://tinyurl.com/r3wrcr/

i like number three there because you can begin on page one and read
though and build on past pages without wondering what the heck they
are talking about…i’m not sure about the others…

  1. Personal Settings > System Administration > Login Manager >
    Convenience > Administrator Mode [Button] > give root password >
    UNcheck “Enable Auto-Login” > Apply

  2. networking, those gurus hang in
    http://forums.opensuse.org/network-internet/


platinum
Note: Accuracy, completeness, legality, or usefulness of this posting
may be illusive.

where do i find YaST?

Oracle Database 11gR1

For detailed instruction have a look at Introduction to Oracle 11gR1 on SLES10 (x86).

  1. Install openSUSE 10.2 with “C/C++ Development” selection.
  2. Read Oracle Installation Document for prerequisites (software requirements).
  3. Download and Install orarun package. Enable and set password for newly created user oracle by orarun.
  4. Change some environment variables - ORACLE_HOME, ORACLE_SID, TNS_ADMIN in /etc/profile.d/oracle.sh.
  5. Set updated kernel parameters by executing /etc/init.d/oracle start or rcoracle start.
  6. Download and extract Oracle Oracle 11gR1 SW.
  7. login as user oracle and run Oracle Universal Installer “database/runInstaller”. Just follow step by step questions of Oracle installer.

[edit]
openSUSE 10.3

Oracle Universal Installer (OUI) on openSUSE 10.3 gives following java error:“java: xcb_xlib.c:52: xcb_xlib_unlock: Assertion `c->xlib.lock’ failed.”.

Workaround : export LIBXCB_ALLOW_SLOPPY_LOCK=1

Oracle 10gR2 : Same as openSUSE 10.2

Oracle 11gR1 : Same as openSUSE 10.2
[edit]
openSUSE 11.0

Ignore “libxcb: WARNING! Program tries to unlock a connection without having acquired a lock first…” from Oracle Universal Installer (OUI). You may need previous workaround : “export LIBXCB_ALLOW_SLOPPY_LOCK=1”. You can learn more about this java issue @ Sun bug-6532373

Oracle 10gR2 :

  1. Install openSUSE 11.0 with “C/C++ Development” selection.
  2. Download and Install orarun package. Enable and set password for newly created user oracle by orarun.
  3. Change some environment variables - ORACLE_HOME, ORACLE_SID, TNS_ADMIN in /etc/profile.d/oracle.sh.
  4. Set updated kernel parameters by executing /etc/init.d/oracle start or rcoracle start.
  5. Download and extract Oracle 10gR2 SW. Edit file database/install/oraparam.ini to add “SuSE-11” to [Certified Versions] line.
  6. login as user oracle and run Oracle Universal Installer “database/runInstaller”. Just follow step by step questions of Oracle installer.

Oracle 11gR1 :

  1. Install openSUSE 11.0 with “C/C++ Development” selection.
  2. Download and Install orarun package. Enable and set password for newly created user oracle by orarun.
  3. Change some environment variables - ORACLE_HOME, ORACLE_SID, TNS_ADMIN in /etc/profile.d/oracle.sh.
  4. Set updated kernel parameters by executing /etc/init.d/oracle start or rcoracle start.
  5. Download and extract Oracle Oracle 11gR1 SW.
  6. login as user oracle and run Oracle Universal Installer “database/runInstaller”. Just follow step by step questions of Oracle installer.

Note: If you are on x86_64, please make sure 32 bit Runtime Environment is installed to avoid Oracle linking errors (this seems to mean that the 32 bit gcc package must be present).

Alternatively if you don’t want problems in the installation of oracle 10g or 11g on openSUSE 11.0 (64bit) you can use this script doris1.1d.sh. This script will automate the setup by downloading from Yast dependencies, sorting out all the 32bit and 64bit libraries and linking where required. The purpose of this script is not to install Oracle but just to get the system ready for installation. Own risks policy applies. (root@localhost# sh doris1.1d.sh suse11 10g) – Ade90036 12:59, 7 August 2008 (UTC)
[edit]
openSUSE 11.1

Ignore “libxcb: WARNING! Program tries to unlock a connection without having acquired a lock first…” from Oracle Universal Installer (OUI).

Install the libstdc++33 package. ie:

zypper install libstdc++33

This package is used by some of the makefiles when creating database instances.

Oracle 10gR2 : Same as openSUSE 11.0

Oracle 11gR1 : Same as openSUSE 11.0

your site has a guide as above.but i am failing to install rpms can you guide me.just double click is not making the work for me.

Install the libstdc++33 package. ie:

zypper install libstdc++33

where do i find this package?do i need to download something for it?

csayantan wrote:
> where do i find YaST?

have you looked at any of the links in my first post?

i am not about to begin with Linux Kindergarten…i’ll try to point you
to the right references but i am not going to read them to you…

so, at least open the startup guide…

i can’t tell you how to find YaST on your machine because i am not a
mind reader and don’t know:

  1. do you have XWindows running?
  2. do you have a desktop?
  3. if you have a desktop, which one? (KDE3, KDE4, Gnome, Xfce, etc)
  4. or, did you elect just the text mode/server install?
  5. describe your hardware
  6. open a terminal, issue
    uname -r
    and copy post output to here…


platinum
Give a hacker a fish and you feed him for a day.
Teach man and you feed him for a lifetime.

Note: Accuracy, completeness, legality, or usefulness of this posting
may be illusive.

> your site has a guide as above.but i am failing to install rpms can you
> guide me.just double click is not making the work for me.

it is not my site…
it is your site…
this is a ‘community’ of users…
everyone here is a user, volunteer helper, contributor, etc…

you are correct: double clicking rpm files is not the way to install
them…however, all of the references i gave you in my first post will
tell you how to install rpms, or directly reference other documents
which do…for example see: http://en.opensuse.org/Concepts which
discusses software handling, rpms and YaST…and is referenced in at
least three URLs previously given…

i prefer to install rpms with a right click on the rpm icon > Actions
> Install with YaST…but, i don’t know if that will work for you
because i don’t even know if you have an icon for the rpms you wanna
install…


platinum

i installed it again.And till now its working fine.but can you say how to setup DNS and Single Client Access name in it?

if you mhave any documentation link could be helpful…

csayantan wrote:
> how to setup DNS and Single Client Access name in it?

suggest you ask networking questions in a new thread in the area where
network gurus hang out: http://forums.opensuse.org/network-internet/


palladium

ok.can you say how to do path setting in open SUSE 11.1(ie.something i usually do with .bash_profile in el5) as a root user and for root?

man 1 bash then “/profile” to search for profile info shows :

–noprofile
Do not read either the system-wide startup file /etc/profile or any of the
personal initialization files ~/.bash_profile, ~/.bash_login, or ~/.profile.
By default, bash reads these files when it is invoked as a login shell (see
INVOCATION below).

Looks like you have a few places you can set PATH.


linux-w0sv:~/Desktop # man 1 bash | grep profile
              Arrange for the debugger profile to be executed before the shell
       --noprofile
              Do not read either the system-wide startup file /etc/profile  or
              any   of  the  personal  initialization  files  ~/.bash_profile,
              ~/.bash_login, or ~/.profile.   By  default,  bash  reads  these
       mands  from  the file /etc/profile, if that file exists.  After reading
       that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile,
       exists and is readable.  The --noprofile option may be  used  when  the
       it  first  attempts  to read and execute commands from /etc/profile and
       ~/.profile, in that order.  The  --noprofile  option  may  be  used  to
       /etc/profile
       ~/.bash_profile


so i shall go to the file ** ~/.bash_profile**

and edit that file to set the path,right? but


linux-w0sv:~ # ls -l
total 448
-rw-------  1 root root    4358 Dec 10 18:33 .ICEauthority
-rw-------  1 root root     324 Dec 10 18:33 .Xauthority
drwx------  3 root root    4096 Dec 10 03:18 .adobe
-rw-------  1 root root    5101 Dec 10 17:03 .bash_history
drwx------  4 root root    4096 Dec  6 13:19 .beagle
drwx------  3 root root    4096 Dec 10 03:17 .cache
-rw-r--r--  1 root games    240 Dec  9 21:34 .chromium
drwxr-xr-x 10 root root    4096 Dec 10 03:17 .config
drwx------  3 root root    4096 Dec  6 13:17 .dbus
-rw-------  1 root root      24 Dec 10 18:33 .dmrc
-rw-------  1 root root      16 Dec  6 13:17 .esd_auth
-rw-r--r--  1 root root    1332 Nov 23  2005 .exrc
-rw-r--r--  1 root root     516 Dec  6 13:24 .fonts.conf
drwx------  4 root root    4096 Dec 10 18:33 .gconf
drwx------  2 root root    4096 Dec 10 18:42 .gconfd
drwx------  4 root root    4096 Dec 10 13:13 .gegl-0.0
drwxr-xr-x 22 root root    4096 Dec 10 13:19 .gimp-2.6
drwx------ 12 root root    4096 Dec 10 14:37 .gnome2
drwx------  2 root root    4096 Dec  6 13:19 .gnome2_private
drwx------  3 root root    4096 Dec  6 13:17 .gnupg
drwxr-xr-x  2 root root    4096 Dec 10 11:17 .gstreamer-0.10
dr-x------  2 root root       0 Dec 10 18:33 .gvfs
drwxr-----  2 root root    4096 Dec  6 13:17 .hplip
drwxr-xr-x  2 root root    4096 Dec  9 15:53 .icons
drwxr-xr-x  2 root root    4096 Dec  6 18:36 .kbd
drwxr-xr-x  3 root root    4096 Dec  6 13:17 .kde
drwx------  4 root root    4096 Dec  6 13:17 .kde4
drwx------  3 root root    4096 Dec 10 14:58 .kdm
drwx------  3 root root    4096 Dec  6 13:17 .local
drwx------  3 root root    4096 Dec 10 03:18 .macromedia
drwx------  4 root root    4096 Dec  6 13:19 .mozilla
drwxr-xr-x  3 root root    4096 Dec 10 02:25 .nautilus
-rw-------  1 root root      54 Dec  9 03:06 .netxrc
drwx------  3 root root    4096 Dec 10 01:36 .ooo3
drwxr-xr-x  2 root root    4096 Dec  9 22:14 .phalanx
drwx------  3 root root    4096 Dec 10 03:17 .pki
drwx------  2 root root    4096 Dec  6 13:23 .pulse
-rw-------  1 root root     256 Dec  6 13:17 .pulse-cookie
drwx------  6 root root    4096 Dec  9 14:19 .purple
drwxr-xr-x  2 root root    4096 Dec  6 13:17 .qt
-rw-------  1 root root   35547 Dec 10 18:42 .recently-used.xbel
drwxr-xr-x  2 root root    4096 Dec  6 13:17 .skel
drwxr-xr-x  2 root root    4096 Dec  9 15:53 .themes
drwx------  4 root root    4096 Dec  9 15:53 .thumbnails
drwxr-xr-x  4 root root    4096 Dec  8 13:09 .tomboy
-rw-r--r--  1 root root    4566 Dec 10 18:33 .tomboy.log
-rw-------  1 root root    4168 Dec 10 18:49 .viminfo
drwxr-xr-x  2 root root    4096 Dec 10 18:33 .wapi
drwxr-xr-x  2 root root    4096 Dec  9 03:07 .xine
-rw-------  1 root root    9966 Dec 10 18:49 .xsession-errors
-rw-------  1 root root  117827 Dec  6 13:55 .xsession-errors-:1
-rw-------  1 root root   25379 Dec  6 13:54 .xsession-errors-:2
-rw-------  1 root root   22859 Dec  6 13:54 .xsession-errors-:3
-rw-r--r--  1 root root     282 Dec 10 03:11 .y2usersettings
drwxr-xr-x  4 root root    4096 Dec 10 14:18 Desktop
drwx------  2 root root    4096 Dec  8 13:09 Documents
drwx------  2 root root    4096 Dec 10 03:21 Downloads
drwxr-xr-x  2 root root    4096 Dec  3  2008 bin
drwxr-xr-x  5 root root    4096 Dec  6 17:47 inst-sys
linux-w0sv:~ # 




linux-w0sv:~ # vi .bash_login
linux-w0sv:~ # bash --noprofile
linux-w0sv:~ # vi .bash_login
linux-w0sv:~ # vi .bash_profile
linux-w0sv:~ # 


all the command opening a new file not the existing one so that i can edit them.
its not in home foolder so what to do?

regards

do i need to edit /etc/profile only?

csayantan wrote:
> do i need to edit /etc/profile only?

did you look at man bash yet?


palladium

yap.it tells about job control,login option with -l and invocation but yet to find out that is the way to do this stuff.

regards

could you plz tell me like
step 1 do this.
step 2 do this like that?

regards

csayantan wrote:
> could you plz tell me like
> step 1 do this.
> step 2 do this like that?

can’t because i’m not sure what this means: “how to do path setting in
open SUSE 11.1(ie.something i usually do with .bash_profile in el5) as
a root user and for root?”

i think you wanna change root’s path…but, i don’t know if you
wanna delete something, add something, change the order of the path,
etc etc etc…[btw, what is an “el5” and what is the difference
between a “root user” and just ‘root’?]…

but, maybe you wanna change a users path, or a library path, or java
path…or all of those…or, maybe you have a machine with multiple
users and you want to change the path of some, but not other, or …
or … or … or

probably all variations have already been step-by-steped for someone
else…try this:

step 1, see http://tinyurl.com/y936xon

step 2, pick the path/situation/or which fits your need

step 3, follow the advice for your situation/need

and/or, maybe you can use this, i copied it from an nntp newsgroup:


Newsgroups: alt.os.linux.suse
Subject: Re: how to put something permanent into PATH?
Date: 8 Nov 2009 11:47:18 GMT
Lines: 34
Message-ID: <7lnpe6F3e97ceU1@mid.individual.net>)

Assuming you are using SUSE linux and the bash shell:

In case you want to change PATH for all users with the bash shell
create a file /etc/bash.bashrc.local with the line:
PATH=/some/new/path:$PATH; export PATH

Here '/some/new/path' is the new variable you want to add to PATH.
Create a new terminal window and check with
echo $PATH
that this works.

In a slightly more complicated version of the above command you can
check if the variable was already set:
echo $PATH | grep -vq  /some/new/path && export PATH=/some/new/path:$PATH
Here the grep command verifies that '/some/new/path' is not already
set  prior to calling the export command.

In case you want to make this change for your own account only put one
of the above lines into ~/.bashrc in your home directory. The changes
for MANPATH work just the same in one of the two files.

In case you are working with a more complex setup with, as an example,
multiple versions of a software package installed in different
directories installing and configuring the Modules package (zypper
install Modules) offers more flexibility than setting variables
statically in the way described above.

for your general question, that is as simple as it gets…


palladium

suppose i have installed a software like DB2/websphere/sql.now if i set the path say for $ORACLE_HOME or $JAVA_HOME or $WEBSPHERE in ./bash_profile in OEL 5.2 it may start by single command eg. sqlplus or javac file name etc.

I just want to do that :lol

sorry…i read another post of yours saying you are, or have been
signing in and running as root (i wonder where you learned
that?)…that messes up so many different things i wouldn’t know where
or how to patch up what you have on your hands now…

now i see oracle/websphere it seems you are actually running a
server…if so, why oh why are you even running a GUI?? that only
complicates everything and greatly decreases machine security
(inviting script kiddies/hackers)

i sorry but i can’t help you more…

there are Linux Administrator training programs from tech to
university level in many contries, as well as online texts…


palladium

now i see oracle/websphere it seems you are actually running a
server…if so, why oh why are you even running a GUI?? that only
complicates everything and greatly decreases machine security
(inviting script kiddies/hackers)

can you state how to switch from GUI to Terminal and Terminal to GUI?

why do not you try to hack my machine. :stuck_out_tongue: rotfl! lol!

i sorry but i can’t help you more…

there are Linux Administrator training programs from tech to
university level in many contries, as well as online texts…

Thanx.i shall join soon.

one more thing is that its not production SELS.its just open suse 11.1 what i downloaded from opensuse.org and installed.but i am using it just to run oracle and practice the oracle related stuff.