OK, so I am a competent person, just fairly new to Linux and Apache stuff since I've used shared hosts for so long...
I am running Ubuntu 10.4 with Apache2
1) First Question
Following one fo the guides floating around here, I created a username:group, lets call it travis:filetransfer, and set the home to /srv/www/domain.com/. I can login to my server via FileZilla with that user, and it properly starts off in the /domain.com/ directory. However, it cannot write to that dir or any subdirs. I've done everything down to the "wrong way" of even chmod'ing the dir to 777, and with my limited knowledge of chown, i did "chown travis:filetransfer /srv/www/domain.com
For those cringing, I've chmod the directory back to 755, and chown'd back to root:root.
Why can't this user name do anything? I know it is going to be a config somewhere, or that I haven't fully grasped the user/user group stuff yet.
2) I came up with the first question because of the issue for my second question:
I got a WordPress blog installed and running on my domain. When trying to use the built in plug/theme installer, it asks for my ftp login info. So I used [IPAddy]:22 and my root login/password. Whether I choose FTP or FTPS, after about 15 seconds, it simply returns to a "Failed to connect to [IPAddy]:22". After some searching around, I see some people stated they were able to get this to work by doing something with the www-data group, or the apache group (or user?), but then other areas say this is incorrect. One site looked promising by having me set something using
Code:
/usr/sbin/setsebool -P httpd_can_network_connect=1
Hoever, I do not have this command.
Sorry if this got long winded, just trying to trim off any of the usual questions incase I've already tried something you were gonna suggest. I've been running sites from shared hosts for years, and on a whim wanted to give this VPS a shot, and if I can get past some of these snags, I'll eventually migrate all my sites to my VPS.
Thanks in advance for any help.