Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
Setting up an server
View previous topic :: View next topic  
Author Message
jmdlcar
Junior Member


Joined: 27 Aug 2007
Posts: 8

PostPosted: Wed Sep 19, 2007 2:02 am    Post subject: Setting up an server Reply with quote

Hi

How hard is it to setup an server in my home?

Thanks Jack
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Wed Sep 19, 2007 7:06 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
jmdlcar
Junior Member


Joined: 27 Aug 2007
Posts: 8

PostPosted: Wed Sep 19, 2007 3:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Wed Sep 19, 2007 4:03 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
jmdlcar
Junior Member


Joined: 27 Aug 2007
Posts: 8

PostPosted: Wed Sep 19, 2007 4:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
poel
Junior Member


Joined: 02 Dec 2008
Posts: 5
Location: Indonesia

PostPosted: Tue Dec 02, 2008 2:24 pm    Post subject: router Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Tue Dec 02, 2008 6:15 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
poel
Junior Member


Joined: 02 Dec 2008
Posts: 5
Location: Indonesia

PostPosted: Wed Dec 03, 2008 5:58 am    Post subject: Reply with quote

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
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Wed Dec 03, 2008 7:00 am    Post subject: Reply with quote

The link it's actually in your server, http://yoursmsserver/efg/ or you can follow the link above http://easyfwgen.morizot.net/gen/ to generate your rc.firewall script.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com


Last edited by gerasimos_h on Wed Dec 03, 2008 6:07 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
poel
Junior Member


Joined: 02 Dec 2008
Posts: 5
Location: Indonesia

PostPosted: Wed Dec 03, 2008 8:58 am    Post subject: Reply with quote

Laughing 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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional