how to make a website using Slackware 9.1 and qmail
Linux - GeneralThis 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
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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!
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....
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.
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:
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!
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.