Need Help with Setting up a Web Server on Slackware 11
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Need Help with Setting up a Web Server on Slackware 11
Hi!
I want to configure a web server on Slackware 11. I have the full installation and soon will have a domain name, but I cannot find out how to configure Apache, PHP and MySql and possible others so that I can use it as a web server and a normal computer. I am open to new software suggestions other than Apache and new ideas.
Thanks kotnik!
I will try that. But I need a little more help than that. I need to know how to have a domain name point to that IP. It also needs to act as a FTP server too. Please help me more! Also I was wondering how I would go along changing "var/www" to say "home/name/webname".
Thanks kotnik!
I will try that. But I need a little more help than that. I need to know how to have a domain name point to that IP. It also needs to act as a FTP server too. Please help me more! Also I was wondering how I would go along changing "var/www" to say "home/name/webname".
The two main places to look:
/etc/apache/httpd.conf (tons of info in there)
And www.shilo.is-a-geek.com
Thanks cwwilson721!
I will try that! But I still need to know how to point a DNS to my IP and how to setup a FTP server. Sorry for complaining so much! :P Thanks guys!
Generally, to start a service (like ftp) you simply start the appropriate deamon like this:
/etc/rc.d/rc.myftpserver start
Generally, but not the FTP's case.
The FTP service is run through the inet daemon, which configuration file is /etc/inetd.conf. Just uncomment the line of the service that you would like to fire up, open the port in your firewall(s) if needed and restart inet with /etc/rc.d/rc.inetd restart
Slackware provides 2 backends for the FTP service, vsftpd and proftpd and each is configured separately and cannot run concurrently. I use proftpd because was the one that I reviewed while I was a university student but of course you can choose to use any that you like or prefer.
After you setup dyndns (one that I use, you can select some other) here's how to use proftpd:
Slack is already preconfigured for it. Check in /etc/inetd.conf that following line is not commented:
ftp stream tcp nowait root /usr/sbin/tcpd proftpd
After that, every query on port 21 (which is ftp's port) will be answered.
ProFTPD keeps it's config in /etc/proftpd.conf, so you'd want to check it before using, but the defaults are sane. I configured proftpd to use MySQL for authenticitation and configured upload directory.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.