Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Hi i have red had 9 installed under the server version so i have all the required programs to do it but i dont know how to get it all to work. I found the configuration stuff but when i run it everything configs fine but when i try to go to localhost or even my ip i get a pop up message saying connection refused. Also there is no window that says the server is running like there was in windows. Can some one give me a hand
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398
Rep:
type setup enter pass and go the serveices look for the httpd if it has a star near it that means it activates during boot if you dont have a star near it put it then go to command prombt
su root
/sbin/service httpd start \\starts the server
/sbin/service httpd stop \\stops
then type localhost in the browser to test. after putting a start or if it was there dont do the service commands cause it is already runnig go directly to localhost
Ok i am really new to linux, where do i type all this stuff in. Do i put it in a file and run it or do i use the run commands i put them in the terminaly but all it said that things were not there or didnt exsist?
well i went into service configuration and tryed to start httpd and it gave me this
httpd failed. The error was: Starting httpd: Syntax error on line 270 of /etc/httpd/conf/httpd.conf:
ServerName takes one argument, The hostname and port of the server
[FAILED]
ok actulay now i have another problem. It all works and im getting the test page but i cant seam to acces my files. i put them in the /var/www/html/ dir and there is an index, so i dont know why it isent working
Verify that all directories above the target file are executable. They must be executable to be able to traverse the directories. Also, make sure the target file is readable.
One last note, if it is not installed, go and install Webmin at http://www.webmin.com
This tool is rather handy for getting servers up and running. DocumentRoot should be set to the correct path as well as DirectoryIndex being set to index.html in the config files.
yeah i kinda fooled around alot and i think i figured it out. But the one thig that still remains unsloved is the fact that i dont know how to creat mysql databases.
[root@schumacher bin]# apachectl -t
Syntax error on line 285 of /etc/httpd/conf/httpd.conf:
ServerName takes one argument, The hostname and port of the server
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.