I'm trying to set up an unmanaged VPS to test uploading drupal.
All I ever get is a 403 forbidden error when trying to access my URL.
Because the VPS is unmanaged, I installed webmin and virtualmin—not that I've actually got around to understanding any of it.
I'm still confused over
/home (and I have looked at diagram of Centos hierarchy of directories), but I can't really get my head around it.
I followed a tutorial to
wget drupal then extract to
/var/www. The trouble is it became
/var/www/drupal-7.17 and then I wondered why I was not putting in
public_html as you do in a web host environment. So I moved it to
public_html and that did nothing: still 403 errors. So checked permissions and then ownership (can't change ownership because when I try it says "no such username" and I don't actually know what username I should use).
So then I tried moving the entire contents of drupal-7.17 folder to
www but didn't know the command so had to individually
mv each file over to
www but in the end it doesn't show invisible files and anyway still says there are 8 files in drupal folder, two of which look like this
.. which I thought was a directory command!
I'm so completely lost now.
Now my set up with drupal is a mess and I'd like to just start again but it won't allow me to
rm the drupal directory even though I
chmodded it to 777 to remove it.
When I try and edit a file such as
.htaccess (which is not even visible on command) or some other pertinent file some tutorial says I should edit, I open the file to edit with
vi command and it opens but I can't edit it- I've tried! It just sits there and won't let me do anything or uncomment as they tell you to do - how!? Yes I know remove the
# but it doesn't let you edit.
Main thing I find really confusing as I'm used to ftp is logging on my filezilla to see what the hell I've been doing on command line logging in as VPS user not root and seeing nothing but a few bash files and one
.ssh folder - I can't see any drupal folder or
public.html - where is everything?