• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Setting up an NFS server with Turnkey Linux

by admin

Turnkey Linux NFS Server

Turnkey Linux (www.turnkeylinux.org) allows for an easy implementation of an nfs server. All you have to do is download the .iso file or the fileserver appliance. Some of the benefits of Turnkey Linux servers are:

  • Secure and easy to maintain
  • 1-click backup and restore
  • Easy to use
  • lightweight
  • Assured integrity

In this case, I downloaded the .iso and created a virtual machine in order to test how easy it would be to create an nfs server.

Here are the steps:

1. Go to turnkeylinux.org and download the .iso image. Burn it into a dvd if you want.

Go to turnkeylinux.org and download the .iso image

2. Create a generic linux vm with a 16gb disk. Connect the .iso to the virtual cd. Boot the vm and open up the console. Select the Guided installation (use the entire disk). Click on OK.

Create a generic linux vm with a 16gb disk

3. Change to Write the changes to disks to yes and press Enter.

Write the changes to disk

4. Click on Ok to finish partitioning.

finish partitioning

5. Select Yes to Write the changes to disk.

Write changes to disk

6. Agree to install the Boot Loader.

install the Boot Loader

7. Agree to Restart Now.

restart now

8. Give your system a root password (twice).

give root password

9. Skip the installation of other services.

Skip the installation of other services

10. Provide an email address for root (optional).

Provide an email addres

11. Skip the installation of updates.

skip updates

12. Notice the IP the appliance obtained and the ports to use. My lab has a DHCP server.

DHCP server

13. Select Quit.

quit

14. Launch your browser and connect to the appliance.

connect appliance

15. Click on Webmin and log in as root.

login in webmin

16. Notice all the options available.

webmin options

17. Click on Servers and select Samba Windows File Sharing. By default, the system is alredy sharing a directory called /srv/storage.

select Samba Windows File Sharing

18. Test the mounting of the share. You can do this with the vSphere Client, the Web Client or the c.l.i.

test mounting of the share

19. Want to create another share? Click on Create a New File Share and add the necessary fields.

Create a New File Share

20. Test it again, works great.

test share again

Final Note

There’s a lot more you can do with this software. You can add other drives and shared them if you want. Play with logical volume management. Simply cool.

Filed Under: Linux, VMware

Some more articles you might also be interested in …

  1. How to mount an iso file in Linux
  2. How to enable/disable wayland on Ubuntu 20.04
  3. How to Rebuild GRUB on MSDOS Partition Type in CentOS/RHEL/OEL 7
  4. tuned-adm and Oracle
  5. exif Command Examples in Linux
  6. How to Re-Balance BTRFS to Free Disk Space
  7. How to analyze basic system performance using – vmstat, sar, iostat and mpstat
  8. expect Command Examples in Linux
  9. bluetoothd Command Examples in Linux
  10. CentOS / RHEL : How to disable BASH shell history

You May Also Like

Primary Sidebar

Recent Posts

  • nixos-rebuild Command Examples in Linux
  • nixos-option: Command Examples in Linux
  • nixos-container : Command Examples in Linux
  • nitrogen Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright