run as root
how do i run anything?
do i just type the name of the file at the prompt? [root@COMPUTER /] /home/docs/run.pl what if what i have to run is a conf file? thanks |
Yes, you just type the file name, with path if needed. If you run a program from the directory you're currently in, use
./programname You don't usually run configuration files...They're read by programs, but not run. Which files do you mean? |
well it all depends on what you want to run...for that file in your post you can type ::
perl /home/docs/run.pl and to my knowledge you don't run .conf files, they are typically files that hold configuration data for other programs... |
Mara, we are tyring to give access to our server. Port 80 is blocked and we were told that if we changed the Port # in httpd.conf, then that would solve our troubles.
In doing so, I read the following: ----- # Port: The port to which the standalone server listens. For # ports < 1023, you will need httpd to be run as root initially. # Port 80 ------ in the conf file, so i was wondering how to 'run as root'. in any case, we are failing. any ideas? |
Quote:
Quote:
1) Log in as a normal user 2) Type 'su'. Then you'll be asked for root password. Type it. 3) Edit httpd.conf in any editor. 4) Restart Apache using 'apachectl restart' or 'service httpd restart' (depending on your distro, but the first version should work in all). 5) Test it. You should be now able to connect port 80. |
i'll follow up under a new thread: blocked port 80
|
All times are GMT -5. The time now is 11:00 PM. |