View previous topic :: View next topic |
Author |
Message |
jmdlcar Junior Member
Joined: 27 Aug 2007 Posts: 8
|
Posted: Wed Sep 19, 2007 2:02 am Post subject: Setting up an server |
|
|
Hi
How hard is it to setup an server in my home?
Thanks Jack |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed Sep 19, 2007 7:06 am Post subject: |
|
|
It depends on what you want on your home server.
If you boot SMS you already have a server with ftp, samba,torrent station, webserver,print server, fax server (needs modem) ready, you only need to do a little tweaking on your needs.
If you have more that on pc and don't have an adsl router that handles the DHCP you can assign it on SMS through Webmin Interface.
If You want to act as a Server/Router you will have to create a simple firewall.
You can use Morizot's (EFG) Easy Firewall Generator here
I think I'll add this script to SMS because it's simple and easy to understand by everyone.
As I said before you can do everything, it depends on what you want for your home server.
What do you want to do?
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
jmdlcar Junior Member
Joined: 27 Aug 2007 Posts: 8
|
Posted: Wed Sep 19, 2007 3:48 pm Post subject: |
|
|
Thanks gerasimos_h
What are some of the commands I could use? I'm new to this so I don't know what I'm doing but I want to learn. what I like to is setup an web site or a place for other to download files. I do have 2 computer, a router and fast internet.
Thanks Jack |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed Sep 19, 2007 4:03 pm Post subject: |
|
|
If others are located on local network, and not on the internet, you can use SAMBA it's already setup and ready out of the box. You can manage it from webmin or swat or by opening '/etc/samba/smb.conf'
Code: | [global]
log file = /var/log/samba.%m
ldap ssl = No
restrict anonymous = no
domain master = no
public = yes
server string = SMS Samba Server
max protocol = NT
workgroup = WORKGROUP
acl compatibility = winnt
server signing = Auto
security = share
preferred master = no
max log size = 50
[Samba @ SMS]
path = /var/smb/samba/
read only = no
[FAXES]
path = /var/spool/hylafax/recvq/
read only = no
[TorrentFlux Downloads]
path = /var/smb/tflux_downloads/
read only = no
|
Changing Workgroup with yours, and changing readonly to yes if you don't want others to messing up your files.
For web server just upload your site in '/var/www/htdocs/' rename or remove my index.php before though.
If you want others to access your site via internet then you probably need to port forward port:80 from your aDSL router to the SMS IP machine.
I hope I did not confuse you.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
jmdlcar Junior Member
Joined: 27 Aug 2007 Posts: 8
|
Posted: Wed Sep 19, 2007 4:19 pm Post subject: |
|
|
I'm not sharing computer in my home just the internet.
Quote: | For web server just upload your site in '/var/www/htdocs/' rename or remove my index.php before though.
If you want others to access your site via internet then you probably need to port forward port:80 from your aDSL router to the SMS IP machine.
I hope I did not confuse you. |
I'm going to try to figure it out. |
|
Back to top |
|
poel Junior Member
Joined: 02 Dec 2008 Posts: 5 Location: Indonesia
|
Posted: Tue Dec 02, 2008 2:24 pm Post subject: router |
|
|
gerasimos_h wrote: | It depends on what you want on your home server.
If you boot SMS you already have a server with ftp, samba,torrent station, webserver,print server, fax server (needs modem) ready, you only need to do a little tweaking on your needs.
If you have more that on pc and don't have an adsl router that handles the DHCP you can assign it on SMS through Webmin Interface.
If You want to act as a Server/Router you will have to create a simple firewall.
You can use Morizot's (EFG) Easy Firewall Generator here
I think I'll add this script to SMS because it's simple and easy to understand by everyone.
As I said before you can do everything, it depends on what you want for your home server.
What do you want to do?
gerasimos_h |
iam looking tutorial for how to configuration sms to act router. thank you |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue Dec 02, 2008 6:15 pm Post subject: |
|
|
Hello..
Navigate to http://sms/efg/ and configure step by step your rc.firewall script.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
poel Junior Member
Joined: 02 Dec 2008 Posts: 5 Location: Indonesia
|
Posted: Wed Dec 03, 2008 5:58 am Post subject: |
|
|
Hello...
thank's for your answer, but when i click the link addres is not found. i was try NAT activation with insert this script (iptables -t nat -A POSTROUTING -s 192.168.1.0/26 -d ! 192.168.100.0/26 -j MASQUERADE ) on /etc/rc.d/rc.local
and
change the value of ip_forward with 1 (echo “1″>/proc/sys/net/ipv4/ip_forward)
but the client still can't accses the internet |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
|
Back to top |
|
poel Junior Member
Joined: 02 Dec 2008 Posts: 5 Location: Indonesia
|
Posted: Wed Dec 03, 2008 8:58 am Post subject: |
|
|
thank's a lot....
now the client can accses the internet.....
nice distro......... i love to use it.
now i go to setting the DNS. thank's |
|
Back to top |
|
|