MetalWyrm
Mar 2 2003, 08:38 PM
Hi all,
I just got a redhat linux machine and need help setting up a site on it. Can anyone help guide me through the process of adding a virtual site to this system and how I am supposed to use the system to update it.
Also, if anyone could tell me, once I've got a virtual site up, how I would go about adding users to this site.
My first server is a cobalt server so everything there was point and click, simple, but now it's all complicated, heh.
Any help is much appreciated.
Thanks.
luxline
Mar 3 2003, 07:43 PM
Woops, you've a nice steep learning curve in front of you. Are you using a control panel Ensim/Plesk, or is this plain RH?
NineOverNIne
Mar 10 2003, 04:28 PM
You must log into root on Linux before you can attempt to change anything of the following:
Part 1:
To add a linux user thype add useradd nine , than you would set a password by doing this passwd nine. It will ask you to enter a password 2 times. PLEASE dont use a comman password like apple, it will reject it. After doing so the new user you have created will be in home/nine/. Change into that directory and att a www folder by doing so mkdir www.
Part 2:
First you need to stop the apache process. After you do that do a search for httpd.conf < that is where all your Apache information is stored such as virtual site. Open the file which ever editer you like. Go all the way down, and you will see the information about virtual sites and how to add them. Copy the commented one, and paste it below the commented one. Uncomment the one you have just copied, and fill in all the information.
Save and Exit the httpd.conf file. And re-start your Apache Server. If everything went well you will get a message saying something like Apache Process: Ok. Or somehting near that. Boom and your done.
If this wasnt for Linux, and it is for cobalt, than i can't help you with that section.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.