LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-24-2004, 01:40 PM   #1
isamitch
LQ Newbie
 
Registered: Jun 2004
Distribution: slackware 9.1
Posts: 19

Rep: Reputation: 0
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
 
Old 06-24-2004, 09:57 PM   #2
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
these sites will help you:

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

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

 
Old 06-25-2004, 09:54 AM   #3
isamitch
LQ Newbie
 
Registered: Jun 2004
Distribution: slackware 9.1
Posts: 19

Original Poster
Rep: Reputation: 0
Thank you very much! I'm taking a look at the websites and so far they are super helpful!!!!!

Thanks again!

Isa
 
Old 06-29-2004, 09:19 AM   #4
isamitch
LQ Newbie
 
Registered: Jun 2004
Distribution: slackware 9.1
Posts: 19

Original Poster
Rep: Reputation: 0
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
 
Old 07-05-2004, 02:25 PM   #5
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
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.
 
Old 07-06-2004, 09:33 AM   #6
isamitch
LQ Newbie
 
Registered: Jun 2004
Distribution: slackware 9.1
Posts: 19

Original Poster
Rep: Reputation: 0
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
 
Old 07-06-2004, 09:56 AM   #7
fuelinjection
Member
 
Registered: Nov 2003
Location: County Durham, England
Distribution: Fedora
Posts: 238

Rep: Reputation: 30
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.
 
Old 07-06-2004, 01:21 PM   #8
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
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.
 
Old 07-07-2004, 08:29 AM   #9
isamitch
LQ Newbie
 
Registered: Jun 2004
Distribution: slackware 9.1
Posts: 19

Original Poster
Rep: Reputation: 0
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
 
Old 07-07-2004, 11:17 AM   #10
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
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.
 
Old 07-08-2004, 08:00 AM   #11
isamitch
LQ Newbie
 
Registered: Jun 2004
Distribution: slackware 9.1
Posts: 19

Original Poster
Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I make a fourm for my website? DBZMX General 14 09-16-2009 09:22 PM
Everything I need to make a website arctic123 Programming 4 05-01-2005 07:07 AM
Want to make a website...what programs should I use? arctic123 Linux - Software 13 09-12-2004 09:54 PM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM
anyone know how to make a link to a website? BajaNick Linux - General 13 08-18-2003 09:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration