Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Aug 2006
    Posts
    7

    Default Painfully Stupid Newbie Question

    Okay, laugh away then help, please.

    I have a virtual dedicated server and clueless on setup. I would like to learn to do a few things and not pay someone else, but it is overwheling so far.

    So I have 2 easy questions.

    1. How do I access files outside of public_html? I know, I know, but like php.ini, for example. In cPanel those directories don't show in file manager, nor when I connect via ftp. How do I get to them?? It should be painfully obvios but...

    2. Every doc tells me to change something, then run a command. Like:
    Now run the following commmand: # /usr/local/psa/admin/bin/websrvmng -a -v
    but I don't know how, or where to "run" that command. Can someone tell me, as if I were a 5 year-old?

    Thanks to anyone for taking the time to enlighten me.

    Lena

  2. #2
    Member
    Join Date
    Jul 2003
    Posts
    275

    Default

    Oh.. I feel sympathy for you for even using a Plesk command. You poor poor soul.
    For the most part, the easiest way to do the things you are asking is through SSH. It's a terminal interface for logging into your server. PuTTy is really the simplest one to use, and it's even free.
    Another option is to use a web interface that is set up to handle file editing and has some built-in features... for example, I have Webmin set up on my cPanel (and *sigh* yes, my Plesk trashbox too) for quick access to various server commands that don't warrent logging into SSH for.

  3. #3
    Member rhenderson's Avatar
    Join Date
    Apr 2005
    Location
    Oklahoma
    Posts
    742

    Default

    Quote Originally Posted by ipet
    Okay, laugh away then help, please.

    I have a virtual dedicated server and clueless on setup. I would like to learn to do a few things and not pay someone else, but it is overwheling so far.

    So I have 2 easy questions.

    1. How do I access files outside of public_html? I know, I know, but like php.ini, for example. In cPanel those directories don't show in file manager, nor when I connect via ftp. How do I get to them?? It should be painfully obvios but...

    2. Every doc tells me to change something, then run a command. Like:


    but I don't know how, or where to "run" that command. Can someone tell me, as if I were a 5 year-old?

    Thanks to anyone for taking the time to enlighten me.

    Lena
    1. Access the files outside of public_html can be done via FTP if you login using ssh access, (Check the settings for the connections. You can use CoreFTP or as stated above use a ssh program like puTTy, or contact Chirpy and have get his File Manager Console then you can use a browser to access via the files like file manager.

    2. Those run commands are done via a shell connection with ssh program like puTTy.

    I would be very careful running command that you do not know what the outcome will be.
    Regards,
    Randy
    Affordable Web Hosting
    _________________________

  4. #4
    Member
    Join Date
    Aug 2006
    Posts
    7

    Default Thanks!

    Wow, thanks.

    While I did connect with SSH I couldn't figure out how to get to the directory. So I connected via ftp and downloaded the php.ini.

    But when I try and upload it I can not, it continues to ask to overwrite, yet it will not. I can not delete the original php.ini either.

    How can I get that replaced?

  5. #5
    Member
    Join Date
    Aug 2006
    Posts
    7

    Default more

    This is becoming more and more frustrating.

    So I couldn't overwrite my php.ini via ftp, why?

    So I connected via putty and opend the file using vi, I figured out to replce the max upload and pressed esc, then :wq to write and quit. Got an error saying I had read only. Why, and how to change that? Anyway, tyed :!wq as prompted and got another error saying "couldn't open the file"???

    Any suggestions on getting this taken care of? Can it really be so difficult?

    Thanks again,

    Lena

  6. #6
    Member
    Join Date
    Aug 2006
    Posts
    7

    Default nothing?

    Quote Originally Posted by ipet
    This is becoming more and more frustrating.

    So I couldn't overwrite my php.ini via ftp, why?

    So I connected via putty and opend the file using vi, I figured out to replce the max upload and pressed esc, then :wq to write and quit. Got an error saying I had read only. Why, and how to change that? Anyway, tyed :!wq as prompted and got another error saying "couldn't open the file"???

    Any suggestions on getting this taken care of? Can it really be so difficult?

    Thanks again,

    Lena
    93 views and nothing, it is harder than I though to change permissions on it!

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2003
    Posts
    1,924

    Default

    open a ssh window as root user or su to root
    Lowest Host/Empire Technology LLC
    Affordable hosting solutions http://empire-hosting.net
    List Your hosting site FREE in http://hostgeneration.com

  8. #8
    Member serversphere's Avatar
    Join Date
    Jan 2004
    Posts
    658

    Default

    Most likely you are trying to write to the file when you dont have permission to do so. Are you logged in as root user?

Similar Threads & Tags
Similar threads

  1. stupid Question
    By The M@trix in forum New User Questions
    Replies: 2
    Last Post: 11-03-2006, 02:58 AM
  2. Stupid question to ask:
    By thankyou in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-25-2006, 08:30 PM
  3. newbie (probably stupid!) questions
    By zutnas in forum New User Questions
    Replies: 5
    Last Post: 04-02-2005, 06:04 AM
  4. Stupid Question...
    By ChrisMayhew in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-19-2004, 05:17 PM
  5. Stupid Newbie Question!
    By lksoh in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-09-2003, 09:54 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube