Tag Archives: file server

File-server setup: Update

File Server seems to work.
WHM backups have been configured and are FTPing backups daily/weekly/monthly to the server.

Will want to test out the backups on the AlienVPS server at some point to practice recovery.

The rest of the file-server still needs configuring. There are WAY too many options (especially for Samba) so if I will make this into a public release I will certainly have to make some new modules for webmin. Simeple File server module.

I also want to move the whole LAN to a LDAP setup so that all users get their passwords from the server. I will let the File-Server do the LDAP serving.

File server setup

Setting up a file server at home. This server will take care of all external connections and working/active files. The UnRAID system will take care of all archived and inactive files.

I looked at solutions like FreeNAS and Openfiler and was left wanting a little more. On top of that, the updating of those solutions is scant at best. I prefer using up-to-date software and features as they becomes available.
So I decided to set up a file server myself. It will be based on OpenSUSE with Webmin as the GUI. I plan on making this a downloadable project from SuseStudio once it gets a little more mature.

I will document here the changes I am making to the system so that I can implement them in the SuseStudio version so there won’t be any configuration to the end user.

 

For Outsider’s File System, 0.0.1

– Added NFS server, and configured it.
NOTES: When setting up a share, for ‘Export to‘ option make sure that instead of Everyone, the option of Hosts is selected and * is entered in the field. That’s how suse sets up the share, and it doesn’t seem to work (at least not on my LAN) with Everyone selected.
See if this setting change can be made a default.
UPDATE: it doesn’t matter what the Export option is set to. The directory to be exported needs to be enabled. From the NFS Share module view, select (check off) the directory and click “Enable Selected” button

– Added Vsftp. The daemon seems to need to be started manually after a system reboot.
NOTES: Go into Webmin’s System > Bootup and Shutdown menu, select the service (or Action as it’s called there) and then click the Start on Boot button at the bottom of page.

-Samba configuration : read this HowTo.

– In Webmin, under the system modules, open the “Bootup and Shutdown” module, and make sure things like smb, nfsserver, (and other services) are started at boot.

OpenFiler challenges (and solutions)

I’ve been having trouble getting samba shares to work.

This may help:

https://lists.openfiler.com/viewtopic.php?id=6031

Had trouble connecting a LDAP explorer/browser to the Openfiler LDAP server.
Figured it out.

IP: Openfiler’s IP
Port: 389
user: cn=Manager,dc=openfiler,dc=nas
password: ‘password in openfiler’s LDAP screen’
base dn: dc=openfiler,dc=nas

To Change home FTP folder: Login in with any LDAP explorer/browser (I use JXPlorer) and navigate to the user. In the user view, change the attribure homeDirectory to whatever folder you want. (currently set to /mnt/storage_vg/data/incoming/)