euglug.org

[작성자:] admin

  • [Eug-lug] php and mysql



    jgw at absent.orgTue Nov 9 10:30:36 PST 2004

    > $ export
    > PKG_PATH="ftp://ftp3.usa.openbsd.org/pub/OpenBSD/3.6/packages/i386"
    > $ sudo /usr/sbin/pkg_add mysql-server-4.0.20
    > $ sudo /usr/sbin/pkg_add php4-core-4.3.8
    > $ sudo /usr/sbin/pkg_add php4-mysql-4.3.8
    >
    > by setting PKG_PATH, pkg_add knows where to find dependant packages.
    
    Yeah, I'm lazy though :). This is the more correct way of how to do it,
    though.
    
    >
    > there's a list of the packages on the CD in the "Welcome to OpenBSD" email
    > for root.  there's more packages on the ftp sites, and you can scan the
    > /usr/ports/INDEX file for all packages created by the ports system.
    
    Also, just go to http://www.openbsd.org/3.6_packages/
    
    Specifically, http://www.openbsd.org/3.6_packages/i386.html for x86
    
    Damn, I just need to learn not to oversimplify things ;)
    
    /jgw
    
    
  • [Eug-lug] php and mysql



    Jacob MeuserTue Nov 9 10:25:47 PST 2004

    On Tue, Nov 09, 2004 at 08:17:59AM -0800, jgw at absent.org wrote:
    > Don't use ports unless you specifically need to compile custom options.
    > 
    > Instead, use packages:
    > 
    > http://www.openbsd.org/ports.html#Get
    
    good advice :)
    
    > /usr/bin/pkg_add
    > ftp://ftp.usa.openbsd.org/pub/OpenBSD/3.6/packages/i386/mysql-server-4.0.20.tgz
    > 
    > /usr/sbin/pkg_add
    > ftp://ftp.usa.openbsd.org/pub/OpenBSD/3.6/packages/i386/php4-core-4.3.8.tgz
    > 
    > /usr/sbin/pkg_add
    > ftp://ftp.usa.openbsd.org/pub/OpenBSD/3.6/packages/i386/php4-mysql-4.3.8.tgz
    
    $ export PKG_PATH="ftp://ftp3.usa.openbsd.org/pub/OpenBSD/3.6/packages/i386"
    $ sudo /usr/sbin/pkg_add mysql-server-4.0.20
    $ sudo /usr/sbin/pkg_add php4-core-4.3.8
    $ sudo /usr/sbin/pkg_add php4-mysql-4.3.8
    
    by setting PKG_PATH, pkg_add knows where to find dependant packages.
    
    there's a list of the packages on the CD in the "Welcome to OpenBSD" email
    for root.  there's more packages on the ftp sites, and you can scan the
    /usr/ports/INDEX file for all packages created by the ports system.
    
    > etc...
    > 
    > Do each package one at a time and follow the post-install instructions
    > printed on the screen.
    
    or tee the output of pkg_add to a file for posterity :)
    
    -- 
    <jakemsr at jakemsr.com>
    
  • [Eug-lug] php and mysql



    Jacob MeuserTue Nov 9 10:06:04 PST 2004

    On Mon, Nov 08, 2004 at 12:52:16PM -0800, John Marten wrote:
    > The suits where I work want to update our website, so now I have
    > to add php and mysql to my OBSD 3.0 system. Yeah, yeah, I know- i'm
    > building
    >  a new box with 3.6 on it. Anyway, they want it right away so i'm using
    > my
    > current system. The last time I installed ports and packages was like
    > four years
    >  ago, and i've got no notes from that time. However I do have some
    > documentation
    > from Screaming Electron and the misc at openbsd.org list group. I was
    > wondering if
    > anyone from this group would be willing to hang with me when I do the
    > install so I
    > don't "F" it up.
    
    yeah, no problem :)
    
    one note right off the bat ...
    
    the mysql package for 3.6 tries to open a couple more fds than it's
    default class will allow.  there are at least two options (1) put
    the _mysql user in a different login class that can open more file
    descriptors, or (2) tell mysqld not to open more than 1000 fds
    
    but you've maybe already seen the threads about this on misc@ ?
    
    > I'm still waiting for the web designer to get back to
    > me on what
    > packages need to be installed.
    > Anyway, thanx a lot. By the way I was previously the Sys Admin at a
    > local Research Center
    > where I ran Digital Unix for 15 years. However, I still concider myself
    > a 'newbie' at OBSD.
    
    the website really has a lot of good "acquaintance" material, especially
    the FAQ.
    
    -- 
    <jakemsr at jakemsr.com>
    
  • [Eug-lug] php and mysql



    jgw at absent.orgTue Nov 9 08:17:59 PST 2004

    Don't use ports unless you specifically need to compile custom options.
    
    Instead, use packages:
    
    http://www.openbsd.org/ports.html#Get
    
    /usr/bin/pkg_add
    ftp://ftp.usa.openbsd.org/pub/OpenBSD/3.6/packages/i386/mysql-server-4.0.20.tgz
    
    /usr/sbin/pkg_add
    ftp://ftp.usa.openbsd.org/pub/OpenBSD/3.6/packages/i386/php4-core-4.3.8.tgz
    
    /usr/sbin/pkg_add
    ftp://ftp.usa.openbsd.org/pub/OpenBSD/3.6/packages/i386/php4-mysql-4.3.8.tgz
    
    etc...
    
    Do each package one at a time and follow the post-install instructions
    printed on the screen.
    
    /jgw
    
    
    > The suits where I work want to update our website, so now I have
    > to add php and mysql to my OBSD 3.0 system. Yeah, yeah, I know- i'm
    > building
    >  a new box with 3.6 on it. Anyway, they want it right away so i'm using
    > my
    > current system. The last time I installed ports and packages was like
    > four years
    >  ago, and i've got no notes from that time. However I do have some
    > documentation
    > from Screaming Electron and the misc at openbsd.org list group. I was
    > wondering if
    > anyone from this group would be willing to hang with me when I do the
    > install so I
    > don't "F" it up. I'm still waiting for the web designer to get back to
    > me on what
    > packages need to be installed.
    > Anyway, thanx a lot. By the way I was previously the Sys Admin at a
    > local Research Center
    > where I ran Digital Unix for 15 years. However, I still concider myself
    > a 'newbie' at OBSD.
    > _____________________________
    > John F. Marten III
    > Information Technology Specialist
    > Balzhiser & Hubbard Engineers
    >
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    
    
    
  • [Eug-lug] php and mysql



    John MartenMon Nov 8 12:52:16 PST 2004

    The suits where I work want to update our website, so now I have
    to add php and mysql to my OBSD 3.0 system. Yeah, yeah, I know- i'm
    building
     a new box with 3.6 on it. Anyway, they want it right away so i'm using
    my
    current system. The last time I installed ports and packages was like
    four years
     ago, and i've got no notes from that time. However I do have some
    documentation
    from Screaming Electron and the misc at openbsd.org list group. I was
    wondering if
    anyone from this group would be willing to hang with me when I do the
    install so I
    don't "F" it up. I'm still waiting for the web designer to get back to
    me on what
    packages need to be installed.
    Anyway, thanx a lot. By the way I was previously the Sys Admin at a
    local Research Center
    where I ran Digital Unix for 15 years. However, I still concider myself
    a 'newbie' at OBSD.
    _____________________________
    John F. Marten III
    Information Technology Specialist
    Balzhiser & Hubbard Engineers
    
    
  • [Eug-lug] Was…Fraggin’ Mandrake



    Jacob MeuserMon Nov 8 11:54:34 PST 2004

    On Sun, Nov 07, 2004 at 05:36:45AM -0800, nyal wrote:
    > On Saturday 06 November 2004 06:14 pm, Allen Brown wrote:
    > > On Sat, 6 Nov 2004, nyal wrote:
    > > > Greetings All,
    > 
    > > >
    > > > I'm using Mandrake 9.1 right now for most all things except putting
    > > > my .jpgs on a CD that I can play on my DVD for family and friends
    > > > much like a KODAK PhotoCD (anyone know of an acceptable *nix
    > > > replacement app?)
    > >
    > > For doing what?  Reading .jpg's?  Writing .jpg's?  What do you consider
    > > acceptable?
    > 
    > I'm using a Windows app that came with my camera that lets me burn my .jpgs on 
    > a cdrom in a format that a DVD player understands.  The cdrom runs on the DVD 
    > player, turning it into a high-tech slideshow projector.  (Does anyone 
    > remember 35mm slide projectors?)
    > 
    > As for acceptable, I'm looking for a Linux app that will do the same (burn my 
    > .jpgs onto a cdrom that will play like a slideshow in a DVD player).  I can't 
    > imagine theres not one out there, it's just a matter of finding out where it 
    > is and installing it on my box.
    
    you could make a DVD, where each chapter is a picture.  then you could
    run through the pics with the DVD remote.  or maybe the chapters could be
    sequences of cells, each having one picture, or whatever.
    
    Does that sound about right?
    
    I'm not sure if there is a program for *nix to do that in a simple manner,
    but it is possible with a combination of
    
    ImageMagick http://www.imagemagick.org/
      with these tools, resize your pictures to DVD size
    
    mjpegtools http://mjpeg.sourceforge.net/
      with these tools, create mpeg2 streams from the pictures
    
    transcode http://inferno.slug.org/cgi-bin/transcode
      you can pobably do the above steps in one shot with this, but
      unless you know a bit about DVD authoring, it's probably easier
      to use the above tools ...
    
    dvdauthor
      with this, create the DVD filesystem
    
    dvd+rw-tools
      with this, burn the files to DVD
    
    
    needless to say, this is not a "simple" task ... unless someone
    knows of a program to make this easier.
    
    -- 
    <jakemsr at jakemsr.com>
    
  • [Eug-lug] Was…Fraggin’ Mandrake



    Jacob MeuserMon Nov 8 11:39:53 PST 2004

    On Sun, Nov 07, 2004 at 10:46:44AM -0800, Allen Brown wrote:
    > It sounds like you are asking to make a CD/DVD which is loaded
    > as a program when you insert it into the drive.  If so, I offer
    > you the following, one of my hundreds of "randomly" inserted
    > email tag lines.
    > 
    >   Autoexecuting email or CDs is like having sex with everyone you
    >   meet.  It spreads disease. --- A.B.
    > 
    > No OS which wants to claim any level of security does this.
    
    I believe he's talking about DVD appliances, not PCs.
    
    > As an alternative, it is reasonable to run a program (that is
    > already on your system) when it sees pictures on your CDROM.
    > Since I don't do that, I will leave it to others to identify
    > if such a thing exists.
    
    my guess is he want's to share these CDs/DVDs with possibly
    non-computer savvy folks ... ie, he wants to make a playable
    VCD/DVD.
    
    DVD players have a "virtual machine" that understand a limited
    set of commands.  I've never heard of DVD viruses or worms
    or any other malicious DVD hacking.
    
    Of course, inserting a DVD into a Windows machine probably
    makes the system check if there is a playable DVD in the
    tray ...
    
    -- 
    <jakemsr at jakemsr.com>
    
  • [Eug-lug] MWVLUG meeting 11/9 6:30 – Clusters + FireFox



    John SechrestMon Nov 8 10:26:09 PST 2004

      Lug Meeting
      Linux Cluster in a Box
      By Cooper Stevenson
    
      6:30pm - at PEAK Internet
    
      Linux Clusters have been one of the things which has
      gotten the attention of the public. Beowolf 
      clusters and High Availablity computing clusters
      are doing serious scientific computing work.
    
      Cooper will talk about how you can build a cluster
      with some interesting tools.
    
      After the talk we will go to ClodFelters and celebrate
      the new FireFox Release.
    
    
      Peak is at the corner of Western and 15th in Corvallis.
    
      See you there.
    
    
    
    
    
    
    -----
    John Sechrest          .         Helping people use
                            .           computers and the Internet
                              .            more effectively
                                 .                      
                                     .       Internet: sechrest at peak.org
                                          .   
                                                  . http://www.peak.org/~sechrest
    
  • [Eug-lug] RE: [lug] grub problems on Debian Sarge



    Percival, RayMon Nov 8 07:55:26 PST 2004

    If you are using the install kernel the first thing you want to do is get a
    real kernel. The install kernel is only meant for installing. The other
    thing is that the install kernel is initrd, %99 of the time that is the
    coause of the problem you are seeing.
    
    Ray
    
    -----Original Message-----
    From: Allen Brown [mailto:abrown at peak.org] 
    Sent: Friday, November 05, 2004 5:05 PM
    To: Eugene Unix and Gnu/Linux User Group; Mid-Willamette Valley Linux Users
    Group
    Subject: [lug] grub problems on Debian Sarge
    
    
    I need assistance.
    
    I have fixed a lot of problems with my Debian Sarge installation. In a few
    cases I have resorted to asking of the linux mailing lists. Fortunately in
    most cases I could figure them out on my own. I still have a list of things
    that are not-quite-right.  Most I will simply ignore.  But there is one
    which is causing significant trouble.  Grub.
    
    I have a several existing installations on my computer.  And I've been using
    grub for years with good results.  So when an install wants to overwrite my
    grub info I generally divert it to some harmless place so that I can analyze
    what it did and incorporate that into my existing grub configuration.  That
    has worked well.
    
    When I got to the grub step in the Sarge install I told it to write the
    loader to a floppy.  The floppy works.  I can boot into Debian as long as
    the floppy is in the drive.  And since I didn't mount the /boot partition
    during the install, it wrote the Debian specific configuration to its own
    directory.
    
    If I remove the floppy I am back to my old grub menu (controlled by the
    /boot partition which I have mounted).  So far so good.
    
    Now I merge the new grub entries into the /boot.  Hmm.  Something odd here.
    The format has some new features.  Study the manual. Aha!  This is a new
    grub family from Gnu.  OK.  Works mostly the same.  So I add the relevant
    parts to the old /boot and reboot without the floppy.  Mind you, since I
    haven't written a new copy of the grub bootloader to my hard drive I am
    still using the old bits to boot.
    
    Booting into RedHat7.3 works fine.
    Booting into Debian Sarge fails!  The entry is there but the kernel panics
    saying there is something wrong with the root partition /dev/hda15.
    
    That's odd.  Boot from the floppy.  Works fine even tho it
    is booting to the same kernel and same root partition.
    
    So I follow the grub instructions to install the bootloader to a second and
    third floppy.  In both cases the bootloader fails in the stage2 of the
    loader.  I never get to the prompt. What the heck is going wrong?  It's like
    the new images use instructions that don't work on my hardware.  But that
    could only be true if the grub image files used during the installation were
    different from what it installed on the hard drive.
    
    I have an older grub floppy that I wrote under RedHat7.3.  It loads just
    fine and can boot to RedHat7.3.  But when I try to use it to boot to either
    Debian or Knoppix, it complains again about partition /dev/hda15 or hda14
    respectively.
    
    Since some of this may have to do with the partition type, here are selected
    parts of my /etc/fstab:
    /dev/hda15   /               reiserfs notail         0       1
    /dev/hda14   /media/knoppixroot  ext2  defaults,errors=remount-ro 0 1
    /dev/hda3       /boot           ext2    defaults                1 2
    
    It would be tempting to blow this off and just live with the fact that
    Debian will only boot from a floppy.  But I need to change the boot options
    to add hdc=ide-scsi.  Without that I can't write CDs.  So this really is
    important.
    
    I suspect I am running into at least two problems.  It is hard to imagine
    how one failure mechanism could cause this odd combination of symptoms.
    --
    Allen Brown
      work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
            allen_brown at agilent.com             abrown at peak.org
      "The guy sure looks like plant food to me." Little Shop of Horror
    
  • [Eug-lug] Was…Fraggin’ Mandrake



    Allen BrownSun Nov 7 10:46:44 PST 2004

    It sounds like you are asking to make a CD/DVD which is loaded
    as a program when you insert it into the drive.  If so, I offer
    you the following, one of my hundreds of "randomly" inserted
    email tag lines.
    
      Autoexecuting email or CDs is like having sex with everyone you
      meet.  It spreads disease. --- A.B.
    
    No OS which wants to claim any level of security does this.
    
    As an alternative, it is reasonable to run a program (that is
    already on your system) when it sees pictures on your CDROM.
    Since I don't do that, I will leave it to others to identify
    if such a thing exists.
    --
    Allen Brown
      work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
            allen_brown at agilent.com             abrown at peak.org
      'The Good Book', one of the most remarkable euphemisms ever coined.
      --- Ashley Montagu
    
    
    
    On Sun, 7 Nov 2004, nyal wrote:
    
    > On Saturday 06 November 2004 06:14 pm, Allen Brown wrote:
    > > On Sat, 6 Nov 2004, nyal wrote:
    > > > Greetings All,
    > 
    > > >
    > > > I'm using Mandrake 9.1 right now for most all things except putting
    > > > my .jpgs on a CD that I can play on my DVD for family and friends
    > > > much like a KODAK PhotoCD (anyone know of an acceptable *nix
    > > > replacement app?)
    > >
    > > For doing what?  Reading .jpg's?  Writing .jpg's?  What do you consider
    > > acceptable?
    > 
    > I'm using a Windows app that came with my camera that lets me burn my .jpgs on 
    > a cdrom in a format that a DVD player understands.  The cdrom runs on the DVD 
    > player, turning it into a high-tech slideshow projector.  (Does anyone 
    > remember 35mm slide projectors?)
    > 
    > As for acceptable, I'm looking for a Linux app that will do the same (burn my 
    > .jpgs onto a cdrom that will play like a slideshow in a DVD player).  I can't 
    > imagine theres not one out there, it's just a matter of finding out where it 
    > is and installing it on my box.
    > 
    > Also, Thanks to ALL for the info regarding defrag.  I'm learning, slowly but 
    > surely!
    > Nyal
    > -- 
    > Where I am now, you once were.  Where you are now, I will someday be.
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >