Web Hosting Talk







View Full Version : How do I upload files to the etc directory


jkcity
05-03-2001, 12:17 AM
I installed webalizer and it did not work but I read that I should turn on incremental processing or somthing to get it to work but how do I upload the file webalizer.conf I have downloaded it and edited it but when I ftp into my site and try and upload it to the directory it says that upload is not allowed, so how would I get to load this up baring in mind ftp is the only way I know how to upload files.

kentaurus
05-03-2001, 12:38 AM
ftp anywhere.. ie. to your web directory.

login to telnet

change to root
"su -"

copy the file to the etc directory
"cp /home/sites/home/web/webalizer.conf /etc/webalizer.conf"

jkcity
05-03-2001, 12:56 AM
thnaks It worked and now hopefully webalizer will work, first time I ever use telnet to do anything :).

Chicken
05-04-2001, 02:11 AM
jkcity -

Next time, I'd...

telnet in
su to root
type: pico /etc/webalizer.conf

-which will open a text editor that you can modify the file directly.

make change(s)
CTRL X
type: y
hit: enter