NETWORK FILE SHARING SERVER
PREPARED BY HAEMDA HURMAT
OVERVIEW
• Explain about File Server
• Installation of File Server
• Configuration of File Server
FILE SERVER (NETWORK FILE SHARING SERVER) NFS
• One of the most common ways to network Ubuntu and Windows computers is to
configure Samba as a File Server. This section covers setting up a Samba server to
share files with Windows clients.
• The server will be configured to share files with any client on the network without
prompting for a password. If your environment requires stricter Access Controls
see Securing File and Print Server.
UPDATE UBUNTU
• Sudo apt-get install update
• Sudo apt-get upgrade
SET NETWORK INTERFACE STATIC IP
• Sudo nano /etc/network/interfaces
INSTALL SAMBA AND SET PASSWORD
• Sudo apt-get install samba
• Sudo smbpasswd -a hameda
MAKE DIRECTORY
• Mkdir /home/server/share
SHARE DIRECTORY
• Sudo nano /etc/samba/smb.conf
[share]
Patch = /home/server/share
Valid users = server
Read only = no
• Sudo service smbd restart
• Testparm
INSTALL SSH SERVER AND RESTART
• Sudo apt-get install openssh-server
• Sudo service ssh restart
Thank You
?

14 FILE Server

  • 1.
    NETWORK FILE SHARINGSERVER PREPARED BY HAEMDA HURMAT
  • 2.
    OVERVIEW • Explain aboutFile Server • Installation of File Server • Configuration of File Server
  • 3.
    FILE SERVER (NETWORKFILE SHARING SERVER) NFS • One of the most common ways to network Ubuntu and Windows computers is to configure Samba as a File Server. This section covers setting up a Samba server to share files with Windows clients. • The server will be configured to share files with any client on the network without prompting for a password. If your environment requires stricter Access Controls see Securing File and Print Server.
  • 4.
    UPDATE UBUNTU • Sudoapt-get install update • Sudo apt-get upgrade
  • 5.
    SET NETWORK INTERFACESTATIC IP • Sudo nano /etc/network/interfaces
  • 6.
    INSTALL SAMBA ANDSET PASSWORD • Sudo apt-get install samba • Sudo smbpasswd -a hameda
  • 7.
    MAKE DIRECTORY • Mkdir/home/server/share
  • 8.
    SHARE DIRECTORY • Sudonano /etc/samba/smb.conf [share] Patch = /home/server/share Valid users = server Read only = no • Sudo service smbd restart • Testparm
  • 9.
    INSTALL SSH SERVERAND RESTART • Sudo apt-get install openssh-server • Sudo service ssh restart
  • 10.