1 - We need to install an group of packages X Server with GUI. As root from terminal, type:#yum groupinstall "Server with GUI" -y2 - Install the EPEL repository which contains the RPMs for Cinnamon:#yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm -y3 - Install the Cinnamon Packages:#yum install cinnamon -y4 - Create a link to tell to the systemd to boot into runlevel 5 (desktop environment). The systemd is a replacement for the Linux init daemon and will start, stop the service etc:#ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target5 - Reboot and check out the graphic user interface, you may be asked to fill some information: #reboot The Samba is a computer program used in operating Unix-like systems, simulates a Windows server, allowing it to be done management and file sharing on a Microsoft network. This guidance will show how to add and configure the Samba service at a CentOS 7.1 - To install samba packages go to terminal and as root enter type:#yum install samba samba-client samba-common -y2 - Configure samba and edit the file /etc/samba/smb.conf. Before edit it, we will make a copy of /etc/samba/smb.conf file#cp -p /etc/samba/smb.conf /etc/samba/smb.conf.bkp#vi /etc/samba/smb.confEdit the smb.conf file and paste it:[global]workgroup = WORKGROUPserver string = Samba Server %vnetbios name = centossecurity = usermap to guest = bad userdns proxy = no#=================Share Definitions ===================[Anonymous]path = /samba/anonymousbrowsable =yeswritable = yesguest ok = yesread only = no3 - Create a folder to be shared with everyone without security, anonymous:#mkdir -p /samba/anonymous4 - Restart the samba services:#systemctl enable smb.service#systemctl enable nmb.service#systemctl restart smb.service5 - Change the permission for samba share:#chmod -R 0755 anonymous/6 - Finally, we will test the access of this new share from Windows system. Go to start>run and type \\[hostname or IP]\share and check out:For create a Secure folder at samba service, follows:#useradd joe#groupadd smbgrp#usermod -a -G smbgrp joe#smbpasswd -a joe#smbpasswd -a joeNew SMB password: XXXXXXRetype new SMB password: XXXXXXAdded user joe.#mkdir -p /samba/securitychown -R joe:smbgrp /samba/security/chmod -R 750 /samba/security/chcon -t samba_share_t /samba/security/Edit the smb.conf file as below:#vi /etc/samba/smb.confAdd the security shared folder [Security]path = /samba/securityvalid users = @smbgrpguest ok = nowritable = yesbrowsable = yesNow, from Windows side check out the folder and access with id create previously: Pre-requisites:1 - We need to install some packages, they are gcc* bison ncurses-devel rpm-build make wget openssl-devel bc, see below.1.1 From terminal like root type yum install gcc* bison ncurses-devel rpm-build make wget openssl-devel bc:2 - Download the last kernel version Kernel Linux. Go to https://www.kernel.org web site and check out, see below:2.2 From terminal like root type wget https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.4.1.tar.gz:2.3 Checking the Current kernel; From terminal type uname -r: Steps to recompile the kernel3 - Copy the file previously downloaded to /usr/src, it will be installed and compiled. From terminal like root type cp /<directory-whereis-the-file-downloaded /usr/src:3.1 - Go to /usr/src directory; Type cd /usr/src.3.2 - Unzip the file; From terminal type tar -xvf linux-4.4.1.tar.gz: 3.3 - Go to the directory where the files were unziped; From terminal type cd linux-4.4.1:3.4 - Copy the Kernel configurations to the directory; From terminal type cp /boot/config-$(uname -r) ./.config:3.5 - Configure the menuconfig; From terminal type make menuconfig