The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Editing Config.pm in /usr/local/???/

Discussion in 'General Discussion' started by Charter, Apr 20, 2004.

  1. Charter

    Charter Member

    Joined:
    Mar 28, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    I am new to the forum.. But I have a question.. I had someone install a package on my server and it would appear it is up to me to edit the file and change the layout.

    I have never used ssh.. or superuser on my dedicated server..

    how do I view and edit the Config.pm located /user/local/????/
     
  2. midnightz

    midnightz Active Member

    Joined:
    Apr 25, 2003
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    0
    For OSX use rBrowser from rbrowser.com - It simply owns!

    For PC use Putty from http://www.chiark.greenend.org.uk/~sgtatham/putty/

    This will make it a lot more easier than using telnet


    midz
     
  3. ryno267

    ryno267 Well-Known Member

    Joined:
    Mar 3, 2004
    Messages:
    212
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Chandler, AZ
    cPanel Access Level:
    Root Administrator
    log in as root su

    then
    type this...

    pico /user/local/Config.pm

    do your stuff... the Ctrl+O to "write out" or save it.

    may have to reboot apache maybe? depends what config file it is...

    rYno
     
  4. Charter

    Charter Member

    Joined:
    Mar 28, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Cool thanks.. what is PICO?
     
  5. ryno267

    ryno267 Well-Known Member

    Joined:
    Mar 3, 2004
    Messages:
    212
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Chandler, AZ
    cPanel Access Level:
    Root Administrator
    pico is linux text editor
     
  6. Charter

    Charter Member

    Joined:
    Mar 28, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Thanks trying it now
     
Loading...

Share This Page