Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I would like to install apache on my normal user account but it keeps telling me permission denied when creating a new directory. It is Apache 1.3.x.x So what my question is how do I give root permissions to the normal user account I am sure this question has been asked but I have a lot to do and do not have the time to go searching for the answer
Last edited by LiNuXn00biE_2.4; 11-04-2004 at 05:12 PM.
Thanks that worked much better and I now have apache somewhat installed and now I need help with this :
You now have successfully built and installed the |
| Apache 1.3 HTTP server. To verify that Apache actually |
| works correctly you now should first check the |
| (initially created or preserved) configuration files |
| |
| /usr/local/apache/conf/httpd.conf
| |
| and then you should be able to immediately fire up |
| Apache the first time by running: |
| |
| /usr/local/apache/bin/apachectl start
| |
| Thanks for using Apache. The Apache Group |
| http://www.apache.org/ |
+--------------------------------------------------------+
[root@localhost apache_1.3.32]# cd /usr/local/apache
[root@localhost apache]# /usr/local/apache/bin/apachect1 start
Now what do I do to start it up ?? it says no File or directory exists
Last edited by LiNuXn00biE_2.4; 11-02-2004 at 01:45 PM.
root@localhost apache_1.3.33]# cd /usr/local/apache
[root@localhost apache]# /usr/local/apache/conf/httpd.conf
bash: /usr/local/apache/conf/httpd.conf: Permission denied
[root@localhost apache]# /usr/local/apache/bin/apachectl start
[Wed Nov 3 11:59:34 2004] [warn] Apache does not support line-end comments. Consider using quotes around argument: "#-1"
Syntax error on line 564 of /usr/local/apache/conf/httpd.conf:
Regular expression could not be compiled.
/usr/local/apache/bin/apachectl start: httpd could not be started
[root@localhost apache]#
This is my latest erorr it says it can't be started but WHY?!?!?!
Ok heres what I am getting now I used httpd-2.3.33 and everything Launched but now when I go to http://localhost/ it tells me Forbidden and that I do not have access to / so what do I do now? I am looking at this as a success but I don't know what to do from here
ls -l /var/www
ls -l /var/www/ht??
^ that's how you check file/directory permissions, it is your DocumentRoot variable in conf file...
you also need to check DirectoryIndex variable, and check your options in your dirctory directives of your conf file... the stuff in
<directory />
...
</directory>
I had to restart the server and now I get this error
[root@localhost apache]# /root/local/apache/bin/apachectl start
[Wed Nov 3 16:01:38 2004] [warn] Apache does not support line-end comments. Consider using quotes around argument: "#-1"
Syntax error on line 564 of /root/local/apache/conf/httpd.conf:
Regular expression could not be compiled.
/root/local/apache/bin/apachectl start: httpd could not be started
[root@localhost apache]# cd /root/local/apache
[root@localhost apache]# /root/local/apache/bin/apachectl start
[Wed Nov 3 16:02:19 2004] [warn] Apache does not support line-end comments. Consider using quotes around argument: "#-1"
Syntax error on line 564 of /root/local/apache/conf/httpd.conf:
Regular expression could not be compiled.
/root/local/apache/bin/apachectl start: httpd could not be started
[root@localhost apache]#
But before it started just fine.... I am gonna do the whole process over and see what happens I hate going in circles and thank you for your help Sec. I will be sure to check it as soon as I am done doing the process over
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.