Linux VPS help

The_Ogre

Honorary Master
Joined
Apr 30, 2010
Messages
27,843
Reaction score
10,968
Location
Cape Town
Guys I bought a cheap VPS (centos) to learn aboit linux.

I'm logged in as root, but when I try to create a directory I get permission denied. Why is this?

I thought 'root' is god!
 
Slow down lol. Do I need to add that to the command?

Apologies, mate, I know nothing about linux and I just wanted to learn the basics :D

Edit: was responding to Lion
 
Last edited:
You can't somma create a directory in the root folder without executing the command as root. Normally that is done using the command sudo. You'll be asked for admin password.

Rather make a directory in your home directory, not the root. You normally don't want to fiddle with anything in there :p

Eg.

Code:
cd ~/                     This takes you to home dir
mkdir epicfolder        This will make a folder called epicfolder
 
I just create the directory in FTP first and then just point to that directory in SSH so like: cd /var/games/servers/Proxy
something like that.
 
Last edited:
Thanks, boys!

How do I reset my install because I'm sure I've messed it up royally.
 
Top
Sign up to the MyBroadband newsletter
X