Linux-Misc Digest #530, Volume #19               Sat, 20 Mar 99 05:13:09 EST

Contents:
  Re: Migrating RH Linux 5.2 to new hard drive (David Gochfeld)
  Re: HELP! Question about Oracle 8 on Linux -- how to auto-start? (Anubis)
  Re: Combining Drives? (Shane Steven Sturrock)
  Re: FreeBSD vs. Linux vs. Windows (Shane Steven Sturrock)
  Re: C/C++ Programming on Linux: Good Books? (Martin Ambuhl)
  Re: XEmacs: Adding New Fonts (brian moore)
  Re: Vanishing CDROM (brian moore)
  Re: FreeBSD vs. Linux vs. Windows (drwho)
  Re: RedHat, The Next MS (John Forkosh)
  Re: C/C++ Programming on Linux: Good Books? (Michael A. Powe)
  Re: [Q] Swap file not working. (Miernik)
  thkb: How to make an mp3 from an wav? (Miernik)
  How to customize sound - volume settings that startup... (Miernik)
  Names to call Windows... (Donn Miller)
  Re: Names to call Windows... (Donn Miller)
  Re: Configuring Linux as mail server  ... (Andy Johnson)

----------------------------------------------------------------------------

From: David Gochfeld <[EMAIL PROTECTED]>
Crossposted-To: 
alt.linux,alt.os.linux,comp.os.linux,comp.os.linux.admin,comp.os.linux.hardware,comp.os.linux.questions,linux.redhat.misc
Subject: Re: Migrating RH Linux 5.2 to new hard drive
Date: Sat, 20 Mar 1999 01:50:55 -0500



David Elliott wrote:

>
> You will also need to properly install lilo on the machine (I strongly
> recommend creating a bootdisk with the proper kernel and initrd on it while you
> still have your old hd up and running, then reboot with the disk giving it the
> root=/dev/sdxN.  If all goes well, reconfigure lilo, run it, and you should be
> in business.
>

So here's the question -- how do you reconfigure lilo so it installs itself
properly
in the MBR of the new drive (especially when the old drive is still mounted on the
system)?

thanks

-dave




------------------------------

From: [EMAIL PROTECTED] (Anubis)
Crossposted-To: comp.databases.oracle.server,comp.os.linux.questions
Subject: Re: HELP! Question about Oracle 8 on Linux -- how to auto-start?
Date: Fri, 19 Mar 1999 21:44:35 -0600

[This followup was posted to comp.os.linux.questions and a copy was sent 
to the cited author.]

jack dectis ([EMAIL PROTECTED]) wrote:
> 
> 
> 
>  what does     ls -la  /etc/rc*     say?

ls -la /etc/rc* sez:

drwxr-xr-x  10 root     root         1024 Mar 17 10:41 .
drwxr-xr-x  26 root     root         2048 Mar 19 15:36 ..
drwxr-xr-x   2 root     root         1024 Mar 19 15:30 init.d
-rwxr-xr-x   1 root     root         1871 Oct 15 11:07 rc
-rwxr-xr-x   1 root     root          693 Oct 15 11:07 rc.local
-r-xr-x---   1 news     news         2082 Sep 10  1998 rc.news
-rwxr-xr-x   1 root     root         7165 Oct 15 11:07 rc.sysinit
drwxr-xr-x   2 root     root         1024 Mar 17 10:46 rc0.d
drwxr-xr-x   2 root     root         1024 Mar 17 10:46 rc1.d
drwxr-xr-x   2 root     root         1024 Mar 17 10:46 rc2.d
drwxr-xr-x   2 root     root         1024 Mar 17 11:12 rc3.d
drwxr-xr-x   2 root     root         1024 Mar 17 11:12 rc4.d
drwxr-xr-x   2 root     root         1024 Mar 17 11:12 rc5.d
drwxr-xr-x   2 root     root         1024 Mar 17 10:46 rc6.d


Thx,

-Anubis

(why the heck does init.d show up in that if the mask was rc* ??)


> 
> 
> 
> Anubis wrote:
> 
> > Hi there-- dumb newbie question for ya'll:
> >
> > I have Oracle 8.0.5 installed now on Linux (RH5.2).. As per the install
> > instructions, I created a file /etc/rc.d/init.d/dbora containing the
> > following:
> >
> > # Set ORA_HOME to be equivalent to the ORACLE_HOME
> > # from which you wish to execute dbstart and
> > # dbshut
> > # set ORA_OWNER to the user id of the owner of the
> > # Oracle database in ORA_HOME
> > ORA_HOME=/home/oracle/8.0.5.0.0
> > ORA_OWNER=oracle
> > if [! -f $ORA_HOME/bin/dbstart -o ! -d $ORA_HOME]
> > then
> > echo "Oracle startup: cannot start"
> > exit
> > fi
> > case "$1" in
> > 'start')
> > # Start the Oracle databases:
> > su - $ORA_OWNER -c $ORA_HOME/bin/dbstart &
> > ;;
> > 'stop')
> > # Stop the Oracle databases:
> > su - $ORA_OWNER -c $ORA_HOME/bin/dbshut &
> > ;;
> > esac
> >
> > In the instructions, it then says:
> > Link dbora by entering:
> > # ln -s /etc/rc.d/init.d/dbora /etc/rc0.d/K10dbora
> >
> > # ln -s /etc/rc.d/init.d/dbora /etc/rc2.d/S99dbora
> >
> > .. this is where I am assuming it is set so that this dbora gets executed
> > on system boot.. correct?
> >
> > Anyway, it doesn't work.  First of all, I am logged in as root.  Second
> > of all, I am assuming the # signs in there are a mistake since they are
> > comments in the bash shell.  Third of all, if I just try:
> > ln -s /etc/rc.d/init.d/dbora /etc/rc0.d/K10dbora
> >
> > It returns an error saying:
> > ln: cannot create symbolic link `/etc/rc0.d/K10dbora' to
> > '/etc/rc.d/init.d/dbora': No such file or directory
> >
> > So, I tried a 'ls /etc/rc*' and I got:
> > init.d     rc.local   rc.sysinit    rc1.d      rc3.d    rc5.d
> > rc         rc.news    rc0.d         rc2.d      rc4.d    rc6.d
> >
> > ... so, rc0.d IS there... so, THEN I tried: ls /etc/rc0.d and got:
> > ls: /etc/rc0.d: No such file or directory
> >
> > huh?? why won't this work?  does it or doesn't it exist?
> >
> > Thanks for any help.
> 
> 

------------------------------

From: [EMAIL PROTECTED] (Shane Steven Sturrock)
Subject: Re: Combining Drives?
Date: Fri, 19 Mar 1999 15:36:20 +0000

On Tue, 16 Mar 1999 18:05:49 -0600, Eric Webster <[EMAIL PROTECTED]> wrote:
>In AIX it is possible to create storage volumes consisting of multiple
>drives so that a single mount point appears to be the combined size of all
>the drives in the volume group (e.g., a df on a 3 10GB volume group would
>show 30GB).
>
>How is this done with Linux? I want to combine several drives to form a
>large area to hold databases. Any tips, please post!

You could always RAID the drives so you would get the added advantage of
faster access to the data as well as the appearance of a single large
drive.  Have a look at the RAID howto file.

-- 
Dr. Shane Sturrock - http://nova.bru.ed.ac.uk/~sss
Linux, a better WinNT than WinNT

------------------------------

From: [EMAIL PROTECTED] (Shane Steven Sturrock)
Crossposted-To: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD vs. Linux vs. Windows
Date: Fri, 19 Mar 1999 15:44:26 +0000

On 19 Mar 1999 06:28:05 +0100, Matthias Buelow <[EMAIL PROTECTED]> wrote:
>David Steuber <[EMAIL PROTECTED]> writes:
>
>How often is this done with Unix workstations in a larger pool?
>To accomplish this goal, we'd need some distributed operating system,
>like Plan9.

Surprisingly often.  It is very common that a workstation can be running
lots of programs in background while still being used as a workstation.  We
often have simulations and database searches running on our Alpha boxes but
they are still perfectly usable as workstations since the typical user won't
even notice if the processor is spending 95+% of its time doing something
heavy.  More to the point, you can also have lots of cheap slow workstations
which are fine for the most part but provide one big number cruncher when
its needed.  All workstations can access that machine, display the user
interface on their machine and get the power of that box.  Even better you
can set up machines like old Sun SPARC1 boxes as X terms and host them off
a single fast machine and effectively give a whole bunch of users a very
fast workstation.  Again, I've done this with old SPARCs and our Alphas.  Its
like getting several 533 Alphas for the price of one, bargain!

Then of course, if you wanted you could set up MPI of PVM to use the space
cycles of many workstations to do heavy number crunching.  The point being
that you can use those clock cycles while the person is scratching their
head about what to do next on the workstation.  A lab full of PII PCs running 
Windows and Word is a terrible waste.  A lab full of PII PCs running
Linux and Applix/WordPerfect/StarOffice could all be used to do something
else too.

-- 
Dr. Shane Sturrock - http://nova.bru.ed.ac.uk/~sss
Linux, a better WinNT than WinNT

------------------------------

From: Martin Ambuhl <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.c,comp.lang.c++,alt.linux
Subject: Re: C/C++ Programming on Linux: Good Books?
Date: Sat, 20 Mar 1999 02:02:14 -0500

Nick Ambrose wrote:
> 
> recommend you try to use the egcs compiler (http:://egcs.cygnus.com) - much
> better than the GCC stuff.
> You can try man gcc for a starting point, and there is a considerable amount of
> info available about this compiler freely available on the net.

What do you think ecgs is, for goodness' sake?  If you don't like "the
GCC stuff", then you better stay away from the experimental GCC stuff
(i.e. ecgs).


-- 
Martin Ambuhl ([EMAIL PROTECTED])
Note: [EMAIL PROTECTED] will soon be inactive


------------------------------

From: [EMAIL PROTECTED] (brian moore)
Crossposted-To: comp.emacs.xemacs,comp.os.linux.x
Subject: Re: XEmacs: Adding New Fonts
Date: 20 Mar 1999 07:49:40 GMT

On Fri, 19 Mar 1999 14:38:35 GMT, 
 C. R. H. <[EMAIL PROTECTED]> wrote:
> I have XEmacs on Linux(RH 5.1), and I am not happy with the font selection.
> I would like to know how to add fonts to the system that XEmacs will
> be able to see. I have fonts on my Solaris system that I like, and would
> like to get similar fonts for Linux. I have never worked with fonts in
> Unix, and so any information would be greatly appreciated.

Look for 'type1inst' at any decent search engine and you'll find a nifty
script to install Postscript Type 1 fonts.  Where to get the fonts
themselves?  Check the OS/2 font archives at ftp.cdrom.com.

-- 
Brian Moore                       | "The Zen nature of a spammer resembles
      Sysadmin, C/Perl Hacker     |  a cockroach, except that the cockroach
      Usenet Vandal               |  is higher up on the evolutionary chain."
      Netscum, Bane of Elves.                 Peter Olson, Delphi Postmaster

------------------------------

From: [EMAIL PROTECTED] (brian moore)
Crossposted-To: 
comp.os.ms-windows.win95.setup,comp.os.ms-windows.setup.win95,comp.os.ms-windows.misc,alt.comp.periphs.mainboard.abit
Subject: Re: Vanishing CDROM
Date: 20 Mar 1999 07:44:35 GMT

On 19 Mar 1999 09:24:04 GMT, 
 Philip J. Le Riche <[EMAIL PROTECTED]> wrote:
> 
> I recently upgraded my Abit AX5-based poota (more RAM, Cyrix MII300,
> 2-speed SCSI CDROM -> 24-speed IDE) and all seemed fine until a couple
> of days ago when Win95 lost the CDROM.
> 
> Linux can still see it and read it, but it's nowhere to be seen in Win95
> Device Manager. I tried another IDE CDROM (broken mechanically but not
> electrically) and it can't see that either, but if I put the SCSI CDROM
> back it can see that.
> 
> I also noticed from Device Manager that my IDE hard drives (I have 2,
> primary master and slave - CDROM is secondary master) are running in DOS
> compatibility mode, but the help is very unhelpful as to what it means
> or what to do about it.
> 
> Any ideas? Ta. - Philip

Sounds like someone is trying to tell you to not run Windows.

Perhaps you should listen.

-- 
Brian Moore                       | "The Zen nature of a spammer resembles
      Sysadmin, C/Perl Hacker     |  a cockroach, except that the cockroach
      Usenet Vandal               |  is higher up on the evolutionary chain."
      Netscum, Bane of Elves.                 Peter Olson, Delphi Postmaster

------------------------------

From: drwho <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD vs. Linux vs. Windows
Date: 18 Mar 1999 19:58:32 -0600

Mikhail Kruk <[EMAIL PROTECTED]> writes:

> You can setup remote services on NT. Including fully  Unix compatible
> ones. Like rsh, rlogin, telnet... They've released some kind of unix
> compatability package recently. You can even have a NFS server running
> on NT.

And how much do these "unix compatibility packages" and NFS servers COST?
And do they come standard with the OS?  Of course not...

-- 
Fight email spam:  http://www.cauce.org/

------------------------------

From: [EMAIL PROTECTED] (John Forkosh)
Subject: Re: RedHat, The Next MS
Date: 20 Mar 1999 02:52:08 -0500

Bill Amsinux ([EMAIL PROTECTED]) wrote:
: I got the feeling  RedHat will be the next MS in term of owning the
: share market of PC softwares
: and building junky stuffs, but getting good at marketing. They are
: rushing like guys&girls at MS Corp,
: releasing premature, buggy softwares.

All the distributions I've tried seem a bit buggy.
What I really don't like about RH is their cute
little RedHat logo on every X screen they put up.
It's like they're taking credit for both Linux
and for X.  And naive users may come to credit
RH for these wonderful things.  So I agree with
you that RH is putting marketing ahead of customers
and ahead of truth.

I guess maybe there's a maximum size that "open source
companies" can reach before they begin to care only
about money.  RH seems to have surpassed that size.

Anybody know how to replace RH's logo with a cute
little penguin throughout their system?
John ([EMAIL PROTECTED])

------------------------------

Crossposted-To: comp.lang.c,comp.lang.c++,alt.linux
Subject: Re: C/C++ Programming on Linux: Good Books?
From: [EMAIL PROTECTED] (Michael A. Powe)
Date: 19 Mar 1999 23:57:15 -0800

[EMAIL PROTECTED] writes:

> I have used Visual C++ for C/C++ programming on Windows platform; now, I am
> planning to switch to Linux and want to do programming using the free GNU
> compilers that come with Linux.
> 
> I am looking for a good book that describes the use of GNU C/C++ compilers
> (have they both been merged and now called gcc?), various command-line
> switches, GNU Debugger (gdb), etc. Anybody want to recommend a good and
> not-so-verbose book? Thanks.

<Using and Porting GCC> by R.M. Stallman
<Debugging with GDB> by R.M. Stallman & Cygnus Solutions
<The GNU C Library Reference Manual> by R.M. Stallman, Roland McGrath
        & Andrew Oram
<GNU Make> by R.M. Stallman & Roland McGrath

All available from the Free Software Foundation if you can't find them
at a local store.  http://www.fsf.org

mp

-- 
Michael Powe                                    [EMAIL PROTECTED]
Portland Chess Club:  http://www.rdrop.com/users/pcc
Listowner:  trollope-l, "Anthony Trollope and his Contemporaries"
            nwchess-l, "The Northwest Chess Discussion List"

------------------------------

From: [EMAIL PROTECTED] (Miernik)
Subject: Re: [Q] Swap file not working.
Date: 20 Mar 1999 08:25:24 GMT

In article <[EMAIL PROTECTED]>, G.M.Trias wrote:
>Miernik wrote:
>> 
>> Probably 64MB is enough for all your processes to fit in. Thats not so
>> strange.
>> 
>
>BZZZZZ!!!  Wrong answer!  It doesn't matter how many MB of RAM you have,
>you should still be able to have a swap file - the largest being 128 MB
>(or is it 125?)  Anyway, try enabling your swap by using "swapon -a"
>command.

Don't agree. It doesn't matter how much RAM you have.
It matters how much RAM the system+apps need, but exactly
the difference of that minus the RAM you have.

If the system only needs 20 MB for example, what for it would
be using the swap file, it just slows the system.

I guess the guy had the swapfile visible in top, 
but it's usage was 0MB. And that's OK.

-- 
                   _____________________________________________
        Miernik   /   / mailto:[EMAIL PROTECTED]
                 /   / tel.(pager): +48 642 222 864
________________/___/ http://www.elka.pw.edu.pl/fundusz/miernik/

------------------------------

From: [EMAIL PROTECTED] (Miernik)
Subject: thkb: How to make an mp3 from an wav?
Date: 20 Mar 1999 08:25:25 GMT

Reply to priv also.

-- 
                   _____________________________________________
        Miernik   /   / mailto:[EMAIL PROTECTED]
                 /   / tel.(pager): +48 642 222 864
________________/___/ http://www.elka.pw.edu.pl/fundusz/miernik/

------------------------------

From: [EMAIL PROTECTED] (Miernik)
Subject: How to customize sound - volume settings that startup...
Date: 20 Mar 1999 08:25:25 GMT

I want Debian to start with output volume 25%, and line-in volume 100% and
 so on. Now I have to set it each time with XMixer.... 

-- 
                   _____________________________________________
        Miernik   /   / mailto:[EMAIL PROTECTED]
                 /   / tel.(pager): +48 642 222 864
________________/___/ http://www.elka.pw.edu.pl/fundusz/miernik/

------------------------------

From: Donn Miller <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.bsd.freebsd.misc
Subject: Names to call Windows...
Date: Sat, 20 Mar 1999 02:17:18 -0500

People who use FreeBSD and Linux have a few clever nicknames for
Windows.  Here are some that I've seen and used (that don't have
profanity):

Windblows
Winblows
Winbloats
Winslow
Windoze
'Doze
WinHell --> instead of "Wintel"
No-Win-dows

Donn


------------------------------

From: Donn Miller <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.bsd.freebsd.misc
Subject: Re: Names to call Windows...
Date: Sat, 20 Mar 1999 03:14:40 -0500

Comparing the multitasking capabilities of FreeBSD or Linux vs.
Windows.  Win98 uses the Windows timer to allocate a certain timeslice
to each program.  This Windows timer works by receiving interrupts from
the Intel 8259 timer chip (or whatever chip that is).  The 8259 timer
has a certain resolution, like say 1 interrupt every 1 ms.  Actually, I
think it's a little worse than 1mS.  So, the multitasking capabilities
of Win98 is restricted to the resolution of the 8259 timer chip.

In the Windows 3.1 case, no timesharing was done, but multitasking was
still theoretically possible by having your programs voluntarily give up
a certain timeslice based on the Windows timer to other programs.  In
practice, however, I don't think too many programs actually did this.
Win98 does this automatically, so the programs don't have to do it.

Now, in the FreeBSD/Linux case, we know that these are time-sharing
OSes, which means that each program gets assigned a certain time
interval in which to execute.  My question here is:  in the FreeBSD
case, how is the time sharing accomplished?  Is it also based on
receiving interrupts from the 8259 timer chip?  If so, what is the
timeslice interval, is it the same as Windows?  How does the timesharing
of the two compare to Linux?



Donn


------------------------------

Date: Fri, 19 Mar 1999 20:29:21 -0500
From: Andy Johnson <[EMAIL PROTECTED]>
Subject: Re: Configuring Linux as mail server  ...

Actually, in order to be a mail host for a domain, you *must* configure your
DNS records to list your new host as a mail exchanger (an MX record).  You
probably will be able to send mail out without doing this, but you will be
unable to receive (other mail hosts will look in DNS of your host, not find
it, and either use another host or give up depending on how the address is
written).

Raghavendra B K wrote:

> Hello,
>
> I have a Linux server (DLD 5.4 kernel 2.0.33) which is on a LAN. This is
> part of a bigger intranet. Now I would like to configure my system as a
> mail server so that I can send/receive mails from the outside world
> (outside intranet).
>
> I sent a mail using elm and this is what I got.
> -----------------------------------------------------------------------
> Returned mail: Data format error:
> <[EMAIL PROTECTED]>... Sender domain must exist
> 501 <[EMAIL PROTECTED]>... Data format error
> -----------------------------------------------------------------------
> At this point, I can give you a hint. If,  from any dos/windows based
> system (within the intranet), I use ftp or telnet to
> [EMAIL PROTECTED],  I can successfully do the job.
>
> Please let me know the step-by-step procedure to configure my
> mailserver. My resources include sendmail, elm and kmail (of kde). Also
> tell me know what are the changes to be done  to sendmail, etc so that I
> can send/receive mails without doing anything in the domain server.
>
> Thanks in anticipation.
>
> Regards,
> Raghavendra B K
> ([EMAIL PROTECTED])


------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to