12/15/2023 0 Comments Ubuntu desktop fileInstall OpenSSH Server: apt-get install openssh-server If any don't for any reason, a Samba share could supplement that as detailed in another answer. Installing openssh-server would enable you to access your entire drive securely over the internet or from devices in your home, as long as they support sFTP. Change the share name to fit your environment.įinally, restart the samba services to enable the new configuration: sudo restart smbdĬredit goes here: Samba & for more information also you view that. The -p switch tells mkdir to create the entire directory tree if it doesn't exist. Sudo chown nobody.nogroup /srv/samba/share/ From a terminal enter: sudo mkdir -p /srv/samba/share Now that Samba is configured, the directory needs to be created and the permissions changed. create mask: determines the permissions new files will have when created. If the value is yes, then access to the share is read only. Write privileges are allowed only when the value is no, as is seen in this example. Read only: determines if the share is read only or if write privileges are granted. guest ok: allows clients to connect to the share without supplying a password. Technically Samba shares can be placed anywhere on the filesystem as long as the permissions are correct, but adhering to standards is recommended.īrowsable: enables Windows clients to browse the shared directory using Windows Explorer. This example uses /srv/samba/sharename because, according to the Filesystem Hierarchy Standard (FHS), /srv is where site-specific data should be served. Path: the path to the directory to share. Also, change EXAMPLE to better match your environment.Ĭreate a new section at the bottom of the file, or uncomment one of the examples, for the directory to be shared: Ĭomment: a short description of the share. The security parameter is farther down in the section, and is commented by default. You can install it by sudo apt-get install sambaįirst, edit the following key/value pairs in the section of /etc/samba/smb.conf: workgroup = EXAMPLE Well you can do that with samba file server. There is a lot of stuff you can actually do with an ubuntu server. Then via the xbmc configuration options, enable web service so the rest of the computers can watch movies from the same server. Let me know if any of this steps seems difficult to help you along the way.Īdditional stuff can be to install xbmc and put all movies on the server. The server can now share a printer to all other computers including Windows like ones. The server can share internet via a wireless or wired connection. Remember to configure squid proxy in /etc/squid/nf or /etc/squid3/nf for site permissions, what should be reversed cached and other stuff.Īfter doing this 7 steps we should have a system thatĬan share a folder with other computers in the LAN and they can see the shared folder without too much hassle, permissions or additional steps.Ĭan connect to the server via SSH or Samba sharing with no problem. To install follow the first answer in the What Updated Web Cache Servers are available (Caching HTTP Proxy) (By Rinzwind) This will improve the bandwidth usage in general and it will feel like the internet is faster for all client PCs. Since you will be making a server, I also recommend installing SQUID PROXY if you happen to share the internet connection via the server. If you want to also share a printer with the other computers you can follow the What is CUPS server and how to share a printer (Locally or over a network) Else if you want to do it via wired to another computer then Sharing Connection to other PCs (Via Wired Ethernet) With this I mean, your router will connect to the server via a wired cable and then share the internet wirelessly to other computers then follow the How to Connect & Share your Internet Connection (Wired & Wireless). If you are going to share the internet via the server. A How to use SSH (ssh & rsync commands)? guide is also available. You can also use putty in Windows if you like. Installing SSH Service (mostly to help ease your way between 2 Ubuntu computers) by following the How to enable file sharing between two PCs?. Install Samba Service and configure it by following the How to turn on Network Discovery and Share between computers with Samba Anyway I will assume that it is working correctly. If you have another it is very likely you will find the answer in askubuntu after searching for it with the name of the wireless card. If you happen to have a Broadcom based wireless card check the Installing Broadcom Wireless Drivers. Make sure your wireless card is working correctly. Sudo apt-get update & sudo apt-get upgrade Make sure you have already updated and upgraded the system Since you want a GUI based server (Which is an Ubuntu Desktop transformed into a awesome server ) ) then just do the following steps before proceeding:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |