LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how to make a website using Slackware 9.1 and qmail (https://www.linuxquestions.org/questions/linux-general-1/how-to-make-a-website-using-slackware-9-1-and-qmail-197250/)

isamitch 06-24-2004 01:40 PM

how to make a website using Slackware 9.1 and qmail
 
Hello again.

I'm sorry for asking such silly questions. I really can't wait until I know linux better!

My question is kind of vague, because I really have no idea what I am doing. I know that inorder for me to set up my machine as an email server, I atleast need to get some sort of a website up and running.

So I have a domain and I have a picture to put up on it. But, I have no idea how to put the picture up on it or anything. I am using solely Slackware Linux 9.1 (qmail as my mail) and I have no clue what to do next to make a website so I can see what it is that I am creating with the steps on Qmail from qmailrocks.org

Please forgive me for this question, but I really do want to learn! I really enjoy Linux from what I've seen of it so far

Thank you in advance for all your help

Isa

Genesee 06-24-2004 09:57 PM

these sites will help you:

http://shilo.is-a-geek.com/slack/

http://www.icon.co.za/~psheer/book/index.html.gz

:cool:

isamitch 06-25-2004 09:54 AM

Thank you very much! I'm taking a look at the websites and so far they are super helpful!!!!!

Thanks again!

Isa

isamitch 06-29-2004 09:19 AM

Thanks again for all your help. I'm sorry it takes me so long to reply to this thing....I'm kind of working on this between other projects at work...and people "dying" because they can't figure out basic computer stuff...it's so sad :( jeje

Okay, so I went through this website: http://shilo.is-a-geek.com/slack/apache19.html for setting up my webpage. I got to almost the very end. Actually I am where it says /etc/rc.d/rc.httpd restart and I put that command in and I get an error that reads like this: bash: /etc/rc.d/rc.httpd: Permission denied

And now I'm not too sure about what to do. I am logged in as root so shouldn't I be able to do this? I'm sorry I am very lost about what to do next.

Thanks so much in advance for your help and patience!

Isa

shilo 07-05-2004 02:25 PM

Try this:

Code:

chmod +x /etc/rc.d/rc.httpd
After that, try:

Code:

/etc/rc.d/rc.httpd start
It's just a guess, but I believe that you had not set up your computer to start Apache at boot time. These two commands should get you going, though.

isamitch 07-06-2004 09:33 AM

Thank you so much for your help! I think that I do not have apache set to run, but i might be missing something more. when I put in the code that you posted..I got this reply:

bash-2.05b# /etc/rc.d/rc.httpd start
Syntax error on line 6 of /etc/apache/mod_php.conf:
Cannot load /usr/libexec/apache/libphp4.so into server: /usr/libexec/apache/libphp4.so: cannot open shared object file: No such file or directory
/usr/sbin/apachectl start: httpd could not be started

So, now do I need to download from somewhere the file? Or do you think I missed setting something up? I'm pretty sure I followed all the directions correctly....

Thanks again for all your help!

Isa

fuelinjection 07-06-2004 09:56 AM

Did you install slackware from 1 cd or 2?

When I installed slackware 9.1 it was from the 2 cd pack, and when I installed it, it asked me what services I wanted to run from startup.

I simply chose apache, mysql, sendmail, ftp etc
Then once installed, I had the simple job of uncommenting a line from /etc/apache/httpd.conf so that php modules loaded with apache.

and that was it.....web server was up and running without any problems at all.

I had a little bit of configuring to do for mysql, but that was simple enough.


I didn;t have to do any of this messing around.

shilo 07-06-2004 01:21 PM

Quote:

Syntax error on line 6 of /etc/apache/mod_php.conf:
Cannot load /usr/libexec/apache/libphp4.so into server: libphp4.so: cannot open shared object file: No such file or directory
First,
Code:

slocate libphp4.so
That will tell you where libphp4.so can be found. You'll need to remember that. Next, open up /etc/apache/mod-php.conf in your favorite text editor. Change /usr/libexec/apache/libphp4.so to where ever libphp4.so actually is. Save the file and:
Code:

/etc/rc.d/rc.httpd start
Should work now.

isamitch 07-07-2004 08:29 AM

Thank you very much for your help. But I don't know if I'm just not all that bright or something but this is what I got when I opened the file in my vi editor:
~
~
~
~
~
~
~
/etc/apache/mod-php.conf [NEW FILE]

I had nothing else in there for me to change and tell it where my libphp.so is. Am I really missing something here or maybe I just don't know how to scroll down a screen anymore :(

I'm sorry for all the dumb questions! Your help is really appreciated!

Thank you

Isa

shilo 07-07-2004 11:17 AM

Quote:

/etc/apache/mod-php.conf [NEW FILE]
You typed in /etc/apache/mod-php.conf . You need to type in /etc/apache/mod_php.conf . You used a hyphen instead of an underscore. SInce there is no file with the name you entered, vi created a new one. All the ~ mean that the file is empty.

isamitch 07-08-2004 08:00 AM

Thank you so much! It's up and running and you were a great help and so very patient with my stupid mistakes!!!!!

Thanks again!

Isa


All times are GMT -5. The time now is 09:19 PM.