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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I just installed redhat 9 on my machine and would like to use it as a webserver and also ftp to get my work from school to my home computer. This is my first time with linux so I don't know what to do. I've looked around redhat some, but this is very confusing to me. Is there a site I could read on how to set up my http server? I am very lost. Thanks.
scp stands for "Secure CoPy" and you can get graphical clients to connect with, you can even use WinSCP in windows. If you already have openssh running then scp should already work unless you have disabled it in your config file.
You should have /var/www (place for your files). As root try to run
service httpd start
It should start Apache. If it doesn't you may not have it installed (but it's not a big problem, you need to install it from the cds).
Thanks. I found the /vars/www files. I was logged on as root and selected run program and typed in "service httpd start" but nothing happened. The dialog closed. I can get to apache config from under server settings. Am I doing something wrong?
First check if apache is running -- try typing 'ps auxw | grep httpd' and see if there are any results. You can also try running 'netstat -tan | grep :80' to see if anything is listening on port 80 the default http port). You can also do 'rpm -q apache' to see if you have Apache installed (it should be). The Apache configuration files and binaries are often located in /usr/local/apache or /usr/local/apache2 -- I *think* this is where RH 9 has them, but I generally compile Apache from scratch so I'm not totally sure. Setting up Apache can be a little intimidating at first, but once you have the hang of it, it gets to be pretty easy.
I'm not sure what happened when you tried 'service httpd start' -- Apache's logs tend to be in the /var/log/httpd directory. Check the error_log to see if something went wrong on server startup. There is a bin directory under the Apache directory with a program called apachectl (use find if you can't find it any other way) and you can try typing apachectl start and see if it provides any usefull output.
Also, if you are going to run network services, you'll need to be carefull keep up with security patches to make sure your machine isn't broken into.