Painfully Stupid Newbie Question

ipet

Member
Aug 29, 2006
7
0
151
Okay, laugh away:confused: 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?:D

Thanks to anyone for taking the time to enlighten me.

Lena
 

NightStorm

Well-Known Member
Jul 28, 2003
286
4
168
cPanel Access Level
Root Administrator
Twitter
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.
 

rhenderson

Well-Known Member
Apr 21, 2005
785
2
168
Oklahoma
cPanel Access Level
Root Administrator
ipet said:
Okay, laugh away:confused: 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?:D

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.
 

ipet

Member
Aug 29, 2006
7
0
151
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?
 

ipet

Member
Aug 29, 2006
7
0
151
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
 

ipet

Member
Aug 29, 2006
7
0
151
nothing?

ipet said:
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!