Forum Moderators: bakedjake
Thanks for the help.
Unfortunatly I am also a newbie with Linux. However, in researching some of the things I've had to setup on my new box in the past couple of days I did stumble across a link that may be of help to you. Here is the link AND the text that I'm citing to try to appease the TOS.
via: [nitecon.com...]FTP Setup beginning now.
vi /etc/xinetd.d/vsftpd
The file should be :( /etc/xinetd.d/vsftpd ) Nowhere else, some OS's install a preconfiged version in another directory as an example.service ftp
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/vsftpd
}vi /etc/vsftpd/vsftpd.conf
The file should be :( /etc/vsftpd/vsftpd.conf )
The following commands are not commented out or rather # character before the command for instance #anonymous_enable=NO, it should be without the # Make sure only these commands are in the file nothing more.anonymous_enable = NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
local_root=/var/www/htmlThe FTP Server is now set up we just have to add a user now to log in.
groupadd www
useradd -g www -d /var/www/html ftpuser
passwd ftpuser
chown ftpuser:www /var/www/html
chmod 7777 /var/www/html
cp /etc/vsftpd/vsftpd.conf /etc/vsftpd.conf
/etc/rc.d/init.d/xinetd restartLets test the FTP now.
ftp localhost
Server will ask you for user and password. Use the ftpuser you just created with it's password once you are logged in do ls (LS) but lower case.
ls
You should see 2 files 1 being index.php that we created earlier, and other wich is usage that is created by the server when apache was installed. Please note that since you did all the FTP stuff as root you might get problems where your FTP won't let you copy files to a certain folders that you created as root. To fix the error just do chmod 7777 as root on the particular folder that has the error.
You have completed the setup of your web server, for all the other info you can get via google and the websites of the products youre having problems with.
Now open a browser and see your new apache server running. It should pop up to a page with PHP Version info and a lot of garbage. This means that your PHP is working together with the apache install. This will also indicate that if you did everything I said mysql will be ready to be installed. This whole instalation is for a pretty basic website. All the other changes to httpd.conf etc you can read about on the web and ask others to help. This doc wasn't made to show how to make a production class server but merely to help the struggling new to linux user to get his / her website up quick and easy.