| | |
I am very new to Linux and i want to start a web server, please help
![]() |
I use Fedora Core, which is *almost* the same as Redhat. So maybe this will work for you, maybe not. I don't know how to use any of the GUI tools.
At a shell prompt, as root type this:
If Apache is already running, that command will produce a warning. If Apache is not running, it will attempt to start it. If there is a problem starting, it will give you a message. Otherwise, it will just start the service and return you to a prompt. If Apache starts, open a web browser and go to your server. On your Linux server, you can go to http://localhost. Otherwise, on another computer, go to http://<ip address of your linux server>
This may help get you started. Of course actually configuring a specific setup is a whole other ball of wax.
You configure Apache by editing the conf file. I think on RH, this is at /etc/httpd/conf/httpd.conf. Make a copy of this file as a backup in case you mess it up. Everytime you make a change, you have to restart Apache to see your changes.
Enjoy the journey!
At a shell prompt, as root type this:
service httpd start
If Apache is already running, that command will produce a warning. If Apache is not running, it will attempt to start it. If there is a problem starting, it will give you a message. Otherwise, it will just start the service and return you to a prompt. If Apache starts, open a web browser and go to your server. On your Linux server, you can go to http://localhost. Otherwise, on another computer, go to http://<ip address of your linux server>
This may help get you started. Of course actually configuring a specific setup is a whole other ball of wax.
You configure Apache by editing the conf file. I think on RH, this is at /etc/httpd/conf/httpd.conf. Make a copy of this file as a backup in case you mess it up. Everytime you make a change, you have to restart Apache to see your changes.
service httpd restart
Enjoy the journey!
![]() |
Similar Threads
- help setting up web server (Linux Servers and Apache)
- problems with web server in linux (Networking Hardware Configuration)
- configuring linux as network server and web server (Linux Servers and Apache)
- Need a web server in intranet serve a external system (Networking Hardware Configuration)
- running web-server on home network (Networking Hardware Configuration)
- Running A Home Web Server (Linux Servers and Apache)
Other Threads in the Linux Servers and Apache Forum
- Previous Thread: Apache Help
- Next Thread: Can you get around permissions
Views: 2040 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for Linux Servers and Apache
.net amazon apache apple asus bbc bluegene centos cisco citrix cloud cloudcomputing code datacenters debian dell desktops development distributions distros economy eeepc energy enterprise fedora fsf gadgets gnu gos government gpl hardware hp hyper-v ibm java jobs kindle knoppix kundra kvm laptop laptops lawsuits ldap limo linustorvalds linux linuxfoundation linuxmagazine magazines microserver microsoft mobile mobilephones netbook netbooks news novell olpc open openmoko openoffice opensolaris opensource opensuse openvz operatingsystems os patents pcworld plathome politics redhat rhel robot russia server servers slackware software solaris source stallman sun supercomputer support tivo torvalds training tv ubuntu umpc unix virtualization vmware windows x86 xandros xen





