Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SMB for linux ???

Status
Not open for further replies.

dbeez

Technical User
Aug 15, 2005
71
KR
Hi,

I've got a linux newbie question here, is there a linux equivalent of SMB. I want to split some server tasks ... have one doing web work and the other doing mysql work.

How do I do that ??
Thanks
 
If you're referring to Server Message Block, you have SAMBA
Are you looking at sharing directories amoung servers?


"If you always do what you've always done, you will always be where you've always been."
 
Your question is a little vague. I am not sure what you want to do but the SMB point is mute since linux has SMB client and server processes at your disposal.
Are you trying to share part of your hard disk space between two machines? If so you might like to consider NFS. It will allow you to cross mount directories from one machine to the other and make the remote directories appear as though they are local to the machine.
If you explain a little more about what you are trying to do you may get a better or more accurate answer than I can offer at the moment.
I hope that helps a little.

P.S. NFS is not known the be the most secure protocol in the world so it should be fine on an internal network but I would be a little more careful if the whole world would have access to your network.




(slowly healing) Trojan.
 
I've been meaning to move off NFS for some time although my AIX 5.3 servers come with NFS 4 which is a lot better.

Another option would be to use the Coda filesystem:


"If you always do what you've always done, you will always be where you've always been."
 
Hi,

Sorry guys, I guess I should have given a better description of what I'm up to.

Basically I want to run two linux desktop-servers, one php/net and the other mysql. These will be run on a LAN, with the php/net server connected to the net from behind a netgear home router.I want all the mysql server commands to be run on the mysql server.

I'm either going to connect the two computers together through the router or else just over their ethernet cards. Thanks for the suggestions, I'll look them up shortly.

Any more advice would be greatly appreciated
 
Do you mean .net?
Are you running a windoze webserver and a linux MySQL server?




(slowly healing) Trojan.
 
Sorry is that was unclear TrojanWarBlade, I guess I shoud have said a php/http server instead of php/net server.

I'm not going to run windows anything, just php/apache/mysql spread out over two different ubuntu or gentoo machines ...
 
Sounds like a cool mix to me.
I guess you just need to configure the firewall on the MySQL machine to allow network access and to configure MySQL for the same and then write your php to access the DB across the network.
I've done this before with perl and PostgreSQL but not php and MySQL but I would expect the principles to be very similar.

I'm not sure just what more info you might want so just reply with more detailed questions and I'll give it a go.

BTW: Feel free to call me Trojan. Everyone else does! ;-)




(slowly healing) Trojan.
 
thanks trojanwarblade,

now that I come to think of it, it couldn't be more obvious ... just write it as a php query and let http take care of it <embarassed>

for some reason I was thinking that I'd have to open a ssh or smb connection. <very embarassed>

thanks again twb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top