LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware Network Server (https://www.linuxquestions.org/questions/slackware-14/slackware-network-server-292375/)

peachy 02-19-2005 03:52 PM

Slackware Network Server
 
Hello,

Can anybody point me to a guide on how to set a slackware 10.1 box as a Web server (apache, php, sql) and a small LAN Router, file and print server for both Mac & PC.

Thanks in advance

Peachy

brokenflea 02-19-2005 04:32 PM

for the web server this is a great HOW-TO:

http://www.tldp.org/HOWTO/Apache-Com...WTO/index.html

OR:

http://www.apachefriends.org/en/xampp.html

carboncopy 02-19-2005 11:33 PM

Apache, MySQL and PHP packages comes by default with Slackware.

If you have installed it.

To start Apache everytime you boot-up (as root do:)
Code:

cd /etc/rc.d/
chmod +x rc.httpd

to start,stop, restart apache -- pick respective option
Code:

/etc/rc.d/rc.httpd start|stop|restart
I do not have experience setting up MySQL and PHP.

To be a LAN Router, you want to use NAT feature which is part of iptables. You can google for rc.firewall scripts and copy it to /etc/rc.d/ and insert a line into rc.local /etc/rc.d/rc.firewall. Remember to chmod +x rc.firewall as well.

Print server, you need to install CUPS. And to make it talk nicely to Windoze machine, you will need samba.

File server, there is samba and nfs. Both works on Mac. Not sure nfs for Windoze though.

By the way, samba is what you call windows networking in windoze.

Edit:
Yes, reading docs on tldp.org will help a great deal.

peachy 02-20-2005 12:34 AM

thanks for all the help,

peachy


All times are GMT -5. The time now is 11:00 AM.