CentOS 7Installation Post installation tasks Join Active Directory SELinux Configuration Install Cockpit Create a Logical Volume (1) Create a Logical Volume (2) Creating an iSCSI Target (1) Creating an iSCSI Target (2) Creating an iSCSI Client Installing a Samba Server Installing an Apache Server Installing an NFS Server Installing a TFTP Server
Debian 8Installation Post installation tasks Join Active Directory Installing an Apache Server Installing a Samba Server
Ubuntu 16Post installation tasks Join Active Directory Installing Apache/Samba Servers
Linux Commandsfdisk + LVM htop vi - line numbering
The following command installs Samba
Next the configuration, I like to start with an empty smb.conf so make a backup of as follows
Open the file, delete everything, and add the following (the share is for windows to edit html and php files).
[global] workgroup = EXAMPLE server string = Samba Server %v netbios name = LINUXSVR01 security = user map to guest = bad user dns proxy = no [apache] path = /var/www/html browsable = yes writable = yes guest ok = yes dns proxy = no
The share needs read/write permissions and be available for everyone in Windows.
When you mount the file in windows linuxsvr01\apache (or xx.xx.xx.xx\apache) I have found it necessary to change the security settings to full control for everyone and nobody (linuxsvr01\nobody).