Ask Your Question

How to enable file sharing, by command line or with Cockpit?

asked 2019-04-06 07:49:32 -0500

steveblakemore gravatar image


I've a Fedora 29 installation (server edition). It's command line only, I haven't installed a GUI. Using Cockpit, I've been able to set up a RAID 5 array on it and mount that. I now want to share it out for file-sharing, and also to backup the PCs on the home network. It's a common task and there are a few guides out there on how to do this, but they all seem to involve a GUI.

Can anyone point me in the right direction for some clear, step by step command-line instructions? Or is it possible using the Cockpit web interface?

Thanks, Steve

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-04-08 03:07:03 -0500

alamahant gravatar image

updated 2019-04-08 03:14:06 -0500

You have to enable and configure nfs or samba file sharing in your fedora server... There are many excellent wikis out there covering them. Here is one from fedora: And one from redhat: For samba: As for using your fedora server as a back up server i find rsync an excellent tool. Please learn more here: If you prefer something easier for file sharing please look into nextcloud.It can be installed in a docker container and will enable access and file sharing from your fedora server to your network boxes and even beyond. Here is the docker image for next cloud: There is a learning curve involved in all these things but it will be fun. Enjoy :)

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2019-04-06 07:49:32 -0500

Seen: 1,243 times

Last updated: Apr 08 '19