LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-19-2005, 03:52 PM   #1
peachy
LQ Newbie
 
Registered: Oct 2003
Location: Planet Earth
Posts: 26

Rep: Reputation: 15
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
 
Old 02-19-2005, 04:32 PM   #2
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Rep: Reputation: 30
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
 
Old 02-19-2005, 11:33 PM   #3
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
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.

Last edited by carboncopy; 02-19-2005 at 11:36 PM.
 
Old 02-20-2005, 12:34 AM   #4
peachy
LQ Newbie
 
Registered: Oct 2003
Location: Planet Earth
Posts: 26

Original Poster
Rep: Reputation: 15
thanks for all the help,

peachy
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 06:48 AM
Unable to print over network to Slackware 10 Server using Samba v3.0.5 DaneM Linux - Networking 6 02-04-2005 01:10 AM
Network time-out Slackware 10 kern 2.6.7 Network everwhere NIC EdwardA Linux - Hardware 2 06-26-2004 08:16 AM
setup printer on client machine(slackware 8) to server (slackware7) network printer changwoo Slackware 9 05-02-2003 05:37 PM
network connection slow to server on slackware niehls Linux - Networking 2 04-30-2003 07:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:48 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