View previous topic :: View next topic |
Author |
Message |
miikew Member
Joined: 28 Oct 2009 Posts: 77
|
Posted: Wed Oct 28, 2009 12:22 pm Post subject: SMS AND NFS SERVER |
|
|
HI folks
i need to know before i will install this distro is it possible to run NFS server on it ?
I'm asking because i need to share HD movies for my WDTV player over the network and samba seems to be to slow for it, so I'm looking for small distro for my old PC with 2x1TB of HD movies to share it over the network, i want to run this server once and unplug everything from it, mouse, keyboard,monitor only power and LAN will left and i want to forget about it
i try openfiler but it is little tricky to install on it bittorrent client with web based interface, also tried FREENAS but it has only ext2 support (filesize limit to 2gb, and most of my movies has 8gb or 16gb and i dont want to buy another 2TB to backup it and the reformat for UFS )
so here i am trying SMS
maybe you have some additional suggestions for me, so please put it here
maybe you have some additional thoughts |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed Oct 28, 2009 1:04 pm Post subject: |
|
|
Hi,
If you want NFS server add your share to /etc/exports file e.g.
Code: | # See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.
/var/smb/samba/ *(async,all_squash,no_subtree_check) |
make /etc/rc.d/rc.nfsd and /etc/rc.d/rc.rpc executables with
'chmod +x /etc/rc.d/{rc.nfsd,rc.rpc}"
Restart your server and you should have your nfs server ready to share.
You could try fuppes (DLNA media server), it's still on testing in SMS - mostly for on the fly A/V transcoding- here
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
miikew Member
Joined: 28 Oct 2009 Posts: 77
|
Posted: Wed Oct 28, 2009 2:38 pm Post subject: |
|
|
yeah, probably it will take some time for me to understand what you wrote but i will try it as soon as i will get to home
btw i'm installing right now (3rd time) SMS.Native.CD-1.4.6-Install.iso on MS virtual PC and 3rd time i get not enough free space error
i created 3.3GB ext3 and 0.7GB swap
is this not enough for FULL instalation of 1cd ? |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed Oct 28, 2009 3:34 pm Post subject: |
|
|
Well it depends what you are installing, if you choose full installation it will install development packages including the source of the kernel which is quite big, since you are not going to compile anything , you probably don't need the devel series, so choose expert mode and add from x series the x-kde-addon.
Swap partition should be equal to twice your RAM, but since the machines now days are having over 2GB of ram, in real installation if your RAM exceeds 2GB you should create a 2GB partition.
Otherwise you could create a bigger partition
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
miikew Member
Joined: 28 Oct 2009 Posts: 77
|
Posted: Wed Oct 28, 2009 3:58 pm Post subject: |
|
|
it will be running on p3 500mhz with 512mb sdram and sata pci controller with 2x1TB hard disk
the system will be on 8gb old hdd
so i will make 6gb for linux and 2gb for swap
if i don't choose development, later i cannot put new software that i want thats i think, correct me if im wrong,
finally i have full install on virtual pc
dumb question, after reboot i have
server login :
on this state all of the services running ? samba web gui torrent and others ? |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed Oct 28, 2009 4:35 pm Post subject: |
|
|
Since you have 512MB of RAM, 1GB Swap is good enough, not that 2GB will do any harm.
By the time you got to the login screen (server: login) all services are up and running.
Since 8GB drives are old you should backup your configuration frequently in case of an HDD failure.
Unless you do not want to compile a program from source devel series wouldn't be of any usage.
For installing/uninstalling packages devel series aren't necessary.
What apps you want to install?
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
miikew Member
Joined: 28 Oct 2009 Posts: 77
|
Posted: Wed Oct 28, 2009 6:23 pm Post subject: |
|
|
I wanted maybe jdownloader or similar
Also i find in webgui option that you mention before about nfs so i Sony need PIT my hands info aby files, iwill do this from webgui |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed Oct 28, 2009 6:35 pm Post subject: |
|
|
Jdownloader don't need installation only extraction, you will need java (jre) package to be installed though, since it's a java app.
You can install jre from SMS.Native.CD-1.4.6-Extra under openbravo, and start jdownloader with "java jdownloader.jar" you can install web gui addon and manage jdownloader from web.
The only disadvantage is that cannot start as a service so you need to login and start the Xserver (startx).
You can enable tightvnc and manage your server through remote connection.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
miikew Member
Joined: 28 Oct 2009 Posts: 77
|
Posted: Wed Oct 28, 2009 8:02 pm Post subject: |
|
|
THats great news, and about vnc how can i launch it permamently ? Do i need to be in x Windows to run it ? Or it run as a service ? |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Wed Oct 28, 2009 9:02 pm Post subject: |
|
|
Just edit /etc/rc.d/rc.vncservers.conf and /etc/tightvncserver.conf with your data
do a 'chmod +x /etc/rc.d/rc.vncservers' and add to /etc/rc.d/rc.local the line
/etc/rc.d/rc.vncservers start
to start automatically at boot.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
miikew Member
Joined: 28 Oct 2009 Posts: 77
|
Posted: Thu Oct 29, 2009 9:07 am Post subject: |
|
|
i'm really appreciated for your support, i just started real adventure with linux
i installed on my home PC SMS and looks like everything is working (i didnt add those storage drives yet, i will do this after everything will be setup)
i want to connect to my home from work and because i have dynamic ip i wanted to use no-ip.com service but i have this error after SAVE button
Unsupported file or mode >./config.txt at dyndns::../web-lib-funcs.pl line 4213
is because i changed the languge of gui to polish ? is it broken ? |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Thu Oct 29, 2009 6:19 pm Post subject: |
|
|
This is an webmin error, long way back now, you should use your router's dynamic dns client it's faster. and port forward the ports,
or else edit /etc/ddclient.conf with your account under the no-ip section make /etc/rc.d/rc.ddclient executable with 'chmod +x" and start the service.
If no-ip gives error setup a dyndns.org account, I believe it's better.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
miikew Member
Joined: 28 Oct 2009 Posts: 77
|
Posted: Thu Oct 29, 2009 8:07 pm Post subject: |
|
|
OK i will leave remote over internet
i need vnc locally first, so what can i do to run this and how can i check is it running or not
i hope that vnc is also running as a service, not nesesary to start xwindows, becasue i dont have keybord and monitor attached to my server |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
|
Back to top |
|
miikew Member
Joined: 28 Oct 2009 Posts: 77
|
Posted: Thu Oct 29, 2009 8:28 pm Post subject: |
|
|
yeah i have it but it is not working
in one window it says that connection initialized and i second that failed to connect
i dont know even it is running properly |
|
Back to top |
|
|